Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Rethinking Generalization in Few-Shot Classification

About

Single image-level annotations only correctly describe an often small subset of an image's content, particularly when complex real-world scenes are depicted. While this might be acceptable in many classification scenarios, it poses a significant challenge for applications where the set of classes differs significantly between training and test time. In this paper, we take a closer look at the implications in the context of $\textit{few-shot learning}$. Splitting the input samples into patches and encoding these via the help of Vision Transformers allows us to establish semantic correspondences between local regions across images and independent of their respective class. The most informative patch embeddings for the task at hand are then determined as a function of the support set via online optimization at inference time, additionally providing visual interpretability of `$\textit{what matters most}$' in the image. We build on recent advances in unsupervised training of networks via masked image modelling to overcome the lack of fine-grained labels and learn the more general statistical structure of the data while avoiding negative image-level annotation influence, $\textit{aka}$ supervision collapse. Experimental results show the competitiveness of our approach, achieving new state-of-the-art results on four popular few-shot classification benchmarks for $5$-shot and $1$-shot scenarios.

Markus Hiller, Rongkai Ma, Mehrtash Harandi, Tom Drummond• 2022

Related benchmarks

TaskDatasetResultRank
Few-shot classificationtieredImageNet (test)
Accuracy89.96
282
5-way Few-shot ClassificationMini-Imagenet (test)
1-shot Accuracy72.4
141
Few-shot classificationminiImageNet standard (test)
5-way 1-shot Acc68.02
138
Few-shot classificationMini-Imagenet (test)
Accuracy86.38
113
Few-shot Image ClassificationminiImageNet (test)--
111
Few-shot classificationMini-Imagenet 5-way 5-shot
Accuracy84.5
87
5-way Few-shot Image ClassificationFC100 (test)
1-shot Accuracy47.68
78
Few-shot Image ClassificationCIFAR FS (test)--
46
Few-shot Image ClassificationtieredImageNet standard (test)--
34
5-way Few-shot Classificationtiered-ImageNet (test)
1-shot Acc76.32
33
Showing 10 of 17 rows

Other info

Follow for update