Active Testing: Sample-Efficient Model Evaluation

Jannik Kossen, Sebastian Farquhar, Yarin Gal, Tom Rainforth
3/9/2021
stat.MLcs.LG

Official code: jlko/active-testing (31 stars, Python, MIT, last commit 2025-05-22).

Abstract

We introduce a new framework for sample-efficient model evaluation that we call active testing. While approaches like active learning reduce the number of labels needed for model training, existing literature largely ignores the cost of labeling test data, typically unrealistically assuming large test sets for model evaluation.

Show full abstract

This creates a disconnect to real applications, where test labels are important and just as expensive, e.g. for optimizing hyperparameters. Active testing addresses this by carefully selecting the test points to label, ensuring model evaluation is sample-efficient. To this end, we derive theoretically-grounded and intuitive acquisition strategies that are specifically tailored to the goals of active testing, noting these are distinct to those of active learning. As actively selecting labels introduces a bias; we further show how to remove this bias while reducing the variance of the estimator at the same time. Active testing is easy to implement and can be applied to any supervised machine learning method. We demonstrate its effectiveness on models including WideResNets and Gaussian processes on datasets including Fashion-MNIST and CIFAR-100.

View on arXivView PDF

Code Implementations(1)

MIT

Active and Sample-Efficient Model Evaluation

317Python, Jupyter NotebookMar 9, 20211 years agoMIT

Similar Papers

Cite this paper

@article{kossen2021active,
  title  = {Active Testing: Sample-Efficient Model Evaluation},
  author = {Jannik Kossen and Sebastian Farquhar and Yarin Gal and Tom Rainforth},
  year   = {2021},
  eprint = {2103.05331},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.05331}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.05331.svg)](https://codeofpaper.com/paper/2103.05331)

Discussion