Skip to main content
QUICK REVIEW

[Paper Review] Uncertainty Quantification for Traffic Forecasting: A Unified Approach

Weizhu Qian, Dalin Zhang|arXiv (Cornell University)|Aug 11, 2022
Traffic Prediction and Management TechniquesEngineering7 citations
TL;DR

This paper proposes DeepSTUQ, a unified deep learning framework for traffic forecasting that simultaneously quantifies both aleatoric and epistemic uncertainty. By combining Monte Carlo dropout with Adaptive Weight Averaging retraining and Temperature Scaling calibration, it achieves state-of-the-art performance in both point prediction and uncertainty estimation using only a single model, enabling fast training, low memory usage, and efficient inference.

ABSTRACT

Uncertainty is an essential consideration for time series forecasting tasks. In this work, we specifically focus on quantifying the uncertainty of traffic forecasting. To achieve this, we develop Deep Spatio-Temporal Uncertainty Quantification (DeepSTUQ), which can estimate both aleatoric and epistemic uncertainty. We first leverage a spatio-temporal model to model the complex spatio-temporal correlations of traffic data. Subsequently, two independent sub-neural networks maximizing the heterogeneous log-likelihood are developed to estimate aleatoric uncertainty. For estimating epistemic uncertainty, we combine the merits of variational inference and deep ensembling by integrating the Monte Carlo dropout and the Adaptive Weight Averaging re-training methods, respectively. Finally, we propose a post-processing calibration approach based on Temperature Scaling, which improves the model's generalization ability to estimate uncertainty. Extensive experiments are conducted on four public datasets, and the empirical results suggest that the proposed method outperforms state-of-the-art methods in terms of both point prediction and uncertainty quantification.

Motivation & Objective

  • To address the lack of uncertainty quantification in existing traffic forecasting models, which typically provide only deterministic predictions.
  • To estimate both aleatoric uncertainty (data-driven variability) and epistemic uncertainty (model uncertainty) in a single, unified framework.
  • To develop a method that achieves high uncertainty estimation performance without the computational and memory overhead of training multiple models.
  • To improve generalization and calibration of uncertainty estimates through post-processing calibration using Temperature Scaling.

Proposed method

  • A spatio-temporal deep learning backbone (e.g., GNN-CNN hybrid) is used to model complex spatial and temporal dependencies in traffic data.
  • Two independent sub-networks are trained via a hybrid loss function to predict the mean and variance of traffic states, enabling estimation of aleatoric uncertainty.
  • For epistemic uncertainty, Monte Carlo dropout is applied during inference to approximate Bayesian inference, while a novel AWA (Adaptive Weight Averaging) retraining strategy enhances model diversity without training multiple networks.
  • The AWA retraining method improves model generalization by averaging weights from multiple stochastic optimization trajectories, emulating deep ensembling with a single model.
  • A post-processing calibration step using Temperature Scaling is applied to the model’s predictive distribution to improve calibration metrics such as PICP and MPIW.
  • The entire framework, named DeepSTUQ, is trained end-to-end and enables fast inference with minimal memory footprint.

Experimental results

Research questions

  • RQ1Can a unified deep learning framework effectively estimate both aleatoric and epistemic uncertainty in traffic forecasting?
  • RQ2How can epistemic uncertainty be estimated efficiently without training multiple models, while maintaining high predictive diversity?
  • RQ3To what extent does post-processing calibration via Temperature Scaling improve uncertainty quantification performance?
  • RQ4How does the number of Monte Carlo samples during inference affect the trade-off between accuracy and inference speed?

Key findings

  • DeepSTUQ outperforms state-of-the-art deterministic and uncertainty-aware models in both point prediction (MAE, RMSE, MAPE) and uncertainty quantification (MNLL, PICP, MPIW) across four public datasets.
  • The AWA retraining method improves point prediction performance by 0.5–1.2% (relative) compared to standard training, achieving performance close to deep ensembling with only 20 additional epochs.
  • Model calibration via Temperature Scaling significantly improves uncertainty calibration: PICP increases from 94.22% to 94.75% on PEMS03 and MPIW increases from 74.51 to 76.91, indicating better coverage and tighter prediction intervals.
  • The performance of DeepSTUQ saturates with 10–15 Monte Carlo samples, indicating that only a small number of samples are needed for high-quality uncertainty estimation.
  • Combining both epistemic and aleatoric uncertainty estimation leads to superior performance compared to methods that consider only one type of uncertainty.
  • The method maintains fast inference and low memory usage due to training only a single model, making it practical for real-time deployment in ITS applications.

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.