Few-Shot Learning Christian Simon Piotr Koniusz Richard Nock - - PowerPoint PPT Presentation

few shot learning
SMART_READER_LITE
LIVE PREVIEW

Few-Shot Learning Christian Simon Piotr Koniusz Richard Nock - - PowerPoint PPT Presentation

Deep Subspace Networks for Few-Shot Learning Christian Simon Piotr Koniusz Richard Nock Mehrtash Harandi # # Problem Definition Given: A Support Set A query A Support set contains N -way (classes)


slide-1
SLIDE 1

Deep Subspace Networks for Few-Shot Learning

Christian Simon†§ Piotr Koniusz†§ Richard Nock†‡§ Mehrtash Harandi #§

§

‡ #

slide-2
SLIDE 2

Problem Definition

  • Given:
  • A Support set contains N-way (classes) and K-shot (samples).
  • The classes are unseen, can we classify them?.

A Support Set A query

Support Set Query

? ?

Few Images Per Class

slide-3
SLIDE 3

Motivation

  • An approach for classification is to use a fully connected layer as a

classifier following with a softmax function.

  • Let a function

, extracting a feature from an input.

  • Then, we can formulate the classifier and the softmax function as:
slide-4
SLIDE 4
  • The classifier needs to be updated (e.g. iterative gradient descents)

using new samples if there are samples from unseen classes.

Should be updated

Motivation

slide-5
SLIDE 5
  • Some prior approaches use pair-wise [1], prototype [2,4], and binary

classifiers [3].

  • We define a function for these classifiers.
  • For example:

𝒓

Prototype Method

[1] Vinyals et al.,”Matching networks for one-shot learning,” NIPS, 2016. [2] Snell et al., “Prototypical networks for few-shot learning,” NIPS, 2017. . [3] Sung et al., “Learning to compare: relation network for few-shot learning,” CVPR, 2018 [4] Gidaris and Komodakis,”Learning without forgetting,” CVPR, 2018.

A prototype as a classifier

Motivation

slide-6
SLIDE 6
  • Using subspace methods as classifiers.
  • Projecting each datapoint within the same class to a subspace.

Proposed Method

Where: Our formulation:

is an orthogonal basis for linear subspace spanning Projecting query

slide-7
SLIDE 7

𝒓

Prototype Method

Proposed Method

Subspace Method

𝒓

VS

slide-8
SLIDE 8
  • Few-Shot Classification
  • Deep Subspace Network (DSN) compares to the state-of-the-arts

Experiments

Accuracy 5-way 1-shot and 5-way 5-shot with 95% confidence intervals on the mini-ImageNet

slide-9
SLIDE 9
  • Robustness
  • There are two types of evaluation:
  • Samples come from other classes in the support set
  • Noise is appended to the input image

Experiments

Accuracy on the mini-ImageNet

5-way 10-Shot 5-way 5-Shot

slide-10
SLIDE 10
  • Subspace method is more expressive as a classifier to capture the

information from a few samples compared to prior works e.g. averaging the features.

  • Subspace is also more robust compared to the prototype solution

because of the denoising capability of subspaces.

Conclusion