COOL: A Conjoint Perspective on Spatio-Temporal Graph Neural Network for Traffic Forecasting

Wei Ju, Yusheng Zhao, Yifang Qin, Siyu Yi, Jingyang Yuan, Zhiping Xiao, Xiao Luo, Xiting Yan, Ming Zhang

Introduction

Traffic forecasting is a fundamental challenge in urban computing, requiring the modeling of complex spatio-temporal dependencies. Traditional approaches often treat spatial and temporal dimensions as independent or sequential, failing to capture high-order interactions. The COOL (Conjoint Spatio-Temporal graph neural network) framework addresses these limitations by integrating heterogeneous graphs, semantic "penalty" graphs, and a multi-scale attention mechanism.

Problem Statement: Transitional Diversity

A significant hurdle in traffic modeling is "transitional diversity." Traffic patterns are non-uniform across time and space; for instance, a Monday morning commute differs drastically from a Saturday night. Furthermore, different sensor locations exhibit varying statistical properties.

As illustrated above, traffic data can vary significantly in variance (Sample A vs. B) and periodicity (Sample C vs. D). Existing models often struggle to adapt to these diverse transitional patterns, leading to suboptimal forecasting accuracy.

The COOL Framework

The authors propose a two-pronged architecture to handle these complexities:

1. Conjoint Spatio-temporal Graph Encoder

COOL utilizes a heterogeneous graph where nodes represent sensor locations at specific time steps, connected by both physical proximity (spatial edges) and consecutive time steps (temporal edges).

  • Prior Message Passing: Captures basic context through pre-defined connections.
  • Posterior Message Passing: This innovation introduces Affinity Graphs for similar patterns and Penalty Graphs for dissimilar ones (e.g., comparing a highway to a residential street). By explicitly modeling dissimilarity, the network learns more robust representations that are resistant to noise.

2. Conjoint Self-attention Decoder

To manage temporal diversity, the decoder employs two specialized branches:

  • Multi-rank Branch: Utilizes low-rank attention matrices to capture intrinsic patterns efficiently, significantly reducing parameter count and preventing overfitting.
  • Multi-scale Branch: Employs pooling at various window sizes (e.g., 3, 4, and 6 time steps) to capture periodicities at different granularities.

Experimental Evaluation

COOL was evaluated on four standard benchmarks: PEMS-BAY, METR-LA, PEMS07, and PEMS08.

Key Results

  • State-of-the-Art Accuracy: COOL consistently outperformed top-tier baselines like STAEformer and PDFormer. Its performance advantage is particularly notable in long-range forecasting (e.g., 60-minute horizons).
  • Efficiency: Despite its superior performance, COOL is remarkably lean. It uses approximately 264K parameters, compared to 1123K for STAEformer.
  • Inference Speed: COOL achieved a test time of 5.4s, nearly twice as fast as PDFormer (9.3s), making it suitable for real-time applications.

Conclusion and Future Work

The COOL framework demonstrates that "conjoint" modeling—treating space and time as a unified graph—is superior to sequential processing. By incorporating "dissimilarity" via penalty graphs and utilizing efficient low-rank attention, COOL achieves high accuracy with low computational overhead. Future research may involve integrating external factors like weather or social events and applying the model to dynamic scenarios such as long-term road construction.

Summary updated

BibTeX
@article{ju2024cool,
  author = {Wei Ju and Yusheng Zhao and Yifang Qin and Siyu Yi and Jingyang Yuan and Zhiping Xiao and Xiao Luo and Xiting Yan and Ming Zhang},
  title = {{COOL: A Conjoint Perspective on Spatio-Temporal Graph Neural Network for Traffic Forecasting}},
  journal = {Information Fusion},
  year = {2024},
  doi = {10.1016/j.inffus.2024.102341},
}
Figure