English

STGAtt: A Spatial-Temporal Unified Graph Attention Network for Traffic Flow Forecasting

Machine Learning 2025-08-26 v1 Artificial Intelligence

Abstract

Accurate and timely traffic flow forecasting is crucial for intelligent transportation systems. This paper presents a novel deep learning model, the Spatial-Temporal Unified Graph Attention Network (STGAtt). By leveraging a unified graph representation and an attention mechanism, STGAtt effectively captures complex spatial-temporal dependencies. Unlike methods relying on separate spatial and temporal dependency modeling modules, STGAtt directly models correlations within a Spatial-Temporal Unified Graph, dynamically weighing connections across both dimensions. To further enhance its capabilities, STGAtt partitions traffic flow observation signal into neighborhood subsets and employs a novel exchanging mechanism, enabling effective capture of both short-range and long-range correlations. Extensive experiments on the PEMS-BAY and SHMetro datasets demonstrate STGAtt's superior performance compared to state-of-the-art baselines across various prediction horizons. Visualization of attention weights confirms STGAtt's ability to adapt to dynamic traffic patterns and capture long-range dependencies, highlighting its potential for real-world traffic flow forecasting applications.

Keywords

Cite

@article{arxiv.2508.16685,
  title  = {STGAtt: A Spatial-Temporal Unified Graph Attention Network for Traffic Flow Forecasting},
  author = {Zhuding Liang and Jianxun Cui and Qingshuang Zeng and Feng Liu and Nenad Filipovic and Tijana Geroski},
  journal= {arXiv preprint arXiv:2508.16685},
  year   = {2025}
}
R2 v1 2026-07-01T05:02:16.171Z