Active, anytime-valid risk controlling prediction sets

Ziyu Xu, Nikos Karampatziakis, Paul Mineiro
6/15/2024
stat.MLcs.LG

No official code found. Best implementation: neilzxu/active-rcps (0 stars, MIT, last commit 2024-06-15).

Abstract

Rigorously establishing the safety of black-box machine learning models concerning critical risk measures is important for providing guarantees about model behavior. Recently, Bates et. al. (JACM '24) introduced the notion of a risk controlling prediction set (RCPS) for producing prediction sets that are statistically guaranteed low risk from machine learning models. Our method extends this notion to the sequential setting, where we provide guarantees even when the data is collected adaptively, and ensures that the risk guarantee is anytime-valid, i.e., simultaneously holds at all time steps. Further, we propose a framework for constructing RCPSes for active labeling, i.e., allowing one to use a labeling policy that chooses whether to query the true label for each received data point and ensures that the expected proportion of data points whose labels are queried are below a predetermined label budget. We also describe how to use predictors (i.e., the machine learning model for which we provide risk control guarantees) to further improve the utility of our RCPSes by estimating the expected risk conditioned on the covariates. We characterize the optimal choices of label policy and predictor under a fixed label budget and show a regret result that relates the estimation error of the optimal labeling policy and predictor to the wealth process that underlies our RCPSes. Lastly, we present practical ways of formulating label policies and empirically show that our label policies use fewer labels to reach higher utility than naive baseline labeling strategies on both simulations and real data.

View on arXivView PDF

Code Implementations(1)

neilzxu/active-rcpsCommunity100%
MIT
00PythonJun 15, 20242 years agoMIT

Similar Papers

Cite this paper

@article{xu2024active,
  title  = {Active, anytime-valid risk controlling prediction sets},
  author = {Ziyu Xu and Nikos Karampatziakis and Paul Mineiro},
  year   = {2024},
  eprint = {2406.10490},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.10490},
  url    = {http://arxiv.org/abs/2406.10490v2},
  journal = {NEURIPS 2024 2024}
}

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

Discussion