Skip to main content
QUICK REVIEW

[Paper Review] SpecSTG: A Fast Spectral Diffusion Framework for Probabilistic Spatio-Temporal Traffic Forecasting

Lequan Lin, Dai Shi|arXiv (Cornell University)|Jan 16, 2024
Traffic Prediction and Management TechniquesEngineering3 citations
TL;DR

SpecSTG proposes a fast spectral diffusion framework for probabilistic spatio-temporal traffic forecasting by generating Fourier representations of future time series in the spectral domain, leveraging graph structure for enhanced spatial modeling. It achieves state-of-the-art performance with faster training and sampling than existing diffusion models, outperforming baselines on PEMS04 and PEMS08 datasets in both flow and speed forecasting tasks.

ABSTRACT

Traffic forecasting, a crucial application of spatio-temporal graph (STG) learning, has traditionally relied on deterministic models for accurate point estimations. Yet, these models fall short of quantifying future uncertainties. Recently, many probabilistic methods, especially variants of diffusion models, have been proposed to fill this gap. However, existing diffusion methods typically deal with individual sensors separately when generating future time series, resulting in limited usage of spatial information in the probabilistic learning process. In this work, we propose SpecSTG, a novel spectral diffusion framework, to better leverage spatial dependencies and systematic patterns inherent in traffic data. More specifically, our method generates the Fourier representation of future time series, transforming the learning process into the spectral domain enriched with spatial information. Additionally, our approach incorporates a fast spectral graph convolution designed for Fourier input, alleviating the computational burden associated with existing models. Compared with state-of-the-arts, SpecSTG achieves up to 8% improvements on point estimations and up to 0.78% improvements on quantifying future uncertainties. Furthermore, SpecSTG's training and validation speed is 3.33X of the most efficient existing diffusion method for STG forecasting. The source code for SpecSTG is available at https://anonymous.4open.science/r/SpecSTG.

Motivation & Objective

  • To address the limitation of existing diffusion models in traffic forecasting that treat each sensor independently and underutilize spatial graph structure.
  • To improve uncertainty-aware forecasting by modeling future traffic dynamics through spectral representations enriched with global spatial dependencies.
  • To reduce computational cost in training and inference by introducing a fast spectral graph convolution tailored for Fourier-domain inputs.
  • To enable more accurate and informative probabilistic forecasts by learning the distribution of future time series across the entire network simultaneously.
  • To outperform deterministic and probabilistic baselines in both point estimation and uncertainty quantification on real-world traffic datasets.

Proposed method

  • The method transforms future traffic time series into their Fourier representations, converting the generative task into the spectral domain where spatial dependencies are inherently encoded.
  • It employs a novel fast spectral graph convolution layer designed to process Fourier-transformed inputs efficiently, reducing computational overhead.
  • The diffusion process is applied in the spectral domain, where noised Fourier coefficients are denoised step-by-step using a conditional U-Net architecture conditioned on past observations and graph structure.
  • The model is trained via a denoising objective that minimizes the difference between predicted and ground-truth Fourier coefficients across multiple noise levels.
  • Sampling involves starting from random noise in the spectral domain and iteratively denoising to generate future Fourier representations, which are then inverse-transformed to obtain time-domain forecasts.
  • The framework integrates graph structure into the diffusion process from the outset, ensuring spatial coherence in the generated distributions.
Figure 1: Illustrations: (a) an example of traffic STG; (b) traffic flow forecasting in future 60 minutes with GMAN (deterministic) and SpecSTG (probabilistic) on PEMS04.
Figure 1: Illustrations: (a) an example of traffic STG; (b) traffic flow forecasting in future 60 minutes with GMAN (deterministic) and SpecSTG (probabilistic) on PEMS04.

Experimental results

Research questions

  • RQ1Can modeling future traffic forecasts in the spectral domain improve the integration of spatial dependencies compared to time-domain diffusion models?
  • RQ2Does using Fourier representations as the generative target lead to better uncertainty quantification and more accurate probabilistic forecasts in spatio-temporal traffic prediction?
  • RQ3Can a fast spectral graph convolution layer significantly reduce training and inference time while maintaining or improving performance?
  • RQ4How does SpecSTG compare to state-of-the-art deterministic and probabilistic models in terms of both point prediction accuracy and distributional calibration?
  • RQ5In what scenarios does spectral diffusion fail to generate compatible future distributions, and why?

Key findings

  • SpecSTG achieves state-of-the-art performance on both PEMS04 and PEMS08 datasets, outperforming existing diffusion models in RMSE and MAE across 15-, 30-, and 60-minute forecasting horizons.
  • On PEMS04F, SpecSTG achieves RMSE of 30.17, 32.81, and 37.29 at 15, 30, and 60 minutes, respectively, surpassing all baselines including GMAN in some metrics.
  • On PEMS08F, SpecSTG achieves RMSE of 22.23, 24.77, and 29.90, ranking first in most metrics and showing strong generalization across datasets.
  • The model generates more compatible future distributions than TimeGrad and GCRDD, particularly at sensors with moderate traffic variation, though performance degrades in low-global-variation regions.
  • Despite being probabilistic, SpecSTG produces deterministic predictions that are competitive with state-of-the-art deterministic models like GMAN, especially in short-term forecasting.
  • The ablation study confirms that spectral diffusion with graph-aware Fourier representation significantly improves performance over time-domain diffusion and non-spectral baselines.
Figure 2: The overview of SpecSTG. Illustrations of TimeGrad and GCRDD are provided to show the novelty and advantage of our approach.
Figure 2: The overview of SpecSTG. Illustrations of TimeGrad and GCRDD are provided to show the novelty and advantage of our approach.

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.