Context. Split conformal prediction gives only when calibration and test points are exchangeable. In online use (markets, election night, transaction streams) the data drift, and a quantile calibrated on the past undercovers after a shift. Earlier fixes need to know something about the shift (a likelihood ratio, or the radius of a divergence ball); this paper assumes nothing. It keeps the conformal machinery and treats the level fed to the calibration quantile as one parameter, re-estimated online from the observed misses. Gibbs and Candès run coverage as a feedback loop, raising the nominal coverage after a miss and lowering it after a hit. The parameter integrates the coverage error, and since it is confined to a bounded interval (below 0 the set is everything, above 1 it is empty), the integrated error stays bounded and the average miss rate converges to at rate on every data sequence. This is integral control with a bounded state, and the step size trades slow response to a shift against step-to-step noise, as with constant-step SGD tracking a moving optimum.
Setting. Pairs arrive one at a time, and is revealed after each prediction. At time there is a score (say , or the CQR score) and a calibration quantile function , both refit on past data, and the set . is non-decreasing with for and for , so is the whole line for and empty for . Let be the miscoverage at level and the level that would give coverage at time . Adaptive conformal inference (ACI) starts at (in practice ) and updates A miss lowers by , widening the next set, and a hit raises it by .
Proposition (long-run coverage on any sequence). With no assumption on the data, for every and on every path, For and the paper's , the right side is . In a noiseless model with a fixed target and piecewise-linear , the average error is exactly for small , the slope of on the side where starts, so the rate is the right one when is unknown.
Hidden Markov model and per-step coverage. The finer results put a model on the drift. A Markov chain drives the environment, and given the chain the pairs are independent with ; the score and quantile function are held fixed. Write , let solve , and let be the drift of the target. The pair is assumed to start in its unique stationary law. Theorem. If every is -Lipschitz and each exists, then which at is at most ; with perfect quantiles .
Theorem (concentration of the miss rate). In the same model, let the chain have absolute spectral gap , and set and . Then and under a second-order expansion of each at with slope bounded away from and below , and , with the worst conditional expected one-step drift of . Step 4 explains why the first term is established only for a single state.
The parameter stays bounded, because the sets saturate. Each update moves by less than . If the set is the whole line, so and rises; if the set is empty, so and falls. So for all . Nothing about the data is used, only that the quantile map saturates, which is why ACI must be allowed the trivial sets that the convention outside provides.
Summing the update gives the long-run bound. Unrolling the recursion turns the summed errors into the total movement of the parameter: By Step 1 the left side is at most in absolute value; divide by . For tightness, with linear of slope near the mean error decays like , and the geometric sum gives the same rate. So the proposition is a statement about the transient: the average forgets the initialization at rate , and it says nothing finer. The update is also online subgradient descent on the pinball loss, but static regret is not a useful measure against a moving target, so the paper proves the bound directly.
Under slow drift, per-step miscoverage is small, by a tracking argument. Take as a Lyapunov function, as in constant-gain stochastic approximation: Conditioning turns into , and for a non-decreasing -Lipschitz , , so the cross term removes at least per step. Moving the target to costs at most per step; sum and use stationarity. The bound is a lag term plus a noise term: comes from a target moving by per step while the parameter moves by about , and is the noise of steps of size . Balancing them gives , so the step size should be larger when the target moves faster.
Feedback makes the misses negatively dependent, so the miss rate concentrates; state switches add clustering the proof does not control. Split each centered miss into noise around its state's mean and the state's bias: The bias piece is a bounded mean-zero function of the stationary chain, so a Bernstein inequality for Markov chains with a spectral gap gives the second exponential; it carries the positive dependence, since misses cluster when the environment lingers in states where ACI is biased. In the noise piece the feedback helps: given the states, decreases with the number of past misses, so Chebyshev's association inequality factors the moment generating function as if the misses were independent, and Hoeffding's lemma gives . With several states that Hoeffding-rate term is not established (my note, not in the paper): after each switch lags the new target, the lag depends on the whole state path, so it lands in the noise piece and is positively correlated over time. In a two-state check (sticky chain, , , ) the noise piece exceeds its claimed tail, about against at . The written proof misses this by applying Hoeffding's lemma conditionally on and the states, where need not be centered; centering at the mean given the whole state path makes the feedback argument sound but leaves the gap to uncontrolled. Whether the theorem's bound holds with several states is open (that check does not contradict it, because its second term exceeds 1 there), so under regime switches expect misses to cluster more than i.i.d.
In experiments ACI holds local coverage, and the score determines how much it must correct. On two real sequences ACI holds local coverage where fixed drifts, and the score decides how much drift ACI has to absorb (, , local coverage over a moving window against the spread of i.i.d. Bernoulli(0.1) misses). Volatility: GARCH(1,1) forecasts of squared daily returns with the normalized score ; fixed- coverage wanders between about 0.85 and 0.95 on four stocks picked from twelve because it fails on them, while ACI stays inside the Bernoulli band (on all twelve). With the unnormalized score, fixed- coverage falls to about 0.4 for Fannie Mae and ACI's coverage swings much more widely, which a larger only partly fixes, as Steps 3 and 4 predict, since what matters is how fast moves. Election night: CQR on 2020 county vote totals in reporting order; fixed falls to about 0.83 after time-zone changes, while ACI stays near 0.9. Both are illustrations on a handful of series with a hand-picked .
Consequences and limits. ACI is a one-line wrapper that drives any conformal method's long-run miss rate to on any sequence, drifting or adversarial, and under slow drift it also tracks per-step coverage, with set by how fast the right level moves. The guarantee is about frequency only: it says nothing about set size, and a method that outputs the whole line 90% of the time and the empty set otherwise also satisfies it; infinite sets occur whenever . Most of the work is done by the score and the refit model, which should make nearly stationary, as the normalized volatility score does. The finer theory needs a fixed quantile function, a stationary start and a hidden Markov model, is chosen by hand, and each label must arrive before the next prediction. The last point matters in fraud, where chargebacks arrive weeks late and the loop would run on stale errors; the paper lists delayed feedback as open. Later work chooses online by aggregating copies of ACI (Gibbs and Candès, 2022) and recasts the update as a controller on the score quantile (Angelopoulos et al., 2023).
Terms
- The working level fed to the calibration quantile, ; ACI's only state.
- The update: a miss widens the next set, a hit narrows it. It is subgradient descent on the pinball loss.
- The level that would give exact coverage at time ; the moving target ACI tracks.
- Confinement: outside the set is the whole line or empty, which pushes back.
- Long-run bound
- on every sequence.
- Drift
- : the size of the shift, measured in the level needed for exact coverage.
- Lag versus jitter
- , best at .
- Worst-state and average squared bias of the miss rate given the hidden state; .
- Negative association
- A miss lowers and widens the next set, so, given the states, the misses concentrate around their conditional means at least as fast as i.i.d. Bernoulli.
- Local coverage
- Coverage averaged over a moving window (500 days, 300 counties), compared with the spread of i.i.d. Bernoulli misses.
Quiz
- What does the noiseless linear example after the long-run proposition show?The mean error decays geometrically at rate , so its sum is about , and dividing by gives . Only the constant reflects not knowing .
- In the volatility example, why does dividing the score by improve ACI's coverage?Both theorems are controlled by how fast moves, and is in one-to-one correspondence with the score's quantile. Normalizing by the forecast variance removes most of the regime-driven scale changes, so ACI has less drift to absorb.
- With and , which outcome does the long-run proposition not rule out?The guarantee is a frequency statement and says nothing about set size, so trivial sets with the right frequency satisfy it. The other options violate the bound, the confinement , or the limit .
Sources
- Isaac Gibbs and Emmanuel Candès. Adaptive Conformal Inference Under Distribution Shift. NeurIPS, 2021.
- Isaac Gibbs and Emmanuel Candès. Conformal Inference for Online Prediction with Arbitrary Distribution Shifts. Journal of Machine Learning Research, 2024.
- Anastasios N. Angelopoulos, Emmanuel J. Candes, and Ryan J. Tibshirani. Conformal PID Control for Time Series Prediction. NeurIPS, 2023.