Spatiotemporal memory decoupled transformer for traffic flow forecasting

Traffic flow forecasting is crucial for effective urban planning and the development of intelligent transportation systems. However, accurately capturing the complex spatiotemporal dependencies in traffic flow data remains a significant challenge. Current approaches typically face two major limitations: (i) insufficient modeling of long-term historical traffic flow patterns, which hinders the capture of global trends and periodic behaviors; and (ii) inadequate consideration of spatial structures and temporal response heterogeneity, which limits the model’s representational capacity. To tackle these challenges, this paper proposes a novel forecasting framework named Spatiotemporal Memory Decoupled Transformer (STMDFormer). First, a spatiotemporal embedding module is designed to fuse topological node structures with multi-scale periodic information. Then, a spatial memory attention mechanism is introduced, incorporating a learnable historical memory bank and a biased adjacency matrix for dynamic modeling of long-term traffic flow patterns. Furthermore, a decoupled learning module is designed to separate spatial and temporal features through normalization techniques, while employing multi-head attention to better capture spatiotemporal heterogeneity. Extensive experiments on four real-world traffic datasets demonstrate that STMDFormer consistently outperforms various state-of-the-art baselines in forecasting accuracy, validating its effectiveness in dynamic spatiotemporal modeling.

Authors

Institutions

Publication Details

Journal
Journal Of Big Data
Published
2026-03-17
DOI
https://doi.org/10.1186/s40537-026-01404-w
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Spatiotemporal memory decoupled transformer for traffic flow forecasting

Ling Chen, Hongyan Wang
Journal Of Big Data
Traffic Prediction and Management Techniques
article

Spatiotemporal memory decoupled transformer for traffic flow forecasting

Ling Chen, Hongyan Wang
article en

Abstract

Traffic flow forecasting is crucial for effective urban planning and the development of intelligent transportation systems. However, accurately capturing the complex spatiotemporal dependencies in traffic flow data remains a significant challenge. Current approaches typically face two major limitations: (i) insufficient modeling of long-term historical traffic flow patterns, which hinders the capture of global trends and periodic behaviors; and (ii) inadequate consideration of spatial structures and temporal response heterogeneity, which limits the model’s representational capacity. To tackle these challenges, this paper proposes a novel forecasting framework named Spatiotemporal Memory Decoupled Transformer (STMDFormer). First, a spatiotemporal embedding module is designed to fuse topological node structures with multi-scale periodic information. Then, a spatial memory attention mechanism is introduced, incorporating a learnable historical memory bank and a biased adjacency matrix for dynamic modeling of long-term traffic flow patterns. Furthermore, a decoupled learning module is designed to separate spatial and temporal features through normalization techniques, while employing multi-head attention to better capture spatiotemporal heterogeneity. Extensive experiments on four real-world traffic datasets demonstrate that STMDFormer consistently outperforms various state-of-the-art baselines in forecasting accuracy, validating its effectiveness in dynamic spatiotemporal modeling.

Journal Of Big Data
Lanzhou University of Technology (CN), Guiyang University (CN), Chongqing University of Education (CN), Guizhou Institute of Technology (CN), Chongqing Municipal Government (CN)
Sustainable cities and communities
Openalex Percentile: Top 19%
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.