A Theoretical Analysis of the Number of Shots in Few-Shot Learning
Abstract
Few-shot classification is the task of predicting the category of an example from a set of few labeled examples. The number of labeled examples per category is called the number of shots (or shot number). Recent works tackle this task through meta-learning, where a meta-learner extracts information from observed tasks during meta-training to quickly adapt to new tasks during meta-testing. In this formulation, the number of shots exploited during meta-training has an impact on the recognition performance at meta-test time. Generally, the shot number used in meta-training should match the one used in meta-testing to obtain the best performance. We introduce a theoretical analysis of the impact of the shot number on Prototypical Networks, a state-of-the-art few-shot classification method. From our analysis, we propose a simple method that is robust to the choice of shot number used during meta-training, which is a crucial hyperparameter. The performance of our model trained for an arbitrary meta-training shot number shows great performance for different values of meta-testing shot numbers. We experimentally demonstrate our approach on different few-shot classification benchmarks.
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.
16 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- FLEX: Unifying Evaluation for Few-Shot NLP cites Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examples
- Learning to Learn Variational Semantic Memory cites Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examples
- A Closer Look at Prototype Classifier for Few-shot Image Classification cites On Episodes, Prototypical Networks, and Few-Shot Learning
- ProtoDiff: Learning to Learn Prototypical Networks by Task-Guided Diffusion cites Learning to Learn Variational Semantic Memory
- ProtoDiff: Learning to Learn Prototypical Networks by Task-Guided Diffusion cites Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examples
Cited by top-tier papers16
- On Episodes, Prototypical Networks, and Few-Shot LearningSteinar Laenen, Luca BertinettoNeurIPS 2021 · 142 citations
- FLEX: Unifying Evaluation for Few-Shot NLPJonathan Bragg, Arman Cohan, Kyle Lo, Iz BeltagyNeurIPS 2021 · 114 citations
- A Closer Look at Prototype Classifier for Few-shot Image ClassificationMingcheng Hou, Issei SatoNeurIPS 2022 · 42 citations
- Learning to Learn Variational Semantic MemoryXiantong Zhen, Ying-Jun Du, Huan Xiong, Qiang Qiu et al.NeurIPS 2020 · 40 citations
- ProtoDiff: Learning to Learn Prototypical Networks by Task-Guided DiffusionYingjun Du, Zehao Xiao, Shengcai Liao, Cees SnoekNeurIPS 2023 · 33 citations
Builds on2
Related papers
- Meta Faster R-CNN: Towards Accurate Few-Shot Object Detection with Attentive Feature AlignmentGuangxing Han, Shiyuan Huang, Jiawei Ma, Yicheng He et al.AAAI 2022 · 227 citations
- Learning a Universal Template for Few-shot Dataset GeneralizationEleni Triantafillou, Hugo Larochelle, Richard S. Zemel, Vincent DumoulinICML 2021 · 113 citations
- Meta-Baseline: Exploring Simple Meta-Learning for Few-Shot LearningYinbo Chen, Zhuang Liu, Huijuan Xu, Trevor Darrell et al.ICCV 2021 · 455 citations
- MELR: Meta-Learning via Modeling Episode-Level Relationships for Few-Shot LearningNanyi Fei, Zhiwu Lu, Tao Xiang, Songfang HuangICLR 2021 · 121 citations
- The Effect of Diversity in Meta-LearningRamnath Kumar, Tristan Deleu, Yoshua BengioAAAI 2023 · 18 citations
