Skip to main content
QUICK REVIEW

[Paper Review] Conformal PID Control for Time Series Prediction

Anastasios N. Angelopoulos, Emmanuel J. Candès|arXiv (Cornell University)|Jul 31, 2023
Data Stream Mining TechniquesComputer Science21 citations
TL;DR

This paper introduces conformal PID control for online time series prediction to provide guaranteed long-run coverage without probabilistic data assumptions, by combining quantile tracking, error integration, and scorecasting. It demonstrates improved coverage and efficient prediction sets across COVID-19 deaths, electricity demand, stock returns, and temperature forecasts.

ABSTRACT

We study the problem of uncertainty quantification for time series prediction, with the goal of providing easy-to-use algorithms with formal guarantees. The algorithms we present build upon ideas from conformal prediction and control theory, are able to prospectively model conformal scores in an online setting, and adapt to the presence of systematic errors due to seasonality, trends, and general distribution shifts. Our theory both simplifies and strengthens existing analyses in online conformal prediction. Experiments on 4-week-ahead forecasting of statewide COVID-19 death counts in the U.S. show an improvement in coverage over the ensemble forecaster used in official CDC communications. We also run experiments on predicting electricity demand, market returns, and temperature using autoregressive, Theta, Prophet, and Transformer models. We provide an extendable codebase for testing our methods and for the integration of new algorithms, data sets, and forecasting rules.

Motivation & Objective

  • Motivate uncertainty quantification for time series under distribution shifts without probabilistic assumptions.
  • Develop a scalable online method that achieves long-run coverage for prediction sets.
  • Leverage a PID-control perspective (P/I/D components) to adapt to seasonality and trends.
  • Provide an extendable codebase and demonstrate empirical gains on diverse datasets.

Proposed method

  • Define a conformal score s_t and a predicted quantile q_t for time t.
  • Use a PID-like update q_{t+1} = g'_t + η g_t + r_t(sum_{i=1}^t g_i) with a saturated, admissible integrator r_t.
  • Introduce scorecasting to predict the next score quantile q_{t+1} based on past data.
  • Prove long-run coverage (1-α) under minimal assumptions through deterministic analysis.
  • Instantiate with a tan integrator and asymmetric conformal scores; provide practical design choices.
  • Optionally place scorecaster on top of a base forecaster to residualize systematic errors.

Experimental results

Research questions

  • RQ1How can we guarantee long-run, time-average coverage for conformal prediction in adversarial or non-i.i.d. time series?
  • RQ2Can a PID-control perspective (P/I/D) stabilize and sharpen time-series prediction sets under distribution shifts?
  • RQ3What roles do quantile tracking, error integration, and scorecasting play in achieving robust, adaptive coverage?
  • RQ4How do conformal prediction sets compare to existing adaptive conformal inference in practice across real-world datasets?

Key findings

  • Quantile tracking alone yields long-run coverage for bounded scores without probabilistic assumptions.
  • Adding an error-integrator stabilizes coverage for unbounded scores and adversarial sequences.
  • Scorecasting can reduce coverage error when score trends are predictable, improving set sharpness in several experiments.
  • In 4-week-ahead California COVID-19 death forecasting, conformal PID reduced miscoverage from 8/10 weeks to 3/10 weeks in a challenging winter wave, achieving ~70% coverage at 80% nominal level.
  • Across electricity demand, stock returns, and temperature data, conformal PID control yields tighter, adaptively sized prediction sets without resorting to infinite intervals.
  • The method is modular: base forecaster, scorecaster, and integrator choices can be adapted to data and computation constraints.

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.