Improved Online Conformal Prediction via Strongly Adaptive Online Learning

Aadyot Bhatnagar, Huan Wang, Caiming Xiong, Yu Bai
2/15/2023
cs.LGcs.AImath.ST

No official code found. Best implementation: salesforce/online_conformal (117 stars, Apache-2.0, last commit 2025-05-01).

Abstract

We study the problem of uncertainty quantification via prediction sets, in an online setting where the data distribution may vary arbitrarily over time. Recent work develops online conformal prediction techniques that leverage regret minimization algorithms from the online learning literature to learn prediction sets with approximately valid coverage and small regret. However, standard regret minimization could be insufficient for handling changing environments, where performance guarantees may be desired not only over the full time horizon but also in all (sub-)intervals of time. We develop new online conformal prediction methods that minimize the strongly adaptive regret, which measures the worst-case regret over all intervals of a fixed length. We prove that our methods achieve near-optimal strongly adaptive regret for all interval lengths simultaneously, and approximately valid coverage. Experiments show that our methods consistently obtain better coverage and smaller prediction sets than existing methods on real-world tasks, such as time series forecasting and image classification under distribution shift.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Methods for online conformal prediction.

1178Python, DockerfileJan 18, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{bhatnagar2023improved,
  title  = {Improved Online Conformal Prediction via Strongly Adaptive Online Learning},
  author = {Aadyot Bhatnagar and Huan Wang and Caiming Xiong and Yu Bai},
  year   = {2023},
  eprint = {2302.07869},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.07869v1},
  journal = {ICML 2023 2023}
}

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

Discussion