NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Spatial-Temporal Graph Attention Gated Recurrent Transformer Network for Traffic Flow Forecasting

Di Wu, Kai Peng, Shangguang Wang, Victor C. M. Leung

Abstract

With the significant increase in the number of motor vehicles, road-related issues, such as traffic congestion and accidents, have also escalated. The development of an accurate and efficient traffic flow forecasting model is essential for helping car owners plan their journeys. Despite advancements in forecasting models, there are three remaining issues: 1) failing to effectively use cyclical data; 2) failing to adequately capture spatial dependencies; and 3) high-time complexity and memory usage. To tackle the aforementioned challenges, we present a novel spatial–temporal graph attention gated recurrent transformer network (STGAGRTN) for traffic flow forecasting. Specifically, the use of a spatial transformer module allows for the extraction of dynamic spatial dependencies among individual nodes, going beyond the limitation of only considering neighboring nodes. Subsequently, we propose a temporal transformer to extract periodic information from traffic data and capture long-term dependencies. Additionally, we utilize two additional classical techniques to complement the aforementioned modules for extracting characteristics. By incorporating comprehensive spatial-temporal characteristics into our model, we can accurately predict multiple nodes simultaneously. Finally, we have successfully optimized the computational complexity of the transformer module from $\mathcal {O}(n^{2})$ to $\mathcal {O}(n \log n)$ . Our model has undergone extensive testing on four authentic data sets, providing compelling evidence of its superior predictive capabilities.
BibTeX
@article{wu2024spatial,
  author = {Di Wu and Kai Peng and Shangguang Wang and Victor C. M. Leung},
  title = {{Spatial-Temporal Graph Attention Gated Recurrent Transformer Network for Traffic Flow Forecasting}},
  journal = {IEEE Internet of Things Journal},
  year = {2024},
  doi = {10.1109/jiot.2023.3340182},
}

Loading related content...

Figure