mlsanityData to 7 Oct 2026

Learning dynamic and hierarchical traffic spatiotemporal features with Transformer

arXiv 2104.05163 ↗First posted 12 Apr 2021cs.AIcited by 26

Not on the map. Why?

Abstract (arXiv)

Traffic forecasting is an indispensable part of Intelligent transportation systems (ITS), and long-term network-wide accurate traffic speed forecasting is one of the most challenging tasks. Recently, deep learning methods have become popular in this domain. As traffic data are physically associated with road networks, most proposed models treat it as a spatiotemporal graph modeling problem and use Graph Convolution Network (GCN) based methods. These GCN-based models highly depend on a predefined and fixed adjacent matrix to reflect the spatial dependency. However, the predefined fixed adjacent matrix is limited in reflecting the actual dependence of traffic flow. This paper proposes a novel model, Traffic Transformer, for spatial-temporal graph modeling and long-term traffic forecasting to overcome these limitations. Transformer is the most popular framework in Natural Language Processing (NLP). And by adapting it to the spatiotemporal problem, Traffic Transformer hierarchically extracts spatiotemporal features through data dynamically by multi-head attention and masked multi-head attention mechanism, and fuse these features for traffic forecasting. Furthermore, analyzing the attention weight matrixes can find the influential part of road networks, allowing us to learn the traffic networks better. Experimental results on the public traffic network datasets and real-world traffic network datasets generated by ourselves demonstrate our proposed model achieves better performance than the state-of-the-art ones.

Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Builds on 14 of its 46 references that are in the map. First posted on arXiv 12 Apr 2021.

Builds on

14 of 46 references.

References · 14

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  4. 2017Graph Attention Networkscited by 8,854
  5. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  6. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  7. 2017Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecastingcited by 1,125
  8. 2019Graph WaveNet for Deep Spatial-Temporal Graph Modelingcited by 820
  9. 2020PCT: Point cloud transformercited by 730
  10. 2019GMAN: A Graph Multi-Attention Network for Traffic Predictioncited by 433
  11. 2018GaAN: Gated Attention Networks for Learning on Large and Spatiotemporal Graphscited by 164
  12. 2017Learning Traffic as Images: A Deep Convolutional Neural Network for Large-Scale Transportation Network Speed Predictioncited by 67
2 more
  1. 2017Spatiotemporal Recurrent Convolutional Networks for Traffic Prediction in Transportation Networkscited by 35
  2. 2019ST-UNet: A Spatio-Temporal U-Network for Graph-structured Time Series Modelingcited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 4; 2023: 9; 2024: 4; 2025: 8; 2026: 1.

26 papers.

Sort:

  1. 2023PDFormer: Propagation Delay-Aware Dynamic Long-Range Transformer for Traffic Flow Predictioncited by 135
  2. 2025Exploring the Roles of Large Language Models in Reshaping Transportation Systems: A Survey, Framework, and Roadmapcited by 26
  3. 2023FollowNet: A Comprehensive Benchmark for Car-Following Behavior Modelingcited by 21
  4. 2022Context-aware multi-head self-attentional neural network model for next location predictioncited by 20
  5. 2023PromptST: Prompt-Enhanced Spatio-Temporal Multi-Attribute Predictioncited by 20
  6. 2023Rethinking Sensors Modeling: Hierarchical Information Enhanced Traffic Forecastingcited by 11
  7. 2023Adaptive Hierarchical SpatioTemporal Network for Traffic Forecastingcited by 5
  8. 2023Mlinear: Rethink the Linear Model for Time-series Forecastingcited by 3
  9. 2024Unifying Lane-Level Traffic Prediction from a Graph Structural Perspective: Benchmark and Baselinecited by 3
  10. 2024RAM: Replace Attention with MLP for Efficient Multivariate Time Series Forecastingcited by 3
  11. 2025Multi-Source Urban Traffic Flow Forecasting with Drone and Loop Detector Datacited by 3
  12. 2022Network Level Spatial Temporal Traffic State Forecasting with Hierarchical-Attention-LSTM (HierAttnLSTM)cited by 2
14 more
  1. 2022Traffic-Twitter Transformer: A Nature Language Processing-joined Framework For Network-wide Traffic Forecastingcited by 2
  2. 2023Unified Data Management and Comprehensive Performance Evaluation for Urban Spatial-Temporal Prediction [Experiment, Analysis & Benchmark]cited by 2
  3. 2024A novel hybrid time-varying graph neural network for traffic flow forecastingcited by 2
  4. 2023An Efficient Two-stage Gradient Boosting Framework for Short-term Traffic State Estimationcited by 1
  5. 2023Counterfactual Graph Transformer for Traffic Flow Predictioncited by 1
  6. 2025Lightweight Spatio-Temporal Attention Network with Graph Embedding and Rotational Position Encoding for Traffic Forecastingcited by 1
  7. 2025ADFormer: Aggregation Differential Transformer for Passenger Demand Forecastingcited by 1
  8. 2025ST-LINK: Spatially-Aware Large Language Models for Spatio-Temporal Forecastingcited by 1
  9. 2022ST-former for short-term passenger flow prediction during COVID-19 in urban rail transit systemcited by 0
  10. 2024STTM: A New Approach Based Spatial-Temporal Transformer And Memory Network For Real-time Pressure Signal In On-demand Food Deliverycited by 0
  11. 2025Toward Dependency Dynamics in Multi-Agent Reinforcement Learning for Traffic Signal Controlcited by 0
  12. 2025Rethinking Traffic Flow Forecasting: From Transition to Generatationcited by 0
  13. 2025The Geography of Transportation Cybersecurity: Visitor Flows, Industry Clusters, and Spatial Dynamicscited by 0
  14. 2026Long-Horizon Traffic Forecasting via Incident-Aware Conformal Spatio-Temporal Transformerscited by 0