A Long Term Transformer-based Spatiotemporal Graph Attention Network for Traffic Flow Forecasting

Traffic flow prediction is the key to accurate urban traffic control and the basis for developing intelligent transportation systems. Recent studies have made substantial progress in traffic prediction by modelling complex spatiotemporal graph topology and considering sensors as road network nodes. However, the current spatiotemporal graph neural network model is limited by its structure. It can only utilize short-range traffic flow data and cannot effectively extract the long-term trend of complex traffic flow and periodic features in traffic patterns. To address the above problems, we propose a Transformer-based long-term traffic flow prediction framework, “Transformer-based spatiotemporal graph attention network”. First, the model utilizes the Transformer coding layer to learn compressed and context-rich subsequence temporal representations from long-term sequences. Then, the model designs a multi-scale gated temporal convolution module to identify and extract long-term trend features of traffic flow from the subsequence time representations. Next, the model constructs a multi-granularity random graph attention module to capture the periodic features of traffic flow from the subsequence time representations and extracts the short-term trend features present in the long-time series using the STGNN model. Finally, the model fuses the extracted long-term trends, periodic features and short-term trends to obtain the final prediction results. Experimental results on two real-world traffic flow datasets show that the model outperforms the baseline model and makes accurate long-term predictions.

Authors

Publication Details

Journal
電腦學刊
Published
2025-08-29
DOI
https://doi.org/10.63367/199115992025083604002
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Long Term Transformer-based Spatiotemporal Graph Attention Network for Traffic Flow Forecasting

Hongchao Chen, Lin Xiao
電腦學刊
Traffic Prediction and Management Techniques
article

A Long Term Transformer-based Spatiotemporal Graph Attention Network for Traffic Flow Forecasting

Hongchao Chen, Lin Xiao
article en

Abstract

Traffic flow prediction is the key to accurate urban traffic control and the basis for developing intelligent transportation systems. Recent studies have made substantial progress in traffic prediction by modelling complex spatiotemporal graph topology and considering sensors as road network nodes. However, the current spatiotemporal graph neural network model is limited by its structure. It can only utilize short-range traffic flow data and cannot effectively extract the long-term trend of complex traffic flow and periodic features in traffic patterns. To address the above problems, we propose a Transformer-based long-term traffic flow prediction framework, “Transformer-based spatiotemporal graph attention network”. First, the model utilizes the Transformer coding layer to learn compressed and context-rich subsequence temporal representations from long-term sequences. Then, the model designs a multi-scale gated temporal convolution module to identify and extract long-term trend features of traffic flow from the subsequence time representations. Next, the model constructs a multi-granularity random graph attention module to capture the periodic features of traffic flow from the subsequence time representations and extracts the short-term trend features present in the long-time series using the STGNN model. Finally, the model fuses the extracted long-term trends, periodic features and short-term trends to obtain the final prediction results. Experimental results on two real-world traffic flow datasets show that the model outperforms the baseline model and makes accurate long-term predictions.

電腦學刊
National Natural Science Foundation of China
Openalex Percentile: Top 75%
Traffic Prediction and Management Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.