Achieving Risk Control in Online Learning Settings

Shai Feldman, Liran Ringel, Stephen Bates, Yaniv Romano
5/18/2022
cs.LGstat.ML

Official code: Shai128/rrc (8 stars, Jupyter Notebook, last commit 2023-07-15).

Abstract

To provide rigorous uncertainty quantification for online learning models, we develop a framework for constructing uncertainty sets that provably control risk -- such as coverage of confidence intervals, false negative rate, or F1 score -- in the online setting. This extends conformal prediction to apply to a larger class of online learning problems.

Show full abstract

Our method guarantees risk control at any user-specified level even when the underlying data distribution shifts drastically, even adversarially, over time in an unknown fashion. The technique we propose is highly flexible as it can be applied with any base online learning algorithm (e.g., a deep neural network trained online), requiring minimal implementation effort and essentially zero additional computational cost. We further extend our approach to control multiple risks simultaneously, so the prediction sets we generate are valid for all given risks. To demonstrate the utility of our method, we conduct experiments on real-world tabular time-series data sets showing that the proposed method rigorously controls various natural risks. Furthermore, we show how to construct valid intervals for an online image-depth estimation problem that previous sequential calibration schemes cannot handle.

View on arXivView PDF

Code Implementations(1)

Shai128/rrcOfficial100%

Rolling Risk Control

82Jupyter Notebook, PythonMay 22, 20233 years ago

Similar Papers

Cite this paper

@article{feldman2022achieving,
  title  = {Achieving Risk Control in Online Learning Settings},
  author = {Shai Feldman and Liran Ringel and Stephen Bates and Yaniv Romano},
  year   = {2022},
  eprint = {2205.09095},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.09095}
}

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

Discussion