NEURAL NETWORK METHODS FOR TRAFFIC INTENSITY FORECASTING

Authors

DOI:

https://doi.org/10.35546/kntu2078-4481.2026.2.26

Keywords:

traffic intensity, data processing, time series, short-term forecasting, artificial neural networks, deep learning, LSTM, GRU, CNN, RNN

Abstract

This paper is dedicated to solving the problem of short-term traffic flow intensity forecasting using modern artificial neural network architectures, including SimpleRNN, LSTM, GRU, and 1D-CNN. The dataset for the research consists of one-dimensional time series containing counts of vehicles at specific intersections at various points in time. The accuracy of time series forecasting is crucial for tasks involving adaptive traffic light control, traffic mode planning, and road infrastructure load assessment. Standard time series forecasting methods are typically based on statistical models, which may be insufficient for describing non-linear traffic dynamics and daily and weekly seasonality. A specific problem is the proper consideration of cyclical time features (hour of the day, day of the week), where standard encoding creates discontinuities at cycle boundaries. The proposed approach involves data preprocessing, including outlier removal and trigonometric cyclical feature encoding. That allows neural networks to correctly interpret daily and weekly seasonality while maintaining the continuity of the time cycle. During the study, computational experiments across various forecasting horizons (1–12 hours) were conducted using real-world data, enabling an evaluation of the proposed approach's effectiveness in short-term forecasting. The results of the comparative analysis demonstrate a reduction in the Mean Absolute Percentage Error (MAPE) compared to traditional methods. It was established that the 1D-CNN model achieves the shortest training time, while LSTM and GRU achieve the highest forecasting accuracy. The obtained results can be used to develop adaptive traffic-light control systems within the Smart City concept

References

Nagy A. M., Simon V. Survey on traffic prediction in smart cities. Pervasive and Mobile Computing. 2018. Vol. 50.Pp. 148–163. DOI: 10.1016/j.pmcj.2018.07.004

Lana I., Del Ser J., Velez-Langenberg M., Vlahogianni E. I. Road traffic forecasting: Recent advances and new challenges. IEEE Intelligent Transportation Systems Magazine. 2018. Vol. 10, no. 2. Pp. 93–109. DOI: 10.1109/MITS.2018.2806634

Vlahogianni E. I., Karlaftis M. G., Golias J. C. Short-term traffic forecasting: Where we are and where we’re going. Transportation Research Part C: Emerging Technologies. 2014. Vol. 43. Pp. 3–19. DOI: 10.1016/j.trc.2014.05.005

Ma X., Tao Z., Wang Y., Yu H., Wang Y. Long short-term memory neural network for traffic speed prediction using remote microwave sensor data. Transportation Research Part C: Emerging Technologies. 2015. Vol. 54. Pp. 187–197. DOI: 10.1016/j.trc.2015.03.014

Fu R., Zhang Z., Li L. Using LSTM and GRU neural network methods for traffic flow prediction. 2016 31st Youth Academic Annual Conference of Chinese Association of Automation (YAC). Wuhan, China. 2016. Pp. 324–328. DOI: 10.1109/YAC.2016.7804912

Jia Y., Cai C., Görges D. An LSTM-Based Speed Predictor Based on Traffic Simulation Data for Improving the Performance of Energy-Optimal Adaptive Cruise Control 2020 IEEE 23rd International Conference on Intelligent Transportation Systems (ITSC). Rhodes, Greece. 2020. Pp. 1–6. DOI: 10.1109/ITSC45102.2020.9294285

Wu Y., Tan H., Qin L., Ran B., Jiang Z. A hybrid deep learning based traffic flow prediction method and its understanding. Transportation Research Part C: Emerging Technologies. 2018. Vol. 90. Pp. 166–180. DOI: 10.1016/j.trc.2018.03.001

Zhang J., Zheng Y., Qi D. Deep Spatio-Temporal Residual Networks for Citywide Crowd Flows Prediction. Thirty-First AAAI Conference on Artificial Intelligence. San Francisco, USA. 2017. Pp. 1655–1661. DOI: 10.1609/aaai. v31i1.10735

Manibardo E., Lana I., Del Ser J. Deep Learning for Road Traffic Forecasting: Does it Make a Difference? IEEE Transactions on Intelligent Transportation Systems. 2022. Vol. 23, no. 6. Pp. 6164–6188. DOI: 10.1109/TITS.2021.3083957

Wu Z., Pan S., Long G., Jiang J., Zhang C. Graph WaveNet for Deep Spatial-Temporal Graph Modeling. Proceedings of the 28th International Joint Conference on Artificial Intelligence (IJCAI). Macao, China. 2019. Pp. 1907–1913. DOI: 10.24963/ijcai.2019/264

Song Y., Zhang Y., Liu X. Convolutional Neural Network-Based Bidirectional Gated Recurrent Unit–Additive Attention Mechanism Hybrid Deep Neural Networks for Short-Term Traffic Flow Prediction. Sustainability. 2024. Vol. 16, no. 3. Pp. 1–15. DOI: 10.3390/su16051986

Aburasain R. Y. Enhanced congestion prediction of traffic flow using a hybrid attention-based deep learning model. PeerJ Computer Science. 2025. Vol. 11. Pp. 1–23. DOI: 10.7717/peerj-cs.3224

Published

2026-05-07