Short-Term Traffic Flow Prediction Method Based on Dung Beetle Optimizer-Optimized LSTM Network

Authors

  • Zehua Zhang School of Emergency Management and Safety Engineering, North China University of Science and Technology, Tangshan 063000, China
  • Changke Shao School of Emergency Management and Safety Engineering, North China University of Science and Technology, Tangshan 063000, China

DOI:

https://doi.org/10.54097/e7h8xg47

Keywords:

Short-term traffic flow prediction; Long Short-Term Memory (LSTM) network; Dung Beetle Optimizer (DBO); hyperparameter optimization.

Abstract

Short-term traffic flow is affected by various factors and usually presents strong nonlinear and stochastic characteristics, which makes accurate prediction difficult. Meanwhile, the selection of LSTM network parameters is often based on manual experience, and an inappropriate parameter setting may affect the prediction performance of the model. Therefore, this study proposes a Dung Beetle Optimizer-based LSTM (DBO-LSTM) model for short-term traffic flow prediction. The LSTM network is used to learn the temporal characteristics of traffic flow, and the DBO algorithm is applied to optimize important parameters of the LSTM network, including the learning rate and the number of hidden-layer neurons. In this way, the parameter selection process can be improved and the dependence on manual parameter adjustment can be reduced. Traffic flow data collected from a real road network are selected for model validation. The proposed DBO-LSTM model is compared with the conventional LSTM, PSO-LSTM, and WOA-LSTM models. The results show that the DBO algorithm can obtain a better parameter combination for the LSTM network. Compared with the three comparison models, the DBO-LSTM model obtains lower RMSE and MAPE values and has better overall prediction performance. The results verify the effectiveness of the proposed model for short-term traffic flow prediction and provide a reference for traffic congestion warning and traffic management in intelligent transportation systems.

Downloads

Download data is not yet available.

References

[1] Zhang, X., Zheng, J., Shen, Q., et al. (2023). Multi channel spatio temporal traffic flow prediction model based on hybrid graph convolution. Telecommunications Science, 39(9), 97 110.

[2] Arunkumar, K., Kalaga, D. V., Kumar, C. M. S., et al. (2021). Forecasting the dynamics of cumulative COVID 19 cases (confirmed, recovered and deaths) for top 16 countries using statistical machine learning models: Auto Regressive Integrated Moving Average (ARIMA) and Seasonal Auto Regressive Integrated Moving Average (SARIMA). Applied Soft Computing, 103, 107161. https://doi.org/10.1016/j.asoc.2021.107161

[3] Chandra, S. R., & Al Deek, H. (2009). Predictions of freeway traffic speeds and volumes using vector autoregressive models. Journal of Intelligent Transportation Systems, 13(2), 53 72.

[4] Shahriari, S., Ghasri, M., Sisson, S. A., et al. (2020). Ensemble of ARIMA: combining parametric and bootstrapping technique for traffic flow prediction. Transportmetrica A: Transport Science, 16(3), 1552 1573. https://doi.org/10.1080/23249935.2020.1764662Taylor & F...

[5] Zhou, F., Wang, S., Zhang, K., et al. (2024). Short term traffic flow prediction model of urban road network based on graph Transformer network. Science Technology and Engineering, 24(10), 4307 4316.

[6] Toan, T. D., & Truong, V. H. (2021). Support vector machine for short term traffic flow prediction and improvement of its model training using nearest neighbor approach. Transportation Research Record, 2675(4), 362 373.

[7] Li, C., & Xu, P. (2021). Application on traffic flow prediction of machine learning in intelligent transportation. Neural Computing and Applications, 33, 613 624. https://doi.org/10.1007/s00521 020 05042 0

[8] Zou, Z., Hao, L., Li, Q., et al. (2021). Short term highway traffic flow prediction based on particle swarm optimization support vector regression. Science Technology and Engineering, 21(12), 5118 5123.

[9] Ju, D., Yuan, H., Dong, W., et al. (2025). Construction of short term traffic flow prediction platform based on random forest algorithm. China ITS Journal, (3), 94 97+115.

[10] Deng, H., Chen, H., Xiao, Q., et al. (2024). Traffic flow prediction based on multi head attention dynamic graph convolutional network. Journal of Taiyuan University of Technology, 55(1), 172 183.

[11] Yao, J., He, R., Shi, T., et al. (2023). Review of traffic flow prediction methods based on machine learning. Journal of Traffic and Transportation Engineering, 23(3), 44 67.

[12] Harrou, F., Zeroual, A., Kadri, F., et al. (2024). Enhancing road traffic flow prediction with improved deep learning using wavelet transforms. Results in Engineering, 23, 102342. https://doi.org/10.1016/j.rineng.2024.102342

[13] Tian, C., & Chan, W. K. (2021). Spatial temporal attention wavenet: A deep learning framework for traffic prediction considering spatial temporal dependencies. IET Intelligent Transport Systems, 15(4), 549 561. https://doi.org/10.1049/itr2.12074

Downloads

Published

27-08-2026

Issue

Section

Articles

How to Cite

Zhang, Z., & Shao, C. (2026). Short-Term Traffic Flow Prediction Method Based on Dung Beetle Optimizer-Optimized LSTM Network. Academic Journal of Science and Technology, 22(1), 81-84. https://doi.org/10.54097/e7h8xg47