On Episodes, Prototypical Networks, and Few-Shot Learning
Steinar Laenen, Luca Bertinetto
Abstract
Episodic learning is a popular practice among researchers and practitioners interested in few-shot learning. It consists of organising training in a series of learning problems, each relying on small "support" and "query" sets to mimic the few-shot circumstances encountered during evaluation. In this paper, we investigate the usefulness of episodic learning in Prototypical Networks and Matching Networks, two of the most popular algorithms making use of this practice. Surprisingly, in our experiments we found that, for Prototypical and Matching Networks, it is detrimental to use the episodic learning strategy of separating training samples between support and query set, as it is a data-inefficient way to exploit training batches. These "non-episodic" variants, which are closely related to the classic Neighbourhood Component Analysis, reliably improve over their episodic counterparts in multiple datasets, achieving an accuracy that (in the case of Prototypical Networks) is competitive with the state-of-the-art, despite being extremely simple.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers12
- Spatio-temporal Relation Modeling for Few-shot Action RecognitionAnirudh Thatipelli, Sanath Narayan, Salman Khan, Rao Muhammad Anwer et al.CVPR 2022 · 144 citations
- ORBIT: A Real-World Few-Shot Dataset for Teachable Object RecognitionDaniela Massiceti, Luisa M. Zintgraf, John Bronskill, Lida Theodorou et al.ICCV 2021 · 55 citations
- A Closer Look at Prototype Classifier for Few-shot Image ClassificationMingcheng Hou, Issei SatoNeurIPS 2022 · 42 citations
- Uniform Sampling over Episode DifficultySébastien M. R. Arnold, Guneet S. Dhillon, Avinash Ravichandran, Stefano SoattoNeurIPS 2021 · 15 citations
- Semantic-based Selection, Synthesis, and Supervision for Few-shot LearningJinda Lu, Shuo Wang, Xinyu Zhang, Yanbin Hao et al.ACM MM 2023 · 7 citations
Builds on14
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
- Rapid Learning or Feature Reuse? Towards Understanding the Effectiveness of MAMLAniruddh Raghu, Maithra Raghu, Samy Bengio, Oriol VinyalsICLR 2020 · 736 citations
- A Baseline for Few-Shot Image ClassificationGuneet Singh Dhillon, Pratik Chaudhari, Avinash Ravichandran, Stefano SoattoICLR 2020 · 640 citations
- Boosting Few-Shot Visual Learning With Self-SupervisionSpyros Gidaris, Andrei Bursuc, Nikos Komodakis, Patrick Pérez et al.ICCV 2019 · 445 citations
Related papers
- A Theoretical Analysis of the Number of Shots in Few-Shot LearningTianshi Cao, Marc T. Law, Sanja FidlerICLR 2020 · 75 citations
- Unsupervised Episode Generation for Graph Meta-learningJihyeong Jung, Sangwoo Seo, Sungwon Kim, Chanyoung ParkICML 2024 · 4 citations
- Task Affinity with Maximum Bipartite Matching in Few-Shot LearningCat Phuoc Le, Juncheng Dong, Mohammadreza Soltani, Vahid TarokhICLR 2022 · 13 citations
- A Closer Look at the Training Strategy for Modern Meta-LearningJiaxin Chen, Xiao-Ming Wu, Yanke Li, Qimai Li et al.NeurIPS 2020 · 48 citations
- Memory-Based Neighbourhood Embedding for Visual RecognitionSuichan Li, Dapeng Chen, Bin Liu, Nenghai Yu et al.ICCV 2019 · 41 citations
