Towards Robust Deep Reinforcement Learning for Traffic Signal Control: Demand Surges, Incidents and Sensor Failures

Filipe Rodrigues, Carlos Lima Azevedo

Introduction

Deep Reinforcement Learning (RL) has emerged as a powerful tool for traffic signal control (TSC), offering the potential to dynamically optimize urban flow. However, most existing models are developed in idealized "lab" environments. In real-world urban settings, controllers must contend with "exogenous" shocks—unpredictable events such as sudden demand surges from large public gatherings, lane-blocking accidents, or hardware failures in loop detectors.

When trained only on steady-state data, RL agents can become brittle, failing catastrophically when faced with these uncertainties. This research addresses the critical need for robustness in RL-based TSC, introducing a standardized framework for evaluation and proposing architectural strategies to ensure urban reliability.

The CAREL Framework

To bridge the gap between simulation and real-world deployment, the authors developed CAREL (CAllback-based REinforcement Learning). Unlike traditional setups where an RL agent controls the simulation loop, CAREL is designed to mimic real-world traffic controllers. It allows the simulator (in this study, AIMSUN Next) to trigger the RL agent via an API only when a control decision is required.

The CAREL framework architecture facilitates the interaction between the simulation environment and the RL controller.

This architecture ensures that the RL agent operates as a modular component, making it easier to integrate with existing traffic management systems and test against various stress scenarios.

Robust Controller Design

The study utilizes a Dueling Deep Q-Network (DQN) and introduces several design choices specifically aimed at increasing resilience:

  • State Representation: To mitigate sensor failures, the agent uses the maximum queue length across all lanes in a traffic phase rather than individual lane data. This "max" operator acts as a natural filter; if one sensor fails and reports zero, the agent can still rely on other active sensors in the same phase. Additionally, "elapsed time since last green" is included to prevent "starvation" of minor roads.
  • Action Space: The authors found that phase-selection (choosing any valid phase) is significantly more effective than time-extension (adding fixed increments to the current green), particularly during high-demand periods.
  • Dropout for Robustness: Typically used to prevent overfitting, Dropout is applied here between fully connected layers to prevent the network from over-relying on specific input sensors. This forces the model to learn redundant representations, maintaining performance even if parts of its input data become unavailable.
  • Transfer Learning: To handle sudden surges, the researchers demonstrate that models pre-trained on normal traffic can be rapidly adapted to "surge" scenarios, significantly reducing the training time required to reach stability in a new environment.

Evaluation and Results

The system was tested using real-world loop sensor data from a four-leg intersection, supplemented by synthetic stress scenarios including demand surges (up to 2.5x normal traffic), road blocks, and bursty sensor failures modeled via a Markov process.

Key findings include:

  1. Superiority over Baselines: The phase-selection RL agent consistently outperformed optimized fixed-time and actuated traditional controllers.
  2. Resilience to Failures: Models trained with Dropout maintained stable travel times during sensor failures, whereas models without it experienced significant performance degradation.
  3. Rapid Adaptation via Transfer Learning: As shown in the results, a pre-trained agent can adapt to a massive demand surge in just a few episodes.
Total travel time comparison showing the efficiency of transfer learning in adapting to new traffic scenarios compared to training from scratch.

Furthermore, the study highlighted that robustness is not an emergent property but must be an explicit part of the training curriculum. Agents trained with "incident experience" (e.g., partial road blocks) maintained travel times near 250 sec/km, while inexperienced agents saw spikes up to 800 sec/km.

Conclusion

This work demonstrates that while standard RL models may struggle with real-world chaos, specific architectural choices—such as Dropout, robust state representations, and transfer learning—can create highly resilient traffic controllers. Future work will focus on extending these robust techniques to networked intersections, where coordination between multiple controllers is essential for city-wide traffic management.

Summary updated

BibTeX
@inproceedings{rodrigues2019towards,
  author = {Filipe Rodrigues and Carlos Lima Azevedo},
  title = {{Towards Robust Deep Reinforcement Learning for Traffic Signal Control: Demand Surges, Incidents and Sensor Failures}},
  booktitle = {ITSC},
  year = {2019},
  doi = {10.1109/itsc.2019.8917451},
}
Figure