Conformal Risk Control

Anastasios N. Angelopoulos, Stephen Bates, Adam Fisch, Lihua Lei, Tal Schuster
8/4/2022
495 citations
stat.MEcs.AIcs.LG

Official code: aangelopoulos/conformal-risk (89 stars, Python, MIT, PyTorch, last commit 2023-01-23).

Abstract

We extend conformal prediction to control the expected value of any monotone loss function. The algorithm generalizes split conformal prediction together with its coverage guarantee.

Show full abstract

Like conformal prediction, the conformal risk control procedure is tight up to an $\mathcal{O}(1/n)$ factor. We also introduce extensions of the idea to distribution shift, quantile risk control, multiple and adversarial risk control, and expectations of U-statistics. Worked examples from computer vision and natural language processing demonstrate the usage of our algorithm to bound the false negative rate, graph distance, and token-level F1-score.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Conformal prediction for controlling monotonic risk functions. Simple accompanying PyTorch code for conformal risk control in computer vision and natural language processing.

8914Python, MATLABJun 22, 20223 years agoMIT
computer-visionconformalconformal-predictionnatural-language-processingpython+4 more

Similar Papers

Cite this paper

@article{angelopoulos2022conformal,
  title  = {Conformal Risk Control},
  author = {Anastasios N. Angelopoulos and Stephen Bates and Adam Fisch and Lihua Lei and Tal Schuster},
  year   = {2022},
  eprint = {2208.02814},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2208.02814v4}
}

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

Discussion