English

Oops, I Sampled it Again: Reinterpreting Confidence Intervals in Few-Shot Learning

Machine Learning 2024-09-09 v2 Artificial Intelligence Machine Learning

Abstract

The predominant method for computing confidence intervals (CI) in few-shot learning (FSL) is based on sampling the tasks with replacement, i.e.\ allowing the same samples to appear in multiple tasks. This makes the CI misleading in that it takes into account the randomness of the sampler but not the data itself. To quantify the extent of this problem, we conduct a comparative analysis between CIs computed with and without replacement. These reveal a notable underestimation by the predominant method. This observation calls for a reevaluation of how we interpret confidence intervals and the resulting conclusions in FSL comparative studies. Our research demonstrates that the use of paired tests can partially address this issue. Additionally, we explore methods to further reduce the (size of the) CI by strategically sampling tasks of a specific size. We also introduce a new optimized benchmark, which can be accessed at https://github.com/RafLaf/FSL-benchmark-again

Keywords

Cite

@article{arxiv.2409.02850,
  title  = {Oops, I Sampled it Again: Reinterpreting Confidence Intervals in Few-Shot Learning},
  author = {Raphael Lafargue and Luke Smith and Franck Vermet and Mathias Löwe and Ian Reid and Vincent Gripon and Jack Valmadre},
  journal= {arXiv preprint arXiv:2409.02850},
  year   = {2024}
}
R2 v1 2026-06-28T18:34:16.184Z