Welcome to Journal of Automotive Safety and Energy,

Journal of Automotive Safety and Energy ›› 2025, Vol. 16 ›› Issue (3): 463-469.DOI: 10.3969/j.issn.1674-8484.2025.03.012

• Intelligent Driving and Intelligent Transportation • Previous Articles     Next Articles

Highway traffic flow prediction approach based on multi-dimensional attention mechanism

YU Anjun1(), LI Yingdi2, YANG Zheyi2, FU Chongyu3, TONG Weiping2, YU Jia2,*(), LIU Yunhai4, LIU Zhiyuan2   

  1. 1. Jiangxi Ganyue Expressway Co., Ltd., Nanchang 330029, China
    2. School of Transportation, Southeast University, Nanjing 211189, China
    3. School of Cyber Science and Engineering, Southeast University, Nanjing 211189, China
    4. Suzhou Hangli Transportation Technology Co., Ltd., Suzhou 215024, China
  • Received:2024-09-10 Revised:2025-01-12 Online:2025-06-30 Published:2025-07-01

Abstract:

A traffic flow prediction model based on a multi-dimensional attention mechanism was proposed to achieve precise traffic flow prediction and enhance the intelligent management level of expressways. Comparative experiments were conducted on real traffic datasets from the Zhangji Expressway to verify the accuracy and predictive accuracy of the model. The model extracted spatial and temporal features of traffic flows using graph neural networks (GNN) and temporal convolutional networks (TCN), respectively. It integrated a multi-dimensional attention mechanism to mine key information within spatiotemporal data. Additionally, a multi-task learning architecture was introduced, employing a loss function based on homoscedastic uncertainty to balance the joint learning of different tasks, thereby enhancing the generalization ability and robustness of the model. The results show that the root mean square error (RMSE) and mean absolute error (MAE) of the model on the test set are 7.467 and 5.133, respectively, demonstrating superior predictive accuracy compared to baseline models. The proposed prediction method can effectively uncover the spatiotemporal characteristics of traffic flows, describe the actual state of traffic operations, and make accurate predictions of the traffic flow on expressways.

Key words: traffic flow prediction, graph neural network (GNN), temporal convolutional network (TCN), multi-dimensional attention mechanism

CLC Number: