Intelligent Traffic Management System Using Ant Colony and Deep Learning Algorithms for Real-Time Traffic Flow Optimization
DOI:
https://doi.org/10.70882/josrar.2024.v1i2.52Keywords:
Ant Colony Optimization (ACO), Deep Learning (DL), Long-Short-Combination (LSC), Real-Time Optimization, Traffic ManagementAbstract
Urban traffic congestion presents a formidable global challenge that necessitates innovative and adaptive solutions, surpassing the capabilities of traditional traffic management systems. This research introduces an Intelligent Traffic Management System (ITMS) that synergistically integrates Ant Colony Optimization (ACO) and Deep Learning (DL) methodologies, effectively optimizing real-time traffic flow. To dynamically adapt to complex urban environments, the ITMS leverages ACO for agile routing and DL for precise traffic prediction, enabled by a novel Long-Short-Combination (LSC) framework designed to accommodate both congested and uncongested traffic attributes. Real-time data acquisition is achieved using a computer vision model, which detects and classifies vehicles into four categories (cars, bikes, buses, and trucks) with updates every 15 minutes. Data preprocessing addresses inconsistencies to ensure integrity. The ITMS employs ACO to optimize vehicle routing dynamically by simulating artificial "ants" that evaluate routes based on pheromone levels representing congestion and distance, thus adapting to real-time fluctuations. Reinforcement learning dynamically adjusts traffic signal timings, minimizing congestion and optimizing overall traffic flow. Six Machine Learning models were tested, finding a weighted average precision, recall, and f1-score of 0.95. More specifically, for traffic situation classification, a detailed model performance analysis was conducted, revealing that Class 0 achieved a precision of 0.99, recall of 0.98, and F1-score of 0.99. Class 1 achieved a precision of 0.90, recall of 0.87, and F1-score of 0.88. Class 2 achieved a precision of 0.93, recall of 0.96, and F1-score of 0.95, and Class 3 had a precision of 0.96, recall of 0.96, and F1-score of 0.96. These results highlight the transformative potential of AI-driven traffic optimization.
References
Anghinolfi, Davide, Massimo Paolucci, Simona Sacone, and Silvia Siri. (2011). “Integer Programming and Ant Colony Optimization for Planning Intermodal Freight Transportation Operations.” Pp. 214–19 in 2011 IEEE International Conference on Automation Science and Engineering. Trieste, Italy: IEEE.
Goswami, Shubhashish, and Abhimanyu Kumar. (2022). “Traffic Flow Prediction Using Deep Learning Techniques.” Pp. 198–213 in Computing Science, Communication, and Security. Vol. 1604, Communications in Computer and Information Science, edited by N. Chaubey, S. M. Thampi, and N. Z. Jhanjhi. Cham: Springer International Publishing.
Kranti Shingate, Komal Jagdale, Yohann Dias, and Fr. c Rodrigues Institute of Technology. (2020). “Adaptive Traffic Control System Using Reinforcement Learning.” International Journal of Engineering Research And V9(02): IJERTV9IS020159. https://doi.org/10.17577/IJERTV9IS020159.
Lu, Saiqun, Qiyan Zhang, Guangsen Chen, and Dewen Seng. (2021). “A Combined Method for Short-Term Traffic Flow Prediction Based on Recurrent Neural Network.” Alexandria Engineering Journal 60(1):87–94. https://doi.org/10.1016/j.aej.2020.06.008.
Mashi, Boryanka T., Ibrahim S. Ahmad, Habeebah A. Kakudi, and Jesse J. Tanimu. (2024). “An Improved Light GBM Using Bayesian Optimization for Vulnerability Exploitation Prediction.” Journal of Science Research and Reviews 1(1):49–62. https://doi.org/10.70882/josrar.2024.v1i1.17.
Nouran Mahmoud. (2024). “Traffic Prediction Using All Models.”
Ogbolumani, Omolola A., and Muiz Adekoya. (2025). “Intelligent Waste Management Optimization Through Machine Learning Analytics.” Journal of Science Research and Reviews 2(1):7–26. https://doi.org/10.70882/josrar.2025.v2i1.25.
Oise, Godfrey, and Susan Konyeha. (2024). “E-WASTE MANAGEMENT THROUGH DEEP LEARNING: A SEQUENTIAL NEURAL NETWORK APPROACH.” FUDMA JOURNAL OF SCIENCES 8(3):17–24. https://doi.org/10.33003/fjs-2024-0804-2579.
Oise, Godfrey Perfectson, and Odimayomi Joy Akpowehbve. (2024). “Systematic Literature Review on Machine Learning Deep Learning and IOT-Based Model for E-Waste Management.” International Transactions on Electrical Engineering and Computer Science 3(3):154–62. https://doi.org/10.62760/iteecs.3.3.2024.94.
Oise, Godfrey Perfectson, and Susan Konyeha. (2024). “Deep Learning System for E-Waste Management.” P. 66 in The 3rd International Electronic Conference on Processes. MDPI.
Shao, Qitan, Xinglin Piao, Xiangyu Yao, Yuqiu Kong, Yongli Hu, Baocai Yin, and Yong Zhang. (2024). “An Adaptive Composite Time Series Forecasting Model for Short-Term Traffic Flow.” Journal of Big Data 11(1):102. https://doi.org/10.1186/s40537-024-00967-w.
Shokouhifar, Mohammad. (2011). “An Ant Colony Optimization Algorithm for Effective Feature Selection.” https://doi.org/10.13140/2.1.1227.7765.
Shokouhifar, Mohammad and Fardad Farokhi. (2010a). “Feature Selection Using Supervised Fuzzy C-Means Algorithm with Ant Colony Optimization.” https://doi.org/10.13140/2.1.2210.8167.
Shokouhifar, Mohammad and Fardad Farokhi. (2010b). “Simultaneous Feature Ranking and Classification Using Ant Colony Optimization Applied in Multilayer Perceptron Neural Network.” https://doi.org/10.13140/2.1.1424.3841.
Shokouhifar, Mohammad, Fardad Farokhi, Amir Hossein Abdollahi, and Gholamhasan Sajedy Abkenar. (2011). “Improved UTA Feature Selection Using Ant Colony Optimization.” https://doi.org/10.13140/2.1.2276.3520.
Shokouhifar, Mohammad, and Ali Jalali. (2014). “Real-Time Task Scheduling in Heterogeneous Multiprocessor Systems Using Artificial Bee Colony.” Pp. 1007–12 in 2014 22nd Iranian Conference on Electrical Engineering (ICEE). Tehran, Iran: IEEE.
Shokouhifar, Mohammad, and Shima Sabet. (2010). “A Hybrid Approach for Effective Feature Selection Using Neural Networks and Artificial Bee Colony Optimization.” https://doi.org/10.13140/2.1.2735.1045.
Sun, Daniel (Jian), Yuntao Chang, and Lun Zhang. (2012). “An Ant Colony Optimisation Model for Traffic Counting Location Problem.” Proceedings of the Institution of Civil Engineers - Transport 165(3):175–85. https://doi.org/10.1680/tran.10.00004.
Toan, Trinh Dinh, and Viet-Hung Truong. (2021). “Support Vector Machine for Short-Term Traffic Flow Prediction and Improvement of Its Model Training Using Nearest Neighbor Approach.” Transportation Research Record: Journal of the Transportation Research Board 2675(4):362–73. https://doi.org/10.1177/0361198120980432.
Wang, Song, Xu Xie, Kedi Huang, Junjie Zeng, and Zimin Cai. (2019). “Deep Reinforcement Learning-Based Traffic Signal Control Using High-Resolution Event-Based Data.” Entropy 21(8):744. https://doi.org/10.3390/e21080744.
Yigit, Tuncay, Ozkan Unsal, and Omer Deperlioglu. (2018). “Using the Metaheuristic Methods for Real-Time Optimisation of Dynamic School Bus Routing Problem and an Application.” International Journal of Bio-Inspired Computation 11(2):123. https://doi.org/10.1504/IJBIC.2018.091236
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Babalola Eyitemi Akilo, Samuel Abiodun Oyedotun, Godfrey Perfectson Oise, Onyemaechi Clement Nwabuokei, Nkem Belinda Unuigbokhai (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
- 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.
- NonCommercial — You may not use the material for commercial purposes.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.