Traffic Flow Prediction Based on Spatial-Temporal Attention Convolutional Neural Network

被引:0
|
作者
Xia Y. [1 ]
Liu M. [1 ]
机构
[1] School of Computer Science and Technology, Chongqing University of Posts and Telecommunications, Chongqing
关键词
attention mechanism; deep learning; graph convolution; traffic forecasting;
D O I
10.3969/j.issn.0258-2724.20210526
中图分类号
学科分类号
摘要
In order to fully exploit the complex spatial-temporal dynamic correlation of traffic flow and improve the accuracy of traffic flow prediction, a spatial attention mechanism and an dilated causal convolutional neural network are introduced. A traffic flow prediction model STACNN based on spatial-temporal attention convolutional neural network is proposed. Firstly, the gated temporal convolution network block constructed by dilated causal convolution and gating unit is used to obtain the nonlinear temporal dynamic correlation of traffic flow and avoid gradient disappearance or gradient explosion when training long-term sequences. Secondly, the spatial attention mechanism is used to automatically assign attention weights to the traffic sensor nodes in the road network, which can dynamically pay attention to the spatial relationship between non-adjacent nodes, and combine the graph convolutional neural network to extract the local spatial dynamic correlation of the road network. Then, the final traffic flow prediction result is obtained through the fully connected layer. Finally, a 60-minute traffic flow prediction experiment is carried out using two highway traffic datasets PEMSD4 and PEMSD8. The experimental results show that: compared with the spatio-temporal graph convolutional network (STGCN) model with good performance in the baseline model, the MAE (mean absolute error) value of the prediction results of the proposed STACNN model on the two datasets is improved by 2.79% and 1.18%, the MAPE (mean absolute percentage error) value increased by 1.00% and 0.46%, and the RMSE (root mean square error) value increased by 3.8% and 1.25%, respectively. In addition, introducing dilated causal convolutional neural network and spatial attention mechanism have positively contributed to extraction of spatial-temporal dynamic correlation features. © 2023 Science Press. All rights reserved.
引用
收藏
页码:340 / 347
页数:7
相关论文
共 25 条
  • [1] NAGY A M, SIMON V., Survey on traffic prediction in smart cities[J], Pervasive and Mobile Computing, 50, pp. 148-163, (2018)
  • [2] LIU Jing, GUAN Wei, A summary of traffic flow forecasting methods, Journal of Highway Transportation Research Development, 21, 3, pp. 82-85, (2004)
  • [3] ZHOU Xiao, TANG Yuzhou, LIU Qiang, Research on road average speed prediction model based on kalman filter[J], Journal of Zhejiang University of Technology, 48, 4, pp. 392-396, (2020)
  • [4] OKUTANI I, STEPHANEDES Y J., Dynamic prediction of traffic volume through Kalman filtering theory[J], Transportation Research Part B: Methodological, 18, 1, pp. 1-11, (1984)
  • [5] HAMED M M, AL-MASAEID H R, SAID Z M B., Short-term prediction of traffic volume in urban arterials[J], Journal of Transportation Engineering, 121, 3, pp. 249-254, (1995)
  • [6] LI Jie, PENG Qiyuan, YANG Yuxiang, Passenger flow prediction for Guangzhou−Zhuhai intercity railway based on SARIMA model, Journal of Southwest Jiaotong University, 55, 1, pp. 41-51, (2020)
  • [7] ZIVOT E, WANG J H., Modeling financial time series with S-PLUS®[M], pp. 385-429, (2006)
  • [8] YAO Zhisheng, SHAO Chunfu, GAO Yongliang, Research on methods of short-term traffic forecasting based on support vector regression, Journal of Beijing Jiaotong University, 30, 3, pp. 19-22, (2006)
  • [9] ZHANG Xiaoli, HE Guoguang, LU Huapu, Short-term traffic flow forecasting based on K-nearest neighbors non-parametric regression, Journal of Systems Engineering, 24, 2, pp. 178-183, (2009)
  • [10] CHEN Dan, HU Minghua, ZHANG Honghai, Et al., Short-term traffic flow prediction of airspace sectors based on Bayesian estimation theory, Journal of Southwest Jiaotong University, 51, 4, pp. 807-814, (2016)