Abstract
This study predicts traffic congestion in four US cities using various machine learning models. The research utilizes different regression-based models to predict congestion. Results from various models are presented, emphasizing their individual performances in terms of common evaluation metrics. XGBoost is applied with detrending and optimization to enhance predictive accuracy for MSE, MAE, and the coefficient of determination The proposed model demonstrates the lowest MAE (6.39), and achieves the lowest RMSE (10.99), showcasing the variability in model effectiveness. Additionally, we explore the sensitivity of selected features, shedding light on their impact on model results and contributing to a better understanding of our predictive approach. Coefficients of determination across all models indicate diverse predictive capabilities. Analysis is conducted on the performances of various models, providing a robust showcase of their individual strengths and weaknesses across commonly used evaluation metrics. The implicit problem background highlights the inadequacies in existing traffic flow prediction methodologies, prompting the introduction of innovative approaches. These findings are the first of their kind for traffic flow prediction in urban freeways of four US cities using this approach. The research holds significance for intelligent transportation management systems and urban planning. This research introduces an innovative prediction approach and showcases performance variations among different models. The practical applications extend to reducing travel times, addressing environmental concerns, and aiding decision-making for congestion alleviation and improved overall traffic flow. In conclusion, this research bridges critical gaps in traffic prediction methodologies, offering valuable insights and applications for urban planning and intelligent transportation systems.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Availability of Data and Materials
The data and materials supporting the findings of this study are available upon reasonable request to the corresponding author.
Abbreviations
- AI:
-
Artificial Intelligence
- RMSE:
-
Root Mean Square Error
- MAPE:
-
Mean Absolute Percent Error
- PR:
-
Penetration Rate
- LASSO:
-
Least Absolute Shrinkage and Selection Operator
- MAD:
-
Mean Absolute Deviation
- MRE:
-
Mean Relative Error
- OLS:
-
Ordinary Least Squares
- MSE:
-
Mean Square Error
- ML:
-
Machine Learning
- XGBoost :
-
EXtreme Gradient Boosting
- SUMO:
-
Simulation of Urban Mobility
- MAE:
-
Mean Absolute Error
- LR:
-
Linear Regressor
- NN:
-
Neural Network
- Adaboost:
-
Adaptive boosting
- DL:
-
Deep Learning
- DT:
-
Decision Tree
- PCA:
-
Principal Component Analysis
- GB:
-
Gradient Boosting
- RF:
-
Random Forest
- CATboost:
-
CATegorical boost
- SVM:
-
Support Vector Machine
- MARE:
-
Mean Absolute Relative Error
References
Tong, W., Hussain, A., Bo Wang, X., Maharjan, S.: Artificial intelligence for vehicle –to-everything: a survey. IEEE Access 7, 10823–10843 (2019)
Jiang, H., Li, Q., Jiang, Y., Shen Geng, B., Sinnott, R., Tian, C., et al.: When machine learning meets congestion control: a survey. Comput. Netw. 192, 108033 (2021)
Xie, G., Wang, S., Lai Keung, K.: Short-term forecasting of air passenger by using hybrid seasonal decomposition and least squares support vector regression approaches. J. Air Transp. Manag. 37, 20–26 (2014)
Xie, Z., Liu, Q.: LSTM networks for vessel traffic flow prediction in inland waterway. In: IEEE International Conference on Big Data & Smart Computing, pp. 418–425. (2018). https://doi.org/10.1109/BigComp.2018.00068 . https://ieeexplore.ieee.org/document/8367148
Li, L., Qu, X., Zhang, J., Wang, Y., Ran, B.: Traffic speed prediction for intelligent transportation system based on a deep feature fusion model. J. Intell. Transp. Syst. 23(6), 605–616 (2019). https://doi.org/10.1080/15472450.2019.1583965
Aqib, M., Mehmood, R., Alzahrani, A., Katib, I., Albeshri, A.: A deep learning model to predict vehicles occupancy on freeways for traffic management. Int. J. Comput. Sci. Netw. Secur. 18, 246–254 (2018)
Tan, Z., Li, R.: A dynamic model for traffic flow prediction using improved DRN. (2018). https://doi.org/10.48550/arXiv.1805.00868
Rosero, F., Fonseca, N., López, J.-M., Casanova, J.: Effects of passenger load, road grade, and congestion level on real-world fuel consumption and emissions from compressed natural gas and diesel urban buses. Appl. Energy 282, Part B, 116195 (2021)
Lei, X., Li, L., Zhang, X., Dai, Q., Fu, Y.: A novel radio-based parallel DEA approach for evaluating the energy and environmental performance of Chinese Transportation Sectors. J. Syst. Sci. Syst. Eng. 28, 621–635 (2019)
ONU: World Population Prospects: Highlights, United Nations Department for Economic and Social Affairs, New York (US). (2019). (ST/ESA/SER.A/423). https://population.un.org/wpp/publications/files/wpp2019_highlights.pdf
Gahlan, D., Pandove, G.: A Review on Various Issues, Challenges and Different Methodologies in Vehicular Environment. In: International Conference on Innovative Computing & Communications (ICICC), https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3606267. Accessed 21 May 2020
Saini, D., Mishra, N., Lataye, H.D.: Variation of ambient air pollutants concentration over Lucknow city, trajectories and dispersion analysis using HYSPLIT4.0. Sadhana 47(231),(2022). https://doi.org/10.1007/s12046-022-02001-2
Kumar Vasantha, S., Vanajakshi, L.: Short-term traffic flow prediction using seasonal ARIMA model with limited input data. Eur. Transp. Res. Rev. 7(3), 1–9 (2015)
Zhao, Z., Chen, W., Wu, X., Chen Peter, C.V., Liu, J.: LSTM network: a deep learning approach for short-term traffic forecast. IET Intel. Transp. Syst. 11(2), 68–75 (2017)
Polson Nicholas, G., Sokolov, O.V.: Deep learning for short-term traffic flow prediction. Transp. Res. C: Emerg. Technol. 79, 1–17 (2017)
Wang, Y., Guo, Y.: Forecasting method of stock market volatility in time series data based on mixed model of ARIMA and XGBoost. China Commun. 17(3), 205–221 (2020)
Wang, W., Shi, Y., Lyu, G., Deng, W.: Electricity consumption prediction using XGBoost based on discrete wavelet transform. DEStech Trans. Comput. Sci. Eng. (2017). https://doi.org/10.12783/dtcse/aiea2017/1500.
Bokaba, T., Doorsamy, W., Paul Sena, B.: A comparative study of ensemble models for predicting road traffic congestion. Appl. Sci. 12(3), 1337 (2022)
Aouedi, O., Piamrat, K., Parrein, B.: Ensemble-based deep learning model for network traffic classification. IEEE Trans. Netw. Service Manag. 19(4), 4124–4135 (2022)
Feng, B., Xu, J., Zhang, Y., Lin, Y.: Multi-step traffic speed prediction based on ensemble learning on an urban road network. Appl. Sci. 11(10), 4423 (2021)
Li, Y., Chai, S., Ma, Z., Wang, G.: A hybrid deep learning framework for long-term traffic flow prediction. IEEE Access 9, 11264–21127 (2021)
Yang, S., Wu, J., Du, Y., He, Y., Chen, X.: Ensemble learning for short-term traffic prediction based on gradient boosting machine. J. of Sensors 2017, 15 (2017). https://www.hindawi.com/journals/js/2017/7074143/
Emami, A., Sarvi, M., BagloeeAsadi, S.: A neural network algorithm for queue length estimation based on the concept of k-leader connected vehicles. J. Mod. Transp. 27(4), 341–354 (2019)
Cheng, J., Li, G., Chen, X.: Research on travel time prediction model of freeway based on gradient boosting decision tree. IEEE Access 7, 7466–7480 (2018)
Tamir Sinshaw, T., Xiong, G., Li, Z., Tao, H., Shen, Z., Hu, B., Menkir Mulugeta, H. Traffic Congestion Prediction using Decision Tree, Logistic Regression and Neural Networks. In: 3rd IFAC workshop on cyber-physical & human systems CPHS, IFAC- PapersOnLine 53(5): 512–517 (2020)
Bratsas, C., Koupidis, K., Salanova, J.-M., Giannakopoulos, K., Kaloudis, A., Aifadopoulou, G.: A comparison of machine learning methods for the prediction of traffic speed in urban places. Sustainability 12(1), 1–15 (2020)
Lartey, B., Homaifar, A., Girma, A., Karimoddini, A. Opoku, D. XGBoost: a tree-based approach for traffic volume prediction. IEEE International Conference on Systems, Man, and Cybernetics (SMC), Melbourne, Australia, 2021, pp. 1280–1286. (2021). https://doi.org/10.1109/SMC52423.20221.9658959
Zhang, X., Zhang, Q.: Short-term traffic flow prediction based on LSTM-XGBoost combination model. Comput. Model Eng. Sci. 125(1), 95–109 (2020)
Zafar, N., HaqUl, I.: Traffic congestion prediction based on Estimated Time of Arrival. PLoS ONE 15(12), e0238200 (2020). https://doi.org/10.1371/journal.pone.0238200
Zhu, L., Shu, S., Zou, L.: XGBoost-based travel time prediction between bus stations and analysis of influencing factors. Wirel. Commun. Mobile Comput. 2022, 3504704 (2022). https://doi.org/10.1155/2022/3504704
Tran, N.-C., Nguyen, D.-D., Nguyen, T.H.: Prediction of speed limit of cars moving on corroded steel girder bridges using artificial neural networks. Sadhana 47(114),(2022). https://doi.org/10.1007/s12046-022-01899-y
Kumar, K., Kumar, M., Das, P.: Traffic congestion forecasting using multilayered deep neural network. Transp. Lett. (2023). https://doi.org/10.1080/19427867.2023.2207278
Lv, Y., Duan, Y., Kang, W., Li, Z., Wang, F.-Y.: Traffic flow prediction with big data: a deep learning approach. IEEE Trans. Intel. Transp. Syst. 16(2), 865–873 (2015)
Deepika, Pandove, G.: Estimation of congestion level at intersection points using AI. In: 2022 3rd International Conference on Issues and Challenges in Intelligent Computing Techniques (ICICT), Ghaziabad, India: 1–6. (2022). https://doi.org/10.1109/ICICT55121.2022.10064550
Liu, Y., Wu, H.: Prediction of road traffic congestion based on random forest. In: Proceedings of the 2017 10th International Symposium on Computational Intelligence and Design (ISCID) 2:361–364, IEEE, Hangzhou, China (2017)
Xin, H., Liu, S., Li, T.: A multi logarithm linear regression traffic congestion prediction model based on R language New York City's five administrative districts (mainly in urban main roads and highways). In: International Conference on Big Data & Artificial Intelligence & Software Engineering (ICBASE): 284–287. (2021)
Mostafi, S., Alghamdi, T., Elgazzar, K.:A Bayesian linear regression approach to predict traffic congestion. IEEE 7th World Forum on Internet of Things (WF-IoT): 716–722 (2021)
Angarita-Zapata, J.S., Masegosa, A.D., Triguero, I.: A taxonomy of traffic forecasting regression problems from a supervised learning perspective. IEEE Access 7, 68185–68205 (2019)
Kachroo, P., Gupta, S., Agarwal, S., Ozbay, K.: Optimal control for congestion pricing: theory, simulation, and evaluation. IEEE Trans. Intel. Transp. Syst. 18(5), 1234–1240 (2017)
Menelaou, C., Timotheou, S., Kolios, P., Panayiotou Christos, G., Polycarpou Mario, M.: Minimizing traffic congestion through continuous-time route reservations with travel time predictions. IEEE Trans. Intel. Vehicles 4(1), 141–153 (2019)
Tseng, F.-H., Hsueh, J.-H., Tseng, C.-W., Yang, Y.-T., Chao, H.-C., Chou, L.-D.: Congestion prediction with big data for real-time highway traffic. IEEE Access 6, 57311–57323 (2018)
Xiao, H., Xiao, J., Deng, X., Li, L.: Traffic flow prediction based on traffic and meteorological data fusion in non-stationary environments. 2021 International Conference on Electronic Information Technology and Smart Agriculture (ICEITSA), Huaihua, China, pp. 154–158. (2021). https://doi.org/10.1109/ICEITSA54226.2021.00038
Baig, M.M., Awais, M.M., El-Alfy, E.-S.M.: AdaBoost-based artificial neural network learning. Neurocomputing 248, 120–126 (2017)
Astudillo León, J.P., de la Cruz Llopis, L.J., Rico-Novella, F.J.: A machine learning based Distributed Congestion Control Protocol for multi-hop wireless networks. Comput. Netw. 231, 109813 (2023)
Khan Noor, U., Munam Ali, S., Maple, et al.: Traffic flow prediction: an intelligent scheme for forecasting traffic flow using air pollution data in smart cities with bagging ensemble. Sustainability. 14(7), 1–23 (2022)
Zhou, Z.-H.: Ensemble learning. In: In: Machine learning, pp. 181–210. Springer, Singapore (2021). https://doi.org/10.1007/978-981-15-1967-3_8
Petelin, G., Hribar, R., Papa, G.: Models for forecasting the traffic flow within the city of Ljubljana. Eur. Transp. Res. Rev. 15(30),(2023). https://doi.org/10.1186/s12544-023-00600-6
NazirkarReshma, R., Rajabhushanam, C.: Machine learning algorithms performance evaluation in traffic flow prediction. Mater. Today: Proc. 51(Part 1), 1046–1050 (2022)
Funding
No funding from any institute or organization.
Author information
Authors and Affiliations
Contributions
The study’s conception and design were a collective endeavor, with all authors (D and GP) contributing their insights and expertise. Material preparation, data collection, and rigorous analysis were skillfully executed by D and GP exemplifying their dedicated contributions to the research process. All authors read and approved the final version of the manuscript.
Corresponding author
Ethics declarations
Ethical Approval and Consent to Participate
There are no human subjects in this article, consent is not applicable.
Consent for Publication
All authors have given their consent for the publication of this manuscript.
Competing Interests
The authors declare no competing 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
Deepika, Pandove, G. A Comparison of ML Models for Predicting Congestion in Urban Cities. Int. J. ITS Res. 22, 171–188 (2024). https://doi.org/10.1007/s13177-024-00387-3
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13177-024-00387-3