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

A Universal Representation Transformer Layer for Few-Shot Image Classification

About

Few-shot classification aims to recognize unseen classes when presented with only a small number of samples. We consider the problem of multi-domain few-shot image classification, where unseen classes and examples come from diverse data sources. This problem has seen growing interest and has inspired the development of benchmarks such as Meta-Dataset. A key challenge in this multi-domain setting is to effectively integrate the feature representations from the diverse set of training domains. Here, we propose a Universal Representation Transformer (URT) layer, that meta-learns to leverage universal features for few-shot classification by dynamically re-weighting and composing the most appropriate domain-specific representations. In experiments, we show that URT sets a new state-of-the-art result on Meta-Dataset. Specifically, it achieves top-performance on the highest number of data sources compared to competing methods. We analyze variants of URT and present a visualization of the attention score heatmaps that sheds light on how the model performs cross-domain generalization. Our code is available at https://github.com/liulu112601/URT.

Lu Liu, William Hamilton, Guodong Long, Jing Jiang, Hugo Larochelle• 2020

Related benchmarks

TaskDatasetResultRank
Few-shot classificationMeta-Dataset (test)
Omniglot94.4
48
Few-shot classificationMeta-Dataset
Avg Seen Accuracy77.4
45
Few-shot classificationMeta-Dataset 1.0 (test)
ILSVRC Accuracy56.8
42
Few-shot Image ClassificationMeta-Dataset (test)
Omniglot Accuracy96
40
Few-shot Image ClassificationAircraft (test)
Mean Accuracy85.8
28
Few-shot classificationQuick Draw Meta-Dataset (test)
Mean Accuracy82.4
10
Few-shot classificationOmniglot Meta-Dataset (test)
Mean Accuracy94.2
10
Few-shot classificationTextures Meta-Dataset (test)
Mean Accuracy71.6
10
Few-shot classificationImageNet Meta-Dataset (test)
Mean Accuracy56.8
10
Few-shot classificationBirds Meta-Dataset (test)
Mean Accuracy76.2
10
Showing 10 of 19 rows

Other info

Code

Follow for update