Lune

CVPR2022Top-tier venue

Matching Feature Sets for Few-Shot Image Classification

Arman Afrasiyabi, Hugo Larochelle, Jean-François Lalonde, Christian Gagné

Abstract

In image classification, it is common practice to train deep networks to extract a single feature vector per input image. Few-shot classification methods also mostly follow this trend. In this work, we depart from this established direction and instead propose to extract sets of feature vectors for each image. We argue that a set-based representation intrinsically builds a richer representation of images from the base classes, which can subsequently better transfer to the few-shot classes. To do so, we propose to adapt existing feature extractors to instead produce sets of feature vectors from images. Our approach, dubbed SetFeat, embeds shallow self-attention mechanisms inside existing encoder architectures. The attention modules are lightweight, and as such our method results in encoders that have approximately the same number of parameters as their original versions. During training and inference, a set-to-set matching metric is used to perform image classification. The effectiveness of our proposed architecture and metrics is demonstrated via thorough experiments on standard few-shot datasets-namely miniImageNet, tieredImageNet, and CUB-in both the 1- and 5-shot scenarios. In all cases but one, our method outperforms the state-of-the-art.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • CvT: Introducing Convolutions to Vision Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inference cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inference cites CvT: Introducing Convolutions to Vision Transformers
  • Class-Aware Patch Embedding Adaptation for Few-Shot Image Classification cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ProtoDiff: Learning to Learn Prototypical Networks by Task-Guided Diffusion cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Class-Aware Patch Embedding Adaptation for Few-Shot Image ClassificationFusheng Hao, Fengxiang He, Liu Liu, Fuxiang Wu et al.ICCV 2023 · 56 citations
  2. FeLMi : Few shot Learning with hard MixupAniket Roy, Anshul Shah, Ketul Shah, Prithviraj Dhar et al.NeurIPS 2022 · 41 citations
  3. ProtoDiff: Learning to Learn Prototypical Networks by Task-Guided DiffusionYingjun Du, Zehao Xiao, Shengcai Liao, Cees SnoekNeurIPS 2023 · 33 citations
  4. Compositional Few-Shot Class-Incremental LearningYixiong Zou, Shanghang Zhang, Haichen Zhou, Yuhua Li et al.ICML 2024 · 31 citations
  5. An Embarrassingly Simple Approach to Semi-Supervised Few-Shot LearningXiu-Shen Wei, He-Yang Xu, Faen Zhang, Yuxin Peng et al.NeurIPS 2022 · 24 citations

Builds on22

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. CvT: Introducing Convolutions to Vision TransformersHaiping Wu, Bin Xiao, Noel Codella, Mengchen Liu et al.ICCV 2021 · 2,397 citations
  3. LeViT: a Vision Transformer in ConvNet's Clothing for Faster InferenceBenjamin Graham, Alaaeldin El-Nouby, Hugo Touvron, Pierre Stock et al.ICCV 2021 · 1,009 citations
  4. A Baseline for Few-Shot Image ClassificationGuneet Singh Dhillon, Pratik Chaudhari, Avinash Ravichandran, Stefano SoattoICLR 2020 · 640 citations
  5. Cross-Domain Few-Shot Classification via Learned Feature-Wise TransformationHung-Yu Tseng, Hsin-Ying Lee, Jia-Bin Huang, Ming-Hsuan YangICLR 2020 · 467 citations

Related papers

  1. Mixture-based Feature Space Learning for Few-shot Image ClassificationArman Afrasiyabi, Jean-François Lalonde, Christian GagnéICCV 2021 · 95 citations
  2. Relational Embedding for Few-Shot ClassificationDahyun Kang, Heeseung Kwon, Juhong Min, Minsu ChoICCV 2021 · 254 citations
  3. Diversity With Cooperation: Ensemble Methods for Few-Shot ClassificationNikita Dvornik, Julien Mairal, Cordelia SchmidICCV 2019 · 210 citations
  4. Few-shot Image Classification: Just Use a Library of Pre-trained Feature Extractors and a Simple ClassifierArkabandhu Chowdhury, Mingchao Jiang, Swarat Chaudhuri, Chris JermaineICCV 2021 · 49 citations
  5. Few-Shot Learning via Embedding Adaptation With Set-to-Set FunctionsHan-Jia Ye, Hexiang Hu, De-Chuan Zhan, Fei ShaCVPR 2020
Dusk over the sea between two cliffs drawn in fine vertical lines