AI-Based Adaptive Traffic Signal Optimization Under Irregular Traffic Conditions
| dc.contributor.author | Hasaranga, H. W. S. | |
| dc.contributor.author | Athukorala, D. D. | |
| dc.contributor.author | Karunarathne, W. G. M. D. S. | |
| dc.contributor.author | Atapattu, H. Y. R. | |
| dc.date.accessioned | 2026-11-19T09:04:05Z | |
| dc.date.issued | 2026 | |
| dc.description.abstract | Urban traffic in Sri Lanka is significantly affected by irregular conditions caused by accidents, peak-hour congestion, and emergency vehicle movements. Non-adaptable conventional fixed-time traffic signal systems result in delays, fuel wastage, and higher CO2 emissions. This study presents an AI-based adaptive traffic signal control system to optimize irregular and mixed traffic conditions, using the Nugegoda-Delkanda intersection in Sri Lanka as a case study. In the perception phase, 04 USB cameras (720 pixels, 30 fps) were used to capture live traffic at the intersection. The YOLOv26 (toy: 7,255, 05; emergency: 4,180, 03; non-emergency: 5,300+, 11), accompanied by Centroid Tracker, was used to detect vehicle position, class, speed, and waiting time. In the decision phase, traffic data was converted into a 287-dimensional state vector (spatial-240, context-43, LSTM queue predictor-4). Subsequently, a Dueling Double Deep Q-Network agent incorporating Squeeze-and-Excitation blocks & Prioritized Experience Replay was trained in SUMO to decide whether to change or hold the traffic signal. In the actuation phase, a prototype was developed with two ESP32 microcontrollers, and commands were communicated via TCP to control the straight and right-turn signals independently. The developed system supported reducing vehicle waiting times by 28.9% with respect to fixed-time control, while the three-seed average reduction was 11.0%. The spatial matrix was the most significant component in ablation tests; removing it reduced performance by 5.4%, followed by emergency vehicle (4.7%) and scalar vector (2.5%) features. Within 200 ms, the lane-aware emergency override system recognized emergency vehicles and changed the appropriate signal in 500 ms. Validation on a scaled physical prototype, the system achieved real-time operation at ~30 fps, an RL inference time <10 ms, and a decision latency of ~120 ms. Hence, complicated and irregular road conditions can be handled using deep reinforcement learning with improved efficiency, while reducing fuel wastage and CO2 emissions. | |
| dc.identifier.citation | Hasaranga, H. W. S., Athukorala, D. D., Karunarathne, W. G. M. D. S., & Atapattu, H. Y. R. (2026). AI-Based Adaptive Traffic Signal Optimization Under Irregular Traffic Conditions. Proceedings of the University of Colombo International Conference (UCIC) 2026, University of Colombo, Sri Lanka, p.38. | |
| dc.identifier.isbn | 978-624-5518-87-6 | |
| dc.identifier.uri | https://archive.cmb.ac.lk/handle/70130/9370 | |
| dc.language.iso | en | |
| dc.publisher | University of Colombo | |
| dc.subject | Adaptive Traffic Signal Optimization | |
| dc.subject | Deep Reinforcement Learning | |
| dc.subject | Dueling DQN | |
| dc.subject | Irregular Traffic Conditions | |
| dc.subject | SUMO Simulation | |
| dc.title | AI-Based Adaptive Traffic Signal Optimization Under Irregular Traffic Conditions | |
| dc.type | Article |
