Abstract
Predicting daily traffic volume in the short term is of great importance for rural roads since it assists in relieving congestion, trip planning, and improving the level of service (LOS). Benchmark parametric methods like seasonal autoregressive integrated moving average (SARIMA) show less accurate predictions when traffic flow sustains irregularities. In addition, the SARIMA is not sophisticated enough to properly employ big data. Shallow learning techniques like the artificial neural network (ANN) cannot capture short-term and long-term time dependencies of daily traffic volume. Therefore, long short-term memory (LSTM) has been suggested to estimate the daily traffic volume of rural roads. LSTM offers a proper estimate of the daily traffic volume using a unit structure, with no need to create a separate model for each piece of a road. The daily traffic volume for three types of roads, i.e., high-volume roads, international roads for transit of goods, and recreational roads leading to the city of Mashhad, Iran, was estimated using LSTM. The research results demonstrated that SARIMA displayed constant sinusoidal variations around the annual average of daily traffic (AADT) and was very weak in capturing the irregularities of daily volume. Unlike SARIMA, ANN was generally better at following the volume trends. However, unrealistic spikes and drops in the forecasts of ANN occurred on days close to national holidays. LSTM resulted in the highest percentage of estimation accuracy (95%) while having no overfitting issue. Better estimates were obtained for the international freight transit roads where the volume variations were lower.
Similar content being viewed by others
Data availability
The authors do not have permission to share the data that has been used in the research.
References
Zhao Z, Chen W, Wu X, Chen PC, Liu J (2017) LSTM network: a deep learning approach for short-term traffic forecast. IET Intel Transp Syst 11(2):68–75
Shahriari S, Ghasri M, Sisson SA, Rashidi T (2020) Ensemble of ARIMA: combining parametric and bootstrapping technique for traffic flow prediction. Transportmetrica A: Transp Sci 16(3):1552–1573
Luo X, Li D, Yang Y, Zhang S (2019) Spatiotemporal traffic flow prediction with KNN and LSTM. J Adv Transp. https://doi.org/10.1155/2019/4145353
Van Hinsbergen CP, Van Lint JW, Sanders FM (2007) Short term traffic prediction models. In: 14th World Congress on Intelligent Transport Systems (ITS), Beijing, China
Van Der Voort M, Dougherty M, Watson S (1996) Combining Kohonen maps with ARIMA time series models to forecast traffic flow. Transp Res Part C: Emerg Technol 4(5):307–318
Williams BM, Hoel LA (2003) Modeling and forecasting vehicular traffic flow as a seasonal ARIMA process: theoretical basis and empirical results. J Transp Eng 129(6):664–672
Bernaś M, Płaczek B, Porwik P, Pamuła T (2015) Segmentation of vehicle detector data for improved k-nearest neighbours-based traffic flow prediction. IET Intel Transp Syst 9(3):264–274
Wang J, Deng W, Guo Y (2014) New Bayesian combination method for short-term traffic flow forecasting. Transp Res Part C: Emerg Technol 43:79–94
Nguyen H, Kieu LM, Wen T, Cai C (2018) Deep learning methods in transportation domain: a review. IET Intel Transp Syst 12(9):998–1004
Veres M, Moussa M (2019) Deep learning for intelligent transportation systems: a survey of emerging trends. IEEE Trans Intell Transp Syst 21(8):3152–3168
Gamarra W, Martínez E, Cikel K, Santacruz M, Arzamendia M, Gregor D, Colbes J (2021) Deep learning for traffic prediction with an application to traffic lights optimization. In: 1st International Conference on Artificial Intelligence and Data Analytics (CAIDA), pp 31–36. IEEE
Gnanaprakash V, Kanthimathi N, Saranya N (2021) Automatic number plate recognition using deep learning. In: IOP Conference Series: Materials Science and Engineering, Vol. 1084, No. 1, p 012027. IOP Publishing
Cheng Q, Liu Y, Wei W, Liu Z (2016) Analysis and forecasting of the day-to-day travel demand variations for large-scale transportation networks: a deep learning approach. Transp Anal Contest Tech Rep
Dong C, Shao C, Li J, Xiong Z (2018) An improved deep learning model for traffic crash prediction. J Adv Transp. https://doi.org/10.1155/2018/3869106
Kulkarni R, Dhavalikar S, Bangar S (2018) Traffic light detection and recognition for self driving cars using deep learning. In: 2018 Fourth International Conference on Computing Communication Control and Automation (ICCUBEA), pp 1–4. IEEE
Yan S, Teng Y, Smith JS, Zhang B (2016) Driver behavior recognition based on deep convolutional neural networks. In: 2016 12th International Conference on Natural Computation, Fuzzy Systems and Knowledge Discovery (ICNC-FSKD), pp 636–641. IEEE
Jia Y, Wu J, Ben-Akiva M, Seshadri R, Du Y (2017) Rainfall-integrated traffic speed prediction using deep learning method. IET Intel Transp Syst 11(9):531–536
Khan Z, Khan SM, Dey K, Chowdhury M (2019) Development and evaluation of recurrent neural network-based models for hourly traffic volume and annual average daily traffic prediction. Transp Res Rec 2673(7):489–503
Yang D, Chen K, Yang M, Zhao X (2019) Urban rail transit passenger flow forecast based on LSTM with enhanced long-term features. IET Intel Transp Syst 13(10):1475–1482
Tang J, Zeng J, Wang Y, Yuan H, Liu F, Huang H (2021) Traffic flow prediction on urban road network based on license plate recognition data: combining attention-LSTM with genetic algorithm. Transportmetrica A: Transp Sci 17(4):1217–1243
Hou Y, Edara P (2018) Network scale travel time prediction using deep learning. Transp Res Rec 2672(45):115–123
Chen X, Wu S, Shi C, Huang Y, Yang Y, Ke R, Zhao J (2020) Sensing data supported traffic flow prediction via denoising schemes and ANN: a comparison. IEEE Sens J 20(23):14317–14328
Chen X, Ling J, Wang S, Yang Y, Luo L, Yan Y (2021) Ship detection from coastal surveillance videos via an ensemble Canny-Gaussian-morphology framework. J Navigation 74(6):1252–1266
Eom JK, Park MS, Heo TY, Huntsinger LF (2006) Improving the prediction of annual average daily traffic for nonfreeway facilities by applying a spatial statistical method. Transp Res Rec 1968(1):20–29
Mohammadzadeh M (2022) Predicting traffic flow using time series and deep learning [Unpublished master thesis]. Shahrood University of Technology, Iran
Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735–1780
Mohammzadeh M, Choupani AA, Afshar F (2022) The short-term prediction of daily traffic volume for rural roads using shallow and deep learning networks: ANN and LSTM. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4168660, preprint, lacs accessed on 18/10/2022.
Acknowledgements
A preprint has previously been published [27].
Funding
This research received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors.
Author information
Authors and Affiliations
Contributions
MM and A-AC contributed to research proposal; MM and A-AC contributed to literature review; MM and A-AC contributed to conceptualization; MM and A-AC contributed to methodology; MM, A-AC, and FA contributed to formal analysis and investigations; MM, A-AC, and FA contributed to writing, review, and editing.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that there is no conflict of interest.
Ethical approval
Not applicable (NA).
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Mohammadzadeh, M., Choupani, AA. & Afshar, F. The short-term prediction of daily traffic volume for rural roads using shallow and deep learning networks: ANN and LSTM. J Supercomput 79, 17475–17494 (2023). https://doi.org/10.1007/s11227-023-05333-w
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-023-05333-w