Preview

Advanced Engineering Research (Rostov-on-Don)

Advanced search

Comparative Analysis of Neural Network and Machine Learning Models for Short-Term Traffic Flow Prediction on Shenzhen Expressway

https://doi.org/10.23947/2687-1653-2025-25-4-2215

EDN: DWKVUM

Abstract

Introduction. With highway congestion increasing, the efficiency of intelligent transportation systems depends on highquality short-term traffic prediction. Statistical methods do not adequately account for nonlinear and dynamic traffic changes. Long short-term memory (LSTM) and support vector machines (SVR) offer more promising solutions. However, they are not ranked in terms of accuracy, as there are no studies comprehensively comparing their adequacy for shortterm traffic flow prediction. The proposed study fills this gap. The research objective is to compare the accuracy of LSTM and SVR, and select the optimal approach for traffic flow prediction on Shenzhen Meiguang Expressway.

Materials and Methods. Traffic detector data was collected on the Meiguan Expressway in June 2021. Data preprocessing methods were used, including weighted mean imputation and normalization. Autocorrelation analysis was used for feature extraction, along with the creation of an interaction variable between speed and detector occupancy. Models were trained and tested on data collected from detectors at 5-minute intervals.

Results. LSTM performed 17.86% better in terms of root mean square error, 19.82% better in terms of mean absolute error, and 25.78% better in terms of mean absolute percentage error. In periods with the lowest flow rate prediction error, RMSE, MAE, and MAPE for the LSTM model were 36.5%, 34.3%, and 42.3% lower, respectively. In periods with the highest error, RMSE, MAE, and MAPE for the LSTM model were 73.2%, 65.4%, and 64.4% lower, respectively. The Wilcoxon signed-rank test <0.05 confirmed the statistical significance of the differences.

Discussion. The superior predictive performance of LSTM stems from its architecture, namely, the combination of interaction variables and lag metrics. LSTM accounts better for flow time dependences, adapts to complex, long-term dynamic changes, and remains accurate even with significant fluctuations. The lower predictive performance of SVR stems from its weak, nonlinear approximation ability. Sudden flow changes increase significantly error rates.

Conclusion. When choosing between a neural network and a machine learning model for short-term traffic flow prediction on an expressway, the neural network model, such as LSTM, should be preferred. These research results can be useful in predictive strategies for reducing congestion. Short-term prediction based on LSTM can serve as a basis for optimizing traffic management, reducing congestion and pollutant emissions, and for optimizing intelligent transportation systems. A promising direction is the development of hybrid architectures that integrate contextual data (weather, infrastructure, accidents) to improve real-time predictions.

About the Authors

I. V. Topilin
Don State Technical University
Russian Federation

Ivan V. Topilin, Cand.Sci. (Eng.), Associate Professor of the Department of Organization of Transportation and Road Traffic Management

1, Gagarin Sq., Rostov-on-Don, 344003

Scopus Author ID: 57193746467



M. Han
Don State Technical University
Russian Federation

Mengyi Han, Postgraduate student of the Department of Organization of Transportation and Road Traffic Management

1, Gagarin Sq., Rostov-on-Don, 344003



A. A. Feofilova
Don State Technical University
Russian Federation

Anastasia A. Feofilova, Cand.Sci. (Eng.), Associate Professor of the Department of Organization of Transportation and Road Traffic Management

1, Gagarin Sq., Rostov-on-Don, 344003

Scopus Author ID: 57193742031



N. A. Beskopylny
Don State Technical University
Russian Federation

Nikita A. Beskopylny, Postgraduate student of the Department of Organization of Transportation and Road Traffic Management

1, Gagarin Sq., Rostov-on-Don, 344003

Scopus ID: 57221328153



References

1. Garg T, Kaur G. A Systematic Review on Intelligent Transport Systems. Journal of Computational and Cognitive Engineering. 2022;2(3):175–188. https://doi.org/10.47852/bonviewJCCE2202245

2. Vlahogianni EI, Matthew GK, Golias JC. Short-Term Traffic Forecasting: Where We Are and Where We’re Going. Transportation Research. Part C: Emerging Technologies. 2014;43(1):3–19. https://doi.org/10.1016/j.trc.2014.01.005

3. Williams BM, Hoel LA. Modeling and Forecasting Vehicular Traffic Flow as a Seasonal ARIMA Process: Theoretical Basis and Empirical Results. Journal of Transportation Engineering. 2003;129(6):664–672. https://doi.org/10.1061/(ASCE)0733-947X(2003)129:6(664)

4. Lippi M, Bertini M, Frasconi P. Short-Term Traffic Flow Forecasting: An Experimental Comparison of Time-Series Analysis and Supervised Learning. IEEE Transactions on Intelligent Transportation Systems. 2013;14(2):871–882. https://doi.org/10.1109/TITS.2013.2247040

5. Zhenjin Huang, Hao Ouyang, Yiming Tian. Short-Term Traffic Flow Combined Forecasting Based on Nonparametric Regression. In: Proc. International Conference of Information Technology, Computer Engineering and Management Sciences. New York City: IEEE; 2011. P. 316–319. https://doi.org/10.1109/ICM.2011.89

6. Polson NG, Sokolov VO. Deep Learning for Short-Term Traffic Flow Prediction. Transportation Research. Part C: Emerging Technologies. 2017;79:1–17. https://doi.org/10.1016/j.trc.2017.02.024

7. Ceperic E, Ceperic V, Baric A. A Strategy for Short-Term Load Forecasting by Support Vector Regression Machines. IEEE Transactions on Power Systems. 2013;28(4):4356–4364. https://doi.org/10.1109/TPWRS.2013.2269803

