Skip to main content
QUICK REVIEW

[Paper Review] Active Testing: Sample-Efficient Model Evaluation

Jannik Kossen, Sebastian Farquhar|arXiv (Cornell University)|Mar 9, 2021
Machine Learning and AlgorithmsComputer Science53 references14 citations
TL;DR

This paper introduces active testing, a sample-efficient framework for model evaluation that actively selects the most informative test points to label, reducing the number of labels needed for accurate performance estimation. By deriving task-specific acquisition functions and correcting for selection bias via the LURE estimator, it achieves significantly more precise test loss and accuracy estimates than random sampling, even with small label budgets.

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. 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.

Motivation & Objective

  • To address the high cost of labeling test data in real-world machine learning applications, where test labels are often as expensive as training labels.
  • To close the gap in sample efficiency between active learning (for training data) and model evaluation (for test data), which has been largely overlooked.
  • To develop a general, principled framework for active testing applicable to any supervised learning model, including deep neural networks and Bayesian models.
  • To correct for the bias introduced by active selection of test points, which otherwise overestimates model error, especially in overconfident models.
  • To demonstrate that active testing significantly reduces the number of test labels required for accurate performance estimation, matching or exceeding the precision of random sampling with much larger test sets.

Proposed method

  • Proposes active testing as a framework to select the most informative test points for labeling, minimizing the number of labels needed to estimate model performance.
  • Derives task-specific acquisition functions for classification and regression based on predictive entropy and expected loss, tailored to evaluation rather than learning.
  • Introduces a surrogate model to improve selection accuracy, capturing uncertainty and errors in the original model, with ensembles enhancing diversity and fidelity.
  • Applies the LURE (Loss-Unbiased Risk Estimator) weighting scheme to correct for selection bias, ensuring unbiased and lower-variance performance estimates.
  • Uses Monte Carlo sampling to estimate test loss and other evaluation metrics, with acquisition strategies that prioritize points most informative for reducing estimator variance.
  • Employs a two-stage approach: first, use the original model or a surrogate to score candidate test points; second, label and update the surrogate iteratively to refine future selections.

Experimental results

Research questions

  • RQ1Can active selection of test data reduce the number of labels needed for accurate model evaluation without introducing bias?
  • RQ2How do acquisition functions for active testing differ from those used in active learning, given the distinct goals of evaluation versus training?
  • RQ3To what extent does using a surrogate model improve the accuracy and efficiency of active testing compared to relying solely on the original model?
  • RQ4Can bias in active testing be corrected effectively, and does this correction lead to more reliable performance estimates?
  • RQ5How do surrogate model fidelity and diversity impact the performance of active testing in practice?

Key findings

  • Active testing reduces the number of required test labels by up to 50% compared to random sampling while achieving the same level of estimation accuracy on Fashion-MNIST and CIFAR-100.
  • Predictive entropy-based acquisition functions outperform mutual information in active testing, as mutual information is better suited for active learning and does not target expected loss.
  • The LURE estimator effectively removes selection bias, preventing overestimation of test loss, especially in overconfident models, and reduces estimator variance.
  • Surrogate models, particularly deep ensemble surrogates, significantly improve active testing performance, with both increased fidelity and diversity contributing to better sample efficiency.
  • Re-training surrogate models as new labels are acquired improves performance, but even non-retrained surrogates outperform naive strategies relying only on the original model’s uncertainty.
  • The framework is general and effective across diverse models, including WideResNets, Bayesian neural networks, Gaussian processes, and random forests, across both regression and classification tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.