Skip to main content
QUICK REVIEW

[Paper Review] Conformal Inference for Online Prediction with Arbitrary Distribution Shifts

Isaac Gibbs, Emmanuel J. Candès|arXiv (Cornell University)|Aug 17, 2022
Time Series Analysis and ForecastingComputer Science17 citations
TL;DR

This paper proposes DtACI, a novel adaptive conformal inference method for online prediction under arbitrary distribution shifts. By dynamically tuning the step-size in adaptive conformal inference via an expert selection scheme, DtACI achieves provably small local regret and maintains accurate, adaptive coverage even during abrupt distribution shifts, outperforming prior methods that over-weight historical data.

ABSTRACT

We consider the problem of forming prediction sets in an online setting where the distribution generating the data is allowed to vary over time. Previous approaches to this problem suffer from over-weighting historical data and thus may fail to quickly react to the underlying dynamics. Here we correct this issue and develop a novel procedure with provably small regret over all local time intervals of a given width. We achieve this by modifying the adaptive conformal inference (ACI) algorithm of Gibbs and Candès (2021) to contain an additional step in which the step-size parameter of ACI's gradient descent update is tuned over time. Crucially, this means that unlike ACI, which requires knowledge of the rate of change of the data-generating mechanism, our new procedure is adaptive to both the size and type of the distribution shift. Our methods are highly flexible and can be used in combination with any baseline predictive algorithm that produces point estimates or estimated quantiles of the target without the need for distributional assumptions. We test our techniques on two real-world datasets aimed at predicting stock market volatility and COVID-19 case counts and find that they are robust and adaptive to real-world distribution shifts.

Motivation & Objective

  • To address the limitation of existing online conformal prediction methods that over-weight historical data and fail to adapt quickly to distribution shifts.
  • To develop a method that adapts to both the size and type of distribution shifts without requiring prior knowledge of the rate of change.
  • To ensure valid, locally adaptive prediction sets in non-stationary data streams using only point or quantile estimates from any baseline model.
  • To improve upon existing adaptive conformal inference methods by enabling faster reaction to distribution shifts through dynamic step-size tuning.
  • To validate the method empirically on real-world data involving stock market volatility and COVID-19 case counts.

Proposed method

  • Proposes DtACI, a dynamic expert selection scheme that tunes the step-size parameter in adaptive conformal inference (ACI) over time.
  • Uses an expert learning framework to select the optimal step-size based on historical performance, avoiding reliance on a fixed or pre-specified value.
  • Modifies the ACI algorithm by introducing a time-varying step-size that adapts to local changes in data distribution.
  • Employs conformity scores based on prediction errors relative to recent observations, normalized by recent changes in the target variable.
  • Applies the method independently per group (e.g., county-level in the COVID-19 example) to allow for heterogeneous dynamics across units.
  • Uses local coverage frequency over sliding windows to evaluate and tune performance, ensuring robustness to local distribution shifts.

Experimental results

Research questions

  • RQ1Can a conformal prediction method maintain valid local coverage under arbitrary, time-varying distribution shifts in online settings?
  • RQ2How can the step-size in adaptive conformal inference be dynamically tuned to improve adaptivity without prior knowledge of the rate of change?
  • RQ3Does dynamic step-size selection outperform fixed or history-weighted step-size strategies in reacting to abrupt distribution shifts?
  • RQ4Can the method maintain accurate coverage across diverse real-world time series with complex, non-stationary dynamics?
  • RQ5To what extent does the method reduce over-coverage or under-coverage bias compared to fixed-level or baseline adaptive methods?

Key findings

  • DtACI maintains local coverage close to the nominal level of 90% across all tested time windows, with minimal deviation from the target, indicating strong validity.
  • In the stock market volatility prediction task, DtACI adapts quickly to shifts and avoids systematic over- or under-coverage seen in fixed-level and baseline adaptive methods.
  • For county-level COVID-19 case count prediction, DtACI and AgACI show consistent local coverage across multiple counties with distinct pandemic dynamics, while MVP and the fixed-α baseline exhibit inconsistent or biased coverage.
  • The method avoids pathological behavior such as over-coverage at low α and under-coverage at high α, as confirmed by conditional coverage analysis over conformity score bins.
  • Empirical results show that DtACI significantly improves adaptivity to abrupt distribution shifts compared to ACI and other adaptive methods that heavily weight historical data.
  • Theoretical analysis shows that DtACI’s local regret is bounded in terms of the local rate of change of the optimal target parameter, providing a formal justification for its adaptivity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.