Online Localized Conformal Prediction
Abstract
Conformal prediction is a framework that provides valid uncertainty quantification for general models with exchangeable data. However, in online learning and time-series settings, exchangeability is often violated. Existing online conformal methods, such as adaptive conformal inference (ACI), can achieve long-run coverage control, yet remain inefficient under covariate heterogeneity because they rely on global calibration. We propose Online Localized Conformal Prediction (OLCP), which combines online adaptation with covariate-dependent localization to better capture heterogeneity. To reduce sensitivity to the localization bandwidth, we further develop OLCP-Hedge, which formulates bandwidth selection as a constrained online expert aggregation problem. We establish a pathwise long-run coverage identity for OLCP with explicit boundary corrections, and expected coverage-violation and set-size guarantees for OLCP-Hedge under a feasibility assumption. Simulations and real-data experiments demonstrate that the proposed methods achieve valid long-run coverage and favorable coverage--size tradeoffs under heterogeneity and temporal distribution shifts.