[Paper Review] Achieving Risk Control in Online Learning Settings
This paper introduces Rolling Risk Control (Rolling RC), a novel framework that enables online learning models to construct prediction sets with provably controlled risk—such as coverage, false negative rate, or F1 score—under arbitrary, potentially adversarial data distribution shifts. By extending adaptive conformal inference to arbitrary loss functions, the method guarantees risk control at user-specified levels with minimal computational overhead and zero additional implementation cost beyond any base online learner.
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. 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.
Motivation & Objective
- To address the lack of rigorous uncertainty quantification in online learning under distribution shifts.
- To extend conformal prediction beyond coverage to control arbitrary risk metrics such as false negative rate or F1 score.
- To develop a method that guarantees risk control at user-specified levels without assumptions on data distribution.
- To enable simultaneous control of multiple risks in online prediction settings.
- To provide a plug-and-play solution compatible with any online learning algorithm, including deep neural networks, with negligible computational cost.
Proposed method
- The method formulates risk control as a sequential optimization problem over prediction sets, using a calibrated stretching function to adjust prediction set size based on model confidence.
- It leverages adaptive conformal inference (ACI) as a foundation but generalizes it to arbitrary loss functions by introducing a risk-aware conformity score.
- The core mechanism uses a time-varying calibration coefficient $\varphi(\theta_t)$ that adjusts prediction set boundaries to meet a pre-specified risk level $r$.
- For regression, the method adjusts quantile levels via $\tau_t = \varphi(\theta_t)$, allowing dynamic control of interval width.
- For classification, it constructs prediction sets by ordering class probabilities and including labels until cumulative score exceeds $1 - \varphi(\theta_t)$.
- The framework ensures convergence to the desired risk level even under adversarial distribution shifts, as proven in Theorem 1.
Experimental results
Research questions
- RQ1Can we construct prediction sets in online learning that provably control arbitrary risk metrics such as miscoverage rate or false negative rate?
- RQ2Is it possible to maintain risk control under arbitrary, potentially adversarial, data distribution shifts in online settings?
- RQ3Can the method be applied to any online learning algorithm with minimal implementation and computational overhead?
- RQ4How can multiple risk metrics (e.g., coverage and F1) be controlled simultaneously in online prediction?
- RQ5Can the framework handle complex structured outputs, such as image-level depth maps, where traditional sequential calibration fails?
Key findings
- The Rolling RC framework guarantees risk control at any user-specified level $r$ under arbitrary data distribution shifts, even adversarial ones, as formalized in Theorem 1.
- The method achieves valid risk control with no assumptions on data distribution and requires only minimal modification to any base online learning model.
- Experiments on real-world tabular time-series data show that Rolling RC rigorously controls coverage, miscoverage, and false negative rates across varying data distributions.
- The framework successfully constructs valid prediction intervals for an online image-depth estimation task, a scenario where prior sequential calibration methods fail.
- The method maintains low $\Delta$-coverage (a proxy for conditional coverage) across days of the week, indicating robustness to temporal sub-population shifts.
- Using a bounded version of the miscoverage loss ($\texttt{MC}' = \min\{\texttt{MC}, B\}$) ensures convergence, though the unbounded version performs well in practice.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.