Abstract
Numerous benchmarks for Few-Shot Learning have been proposed in the last decade. However all of these benchmarks focus on performance averaged over many tasks, and the question of how to reliably evaluate and tune models trained for individual few-shot tasks has not been addressed. This paper presents the first investigation into task-level validation—a fundamental step when deploying a model. We measure the accuracy of performance estimators in the few-shot setting, consider strategies for model selection, and examine the reasons for the failure of evaluators usually thought of as being robust. We conclude that cross-validation with a low number of folds is the best choice for directly estimating the performance of a model, whereas using bootstrapping or cross validation with a large number of folds is better for model selection purposes. Overall, we find that with current methods, benchmarks, and validation strategies, one can not get a reliable picture of how effectively methods perform on individual tasks. However, we find that existing methods already provide enough information to enable selection of few-shot learners on a task-level basis.
Introduction: The Challenge of Task-Level Evaluation
In Few-Shot Learning (FSL), researchers typically report "Aggregated Evaluation"—the average accuracy across thousands of tasks. While useful for algorithmic comparison, this metric is insufficient for real-world deployment where performance on a specific task is critical. This paper investigates Task-Level Evaluation (TLE): the ability to reliably estimate a model's performance on unseen data given only a handful of labeled examples (the "support set").
Methodology: Testing Classic Estimators
The authors evaluated four classic performance estimators: Hold-out, $k$-fold Cross-Validation (CV), Leave-One-Out CV (LOO-CV), and Bootstrapping. These were compared against an Oracle (a large, hidden query set) to measure performance estimation accuracy and model selection reliability. Tests were conducted across standard benchmarks like miniImageNet, CIFAR-FS, Meta-Album, and foundation models using CLIP features.
Key Findings: The Crisis of Evaluation
The study reveals several critical insights into the limitations of current validation strategies:
- High Estimation Error: In 5-way 5-shot settings, the Mean Absolute Error (MAE) between estimated and true accuracy frequently ranged from 10% to 25%.
- The LOO-CV Failure: Contrary to standard ML intuition, LOO-CV fails in FSL. Removing one sample from a tiny support set creates a class imbalance that induces a pessimistic distribution shift.
- Ranking vs. Estimation: While these tools struggle to predict absolute accuracy, they are more effective at ranking models. Resampling methods like bootstrapping are better suited for model selection than for performance estimation.
- The Oracle Gap: Utilizing a perfect evaluator to select the best algorithm per task could improve accuracy by 10-15%, suggesting that model selection is a major bottleneck in FSL.
Conclusion
Current validation methods are "not fit for purpose" for high-stakes task-level FSL. Future research must move toward specialized FSL evaluators, potentially incorporating Bayesian priors or meta-training knowledge to reduce variance. Until then, practitioners should remain skeptical of validation scores in few-shot scenarios.
Summary updated