Realistic evaluation of transductive few-shot learning
Olivier Veilleux, Malik Boudiaf, Pablo Piantanida, Ismail Ben Ayed
Abstract
Transductive inference is widely used in few-shot learning, as it leverages the statistics of the unlabeled query set of a few-shot task, typically yielding substantially better performances than its inductive counterpart. The current few-shot benchmarks use perfectly class-balanced tasks at inference. We argue that such an artificial regularity is unrealistic, as it assumes that the marginal label probability of the testing samples is known and fixed to the uniform distribution. In fact, in realistic scenarios, the unlabeled query sets come with arbitrary and unknown label marginals. We introduce and study the effect of arbitrary class distributions within the query sets of few-shot tasks at inference, removing the class-balance artefact. Specifically, we model the marginal probabilities of the classes as Dirichlet-distributed random variables, which yields a principled and realistic sampling within the simplex. This leverages the current few-shot benchmarks, building testing tasks with arbitrary class distributions. We evaluate experimentally state-of-the-art transductive methods over 3 widely used data sets, and observe, surprisingly, substantial performance drops, even below inductive methods in some cases. Furthermore, we propose a generalization of the mutual-information loss, based on -divergences, which can handle effectively class-distribution variations. Empirically, we show that our transductive -divergence optimization outperforms state-of-the-art methods across several data sets, models and few-shot settings. Our code is publicly available at https://github.com/oveilleux/Realistic_Transductive_Few_Shot.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 8eead883-2cc2-4f81-9ac0-0a99066e7d89Cited by top-tier papers7
- Boosting Vision-Language Models with TransductionMaxime Zanella, Benoît Gérin, Ismail Ben AyedNeurIPS 2024 · 42 citations
- Prototypes-oriented Transductive Few-shot Learning with Conditional TransportLong Tian, Jingyi Feng, Xiaoqiang Chai, Wenchao Chen et al.ICCV 2023 · 30 citations
- Towards Practical Few-shot Query Sets: Transductive Minimum Description Length InferenceSégolène Martin, Malik Boudiaf, Emilie Chouzenoux, Jean-Christophe Pesquet et al.NeurIPS 2022 · 13 citations
- Von Mises-Fisher Mixture Model with Dynamic Shrinkage for Realistic Test-Time TransductionJiazhen Huang, Zhiming Liu, Changhu Wang, Wei Ju et al.ICML 2026 · 2 citations
- Open-Set Likelihood Maximization for Few-Shot LearningMalik Boudiaf, Etienne Bennequin, Myriam Tami, Antoine Toubhans et al.CVPR 2023
Builds on15
- Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few ExamplesEleni Triantafillou, Tyler Zhu, Vincent Dumoulin, Pascal Lamblin et al.ICLR 2020 · 692 citations
- A Baseline for Few-Shot Image ClassificationGuneet Singh Dhillon, Pratik Chaudhari, Avinash Ravichandran, Stefano SoattoICLR 2020 · 640 citations
- Laplacian Regularized Few-Shot LearningImtiaz Masud Ziko, Jose Dolz, Eric Granger, Ismail Ben AyedICML 2020 · 205 citations
- Transductive Episodic-Wise Adaptive Metric for Few-Shot LearningLimeng Qiao, Yemin Shi, Jia Li, Yonghong Tian et al.ICCV 2019 · 196 citations
- Empirical Bayes Transductive Meta-Learning with Synthetic GradientsShell Xu Hu, Pablo Garcia Moreno, Yang Xiao, Xi Shen et al.ICLR 2020 · 139 citations
Related papers
- Few-Shot Segmentation Without Meta-Learning: A Good Transductive Inference Is All You Need?Malik Boudiaf, Hoel Kervadec, Imtiaz Masud Ziko, Pablo Piantanida et al.CVPR 2021
- Information Maximization for Few-Shot LearningMalik Boudiaf, Imtiaz Masud Ziko, Jérôme Rony, Jose Dolz et al.NeurIPS 2020 · 136 citations
- Boosting Transductive Few-Shot Fine-tuning with Margin-based Uncertainty Weighting and Probability RegularizationRan Tao, Hao Chen, Marios SavvidesCVPR 2023
- Feature Distribution Fitting with Direction-Driven Weighting for Few-Shot Images ClassificationXin Wei, Wei Du, Huan Wan, Weidong MinAAAI 2023 · 14 citations
- POODLE: Improving Few-shot Learning via Penalizing Out-of-Distribution SamplesDuong H. Le, Khoi D. Nguyen, Khoi Nguyen, Quoc-Huy Tran et al.NeurIPS 2021 · 42 citations
