🤖 Smarter Intersections, Smoother Cities
In sprawling metropolises like Tehran, drivers spend nearly 24% of their travel time idling at intersections. Traditional fixed-time traffic lights simply cannot adapt to the chaotic, stochastic nature of urban traffic flow. To solve this, our research deploys Reinforcement Learning (RL)—an advanced branch of Artificial Intelligence—to create traffic signals that learn, adapt, and optimize the network in real-time.
Our research, presented at the 8th National Conference on Civil Engineering, Architecture and Sustainable Urban Development of Iran, details a novel heuristic algorithm that elevates Adaptive Traffic Signal Control (ATSC) from a local, single-intersection level to a coordinated, network-wide scale.
The Algorithm: Sensing the Future
Unlike standard controllers that react only when vehicles reach the stop line, our RL-based algorithm looks ahead. By utilizing upstream inductive loop sensors, the system anticipates incoming traffic waves before they arrive at the intersection.
The Reinforcement Learning agent continuously interacts with the traffic environment:
- State: The agent observes the current queue lengths, active phases, and the volume of incoming upstream traffic.
- Action: It dynamically decides whether to extend the current green phase, terminate it early, or switch to the next phase to maximize flow.
- Reward: The agent receives a mathematical “reward” based on its success in minimizing total delay and clearing queues.
Over time, the algorithm learns the optimal policies for vastly different traffic patterns, without requiring rigid, hard-coded rules.
Interactive Concept: The RL Learning Loop
Learns the optimal policy
SUMO Urban Network
Interactive Diagram: The continuous feedback loop of a Reinforcement Learning ATSC agent.
Simulation and Network-Wide Impact
We tested the proposed algorithm on a highly accurate SUMO (Simulation of Urban Mobility) model encompassing a 20-square-kilometer area of Tehran. The simulation ran over seven consecutive days to capture a wide array of traffic scenarios, including severe peak-hour congestion.
The results demonstrated a massive leap in efficiency compared to conventional fixed-time systems:
- 62% Reduction in Travel Time: Drivers experienced dramatically shorter delays, as the RL agents dynamically cleared incoming platoons of vehicles.
- Improved Capacity: The overall network capacity improved by up to 3%. By preventing upstream blockages and spillback (gridlock), the network could safely absorb more vehicles.
By treating the entire urban grid as a learning environment, this RL-based heuristic algorithm proves that AI can not only manage traffic but actively learn to prevent congestion before it even begins.
For full details, refer to the original paper:
@inproceedings{Movahedi2020,
author = {Movahedi, Mohammad and Kambouzia, Neda and Ziari, Hassan},
title = {Presenting a Heuristic Algorithm Based on Reinforcement Learning for Optimal Control of Adaptive Traffic Lights at the Network Level},
booktitle = {8th National Conference on Civil Engineering, Architecture and Sustainable Urban Development of Iran},
year = {2020}
}