Distributionally Robust Multi-Agent Reinforcement Learning for Intelligent Traffic Control

Shuwei Pei, Joran Borger, Arda Kosay, Muhammed O. Sayin, Saeed AhmedarXiv 2025 · DOI

Introduction

Urban traffic congestion is a persistent challenge that standard signal control systems often struggle to manage effectively. While Reinforcement Learning (RL) has shown promise in optimizing traffic flow, most models are designed for average conditions. These "average-case" controllers frequently fail during "tail" events—unusual spikes in demand, accidents, or highly imbalanced flows—leading to gridlock and upstream spillback.

This paper introduces a Distributionally Robust Multi-Agent Reinforcement Learning (DR-MARL) framework. Unlike traditional approaches, DR-MARL explicitly trains traffic signal controllers to handle atypical, high-congestion scenarios. By employing an adversarial training mechanism, the system achieves significant improvements in both queue management and vehicle speeds during peak stress conditions.

Methodology

The core of the DR-MARL approach is a three-stage training pipeline designed to harden the controller against difficult traffic patterns.

The DR-MARL training architecture, illustrating the interaction between the MARL agents, the SUMO environment, and the adversarial worst-case estimator.
  1. Baseline MARL Training: Initially, a standard multi-agent RL controller is trained using Proximal Policy Optimization (PPO). This training occurs on a balanced distribution of synthetic traffic scenarios. The agents operate under a Centralized Training, Decentralized Execution (CTDE) paradigm, allowing them to learn coordinated strategies while making real-time decisions based on local sensor data.
  2. Contextual-Bandit Worst-Case Estimator (CB-WCE): An adversarial model, implemented as a contextual bandit, is introduced. Its objective is to observe the current state of the traffic grid and select a mixture of demand patterns that maximizes total waiting time. This "adversary" effectively identifies the specific traffic configurations that the current controller finds most challenging.
  3. Robust Fine-Tuning: The baseline controller is retrained against the demand mixtures generated by the CB-WCE. This creates a feedback loop: as the controller improves, the adversary discovers new ways to induce congestion, forcing the controller to develop increasingly robust strategies. This process enhances performance without requiring changes to the underlying neural network architecture.

The system was evaluated using the SUMO (Simulation of Urban MObility) and FLOW frameworks, calibrated to a 3×3 grid representing central Athens.

Experimental Setup and Datasets

The researchers utilized several key datasets to ensure realistic and challenging evaluations:

  • pNEUMA: Drone-recorded vehicle trajectories from Athens, Greece, were used to calibrate the simulation's geometry and provide a primary real-world demand scenario.
  • Synthetic Scenarios: Seven additional demand patterns were developed to simulate various spatial and temporal distributions, such as inbound flows, corridor movements, and cross-town diagonal patterns.
  • Sioux Falls Network: To test generalization, the model was validated on the classic Sioux Falls benchmark, an entirely different city layout unseen during training.

Key Results

The DR-MARL controller demonstrated superior performance across all metrics, particularly in the most demanding scenarios.

Comparison of queue lengths over time for the worst-performing groups in both the baseline and DR-MARL models.
  • Worst-Case Performance: In the most difficult scenarios, DR-MARL reduced average queue lengths by 51.2% and increased average speeds by 38.4% compared to the baseline.
  • Consistency and Stability: Across the eight training scenarios, queue reductions ranged from 21% to 69%. Visual analysis shows that while baseline queues often diverged toward gridlock, the DR-MARL controller maintained stable, manageable queue lengths.
  • Generalization: On the unseen Sioux Falls network, the model maintained its advantage, reducing queues by 41.6% and increasing speeds by 22.9%. This indicates that the model learned robust control principles rather than simply memorizing the Athens grid.

Discussion and Conclusion

The success of DR-MARL highlights the importance of training distribution over architectural complexity. By "upweighting" difficult scenarios through adversarial reweighting, the RL agents are forced to prioritize the hardest problems, leading to a "battle-hardened" controller. The two-timescale learning approach—where agents act every second but the adversary adapts every ten minutes—ensures that the adversary reacts to the long-term stability of the traffic state.

While the current study focused on a 3×3 grid, future work will explore scaling these robust strategies to larger, more complex urban networks. Additionally, moving toward a fully co-evolutionary training process, where the adversary and controller adapt simultaneously, may further push the boundaries of traffic signal robustness.

Summary updated

BibTeX
@misc{pei2025distributionally,
  author = {Shuwei Pei and Joran Borger and Arda Kosay and Muhammed O. Sayin and Saeed Ahmed},
  title = {{Distributionally Robust Multi-Agent Reinforcement Learning for Intelligent Traffic Control}},
  year = {2025},
  eprint = {2512.18558},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.18558},
}
Figure