Urban Traffic Flow Prediction Algorithm Based on Attention Mechanism and LSTM

Traffic flow prediction is one of the important techniques for urban intelligent transport construction. Due to the instability and complexity of the actual traffic flow changes in urban road networks, existing prediction models are difficult to extract the flow characteristics of traffic sections that are geographically on different grids at different times with limited training. Regarding this kind of problem, this paper proposes a prediction method based on transformer attention mechanism and multilayer LSTM model, firstly, the temporal characteristics of data are processed by four-layer LSTM network, then the attention mechanism of multiple heads is used to make predictions on spatial location characteristics, finally, the prediction results analysed by both of them are subjected to full-connectivity processing and constant adjustment of weights, and the extracted traffic flow characteristics with temporal and spatial characteristics are finally processed and outputted. spatial characteristics of the city is finally processed and the prediction results are output. After the related prediction experiments on the grid flow data and the related evaluation indexes of the comparative model experiments, the prediction effect of this model is better than the traditional prediction method, and it can make effective long- and short-term flow prediction of the traffic flow of the urban roads.

Authors

Institutions

Publication Details

Journal
Theoretical and Natural Science
Published
2025-01-15
DOI
https://doi.org/10.54254/2753-8818/2025.19939
Citations
1
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
1.01
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Urban Traffic Flow Prediction Algorithm Based on Attention Mechanism and LSTM

Penghao Zeng
1 citations
Theoretical and Natural Science
Traffic Prediction and Management Techniques
1.01
article

Urban Traffic Flow Prediction Algorithm Based on Attention Mechanism and LSTM

Penghao Zeng
article en
1 citations

Abstract

Traffic flow prediction is one of the important techniques for urban intelligent transport construction. Due to the instability and complexity of the actual traffic flow changes in urban road networks, existing prediction models are difficult to extract the flow characteristics of traffic sections that are geographically on different grids at different times with limited training. Regarding this kind of problem, this paper proposes a prediction method based on transformer attention mechanism and multilayer LSTM model, firstly, the temporal characteristics of data are processed by four-layer LSTM network, then the attention mechanism of multiple heads is used to make predictions on spatial location characteristics, finally, the prediction results analysed by both of them are subjected to full-connectivity processing and constant adjustment of weights, and the extracted traffic flow characteristics with temporal and spatial characteristics are finally processed and outputted. spatial characteristics of the city is finally processed and the prediction results are output. After the related prediction experiments on the grid flow data and the related evaluation indexes of the comparative model experiments, the prediction effect of this model is better than the traditional prediction method, and it can make effective long- and short-term flow prediction of the traffic flow of the urban roads.

Theoretical and Natural ScienceVol. 83(1)
Central South University (CN)
Openalex Percentile: Top 26%
Traffic Prediction and Management Techniques
1.01
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.

Urban Traffic Flow Prediction Algorithm Based on Attention Mechanism and LSTM — Penghao Zeng · Theoretical and Natural Science (2025) | TGRS Research Map | TGRS