Distribution-Free, Risk-Controlling Prediction Sets

Stephen Bates, Anastasios Angelopoulos, Lihua Lei, Jitendra Malik, Michael I. Jordan
1/7/2021
cs.LGcs.AIcs.CV

Official code: aangelopoulos/rcps (90 stars, MIT, last commit 2024-02-01).

Abstract

While improving prediction accuracy has been the focus of machine learning in recent years, this alone does not suffice for reliable decision-making. Deploying learning systems in consequential settings also requires calibrating and communicating the uncertainty of predictions. To convey instance-wise uncertainty for prediction tasks, we show how to generate set-valued predictions from a black-box predictor that control the expected loss on future test points at a user-specified level. Our approach provides explicit finite-sample guarantees for any dataset by using a holdout set to calibrate the size of the prediction sets. This framework enables simple, distribution-free, rigorous error control for many tasks, and we demonstrate it in five large-scale machine learning problems: (1) classification problems where some mistakes are more costly than others; (2) multi-label classification, where each observation has multiple associated labels; (3) classification problems where the labels have a hierarchical structure; (4) image segmentation, where we wish to predict a set of pixels containing an object of interest; and (5) protein structure prediction. Lastly, we discuss extensions to uncertainty quantification for ranking, metric learning and distributionally robust learning.

View on arXivView PDF

Code Implementations(1)

aangelopoulos/rcpsOfficial100%
MIT

Official codebase for "Distribution-Free, Risk-Controlling Prediction Sets"

909R, MATLABOct 5, 20202 years agoMIT
machine-learninguncertainty

Cite this paper

@article{bates2021distributionfree,
  title  = {Distribution-Free, Risk-Controlling Prediction Sets},
  author = {Stephen Bates and Anastasios Angelopoulos and Lihua Lei and Jitendra Malik and Michael I. Jordan},
  year   = {2021},
  eprint = {2101.02703},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.02703}
}

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

Discussion