Skip to content

STGNN transformer multi step traffic flow prediction model based on dynamic adaptive attention graph learning

Aug 2026 · Engineering Research Express · Vol 8 · 0 citations · 24 references
Physics

TL;DR

This research provides an integrated approach for dynamic spatiotemporal dependency modeling which significantly enhances the multi-step prediction accuracy in multi-step traffic flow prediction.

Abstract

Traffic congestion has become a major obstacle to urban mobility and quality of life due to rapid urbanization and an increase in car ownership. Accurate traffic flow prediction is important for some intelligent transportation systems such as traffic guidance and signal control. The traditional methods including ARIMA and support vector machines cannot deal well with the complicated spatial and temporal correlations in large-scale traffic data. At present, most spatiotemporal graph neural networks (STGNNs) mainly depend on fixed graph structures which are not adaptive to the varying traffic conditions. We suggest a Dynamic Adaptive Attention Graph Learning based STGNN Transformer model (DASTGNN-Transformer) for multi-step traffic flow prediction. The model uses a multi-step Transformer decoder to identify global long-term temporal dependencies and obtains local spatiotemporal features by means of spatiotemporal graph convolutional encoders. Attention maps are generated from real-time data by a dynamic adaptive graph learning module to reflect the changing location relationships. Experiments conducted on PeMSD4 (containing 307 nodes) and PeMSD8 (with 170 nodes) datasets indicate that DASTGNN-Transformer outperforms the mainstream baselines such as STGCN, adaptive graph networks and iTransformer in terms of RMSE of 0.072–0.085, MAE of 0.061–0.079 and MAPE of 8.2%–9.5%. The ablation studies have confirmed the contributions of each module: the RMSE increases to 0.12–0.20 when the dynamic graph module is omitted. Furthermore, the robustness tests have demonstrated consistent performance even in the presence of noise (the RMSE only increases to 0.142 at a noise level of 0.5) and across different datasets. This research provides an integrated approach for dynamic spatiotemporal dependency modeling which significantly enhances the multi-step prediction accuracy.

View source

Similar papers

Open access Aug 2026

A traffic flow forecasting model with embedded sparse dynamic graph convolution and multi-head attention LSTM

Experimental results on the public PEMS04 and PEMS08 datasets demonstrate that the proposed ESDG-ALSTM model significantly improves forecasting accuracy, confirming that ESDG-ALSTM is more sensitive to abrupt events and multimodal evolution patterns and can effectively enhance prediction performance in complex traffic flow scenarios.

Guozheng Li, Bai-Jing Wu, Ke Gao et al. · 0 citations
Open access Jul 2026

Recurrent Graph Neural Network Hybrid Model for Spatio-Temporal Traffic Flow Prediction in Intelligent Transportation Systems

TETRA is proposed, a hybrid spatio-temporal traffic forecasting model that integrates Graph Convolutional Networks (GCNs) with Extended Long Short-Term Memory (xLSTM) to capture complex multi-timescale temporal patterns, including congestion propagation and delayed recovery dynamics, which are not well represented by conventional recurrent models.

Norman Bereczki, Vilmos Simon · 0 citations
Conference Open access 2025

Predicting Traffic Flow Using Attention and Spatiotemporal Graph Convolutional Networks

A prediction model that incorporates multiple attention mechanisms with spatiotemporal graph convolutional networks (HASTGCN) and designs a spatiotemporal map convolution module to collaboratively model the dynamic spatiotemporal connection of traffic flow collaboratively model is used.

Chu-xia Chen · 0 citations
Open access Jul 2026

Attention-based Spatio-Temporal Graph Convolutional Networks-enhanced deep reinforcement learning for adaptive traffic signal control in urban traffic networks.

A novel adaptive traffic signal control framework by integrating Attention-based Spatio-Temporal Graph Convolutional Networks (ASTGCN) with Multi-Agent Deep Deterministic Policy Gradient (MADDPG) is proposed, providing a scalable and data-driven solution for intelligent traffic signal control in urban traffic networks, supporting the development of smart mobility systems.

Jing Wang, Xiaopeng Wang, Yang Mo et al. · 0 citations
#machine learning Preprint Sep 2026

A Dynamic Fusion Large Language Model for Traffic Flow Prediction

Traffic flow prediction is a core supporting technology for intelligent transportation systems. It uses historical data to infer future traffic dynamics in specific areas, thereby helping to alleviate congestion and improve resource allocation efficiency. Traditional neural networks struggle to break through accuracy limits due to their reliance on singular feature modeling, while large language models (LLMs) suffer from insufficient capture of spatial topological information and mining spatiotemporal correlation. This study proposes a Dynamic Fusion Large Language Model (DF-LLM) for traffic flow prediction. The model incorporates three core components: spatiotemporal embedding module, spatiotemporal fusion module, and LLM backbone. The spatiotemporal embedding module enables synergistic representation of multi-scale spatiotemporal features. The spatiotemporal fusion module integrates spatial topology and dynamic dependencies via graph convolution. The LLM backbone adopts a differentiated parameter adaptation strategy to balance training efficiency and traffic data adaptability. Additionally, it introduces a context aggregation attention module to strengthens global dependencies. More importantly, the LLM backbone takes the residual connections to mitigate the gradient vanishing in deep networks. Experiments show that DF-LLM has achieved better performance by comparing the metrics on all the four datasets.

Xue Qiu, Jian-Li Xiao · 0 citations
Open access 2026

Traffic Flow Prediction Based on Multi-Scale Graph Convolution Enhanced Large Language Model

The proposed MSG-LLM traffic flow forecasting framework significantly outperforms existing mainstream models in both short-term and long-term traffic flow forecasting tasks, validating the effectiveness and strong generalization ability of MSG-LLM in modeling complex traffic systems.

Chuangchuang Zhang, Zeng-Xu Song, Haiquan Shao · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.