Open Access iconOpen Access



Spatiotemporal Prediction of Urban Traffics Based on Deep GNN

Ming Luo1, Huili Dou2, Ning Zheng3,*

1 School of Computer Science, Hangzhou Dianzi University, Hangzhou, 310018, China
2 Zhejiang Institute of Communications, Hangzhou, 310012, China
3 School of Cyberspace Security, Hangzhou Dianzi University, Hangzhou, 310018, China

* Corresponding Author: Ning Zheng. Email: email

(This article belongs to the Special Issue: Big Data Analysis for Healthcare Applications)

Computers, Materials & Continua 2024, 78(1), 265-282.


Traffic prediction already plays a significant role in applications like traffic planning and urban management, but it is still difficult to capture the highly non-linear and complicated spatiotemporal correlations of traffic data. As well as to fulfil both long-term and short-term prediction objectives, a better representation of the temporal dependency and global spatial correlation of traffic data is needed. In order to do this, the Spatiotemporal Graph Neural Network (S-GNN) is proposed in this research as a method for traffic prediction. The S-GNN simultaneously accepts various traffic data as inputs and investigates the non-linear correlations between the variables. In terms of modelling, the road network is initially represented as a spatiotemporal directed graph, with the features of the samples at the time step being captured by a convolution module. In order to assign varying attention weights to various adjacent area nodes of the target node, the adjacent areas information of nodes in the road network is then aggregated using a graph network. The data is output using a fully connected layer at the end. The findings show that S-GNN can improve short- and long-term traffic prediction accuracy to a greater extent; in comparison to the control model, the RMSE of S-GNN is reduced by about 0.571 to 9.288 and the MAE (Mean Absolute Error) by about 0.314 to 7.678. The experimental results on two real datasets, Pe MSD7(M) and PEMS-BAY, also support this claim.


Cite This Article

APA Style
Luo, M., Dou, H., Zheng, N. (2024). Spatiotemporal prediction of urban traffics based on deep GNN. Computers, Materials & Continua, 78(1), 265-282.
Vancouver Style
Luo M, Dou H, Zheng N. Spatiotemporal prediction of urban traffics based on deep GNN. Comput Mater Contin. 2024;78(1):265-282
IEEE Style
M. Luo, H. Dou, and N. Zheng "Spatiotemporal Prediction of Urban Traffics Based on Deep GNN," Comput. Mater. Contin., vol. 78, no. 1, pp. 265-282. 2024.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 575


  • 194


  • 0


Share Link