Abstract
Traffic speed prediction has implications for urban planning, congestion reduction, and intelligent control systems. To maintain a uniform traffic speed and to avoid issues related to traffic, an accurate traffic speed forecast can help in supplying significant information. The capacity to forecast short-term traffic speed is a fundamental part of both Intelligent Transportation System (ITS) and the Internet of Vehicles (IoV). To achieve better accuracy in predicting short-term traffic speed, we introduced a GSA-Bi-LSTM model by optimizing the Bi-directional Long Short-Term Memory (Bi-LSTM) network prediction framework with Gravitational Search Algorithm (GSA) due to its features of fast convergence, great reliability and significant global search ability of parameters. The utilization of the GSA optimization technique is employed to optimize the hyperparameters of the Bi-LSTM model. By making use of the bidirectional properties of Bi-LSTM layers, the model’s architecture aims to enhance prediction accuracy and effectively capture the intricate patterns present in the input data. From the analysis of the experimental results, it becomes evident that the convenience provided by our proposed GSA-Bi-LSTM model surpasses that of conventional models in terms of evaluation metrics. Additionally, it is also noted that GSA has superior optimization capabilities than Particle Swarm Optimization (PSO) in terms of optimizing the Bi-LSTM approach for traffic speed forecasting.
Similar content being viewed by others
Availability of data and material
Data used in this research were collected by authors under the University Grants Commission (UGC), New Delhi, India, funded research project ‘Modelling and simulation of vehicular traffic flow problems.’ If there are relevant research needs, the data can be obtained by sending an e-mail to Kranti Kumar (kranti31lu@gmail.com)
Abbreviations
- ITS:
-
Intelligent Transportation System
- GSA:
-
Gravitational Search Algorithm
- LSTM:
-
Long Short Term Memory
- PSO:
-
Particle Swarm Optimization
- ARIMA:
-
Autoregressive Integrated Moving Average
- KNN:
-
K-Nearest Neighbor
- KF:
-
Kalman Filters
- SVM:
-
Support Vector Machines
- ANN:
-
Artificial Neural Network
- WNN:
-
Wavelet Neural Network
- DBN:
-
Deep Belief Network
- RNN:
-
Recurrent Neural Network
- GA:
-
Genetic Algorithm
- ELM:
-
Extreme Learning Machine
- MAE:
-
Mean Absolute Error
- MAPE:
-
Mean Absolute Percentage Error
- RMSE:
-
Root Mean Squared Error
References
Yadav, S., Redhu, P.: Driver’s attention effect in car-following model with passing under v2v environment. Nonlinear Dyn. 1–17 (2023)
Gupta, A.K., Redhu, P.: Analyses of the driver’s anticipation effect in a new lattice hydrodynamic traffic flow model with passing. Nonlinear Dyn. 76, 1001–1011 (2014)
Redhu, P., Siwach, V.: An extended lattice model accounting for traffic jerk. Phys. A: Stat. Mech. Appl. 492, 1473–1480 (2018)
Redhu, P., Gupta, A.K.: Phase transition in a two-dimensional triangular flow with consideration of optimal current difference effect. Nonlinear Dyn. 78, 957–968 (2014)
Peng, G.H., Jia, T.T., Kuang, H., Tan, H.L., Chen, T.: A novel car-following model by sharing cooperative information transmission delayed effect under v2x environment and its additional energy consumption. Chin. Physics B 31(5), 058901 (2022)
Yadav, S., Redhu, P.: Bifurcation analysis of driver’s characteristics in car-following model. J. Comput. Nonlinear Dyn. 18, 11 (2023)
Peng, G.H.: A new car-following model with driver’s anticipation effect of traffic interruption probability. Chin. Physics B 29(8), 084501 (2020)
Yadav, S., Redhu, P., Siwach, V.: Impact of driver’s advanced reaction time in car-following model with optimal velocity deviation under V2X environment. Europhys. Lett. 143(5), 52004 (2023)
Cui, N., Chen, B., Zhang, K., Zhang, Y., Liu, X., Zhou, J.: Effects of route guidance strategies on traffic emissions in intelligent transportation systems. Physica A Stat. Mech. Appl. 513, 32–44 (2019)
Olayode, I., Tartibu, L., Okwu, M., Uchechi, D.U.: Intelligent transportation systems, un-signalized road intersections and traffic congestion in johannesburg: A systematic review. Procedia CIRP 91, 844–850 (2020)
Richter, A., Löwner, M.O., Ebendt, R., Scholz, M.: Towards an integrated urban development considering novel intelligent transportation systems: Urban development considering novel transport. Technol. Forecast. Soc. Change 155, 119970 (2020)
Gore, N., Pulugurtha, S.S., Arkatkar, S., Joshi, G.: Congestion index and reliability-based freeway level of service. J. Transp. Eng. A 147(6), 04021027 (2021)
Naheliya, B., Redhu, P., Kumar, K.: MFOA-Bi-LSTM: An optimized bidirectional long short-term memory model for short-term traffic flow prediction. Phys. A: Stat. Mech. Appl. 634, 129448 (2024)
Levin, M., Tsao, Y.D.: On forecasting freeway occupancies and volumes (abridgment). Transp. Res. Rec. (773) (1980)
Zhang, Y., Zhang, Y., Haghani, A.: A hybrid short-term traffic flow forecasting method based on spectral analysis and statistical volatility model. Transp. Res. Part C Emerg. Technol. 43, 65–78 (2014)
Zhang, L., Liu, Q., Yang, W., Wei, N., Dong, D.: An improved k-nearest neighbor model for short-term traffic flow prediction. Procedia Soc. Behav. Sci. 96, 653–662 (2013)
Taunk, K., De, S., Verma, S., Swetapadma, A.: A brief review of nearest neighbor algorithm for learning and classification. In: 2019 International Conference on Intelligent Computing and Control Systems (ICCS), IEEE, pp. 1255–1260 (2019)
Kalman, R.E.: A new approach to linear filtering and prediction problems (1960)
Kumar, S.V.: Traffic flow prediction using kalman filtering technique. Procedia Eng. 187, 582–587 (2017)
Toan, T.D., Truong, V.H.: Support vector machine for short-term traffic flow prediction and improvement of its model training using nearest neighbor approach. Transp. Res. Rec. 2675(4), 362–373 (2021)
Tang, J., Chen, X., Hu, Z., Zong, F., Han, C., Li, L.: Traffic flow prediction based on combination of support vector machine and data denoising schemes. Physica A Stat. Mech. Appl. 534, 120642 (2019)
Kumar, K., Parida, M., Katiyar, V.: Short term traffic flow prediction for a non urban highway using artificial neural network. Procedia Soc. Behav. Sci. 104, 755–764 (2013)
Kumar, K., Parida, M., Katiyar, V.K.: Short term traffic flow prediction in heterogeneous condition using artificial neural network. Transport 30(4), 397–405 (2015)
Vlahogianni, E.I., Karlaftis, M.G., Golias, J.C.: Short-term traffic forecasting: Where we are and where we’re going. Transp. Res. Part C Emerg. Technol. 43, 3–19 (2014)
Parmar, J., Das, P., Dave, S.M.: A machine learning approach for modelling parking duration in urban land-use. Phys. A Stat. Mech. Appl. 572, 125873 (2021)
Wu, Y., Tan, H., Qin, L., Ran, B., Jiang, Z.: A hybrid deep learning based traffic flow prediction method and its understanding. Transp. Res. Part C Emerg. Technol. 90, 166–180 (2018)
Han, L., Huang, Y.S.: Short-term traffic flow prediction of road network based on deep learning. IET Intell. Transp. Syst. 14(6), 495–503 (2020)
Qu, L., Li, W., Li, W., Ma, D., Wang, Y.: Daily long-term traffic flow forecasting based on a deep neural network. Expert Syst. Appl. 121, 304–312 (2019)
Bharti, P., Redhu, K.: Kumar, Short-term traffic flow prediction based on optimized deep learning neural network: PSO-Bi-LSTM. Phys. A Stat. Mech. Appl. 625, 129001 (2023)
Chauhan, R., Dhamaniya, A., Arkatkar, S.: Spatiotemporal variation of rear-end conflicts at signalized intersections under disordered traffic conditions. J. Transp. Eng. Part A Syst 147(11), 05021007 (2021)
Naheliya, B., Redhu, P., Kumar, K.: A hybrid deep learning method for short-term traffic flow forecasting: GSA-LSTM. Indian J. Sci. Technol. 16, 46 (2023)
Zhou, T., Han, G., Xu, X., Lin, Z., Han, C., Huang, Y., Qin, J.: \(\delta \)-agree adaboost stacked autoencoder for short-term traffic flow forecasting. Neurocomputing 247, 31–38 (2017)
Huang, W., Song, G., Hong, H., Xie, K.: Deep architecture for traffic flow prediction: Deep belief networks with multitask learning. IEEE Trans. Intell. Transp. Syst. 15(5), 2191–2201 (2014)
Sameen, M.I., Pradhan, B.: Severity prediction of traffic accidents with recurrent neural networks. Appl. Sci. 7(6), 476 (2017)
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. Transp. Res. Part C Emerg. Technol. 54, 187–197 (2015)
Tian, Y., Zhang, K., Li, J., Lin, X., Yang, B.: Lstm-based traffic flow prediction with missing data. Neurocomputing 318, 297–305 (2018)
Abduljabbar, R.L., Dia, H., Tsai, P.W., Liyanage, S.: Short-term traffic forecasting: An lstm network for spatial-temporal speed prediction. Future Transp. 1(1), 21–37 (2021)
Cui, Z., Ke, R., Pu, Z., Wang, Y.: Stacked bidirectional and unidirectional lstm recurrent neural network for forecasting network-wide traffic state with missing values. Transp. Res. Part C Emerg. Technol. 118, 102674 (2020)
Xue, X., Jia, Y., Wang, S.: Expressway traffic flow prediction model based on bi-lstm neural networks. In: IOP conference series: Earth and environmental science, Vol. 587, IOP Publishing, p. 012007 (2020)
Li, L., Yang, Y., Yuan, Z., Chen, Z.: A spatial-temporal approach for traffic status analysis and prediction based on bi-lstm structure. Mod. Phys. Lett. B 35(31), 2150481 (2021)
Tan, G., Zheng, S., Huang, B., Cui, Z., Dou, H., Yang, X., Zhou, T.: Hybrid ga-svr: An effective way to predict short-term traffic flow. In: International Conference on Algorithms and Architectures for Parallel Processing, Springer, pp. 53–62 (2021)
Tang, J., Zeng, J., Wang, Y., Yuan, H., Liu, F., Huang, H.: Traffic flow prediction on urban road network based on license plate recognition data: combining attention-lstm with genetic algorithm. Transp. A: Transp. Sci. 17(4), 1217–1243 (2021)
Zhang, Y., Huang, G.: Traffic flow prediction model based on deep belief network and genetic algorithm. IET Intell. Transp. Syst. 12(6), 533–541 (2018)
Olayode, I.O., Tartibu, L.K., Okwu, M.O., Severino, A.: Comparative traffic flow prediction of a heuristic ann model and a hybrid ann-pso model in the traffic flow modelling of vehicles at a four-way signalized road intersection. Sustainability 13(19), 10704 (2021)
Cai, W., Yang, J., Yu, Y., Song, Y., Zhou, T., Qin, J.: Pso-elm: A hybrid learning model for short-term traffic flow forecasting. IEEE access 8, 6505–6514 (2020)
Cui, Z., Huang, B., Dou, H., Tan, G., Zheng, S., Zhou, T.: Gsa-elm: A hybrid learning model for short-term traffic flow forecasting. IET Intell. Transp. Syst. 16(1), 41–52 (2022)
Rashedi, E., Nezamabadi-Pour, H., Saryazdi, S.: Gsa: a gravitational search algorithm. Inf. Sci 179(13), 2232–2248 (2009)
Pelusi, D., Mascella, R., Tallini, L., Nayak, J., Naik, B., Deng, Y.: Improving exploration and exploitation via a hyperbolic gravitational search algorithm. Knowl. Based Syst. 193, 105404 (2020)
Wei, D.: Network traffic prediction based on rbf neural network optimized by improved gravitation search algorithm. Neural. Comput. Appl. 28, 2303–2312 (2017)
Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)
Wang, Y., Zhang, D., Liu, Y., Dai, B., Lee, L.H.: Enhancing transportation systems via deep learning: A survey. Transp. Res. Part C Emerg. Technol. 99, 144–163 (2019)
Luo, J., Zhang, X.: Convolutional neural network based on attention mechanism and bi-lstm for bearing remaining life prediction. Appl. Intell. 1–16 (2022)
Acknowledgements
The first author conveys sincere appreciation to the Council of Scientific and Industrial Research (CSIR), New Delhi, India, for their benevolent financial support, which is provided under file number 09/382(0246)/2019-EMR-I.
Author information
Authors and Affiliations
Contributions
BN played a pivotal role in the analysis and development of the original model, contributing extensively to its conceptualization and formulation and was a major contributor in writing the manuscript. PR provided a detailed review and made significant edits to the manuscript. KK conducted a comprehensive review and meticulously edited the manuscript. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Conflict of interest
It is declared by the authors that they have no conflicting interests.
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
Naheliya, B., Redhu, P. & Kumar, K. Bi-directional Long Short Term Memory Neural Network for Short-Term Traffic Speed Prediction Using Gravitational Search Algorithm. Int. J. ITS Res. (2024). https://doi.org/10.1007/s13177-024-00398-0
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s13177-024-00398-0