8. Weiwei Zhu, Jinglin Wu, Ting Fu, Junhua Wang, Jie Zhang, Qiangqiang Shangguan. Dynamic Prediction of Traffic Incident Duration on Urban Expressways: A Deep Learning Approach Based on LSTM and MLP. Journal of Intelligent and Connected Vehicles. 2021;4(2):80–91. https://doi.org/10.1108/JICV-03-2021-0004

9. Peng Chen, Yong-zai Lu. Extremal Optimization for Optimizing Kernel Function and Its Parameters in Support Vector Regression. Journal of Zhejiang University Science C. 2011;12:297–306. https://doi.org/10.1631/jzus.C1000110

10. Feihu Ma, Shiqi Deng, Sang Mei. A Short-Term Highway Traffic Flow Forecasting Model Based on CNN-LSTM with an Attention Mechanism. Journal of Physics: Conference Series. 2023;2491:012008. https://doi.org/10.1088/1742-6596/2491/1/012008

11. Liu Mingyu, Wu Jianping, Wang Yubo, He Lei. Traffic Flow Prediction Based on Deep Learning. Journal of System Simulation. 2018;30(11):4100–4106. URL: https://dc-china-simulation.researchcommons.org/journal/vol30/iss11/7 (accessed 09.09.2025).

12. García S, Ramírez-Gallego S, Luengo J, Benítez JM, Herrera F. Big Data Preprocessing: Methods and Prospects. Big Data Analytics. 2016;1:9. https://doi.org/10.1186/s41044-016-0014-0

13. Robin Kuok Cheong Chan, Joanne Mun-Yee Lim, Rajendran Parthiban. A Neural Network Approach for Traffic Prediction and Routing with Missing Data Imputation for Intelligent Transportation System. Expert Systems with Applications. 2021;171:114573. https://doi.org/10.1016/j.eswa.2021.114573

14. Chahinez Ounoughi, Sadok Ben Yahia. Sequence to Sequence Hybrid Bi-LSTM Model for Traffic Speed Prediction. Expert Systems with Applications. 2024;236:121325. https://doi.org/10.1016/j.eswa.2023.121325

15. Rong Chen, Lijian Yang, Christian Hafner. Nonparametric Multistep-Ahead Prediction in Time Series Analysis. Journal of the Royal Statistical Society. Series B: Statistical Methodology. 2004;66(3):669–686. https://doi.org/10.1111/j.1467-9868.2004.04664.x

16. Aqib M, Mehmood R, Alzahrani A, Katib I, Albeshri A, Altowaijri SM. Smarter Traffic Prediction Using Big Data, In-Memory Computing, Deep Learning and GPUs. Sensors. 2019;19(9):2206. https://doi.org/10.3390/s19092206

17. Xianyao Ling, Xinxin Feng, Zhonghui Chen, Yiwen Xu, Haifeng Zheng. Short-Term Traffic Flow Prediction with Optimized Multi-kernel Support Vector Machine. In: Proc. IEEE Congress on Evolutionary Computation (CEC). New York City: IEEE; 2017. P. 294–300. https://doi.org/10.1109/CEC.2017.7969326

18. Zhou Zhao, Ashok Srivastava, Lu Peng, Qing Chen. Long Short-Term Memory Network Design for Analog Computing. ACM Journal on Emerging Technologies in Computing Systems (JETC). 2019;15(1):1–27. https://doi.org/10.1145/3289393

19. Srivastava N, Hinton G, Krizhevsky A, Sutskever I, Salakhutdinov R. Dropout: A Simple Way to Prevent Neural Networks from Overfitting. Journal of Machine Learning Research. 2014;15:1929–1958. URL: https://www.jmlr.org/papers/volume15/srivastava14a/srivastava14a.pdf?utm_content=buffer79b4 (accessed: 21.10.2025).

20. Yang Zhu, Yijun Gao, Zhenhao Wang, Guansen Cao, Renjie Wang, Song Lu, et al. A Tailings Dam Long-Term Deformation Prediction Method Based on Empirical Mode Decomposition and LSTM Model Combined with Attention Mechanism. Water. 2022;14(8):1229. https://doi.org/10.3390/w14081229

21. Pan B, Demiryurek U, Shahabi C. Utilizing Real-World Transportation Data for Accurate Traffic Prediction. In: Proc. IEEE 12th International Conference on Data Mining. New York City: IEEE; 2012. P. 595–604. https://doi.org/10.1109/ICDM.2012.52

22. Moors G, Vriens I, Gelissen JP, Vermunt JK. Two of a Kind. Similarities Between Ranking and Rating Data in Measuring Values. Survey Research Methods. 2016;10(1):15–33. https://doi.org/10.18148/srm/2016.v10i1.6209.


When choosing between a neural network and a classical machine learning model for short-term traffic flow forecasting on a highway, preference should be given to a neural network architecture — specifically, LSTM. It is shown that a model with long short-term memory produces more accurate prediction. Its architecture better captures the temporal structure and complex dynamics of traffic. The support vector machine produces higher errors during sudden changes in flow. The results can be applied to reducing congestion and emissions on highways. The approach is useful for the development of intelligent transportation systems in cities.

Review

For citations:


Topilin I.V., Han M., Feofilova A.A., Beskopylny N.A. Comparative Analysis of Neural Network and Machine Learning Models for Short-Term Traffic Flow Prediction on Shenzhen Expressway. Advanced Engineering Research (Rostov-on-Don). 2025;25(4):350-362. https://doi.org/10.23947/2687-1653-2025-25-4-2215. EDN: DWKVUM

Views: 54


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2687-1653 (Online)