Short-Term Traffic Flow Prediction Based on the Optimization Study of Initial Weights of the Attention Mechanism

被引:7
作者
Lan, Tianhe [1 ]
Zhang, Xiaojing [2 ]
Qu, Dayi [1 ]
Yang, Yufeng [1 ]
Chen, Yicheng [1 ]
机构
[1] Qingdao Univ Technol, Sch Mech & Automot Engn, Qingdao 266520, Peoples R China
[2] Qingdao Univ Technol, Journal Editorial Dept, Qingdao 266520, Peoples R China
基金
中国国家自然科学基金;
关键词
intelligent transportation; short-term traffic flow prediction; attention mechanism; long short-term memory; grey wolf optimizer; deep learning;
D O I
10.3390/su15021374
中图分类号
X [环境科学、安全科学];
学科分类号
08 ; 0830 ;
摘要
Traffic-flow prediction plays an important role in the construction of intelligent transportation systems (ITS). So, in order to improve the accuracy of short-term traffic flow prediction, a prediction model (GWO-attention-LSTM) based on the combination of optimized attention mechanism and long short-term memory (LSTM) is proposed. The model is based on LSTM and uses the attention mechanism to assign individual weight to the feature information extracted via LSTM. This can increase the prediction model's focus on important information. The initial weight parameters of the attention mechanism are also optimized using the grey wolf optimizer (GWO). By simulating the hunting process of grey wolves, the GWO algorithm calculates the hunting position of the grey wolf and maps it to the initial weight parameters of the attention mechanism. In this way, the short-time traffic flow prediction model is constructed. The traffic flow data of the trunk roads in the center of Qingdao (China) are used as the research object. Multiple sets of comparison models are set up for prediction analysis. The results show that the GWO-attention-LSTM model has obvious advantages over other models. The prediction error MAE values of the GWO-attention-LSTM model decreased by 7.32% and 14.35% on average compared with the attention-LSTM model and LSTM model. It is concluded that the GWO-attention-LSTM model has better model performance and can provide effective help for traffic management control and traffic flow theory research.
引用
收藏
页数:16
相关论文
共 30 条
  • [1] Abellana Dharyll Prince M., 2021, International Journal of Applied Decision Sciences, V14, P565, DOI 10.1504/IJADS.2021.117474
  • [2] Cao B., 2018, MOD COMPUT PROF ED, V25, P3
  • [3] Chen X.P., 2008, HIGHW TRAFFIC TECHNO, V3, P115
  • [4] Bayesian Temporal Factorization for Multidimensional Time Series Prediction
    Chen, Xinyu
    Sun, Lijun
    [J]. IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2022, 44 (09) : 4659 - 4673
  • [6] Traffic Flows Forecasting Based on Machine Learning
    Deart, Vladimir
    Mankov, Vladimir
    Krasnova, Irina
    [J]. INTERNATIONAL JOURNAL OF EMBEDDED AND REAL-TIME COMMUNICATION SYSTEMS (IJERTCS), 2022, 13 (01):
  • [7] An Analysis of the Energy Consumption Forecasting Problem in Smart Buildings Using LSTM
    Durand, Daniela
    Aguilar, Jose
    R-Moreno, Maria D.
    [J]. SUSTAINABILITY, 2022, 14 (20)
  • [8] He G.G., 2000, SYST ENG THEORY PRAC, V20, P51
  • [9] Hochreiter S, 1997, NEURAL COMPUT, V9, P1735, DOI [10.1162/neco.1997.9.1.1, 10.1007/978-3-642-24797-2]
  • [10] Predicting short-term traffic flow in urban based on multivariate linear regression model
    Li, Dahui
    [J]. JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2020, 39 (02) : 1417 - 1427