Next Article in Journal
Influence of Vetiver Root Morphology on Soil–Water Characteristics of Plant-Covered Slope Soil in South Central China
Next Article in Special Issue
Research on Demand Price Elasticity Based on Expressway ETC Data: A Case Study of Shanghai, China
Previous Article in Journal
Operator Protection from Gamma Rays Using Ordinary Glass and Glass Doped with Nanoparticles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

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

1
School of Mechanical and Automotive Engineering, Qingdao University of Technology, Qingdao 266520, China
2
Journal Editorial Department, Qingdao University of Technology, Qingdao 266520, China
*
Author to whom correspondence should be addressed.
Sustainability 2023, 15(2), 1374; https://doi.org/10.3390/su15021374
Submission received: 14 November 2022 / Revised: 4 January 2023 / Accepted: 4 January 2023 / Published: 11 January 2023
(This article belongs to the Special Issue Advances in Smart City and Intelligent Transportation Systems)

Abstract

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.
Keywords: intelligent transportation; short-term traffic flow prediction; attention mechanism; long short-term memory; grey wolf optimizer; deep learning intelligent transportation; short-term traffic flow prediction; attention mechanism; long short-term memory; grey wolf optimizer; deep learning

Share and Cite

MDPI and ACS Style

Lan, T.; Zhang, X.; Qu, D.; Yang, Y.; Chen, Y. Short-Term Traffic Flow Prediction Based on the Optimization Study of Initial Weights of the Attention Mechanism. Sustainability 2023, 15, 1374. https://doi.org/10.3390/su15021374

AMA Style

Lan T, Zhang X, Qu D, Yang Y, Chen Y. Short-Term Traffic Flow Prediction Based on the Optimization Study of Initial Weights of the Attention Mechanism. Sustainability. 2023; 15(2):1374. https://doi.org/10.3390/su15021374

Chicago/Turabian Style

Lan, Tianhe, Xiaojing Zhang, Dayi Qu, Yufeng Yang, and Yicheng Chen. 2023. "Short-Term Traffic Flow Prediction Based on the Optimization Study of Initial Weights of the Attention Mechanism" Sustainability 15, no. 2: 1374. https://doi.org/10.3390/su15021374

APA Style

Lan, T., Zhang, X., Qu, D., Yang, Y., & Chen, Y. (2023). Short-Term Traffic Flow Prediction Based on the Optimization Study of Initial Weights of the Attention Mechanism. Sustainability, 15(2), 1374. https://doi.org/10.3390/su15021374

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop