[Paper Review] Realistic Evaluation of Transductive Few-Shot Learning
This paper introduces a realistic evaluation of transductive few-shot learning by modeling query set class distributions as Dirichlet-distributed marginals, revealing that state-of-the-art transductive methods suffer substantial performance drops under class imbalance—often falling below inductive baselines. It proposes an $α$-divergence-based loss function that generalizes mutual information, achieving superior robustness and performance across imbalanced settings on multiple benchmarks.
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.
Motivation & Objective
- To challenge the assumption of class-balanced query sets in current few-shot benchmarks, which artificially favors transductive methods.
- To evaluate the robustness of state-of-the-art transductive few-shot learning methods under realistic, arbitrary class distributions in query sets.
- To propose a generalization of the mutual information loss using $α$-divergences that better handles class distribution shifts.
- To provide a fairer benchmarking protocol for transductive vs. inductive few-shot learning by introducing realistic, Dirichlet-sampled class distributions.
Proposed method
- Models the marginal class probabilities of query sets as Dirichlet-distributed random variables to sample realistic, arbitrary class distributions within the probability simplex.
- Adapts existing few-shot benchmarks to include imbalanced tasks by sampling label proportions from a Dirichlet distribution with parameter vector $\bm{a}$, allowing control over imbalance severity.
- Proposes a novel loss function based on $\alpha$-divergences that generalizes mutual information and is robust to varying label marginals during training and inference.
- Introduces $\alpha$-TIM, a transductive method that optimizes the $\alpha$-divergence loss to improve generalization under class imbalance.
- Employs a validation protocol to tune the $\alpha$ hyperparameter, ensuring consistent performance across different imbalance levels.
- Evaluates methods on three standard few-shot datasets (miniImageNet, tieredImageNet, CIFAR-FS) using standard backbones and few-shot settings.
Experimental results
Research questions
- RQ1How do state-of-the-art transductive few-shot learning methods perform when evaluated under realistic, imbalanced query set distributions instead of perfectly balanced ones?
- RQ2To what extent do current transductive methods rely on implicit or explicit class-balance priors encoded during meta-training?
- RQ3Can a generalized mutual information loss based on $\alpha$-divergences improve robustness to class distribution shifts in transductive few-shot learning?
- RQ4Does transductive batch normalization remain beneficial under class imbalance, or does it degrade performance in realistic settings?
- RQ5How does the performance of transductive methods compare to inductive baselines when the benchmarking protocol removes the artificial class-balance assumption?
Key findings
- State-of-the-art transductive methods, including TIM and PT-MAP, suffer performance drops of up to 18% when evaluated under realistic, imbalanced query sets, with some methods performing worse than inductive baselines.
- The performance of TIM degrades drastically under imbalance unless the marginal-entropy weight $\lambda$ is carefully tuned, highlighting its sensitivity to hyperparameter choice.
- The proposed $\alpha$-TIM method achieves consistent improvements over existing methods across all datasets, backbones, and few-shot settings, even under extreme class imbalance.
- Unlike the $\lambda$-based tuning in TIM, the $\alpha$-divergence loss in $\alpha$-TIM is robust to suboptimal $\alpha$ values, making it more practical for real-world deployment.
- Transductive batch normalization is shown to hurt performance under class imbalance, contradicting its established benefit in balanced settings.
- The inductive baseline from [33] becomes more competitive than most transductive methods under high imbalance, suggesting that current transductive gains may be partly due to artificial balancing priors.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.