SOTAVerified

Rethinking Generalization in Few-Shot Classification

2022-06-15Code Available1· sign in to hype

Markus Hiller, Rongkai Ma, Mehrtash Harandi, Tom Drummond

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

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 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 `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, 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.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
CIFAR-FS 5-way (1-shot)FewTUREAccuracy77.76Unverified
CIFAR-FS 5-way (5-shot)FewTUREAccuracy88.9Unverified
FC100 5-way (1-shot)FewTUREAccuracy47.68Unverified
FC100 5-way (5-shot)FewTUREAccuracy63.81Unverified
Mini-Imagenet 5-way (1-shot)FewTUREAccuracy72.4Unverified
Mini-Imagenet 5-way (5-shot)FewTUREAccuracy86.38Unverified
Tiered ImageNet 5-way (1-shot)FewTUREAccuracy76.32Unverified
Tiered ImageNet 5-way (5-shot)FewTUREAccuracy89.96Unverified

Reproductions