Learn then Test: Calibrating Predictive Algorithms to Achieve Risk Control

Anastasios N. Angelopoulos, Stephen Bates, Emmanuel J. Candès, Michael I. Jordan, Lihua Lei
10/3/2021
410 citations
cs.LGcs.AIcs.CV

Official code: aangelopoulos/ltt (75 stars, Jupyter Notebook, MIT, last commit 2024-11-17).

Abstract

We introduce a framework for calibrating machine learning models so that their predictions satisfy explicit, finite-sample statistical guarantees. Our calibration algorithms work with any underlying model and (unknown) data-generating distribution and do not require model refitting.

Show full abstract

The framework addresses, among other examples, false discovery rate control in multi-label classification, intersection-over-union control in instance segmentation, and the simultaneous control of the type-1 error of outlier detection and confidence set coverage in classification or regression. Our main insight is to reframe the risk-control problem as multiple hypothesis testing, enabling techniques and mathematical arguments different from those in the previous literature. We use the framework to provide new calibration methods for several core machine learning tasks, with detailed worked examples in computer vision and tabular medical data.

View on arXivView PDF

Code Implementations(1)

aangelopoulos/lttOfficial100%
MIT

Learn then Test: Calibrating Predictive Algorithms to Achieve Risk Control

7510Jupyter Notebook, PythonMar 18, 20212 years agoMIT
aicomputer-visionmachine-learningmlmultiple-testing+1 more

Similar Papers

Cite this paper

@article{angelopoulos2021learn,
  title  = {Learn then Test: Calibrating Predictive Algorithms to Achieve Risk Control},
  author = {Anastasios N. Angelopoulos and Stephen Bates and Emmanuel J. Candès and Michael I. Jordan and Lihua Lei},
  year   = {2021},
  eprint = {2110.01052},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.01052}
}

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/2110.01052.svg)](https://codeofpaper.com/paper/2110.01052)

Discussion