Changxi Ma;Xiaoyu Huang;Yongpeng Zhao;Tao Wang;Bo Du
{"title":"GRU-LSTM Model Based on the SSA for Short-Term Traffic Flow Prediction","authors":"Changxi Ma;Xiaoyu Huang;Yongpeng Zhao;Tao Wang;Bo Du","doi":"10.26599/JICV.2024.9210051","DOIUrl":null,"url":null,"abstract":"The transportation department relies on accurate traffic forecasting for effective decision-making. However, determining relevant parameters for existing traffic flow prediction models poses challenges. To address this issue, this study proposes a hybrid model, sparrow search algorithm-gated recurrent unit-long short-term memory (SSA-GRU-LSTM), which leverages the SSA to optimize the GRUs and LSTM networks. The SSA is employed to identify the optimal parameters for the GRU-LSTM model, mitigating their impact on prediction accuracy. This model integrates the predictive efficiency of the GRU, LSTM's capability in temporal data analysis, and the fast convergence and global search attributes of the SSA. Comprehensive experiments are conducted to validate the proposed method via traffic flow datasets, and the results are compared with those of baseline models. The numerical results demonstrate the superior performance of the SSA-GRU-LSTM model. Compared with the baselines, the proposed model results in reductions in the root mean square error (RMSE) of 4.632%–45.206%, the mean absolute error (MAE) of 2.608%–53.327%, the mean absolute percentage error (MAPE) of 1.324%–13.723%, and an increase in <tex>$R^{2}$</tex> of 0.5%–17.5%. Consequently, the SSA-GRU-LSTM model has high prediction accuracy and measurement stability.","PeriodicalId":100793,"journal":{"name":"Journal of Intelligent and Connected Vehicles","volume":"8 1","pages":"1-10"},"PeriodicalIF":0.0000,"publicationDate":"2025-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10960593","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Intelligent and Connected Vehicles","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10960593/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The transportation department relies on accurate traffic forecasting for effective decision-making. However, determining relevant parameters for existing traffic flow prediction models poses challenges. To address this issue, this study proposes a hybrid model, sparrow search algorithm-gated recurrent unit-long short-term memory (SSA-GRU-LSTM), which leverages the SSA to optimize the GRUs and LSTM networks. The SSA is employed to identify the optimal parameters for the GRU-LSTM model, mitigating their impact on prediction accuracy. This model integrates the predictive efficiency of the GRU, LSTM's capability in temporal data analysis, and the fast convergence and global search attributes of the SSA. Comprehensive experiments are conducted to validate the proposed method via traffic flow datasets, and the results are compared with those of baseline models. The numerical results demonstrate the superior performance of the SSA-GRU-LSTM model. Compared with the baselines, the proposed model results in reductions in the root mean square error (RMSE) of 4.632%–45.206%, the mean absolute error (MAE) of 2.608%–53.327%, the mean absolute percentage error (MAPE) of 1.324%–13.723%, and an increase in $R^{2}$ of 0.5%–17.5%. Consequently, the SSA-GRU-LSTM model has high prediction accuracy and measurement stability.