Skip to main content
QUICK REVIEW

[Paper Review] Explainable Graph Pyramid Autoformer for Long-Term Traffic Forecasting

Weiheng Zhong, Tanwi Mallick|arXiv (Cornell University)|Sep 27, 2022
Traffic Prediction and Management TechniquesEngineering8 citations
TL;DR

This paper proposes X-GPA, an explainable graph neural network with a novel pyramid autocorrelation attention mechanism for long-term traffic forecasting. By hierarchically extracting temporal features and modeling spatial dependencies via graph attention, X-GPA achieves up to 35% higher accuracy than state-of-the-art methods while providing attention-score-based spatial and temporal explanations for traffic dynamics across different conditions.

ABSTRACT

Accurate traffic forecasting is vital to an intelligent transportation system. Although many deep learning models have achieved state-of-art performance for short-term traffic forecasting of up to 1 hour, long-term traffic forecasting that spans multiple hours remains a major challenge. Moreover, most of the existing deep learning traffic forecasting models are black box, presenting additional challenges related to explainability and interpretability. We develop Graph Pyramid Autoformer (X-GPA), an explainable attention-based spatial-temporal graph neural network that uses a novel pyramid autocorrelation attention mechanism. It enables learning from long temporal sequences on graphs and improves long-term traffic forecasting accuracy. Our model can achieve up to 35 % better long-term traffic forecast accuracy than that of several state-of-the-art methods. The attention-based scores from the X-GPA model provide spatial and temporal explanations based on the traffic dynamics, which change for normal vs. peak-hour traffic and weekday vs. weekend traffic.

Motivation & Objective

  • To address the challenge of long-term traffic forecasting beyond one hour, where existing models struggle with temporal sequence complexity and computational cost.
  • To improve forecasting accuracy for long-term traffic prediction by modeling hierarchical temporal patterns and spatial dependencies in road networks.
  • To introduce a novel attention mechanism that reduces computational complexity while capturing long-range temporal dependencies in traffic time series.
  • To provide intrinsic interpretability through attention scores that explain spatial and temporal influences in predictions, enabling trust and insight for traffic managers.
  • To establish a new state-of-the-art in long-term traffic forecasting with both high accuracy and explainability, overcoming the black-box nature of most deep learning models.

Proposed method

  • X-GPA employs a graph attention network to model spatial dependencies using driving distances and pairwise node relationships in road networks.
  • It introduces a pyramid autocorrelation attention mechanism that processes time series in hierarchical patches and combines features using autocorrelation to capture long-range temporal patterns.
  • The method uses patch-based self-attention to reduce computational complexity compared to standard $O(n^2)$ attention, enabling efficient processing of long sequences.
  • Temporal features are extracted at multiple scales through a hierarchical patching strategy, followed by fusion via autocorrelation to enhance long-term dependency learning.
  • The model integrates spatial and temporal representations through a transformer-based architecture, enabling end-to-end learning of complex spatiotemporal dynamics.
  • Attention scores from the final layers are used to generate interpretable explanations for predictions, highlighting key spatial locations and temporal windows influencing forecasts.

Experimental results

Research questions

  • RQ1Can a novel attention mechanism effectively model long-range temporal dependencies in traffic time series while maintaining computational efficiency?
  • RQ2How does the proposed pyramid autocorrelation attention mechanism improve forecasting accuracy compared to standard self-attention or recurrent architectures in long-term traffic forecasting?
  • RQ3To what extent can attention scores from the model provide meaningful, interpretable explanations for traffic predictions under varying conditions such as peak vs. off-peak hours?
  • RQ4Does X-GPA outperform existing state-of-the-art spatial-temporal graph neural networks in long-term traffic forecasting accuracy across diverse real-world datasets?
  • RQ5Can the model maintain high performance while reducing training time compared to existing attention-based or recurrent GNNs for long sequences?

Key findings

  • X-GPA achieves up to 35% better long-term traffic forecasting accuracy than state-of-the-art methods on the PEMS-Bay and Metr-LA datasets.
  • In Case 1 (15–60 min forecasts), X-GPA outperforms HA and Autoformer, with MAE values of 1.49 mph (15 min), 1.87 mph (30 min), and 2.23 mph (60 min) on PEMS-Bay, and 2.29 mph (15 min), 2.91 mph (30 min), and 3.76 mph (60 min) on Metr-LA.
  • In Case 2 (aggregated historical data), X-GPA achieves lower MAE than STGCN and ASTGCN, with 1.32 mph (15 min), 1.62 mph (30 min), and 1.95 mph (60 min) on PEMS-Bay, and 2.12 mph (15 min), 2.72 mph (30 min), and 3.50 mph (60 min) on Metr-LA.
  • In Case 3 (selective historical input), X-GPA achieves the best performance with 1.43 mph (15 min), 1.79 mph (30 min), and 2.27 mph (60 min) on PEMS-Bay, and 2.49 mph (15 min), 3.60 mph (30 min), and 4.07 mph (60 min) on Metr-LA.
  • X-GPA has significantly lower training time than DCRNN and ASTGCN—4.5 hours on PEMS-Bay and 3.5 hours on Metr-LA—compared to 12,600 and 1,512 hours respectively, demonstrating high efficiency.
  • The model provides attention-score-based explanations that vary meaningfully between normal and peak-hour traffic, as well as between weekdays and weekends, enabling interpretable insights into traffic dynamics.

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.