Graph-Based Spatio-Temporal Modelling for Complex Network Behaviour Prediction Using Attention-Driven Architectures
DOI:
https://doi.org/10.67887/PD2601202006Keywords:
Spatio-temporal graph neural networks, adaptive adjacency, METR-LA, traffic speed forecasting, multi-scale attention, transformer encoder, graph sparsity, intelligent transportation systemsAbstract
Introduction: Accurate traffic forecasting is a central requirement for intelligent transportation systems because urban road networks exhibit complex spatial interactions, non-stationary temporal patterns and dynamic congestion propagation. Conventional recurrent models can represent temporal continuity but usually ignore explicit road-network structure, while fixed-topology graph models may not fully capture changing sensor relationships.
Methods: This study presents a METR-LA evaluation of a static-adaptive graph attention Transformer architecture for traffic-speed prediction. The framework combines static-adaptive graph fusion, dual-branch spatial encoding, Transformer-based temporal modelling and sparsity-regularised graph learning. The static graph preserves stable sensor relationships, whereas the adaptive graph learns hidden data-driven dependencies through trainable node embeddings. Local graph aggregation captures neighbourhood-level traffic propagation, while global self-attention models non-local sensor interactions across the wider network. The temporal Transformer encoder then models the sequence-level traffic dynamics through multi-head self-attention, enabling multi-step forecasting over short- and medium-term horizons. The methodology follows a chronological METR-LA benchmarking protocol using training-only normalisation, sliding-window sample generation, fixed random seeds, saved-checkpoint evaluation and horizon-aware reporting at 15-, 30- and 60-minute horizons.
Results: Comparative analysis against persistence, recurrent, temporal convolutional and graph-based baselines is reported using repeated-run summaries, ablation analysis and cautious seed-level statistical testing.
Conclusion: The study presents a technically integrated and reproducibility-oriented framework for adaptive, graph-aware traffic forecasting in intelligent urban mobility systems.
References
Alsehaimi B, Alzamzami O, Alowidi N, Ali M. An adaptive Spatio-Temporal traffic flow prediction using Self-Attention and Multi-Graph networks. Sensors. 2025 Jan 6; 25(1): 282. https://doi.org/10.3390/s25010282
Huo Y, Zhang H, Tian Y, Wang Z, Wu J, Yao X. A spatiotemporal graph neural network with graph adaptive and attention mechanisms for traffic flow prediction. Electronics. 2024 Jan 3; 13(1): 212. https://doi.org/10.3390/electronics13010212
Zhang Y, Xu W, Ma B, Zhang D, Zeng F, Yao J, Yang H, Du Z. Linear attention based spatiotemporal multi graph GCN for traffic flow prediction. Scientific Reports. 2025 Mar 10; 15(1): 8249. https://doi.org/10.1038/s41598-025-93179-y
Zhang J, Yang Y, Wu X, Li S. Spatio-temporal transformer and graph convolutional networks-based traffic flow prediction. Scientific Reports. 2025 Jul 7; 15(1): 24299. https://doi.org/10.1038/s41598-025-10287-5
Chen H, Huang J, Lu Y, Huang J. Multi-scale spatio-temporal graph neural network for urban traffic flow prediction. Scientific Reports. 2025 Jul 23; 15(1): 26732. https://doi.org/10.1038/s41598-025-11072-0
Yin X, Yu J, Duan X, Chen L, Liang X. Short-term urban traffic forecasting in smart cities: a dynamic diffusion spatial-temporal graph convolutional network. Complex & Intelligent Systems. 2025 Feb; 11(2): 158.
https://doi.org/10.1007/s40747-024-01769-6
Albalooshi FA. Advancing Urban Planning with Deep Learning: Intelligent Traffic Flow Prediction and Optimization for Smart Cities. Future Transportation. 2025 Oct 2; 5(4): 133. https://doi.org/10.3390/futuretransp5040133
Liu R, Shin SY. A review of traffic flow prediction methods in intelligent transportation system construction. Applied Sciences. 2025 Apr 1; 15(7): 3866. https://doi.org/10.3390/app15073866
Li Y, Yu R, Shahabi C, Liu Y. Diffusion convolutional recurrent neural network: Data-driven traffic forecasting. arXiv preprint arXiv:1707.01926. 2017 Jul 6.
Shao Z, Zhang Z, Wei W, Wang F, Xu Y, Cao X, Jensen CS. Decoupled dynamic spatial-temporal graph neural network for traffic forecasting. arXiv preprint arXiv:2206.09112. 2022 Jun 18. https://doi.org/10.14778/3551793.3551827
Jiang W, Luo J. Graph neural network for traffic forecasting: A survey. Expert systems with applications. 2022 Nov 30; 207: 117921. https://doi.org/10.1016/j.eswa.2022.117921
Bai HY, Liu X. T-Graphormer: using Transformers for spatiotemporal forecasting. arXiv preprint arXiv:2501.13274. 2025 Jan 22. https://doi.org/10.48550/arXiv.2501.13274
Guo Z, Lu M, Han J. Temporal graph attention network for spatio-temporal feature extraction in research topic trend prediction. Mathematics. 2025 Feb 20; 13(5): 686. https://doi.org/10.3390/math13050686
Cai F, Wang Y, Yu W, Wu J, Liu C, Li XA. ASISTGCRN: A novel approach to traffic prediction using attention-based spatiotemporal graph networks. Proceedings of the Institution of Mechanical Engineers, Part D: Journal of Automobile Engineering. 2025 Nov 27: 09544070251390950. https://doi.org/10.1177/09544070251390950
Zhao Y, Li H, Zhou H, Attar HR, Pfaff T, Li N. A review of graph neural network applications in mechanics-related domains. Artificial Intelligence Review. 2024 Oct 4; 57(11): 315. https://doi.org/10.1007/s10462-024-10931-y
Yang C, Zhang W, Yingjiang Z. An Overview of Spatiotemporal Network Forecasting: Current Research Status and Methodological Evolution. Mathematics. 2025; 14(1): 18. https://doi.org/10.3390/math14010018
Chang J, Yin J, Hao Y, Gao C. STFDSGCN: spatio-temporal fusion graph neural network based on dynamic sparse graph convolution GRU for traffic flow forecast. Sensors. 2025 May 30; 25(11): 3446. https://doi.org/10.3390/s25113446
Veličković P, Fedus W, Hamilton WL, Liò P, Bengio Y, Hjelm RD. Deep graph infomax. arXiv preprint arXiv:1809.10341. 2018 Sep 27. https://doi.org/10.48550/arXiv.1809.10341
Xiao Z, Shen Q, Li C, Li D, Liu Q. An adaptive spatiotemporal dynamic graph convolutional network for traffic prediction. Scientific Reports. 2025 Jul 25; 15(1): 27098. https://doi.org/10.1038/s41598-025-12261-7
Jiang M, Liu Z. Traffic flow prediction based on dynamic graph spatial-temporal neural network. Mathematics. 2023 May 31; 11(11): 2528. https://doi.org/10.3390/math11112528
Bai L, Yao L, Li C, Wang X, Wang C. Adaptive graph convolutional recurrent network for traffic forecasting. Advances in neural information processing systems. 2020; 33: 17804-15.
Ma J, Zhao J, Hou Y. Spatial-temporal transformer networks for traffic flow forecasting using a pre-trained language model. Sensors. 2024 Aug 25; 24(17): 5502. https://doi.org/10.3390/s24175502
Tang J, Xia L, Huang C. Explainable spatio-temporal graph neural networks. InProceedings of the 32nd ACM International Conference on Information and Knowledge Management 2023 Oct 21 (pp. 2432-2441).
https://doi.org/10.1145/3583780.3614871
Yan H, Chen D, Jiang G, Wang B, Cao L, Dong J, Yu Y. DGraFormer: Dynamic Graph Learning Guided Multi-Scale Transformer for Multivariate Time Series Forecasting. InProceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence (IJCAI 2025) 2025 Aug 16 (pp. 3516-3524). https://doi.org/10.24963/ijcai.2025/391
Remmouche B, Boukraa D, Zakharova A, Bouwmans T, Taffar M. Long-term spatio-temporal graph attention network for traffic forecasting. Expert Systems with Applications. 2025 Sep 1; 288: 128244.
https://doi.org/10.1016/j.eswa.2025.128244
Feng A, Tassiulas L. Adaptive graph spatial-temporal transformer network for traffic forecasting. InProceedings of the 31st ACM international conference on information & knowledge management 2022 Oct 17 (pp. 3933-3937).
https://doi.org/10.1145/3511808.3557540
El-Meehy AO, El-Kharbotly AK, El-Beheiry MM. Systematic hyperparameter analysis of GRU and LSTM across demand pattern types: a demand-characteristic-driven meta-learning framework for rapid optimization. Scientific Reports. 2025 Dec 25. https://doi.org/10.1038/s41598-025-31508-x
Huang X, Wang J, Lan Y, Jiang C, Yuan X. MD-GCN: A multi-scale temporal dual graph convolution network for traffic flow prediction. Sensors. 2023 Jan 11; 23(2): 841. https://doi.org/10.3390/s23020841
Singh V, Sahana SK, Bhattacharjee V. Integrated spatio-temporal graph neural network for traffic forecasting. Applied Sciences. 2024 Dec 10; 14(24): 11477. https://doi.org/10.3390/app142411477
He S, Luo Q, Du R, Zhao L, He G, Fu H, Li H. STGC-GNNs: A GNN-based traffic prediction framework with a spatial-temporal Granger causality graph. Physica A: Statistical Mechanics and its Applications. 2023 Aug 1; 623: 128913.
https://doi.org/10.1016/j.physa.2023.128913
Vrahatis AG, Lazaros K, Kotsiantis S. Graph attention networks: a comprehensive review of methods and applications. Future Internet. 2024 Sep 3; 16(9): 318. https://doi.org/10.3390/fi16090318
Zhu Y. Graph neural networks for urban traffic flow forecasting: A comprehensive review and future perspectives. 2025. https://doi.org/10.54254/2753-8818/2025.DL27990
Zong X, Guo J, Liu F, Yu F. TSTA-GCN: trend spatio-temporal traffic flow prediction using adaptive graph convolution network. Scientific Reports. 2025 Apr 18; 15(1): 13449. https://doi.org/10.1038/s41598-025-96833-7
Dai BA, Ye BL, Li L. A novel hybrid time-varying graph neural network for traffic flow forecasting. arXiv preprint arXiv:2401.10155. 2024 Jan 17. https://doi.org/10.48550/arXiv.2401.10155
Wei S, Yang Y, Liu D, Deng K, Wang C. Transformer-based spatiotemporal graph diffusion convolution network for traffic flow forecasting. Electronics. 2024 Aug 9; 13(16): 3151. https://doi.org/10.3390/electronics13163151
Kwak S. PEMS-BAY and METR-LA in csv. Zenodo. 2020. https://doi.org/10.5281/zenodo.5146275
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Bharat B. Pandey (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.