AI-Powered Road Traffic Flow Prediction
Keywords:
Intelligent Transportation System (ITS), Traffic flow prediction, Artificial intelligence, machine learning, deep learningAbstract
These days, many cities have traffic congestion, which is a major problem during certain peak hours and causes inhabitants to experience increased stress, noise, and pollution. Neural networks (NN) along with machine-learning (ML) techniques perform effectively with large parameterized datasets and changing behaviors which causes their adoption for real-world problem solutions over traditional analytical and statistic the developed ML and DL algorithms conduct traffic flow prediction at intersections to serve as a basis for adaptive traffic control at intersections. Two approaches of evolving traffic control could be remote control of traffic light timing or an algorithm based on expected traffic levels that alters the timing. The research develops a comprehensive approach using ML and DL models which enhances prediction accuracy of road traffic flows. The proposed methodology utilizes four models: XGB Regressor, Voting Regressor, CNN-GRU and CNN-LSTM-GRU. The dataset is preprocessed through exploratory data analysis and standardized before training. The XGB Regressor model together with Voting Regressor delivered exceptional predictive results reaching R² values of 0.9406 and 0.9412 respectively. Among the models tested CNN-GRU-LSTM delivered the peak forecasting results when tested against the CNN-GRU by having an R² score of 0.9713 along with lowest MSE 0.0291 and RMSE 0.1707 and MAE 0.1105. This proved its superiority for traffic flow prediction. The improvements are significant over existing models, including MLP-NN and Stochastic Gradient, which indicates that the proposed ML-DL method can perform effectively for real time management and prediction of traffic.
Downloads
Metrics
References
M. Ahmed, S. Masood, M. Ahmad, and A. A. Abd El-Latif, “Intelligent Driver Drowsiness Detection for Traffic Safety Based on Multi CNN Deep Model and Facial Subsampling,” IEEE Trans. Intell. Transp. Syst., 2022, doi: 10.1109/TITS.2021.3134222.
Rahul Anand and Smita Sankhe, “Traffic Prediction for Intelligent Transportation Systems using Machine Learning,” Int. J. Mod. Trends Sci. Technol., 2022, doi: 10.46501/ijmtst0807041.
A. Jedhe and S. Chopade, “Traffic Prediction for Intelligent Transportation System using Machine Learning,” Int. J. Res. Appl. Sci. Eng. Technol., 2022, doi: 10.22214/ijraset.2022.46604.
A. Boukerche and J. Wang, “Machine Learning-based traffic prediction models for Intelligent Transportation Systems,” 2020. doi: 10.1016/j.comnet.2020.107530.
A. Boukerche, Y. Tao, and P. Sun, “Artificial intelligence-based vehicular traffic flow prediction methods for supporting intelligent transportation systems,” 2020. doi: 10.1016/j.comnet.2020.107484.
S. A. Sayed, Y. Abdel-Hamid, and H. A. Hefny, “Artificial intelligence-based traffic flow prediction: a comprehensive review,” J. Electr. Syst. Inf. Technol., 2023, doi: 10.1186/s43067-023-00081-6.
N. A. M. Razali, N. Shamsaimon, K. K. Ishak, S. Ramli, M. F. M. Amran, and S. Sukardi, “Gap, techniques and evaluation: traffic flow prediction using machine learning and deep learning,” J. Big Data, 2021, doi: 10.1186/s40537-021-00542-7.
I. Moumen, J. Abouchabaka, and N. Rafalia, “Adaptive traffic lights based on traffic flow prediction using machine learning models,” Int. J. Electr. Comput. Eng., 2023, doi: 10.11591/ijece.v13i5.pp5813-5823.
M. M. Ahsan, M. A. P. Mahmud, P. K. Saha, K. D. Gupta, and Z. Siddique, “Effect of Data Scaling Methods on Machine Learning Algorithms and Model Performance,” Technologies, 2021, doi: 0.3390/technologies9030052.
Y. Xing, X. Ban, and C. Guo, “Probabilistic Forecasting of Traffic Flow Using Multikernel Based Extreme Learning Machine,” Sci. Program., 2017, doi: 10.1155/2017/2073680.
M. Berlotti, S. Di Grande, and S. Cavalieri, “Proposal of a Machine Learning Approach for Traffic Flow Prediction,” Sensors, vol. 24, no. 7, p. 2348, Apr. 2024, doi: 10.3390/s24072348.
B. Liu, T. Zhang, and W. Hu, “Intelligent Traffic Flow Prediction and Analysis Based on Internet of Things and Big Data,” Comput. Intell. Neurosci., 2022, doi: 10.1155/2022/6420799.
J. O. Oyoo, J. S. Wekesa, and K. O. Ogada, “Predicting Road Traffic Collisions Using a Two-Layer Ensemble Machine Learning Algorithm,” Appl. Syst. Innov., vol. 7, no. 2, p. 25, Mar. 2024, doi: 10.3390/asi7020025.
Y. A. Pan, J. Guo, Y. Chen, Q. Cheng, W. Li, and Y. Liu, “A fundamental diagram based hybrid framework for traffic flow estimation and prediction by combining a Markovian model with deep learning,” Expert Syst. Appl., 2024, doi: 10.1016/j.eswa.2023.122219.
Y. Chen, M. Huang, K. Song, and T. Wang, “Prediction of Ship Traffic Flow and Congestion Based on Extreme Learning Machine with Whale Optimization Algorithm and Fuzzy c-Means Clustering,” J. Adv. Transp., 2023, doi: 10.1155/2023/7175863.
A. Navarro-Espinoza et al., “Traffic Flow Prediction for Smart Traffic Lights Using Machine Learning Algorithms,” Technologies, 2022, doi: 10.3390/technologies10010005.
H. Wang, X. Wei, J. Yao, and Y. Zhang, “Traffic Flow Prediction Using Machine Learning Methods,” in Proceedings - 2021 3rd International Conference on Machine Learning, Big Data and Business Intelligence, MLBDBI 2021, 2021. doi: 10.1109/MLBDBI54094.2021.00014.
Y. Hou, J. Chen, and S. Wen, “The effect of the dataset on evaluating urban traffic prediction,” Alexandria Eng. J., 2021, doi: 10.1016/j.aej.2020.09.038.
C. Chen, Y. Wang, L. Li, J. Hu, and Z. Zhang, “The retrieval of intra-day trend and its influence on traffic prediction,” Transp. Res. Part C Emerg. Technol., 2012, doi: 10.1016/j.trc.2011.12.006.
C. Yuan, Y. Li, H. Huang, S. Wang, Z. Sun, and Y. Li, “Using traffic flow characteristics to predict real-time conflict risk: A novel method for trajectory data analysis,” Anal. Methods Accid. Res., 2022, doi: 10.1016/j.amar.2022.100217.
A. Abdulboriy and J. S. Shin, “An Incremental Majority Voting Approach for Intrusion Detection System Based on Machine Learning,” IEEE Access, 2024, doi: 10.1109/ACCESS.2024.3361041.
A. Ilghami Kkhosroshahi, “Comparing Regression Techniques for Temperature Downscaling in Different Climate Classifications †,” Eng. Proc., 2023, doi: 10.3390/ASEC2023-15256.
R. Mary Chittilappilly, S. Suresh, and S. Shanmugam, “A Comparative Analysis of Optimizing Medical Insurance Prediction Using Genetic Algorithm and Other Machine Learning Algorithms,” in Proceedings of the 2nd IEEE International Conference on Advances in Computing, Communication and Applied Informatics, ACCAI 2023, 2023. doi: 10.1109/ACCAI58221.2023.10199979.
X. Xing, X. Li, and Y. Zhai, “GRU-CNN Neural Network Method for Regional Traffic Congestion Prediction Serving Traffic Diversion Demand,” Wirel. Commun. Mob. Comput., 2022, doi: 10.1155/2022/8164105.
S. K. Anil Sharma, "Machine learning and ontology-based novel semantic document indexing for information retrieval," p. 108940. doi:https://doi.org/10.1016/j.cie.2022.108940.
S. K. Anand and S. Kumar, "Ontology-based soft computing and machine learning model for efficent retrieval," knowl. Inf. Syst., vol. 66, no. 2, pp. 1371-1402, doi: 10.1007/s10115-023-01990-8.
A. Sharma and S. Kumar, "Semantic Web-Based Information Retrieval Models: A Systematic Survey," Commun. Comput. Inf. Sci., vol. 1230 CCIS, no. May 2020, pp. 204-222, 2020, doi: 10.1007/978-981-15-5830-6_18.
A. Dwivedi, S. Kumar, A. Dwivedi, and M. Singh, "Cancellable Biometrices for Security and Privacy Enforcement on Semantic Web," Int. J. Comput.Appl., vol. 21, no. 8, pp. 1-8, 2010, doi: 10.5120/2535-3460.
S. Kumar, N. Kumar, R. K. Prajapati, M. Singh, and A. De, "Realization of Threats and Countermeasure in Semantic Web Services," Int. J. Comput. Theory Eng., vol. 2, no. 6, pp. 919--924, 2010, doi:10.7763/ijcte.2010.v2.264.
S. Kumar, N. Kumar, M. Singh, and A. De, "A Rule-Based Approach for Extraction of Link-Context from Anchor-Text Structure *," pp. 261-262,2013.
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution 4.0 International License.
You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
Terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.