Table of Contents
Fetching ...

CONTINA: Confidence Interval for Traffic Demand Prediction with Coverage Guarantee

Chao Yang, Xiannan Huang, Shuhan Qiu, Yan Cheng

TL;DR

CONTINA addresses the instability of confidence intervals in dynamic traffic environments by integrating adaptive quantile conformal prediction with a sliding conformity set and region-wise adaptive learning rates. The method yields valid coverage at the city level and maintains strong worst-case regional coverage, with theoretical guarantees and empirical validation across four real-world datasets. It achieves shorter, more informative intervals while preserving coverage, enabling robust, real-time decision making for traffic operations. The approach supports practical deployment and paves the way for extending to multi-step forecasts and conditional coverage guarantees.

Abstract

Accurate short-term traffic demand prediction is critical for the operation of traffic systems. Besides point estimation, the confidence interval of the prediction is also of great importance. Many models for traffic operations, such as shared bike rebalancing and taxi dispatching, take into account the uncertainty of future demand and require confidence intervals as the input. However, existing methods for confidence interval modeling rely on strict assumptions, such as unchanging traffic patterns and correct model specifications, to guarantee enough coverage. Therefore, the confidence intervals provided could be invalid, especially in a changing traffic environment. To fill this gap, we propose an efficient method, CONTINA (Conformal Traffic Intervals with Adaptation) to provide interval predictions that can adapt to external changes. By collecting the errors of interval during deployment, the method can adjust the interval in the next step by widening it if the errors are too large or shortening it otherwise. Furthermore, we theoretically prove that the coverage of the confidence intervals provided by our method converges to the target coverage level. Experiments across four real-world datasets and prediction models demonstrate that the proposed method can provide valid confidence intervals with shorter lengths. Our method can help traffic management personnel develop a more reasonable and robust operation plan in practice. And we release the code, model and dataset in \href{ https://github.com/xiannanhuang/CONTINA/}{ Github}.

CONTINA: Confidence Interval for Traffic Demand Prediction with Coverage Guarantee

TL;DR

CONTINA addresses the instability of confidence intervals in dynamic traffic environments by integrating adaptive quantile conformal prediction with a sliding conformity set and region-wise adaptive learning rates. The method yields valid coverage at the city level and maintains strong worst-case regional coverage, with theoretical guarantees and empirical validation across four real-world datasets. It achieves shorter, more informative intervals while preserving coverage, enabling robust, real-time decision making for traffic operations. The approach supports practical deployment and paves the way for extending to multi-step forecasts and conditional coverage guarantees.

Abstract

Accurate short-term traffic demand prediction is critical for the operation of traffic systems. Besides point estimation, the confidence interval of the prediction is also of great importance. Many models for traffic operations, such as shared bike rebalancing and taxi dispatching, take into account the uncertainty of future demand and require confidence intervals as the input. However, existing methods for confidence interval modeling rely on strict assumptions, such as unchanging traffic patterns and correct model specifications, to guarantee enough coverage. Therefore, the confidence intervals provided could be invalid, especially in a changing traffic environment. To fill this gap, we propose an efficient method, CONTINA (Conformal Traffic Intervals with Adaptation) to provide interval predictions that can adapt to external changes. By collecting the errors of interval during deployment, the method can adjust the interval in the next step by widening it if the errors are too large or shortening it otherwise. Furthermore, we theoretically prove that the coverage of the confidence intervals provided by our method converges to the target coverage level. Experiments across four real-world datasets and prediction models demonstrate that the proposed method can provide valid confidence intervals with shorter lengths. Our method can help traffic management personnel develop a more reasonable and robust operation plan in practice. And we release the code, model and dataset in \href{ https://github.com/xiannanhuang/CONTINA/}{ Github}.

Paper Structure

This paper contains 30 sections, 9 theorems, 51 equations, 13 figures, 6 tables, 1 algorithm.

Key Result

Theorem 1

For arbitrary prediction models and arbitrary data distributions, we have the following guarantee: where $c$ is a constant.

Figures (13)

  • Figure 1: The generation procedure of adaptive confidence interval
  • Figure 2: The girds or regions for datasets. a) the grids of NYCbike dataset, b) the regions of NYCtaxi dataset, c) the grids of CHIbike dataset, d) the regions of CHItaxi datasets.
  • Figure 3: Results of using different initial rates in NYCbike dataset
  • Figure 4: Daily regional coverage for NYCbike dataset
  • Figure 5: Daily regional coverage for NYCtaxi dataset
  • ...and 8 more figures

Theorems & Definitions (14)

  • Theorem 1: Average guarantee
  • Theorem 2: Coverage guarantee for the worst region
  • Lemma 1
  • proof
  • Lemma 2
  • proof
  • Theorem 1
  • proof
  • Lemma 3: Hoeffding's Inequality (Theorem 2.2.6 in vershynin_high-dimensional_nodate
  • Lemma 4: Sub-Gaussian Properties (Proposition 2.5.2 in vershynin_high-dimensional_nodate)
  • ...and 4 more