DyAdapTransformer: dynamic adaptive spatial–temporal graph transformer for traffic flow prediction
Hui Dong,
Xiao Pan (),
Xiao Chen,
Jing Sun and
Shuhai Wang
Additional contact information
Hui Dong: Shijiazhuang Tiedao University
Xiao Pan: Shijiazhuang Tiedao University
Xiao Chen: Hebei Normal University of Science and Technology
Jing Sun: Shijiazhuang Tiedao University
Shuhai Wang: Shijiazhuang Tiedao University
Journal of Geographical Systems, 2025, vol. 27, issue 2, No 4, 229-255
Abstract:
Abstract This paper focuses on a mid-to-long-term traffic flow prediction method that integrates spatial–temporal graph neural networks with the Transformer. It systematically improves upon existing methods, which struggle to effectively capture the spatial–temporal evolution patterns of traffic flow in complex traffic scenarios. The current research faces three key issues: (1) The temporal position embedding model significantly lacks effectiveness in modeling short-term evolution features of traffic flow. (2) The spatial position embedding lacks a verifiable mechanism, making it difficult to confirm its validity in representing actual road network topologies. (3) The spatial–temporal graph has a single spatial structure, limiting the ability of spatial–temporal graph neural networks to capture multistage evolution patterns of traffic flow. To address these issues, we propose a traffic flow prediction framework based on a dynamic adaptive spatial–temporal graph Transformer. The framework first improves the temporal position embedding model's expressiveness by introducing attributes closely related to short-term traffic flow changes. Second, a random walk-based spatial embedding method is designed, where the transition probability matrix and node vector space mapping have a verifiable mathematical relationship, ensuring theoretical interpretability in the spatial position modeling process. Finally, a dynamic adaptive spatial–temporal graph neural network model is proposed. This model learns time-varying spatial structures in a data-driven manner based on an adaptive mechanism and combines temporal self-attention with dynamic adaptive graph attention networks to collaboratively capture multiscale spatial–temporal dependencies. Comparative experiments with six baseline methods on the real-world PEMS08 dataset demonstrate that the proposed framework exhibits significant performance advantages in traffic flow prediction.
Keywords: Traffic flow prediction; Random walk; Dynamic adaptive mechanism; Graph attention network (search for similar items in EconPapers)
JEL-codes: C33 C45 (search for similar items in EconPapers)
Date: 2025
References: View complete reference list from CitEc
Citations:
Downloads: (external link)
http://link.springer.com/10.1007/s10109-025-00464-5 Abstract (text/html)
Access to full text is restricted to subscribers.
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:kap:jgeosy:v:27:y:2025:i:2:d:10.1007_s10109-025-00464-5
Ordering information: This journal article can be ordered from
http://www.springer. ... ce/journal/10109/PS2
DOI: 10.1007/s10109-025-00464-5
Access Statistics for this article
Journal of Geographical Systems is currently edited by Manfred M. Fischer and Antonio Páez
More articles in Journal of Geographical Systems from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().