Research on Spatiotemporal Prediction Model of Urban Traffic Flow Based on Graph Neural Networks and Attention Mechanism
Abstract
Traffic flow pblueiction is one of the hardest (and most practical) problems in smart city work. If you get the forecasts wrong,everything downstream suffers: signal timing,incident response,routing,even basic city operations. The trouble is that a lot of existing methods still don`t do a great job with the messy reality of road networks,where conditions change fast and influences ripple across space and time in non-obvious ways.This paper proposes a model called the Dynamic Spatiotemporal Graph Attention Network (DSTGAT). In plain terms,it mixes graph neural networks with attention to better match how traffic actually behaves. The key idea is a dynamic traffic graph that can change as road conditions change,instead of treating the network as fixed. A graph convolutional network is then used to learn spatial relationships from that graph,while a spatiotemporal attention module focuses on the temporal side of the problem.Tests on three real-world datasets show consistent gains over common baselines. DSTGAT cuts MAE by 15.3% and RMSE by 12.7%,which is a meaningful jump if you care about day-to-day traffic control rather than just pretty benchmark numbers. Overall,the results suggest DSTGAT is a solid step toward more reliable,real-world traffic pblueiction for urban management.
References
- Sharma, A., Sharma, A., Nikashina, P., Gavrilenko, V., Tselykh, A., Bozhenyuk, A., ... & Meshref, H. (2023). A graph neural network (GNN)-based approach for real-time estimation of traffic speed in sustainable smart cities. Sustainability, 15(15), 11893.
- Jiang, W., Luo, J., He, M., & Gu, W. (2023). Graph neural network for traffic forecasting: The research progress. ISPRS International Journal of Geo-Information, 12(3), 100.
- Jin, G., Liang, Y., Fang, Y., Shao, Z., Huang, J., Zhang, J., & Zheng, Y. (2023). Spatio-temporal graph neural networks for predictive learning in urban computing: A survey. IEEE transactions on knowledge and data engineering, 36(10), 5388-5408.
- Pan, Y. A., Li, F., Li, A., Niu, Z., & Liu, Z. (2025). Urban intersection traffic flow prediction: A physics-guided stepwise framework utilizing spatio-temporal graph neural network algorithms. Multimodal Transportation, 4(2), 100207.
- Ali, A., Ullah, I., Shabaz, M., Sharafian, A., Khan, M. A., Bai, X., & Qiu, L. (2024). A resource-aware multi-graph neural network for urban traffic flow prediction in multi-access edge computing systems. IEEE Transactions on Consumer Electronics.
- Li, Y., Zhou, X., & Pan, M. (2022). Graph neural networks in urban intelligence. In Graph neural networks: foundations, frontiers, and applications (pp. 579-593). Singapore: Springer Nature Singapore.
- Bui, K. H. N., Cho, J., & Yi, H. (2022). Spatial-temporal graph neural network for traffic forecasting: An overview and open research issues. Applied Intelligence, 52(3), 2763-2774.
- Wang, Z., Hu, J., Min, G., Zhao, Z., Chang, Z., & Wang, Z. (2022). Spatial-temporal cellular traffic prediction for 5G and beyond: A graph neural networks-based approach. IEEE Transactions on Industrial Informatics, 19(4), 5722-5731.
- Xue, J., Jiang, N., Liang, S., Pang, Q., Yabe, T., Ukkusuri, S. V., & Ma, J. (2022). Quantifying the spatial homogeneity of urban road networks via graph neural networks. Nature Machine Intelligence, 4(3), 246-257.
- Wang, P., Zhang, Y., Hu, T., & Zhang, T. (2023). Urban traffic flow prediction: a dynamic temporal graph network considering missing values. International Journal of Geographical Information Science, 37(4), 885-912.
- Liu, T., & Meidani, H. (2024). End-to-end heterogeneous graph neural networks for traffic assignment. Transportation Research Part C: Emerging Technologies, 165, 104695.
- Wang, Y., Zheng, J., Du, Y., Huang, C., & Li, P. (2022). Traffic-GGNN: predicting traffic flow via attentional spatial-temporal gated graph neural networks. IEEE Transactions on Intelligent Transportation Systems, 23(10), 18423-18432.
- Ye, Y., Xiao, Y., Zhou, Y., Li, S., Zang, Y., & Zhang, Y. (2023). Dynamic multi-graph neural network for traffic flow prediction incorporating traffic accidents. Expert Systems with Applications, 234, 121101.
- Jin, G., Yan, H., Li, F., Huang, J., & Li, Y. (2024). Spatio-temporal dual graph neural networks for travel time estimation. ACM Transactions on Spatial Algorithms and Systems, 10(3), 1-22.