Skip to main content
QUICK REVIEW

[Paper Review] Spatio-Temporal meets Wavelet: Disentangled Traffic Flow Forecasting via Efficient Spectral Graph Attention Network

Yuchen Fang, Yanjun Qin|arXiv (Cornell University)|Dec 6, 2021
Traffic Prediction and Management TechniquesEngineering6 citations
TL;DR

This paper proposes STWave, a novel spatio-temporal traffic forecasting model that disentangles traffic sequences into low- and high-frequency components using discrete wavelet transform (DWT), enabling separate modeling of long- and short-term temporal patterns via a dual-channel encoder. It introduces an efficient spectral graph attention network (ESGAT) with wavelet-based graph positional encoding and query sampling to reduce computational complexity to O(N log N), achieving state-of-the-art accuracy with lower inference cost on four real-world datasets.

ABSTRACT

Traffic forecasting is crucial for public safety and resource optimization, yet is very challenging due to three aspects: i) current existing works mostly exploit intricate temporal patterns (e.g., the short-term thunderstorm and long-term daily trends) within a single method, which fail to accurately capture spatio-temporal dependencies under different schemas; ii) the under-exploration of the graph positional encoding limit the extraction of spatial information in the commonly used full graph attention network; iii) the quadratic complexity of the full graph attention introduces heavy computational needs. To achieve the effective traffic flow forecasting, we propose an efficient spectral graph attention network with disentangled traffic sequences. Specifically, the discrete wavelet transform is leveraged to obtain the low- and high-frequency components of traffic sequences, and a dual-channel encoder is elaborately designed to accurately capture the spatio-temporal dependencies under long- and short-term schemas of the low- and high-frequency components. Moreover, a novel wavelet-based graph positional encoding and a query sampling strategy are introduced in our spectral graph attention to effectively guide message passing and efficiently calculate the attention. Extensive experiments on four real-world datasets show the superiority of our model, i.e., the higher traffic forecasting precision with lower computational cost.

Motivation & Objective

  • To address the challenge of modeling complex, entangled temporal patterns in traffic flow forecasting using a unified method.
  • To overcome the quadratic complexity of full graph attention networks (GAT) in traffic forecasting.
  • To improve spatial message passing in GAT by incorporating structural inductive bias through novel graph positional encoding.
  • To enhance forecasting accuracy by separately modeling long-term (low-frequency) and short-term (high-frequency) traffic dynamics.
  • To achieve high performance with reduced computational cost through efficient attention mechanisms and multi-supervised learning.

Proposed method

  • Discrete Wavelet Transform (DWT) is applied to decompose raw traffic sequences into low-frequency (long-term trends) and high-frequency (short-term fluctuations) components.
  • A dual-channel spatio-temporal encoder is designed: one branch uses dilated causal convolutions for long-term patterns, and the other uses temporal attention for short-term dynamics.
  • Fusion attention aggregates latent representations from both branches to produce a unified prediction.
  • A multi-supervision strategy is applied to predict the low-frequency component in parallel with the full traffic flow, improving long-term trend learning.
  • An efficient spectral graph attention network (ESGAT) is proposed with O(N log N) complexity, replacing standard GAT to reduce computational cost.
  • Wavelet-based graph positional encoding is introduced to guide message passing with both structural and localized information, while query sampling sparsifies attention computation.

Experimental results

Research questions

  • RQ1Can disentangling traffic sequences into low- and high-frequency components improve the modeling of long- and short-term temporal dependencies in traffic forecasting?
  • RQ2Does an efficient spectral graph attention mechanism with O(N log N) complexity outperform standard GAT in traffic forecasting while reducing computational cost?
  • RQ3Can wavelet-based graph positional encoding enhance spatial message passing in graph attention networks by incorporating structural and localized information?
  • RQ4How does multi-supervision on the low-frequency component improve the prediction of long-term traffic trends?
  • RQ5What is the trade-off between model accuracy, inference speed, and memory usage when using ESGAT versus vanilla GAT or full attention?

Key findings

  • STWave achieves state-of-the-art performance on four real-world datasets (PeMSD4, PeMSD8, METR-LA, Pems-Bay), outperforming existing methods in MAE, RMSE, and MAPE metrics.
  • The ablation study shows that removing the ESGAT module ("-S") causes a larger performance drop than removing temporal components ("-T"), indicating the greater importance of spatial modeling.
  • The full STWave model with all components achieves the best performance, confirming the effectiveness of the five key components: DWT, dual-channel encoder, fusion attention, multi-supervision, and ESGAT.
  • The parameter sensitivity analysis shows optimal performance with 8 attention heads and 16 dimensions per head, with performance stabilizing at 2 layers.
  • Compared to baselines, STWave achieves the best trade-off between speed, memory usage, and accuracy, outperforming LSGCN, STGODE, and variants with vanilla GAT or full attention.
  • The wavelet-based graph positional encoding significantly improves performance over alternatives like eigenvectors (EV) and node2vec (N2V), which are less effective at balancing structural and localization information.

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.