Role-aware Multi-agent Reinforcement Learning for Coordinated Emergency Traffic Control

Ming Cheng, Hao Chen, Zhiqing Li, Jia Wang, Senzhang WangNeurIPS 2025

Introduction

When an ambulance or fire truck is racing through a city, every second counts. Traditionally, traffic management systems handle this with "green waves"—switching traffic lights to green along the emergency vehicle's (EMV) path. However, this approach has two major flaws. First is the Seesaw Problem: prioritizing an EMV often comes at a heavy cost to regular traffic, leading to massive congestion elsewhere. Second is a Lack of Coordination: most systems only control traffic lights. They don't instruct the EMV to take a slightly longer but faster bypass, nor do they direct regular vehicles (REVs) to move out of the way before the emergency vehicle even arrives.

To address these challenges, researchers have proposed the Role-aware Multi-agent Traffic Control (RMTC) framework. This novel reinforcement learning approach coordinates traffic lights, EMVs, and REVs simultaneously. By dynamically assigning "roles" to agents based on their proximity to an emergency, RMTC significantly slashes EMV travel times while actually improving the overall flow of regular traffic.

Comparison of traditional traffic control versus coordinated navigation

Methodology: The RMTC Framework

The RMTC framework moves beyond simple traffic light control by treating every vehicle and light as an intelligent agent in a Multi-agent Reinforcement Learning (MARL) environment. It tackles the complex interdependencies between lights and vehicles through several key innovations:

Heterogeneous Temporal Traffic Graph (HTTG)

The system builds a dynamic "social network" of traffic. In this graph, nodes represent traffic lights and vehicles, while edges represent their relationships (e.g., a light's influence on a car, or an EMV's impact on nearby REVs). This allows the system to model spatial and temporal relationships at every time step.

Heterogeneous Temporal Traffic Graph

Dynamic Role Learning

Instead of relying on static rules, agents learn fluid "roles" through three specific constraints:

  • EMV Position Impacting: Uses Mutual Information (MI) to ensure an agent's role reflects its proximity to the emergency.
  • EMV Trajectory Impacting: Ensures agents anticipate where the EMV is heading, rather than just reacting to its current location.
  • Role Consistency: Employs a contrastive loss that prevents agents from "flickering" between roles, ensuring stable behavior over time.

An agent's role is not fixed. For instance, a regular car acts as an "assistant" when an ambulance is behind it but reverts to a "normal commuter" once the ambulance passes.

Role-aware MARL

The agents utilize Proximal Policy Optimization (PPO), making decisions based on both their local observations and their learned role embeddings. Agents receive an intrinsic "teamwork bonus" when their actions align with the EMV’s needs, encouraging REVs to yield and lights to clear paths proactively.

Experimental Setup and Key Results

The researchers evaluated RMTC across four distinct scenarios, including synthetic grids (Grid 4×4 and Avenue 4×4) and real-world city layouts (Cologne8 in Germany and FengLin in China). The real-world datasets feature irregular junctions and asymmetric lane configurations to test the system's robustness.

RMTC consistently outperformed state-of-the-art baselines (such as EMVlight and RECAL) across all key metrics:

  • EMV Speedup: In the complex real-world scenarios (Cologne8 and FengLin), RMTC reduced EMV travel time by 23.40% and 23.52% respectively compared to the best-performing baselines.
  • REV Efficiency: Unlike traditional methods that cause gridlock to help EMVs, RMTC actually reduced regular vehicle travel time by 5-8%.
  • Scalability: The system demonstrated a near-linear increase in computation time as the number of traffic lights increased, indicating strong potential for scaling to larger city networks.

Limitations and Future Work

While highly effective, the authors acknowledge two primary limitations. First, the coordination mechanism is specifically designed for emergency events; its benefits are only realized when an EMV is active in the network. Second, the model relies on a "perfect driver" assumption, expecting all vehicles to strictly follow the navigation routes provided by the system. In reality, human drivers might ignore instructions or make mistakes, which could reduce the framework's effectiveness.

Future work will likely focus on making the system more robust to non-compliant drivers and exploring integration with existing consumer navigation applications to bridge the gap between simulation and real-world deployment.

Summary updated

BibTeX
@inproceedings{cheng2025role,
  author = {Ming Cheng and Hao Chen and Zhiqing Li and Jia Wang and Senzhang Wang},
  title = {{Role-aware Multi-agent Reinforcement Learning for Coordinated Emergency Traffic Control}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=R3xbcRIzUd},
}
Figure