Introduction
Traffic congestion is a significant economic and environmental challenge in urban planning. Traditional traffic control systems, such as fixed-time or sensor-actuated rules, often lack the flexibility to adapt to the non-linear and chaotic nature of real-world traffic. This paper investigates the application of a Deep Q-Network (DQN) reinforcement learning agent to create an adaptive traffic light controller. By training in a high-fidelity simulator, the researchers aim to develop a system that responds dynamically to vehicle densities and queue lengths, prioritizing traffic stability and safety.
Methodology
The core of the proposed system is a Reinforcement Learning (RL) framework utilizing a Deep Q-Network. The agent interacts with the environment—a simulated intersection—to learn optimal signal timing through trial and error.
The RL Framework
The DQN agent estimates the Q-value for discrete actions (switching between Green, Yellow, and Red signal states) based on the current state of the intersection. The state representation includes critical metrics such as traffic density, queue lengths, and vehicle waiting times. A custom reward function was designed to penalize excessive waiting times while ensuring a balance between green and red phases across different directions, preventing the neglect of low-volume side streets.
Simulation Environment
To facilitate safe and large-scale training, the researchers utilized SUMO (Simulation of Urban Mobility), an open-source microscopic traffic simulator. The study specifically employed the Luxembourg SUMO Traffic (LuST) scenario, which provides a realistic urban road network with over 4,000 junctions and 200 traffic lights, simulating authentic traffic demand through randomly generated vehicle movements.
Results and Discussion
The performance of the DQN agent was evaluated against a standard rule-based (static) system. While the RL approach did not significantly reduce average travel times, it demonstrated a profound impact on traffic "smoothness."
Performance Metrics
The most striking result was a 44.16% reduction in emergency stops compared to the rule-based baseline. This suggests that the DQN agent learned to manage signal transitions more effectively, reducing the dangerous "stop-and-go" behavior common in congested areas. Although the mean waiting time saw a slight increase (+24.8%), other metrics like depart delay and time loss remained comparable or showed slight improvements.
| Metric | Rule-Based (Mean) | DQN (Mean) | Improvement |
|---|---|---|---|
| Emergency Stops | 165.5 | 92.4 | -44.16% |
| Waiting Time | 74.07s | 92.43s | +24.8% |
| Time Loss | 147.60s | 149.43s | Negligible |
| Depart Delay | 4.34s | 4.25s | -2.07% |
Insights and Future Directions
The findings highlight a trade-off between raw speed and traffic stability. The RL agent prioritizes a smoother flow, which can lead to lower emissions and fewer accidents. However, the study also identified limitations, such as the simplified action space and potential overfitting to the Luxembourg scenario. Future work will explore more advanced RL algorithms like PPO or SAC and incorporate more complex signal phases (e.g., dedicated left-turn signals) to further enhance urban mobility.
Summary updated