Conformal Inference for Online Prediction with Arbitrary Distribution Shifts
Isaac GibbsEmmanuel J. Candès
Develops an adaptive conformal inference method that dynamically tunes its update step size to construct valid prediction sets under arbitrary, unknown distribution shifts without relying on heavy historical weighting.
Modern predictive machine learning models are widely deployed in critical real-time systems, yet their reliability often breaks down when real-world conditions evolve over time. Existing uncertainty quantification techniques, such as conformal prediction sets, typically rely on the assumption that incoming data behave identically to historical data. While adaptive conformal inference methods were developed to adjust prediction bands dynamically, earlier approaches require advance knowledge of how rapidly the environment changes or over-weight older historical data, causing them to lag dangerously behind sudden shifts.
The article demonstrates and evaluates a new framework called dynamically-tuned adaptive conformal inference (DtACI). Its primary objective is to automatically generate valid prediction intervals in real time under arbitrary, unknown distribution shifts without requiring distributional assumptions or pre-tuned update rates.
To achieve this, the article frames interval tuning as an online optimization problem and deploys an expert-aggregation scheme that runs multiple step sizes in parallel. By continuously re-weighting these candidate parameters using recent loss performance, the system dynamically selects the optimal adjustment speed. The researchers established theoretical guarantees that bound prediction errors across local time windows and validated the method through numerical simulations and two real-world case studies: forecasting daily stock market volatility and predicting county-level weekly COVID-19 case counts across multiple US regions.
The analysis reveals several key findings. First, DtACI achieves provably small regret and tightly maintains the target coverage level (such as 90% accuracy) over any local time interval, scaling directly with the rate of environmental drift. Second, under sudden jump shifts, DtACI rapidly adjusts its update rate, whereas competing methods lag significantly because they assign excessive weight to obsolete historical records. Third, in real-world market and epidemiological testing, the method matched the theoretical error rate of an idealized process and successfully adapted whether point models were well-calibrated or highly unstable. Fourth, testing confirmed that DtACI accurately learns underlying target values rather than merely oscillating reactively between extreme over-coverage and under-coverage.
These findings mean organizations deploying automated forecasting can reliably quantify uncertainty without risking systematic failure during regime changes, financial disruptions, or public health emergencies. Practitioners do not need prior knowledge of market volatility speeds or disease transmission shifts to maintain reliable statistical guarantees.
For operational deployment, the article recommends implementing DtACI alongside existing predictive point or quantile models using fixed hyperparameter defaults, which perform robustly across diverse tasks. If an environment is known to remain perfectly static over long horizons, traditional methods may offer slightly narrower calibration; however, for dynamic real-world settings, DtACI provides the best trade-off by preventing delayed reactions to abrupt disruptions.
A primary boundary condition is that when hyperparameters are configured for maximum local adaptivity, long-term average coverage may exhibit a minor statistical bias, though empirical evidence shows this effect is negligible in practice. Confidence in the approach is high, supported by mathematical proofs and validated performance across real-world data streams.
- Paper: Adaptive Conformal Predictions for Time Series, Margaux Zaffran et al. (2022). This paper establishes the foundation for online adaptive conformal inference and multi-expert aggregation in time series, which the source directly builds upon and generalizes to handle arbitrary distribution shifts.
- Paper: A Decision-Theoretic Generalization of On-Line Learning and an Application to Boosting, Yoav Freund et al. (1997). It introduces the fundamental Hedge algorithm and multiplicative weight update framework for online expert aggregation that underpins the source paper's dynamic step-size selection.
- Paper: Distribution-Free Predictive Inference for Regression, Jing Lei et al. (2016). It develops the core theory of distribution-free conformal inference for regression, establishing the exchangeable baseline coverage guarantees that the source adapts for dynamic, non-stationary streams.
- Paper: A tutorial on conformal prediction, Glenn Shafer et al. (2007). This foundational tutorial outlines the sequential online validity guarantees of conformal prediction that formulate the starting point for adaptive and distribution-shifted conformal methods.
- Paper: Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems, Sébastien Bubeck et al. (2012). It provides the formal theoretical framework for online regret analysis and tracking shifting targets in adversarial environments used to prove the local regret bounds of DtACI.
- Paper: Replicable Conformal Prediction, Marios Papamichalis et al. (2026). It addresses deployment-level replicability and stability bottlenecks in conformal prediction sets calibrated across independent analysts or shifting operational audits.
