IntersectionZoo: Eco-driving for Benchmarking Multi-Agent Contextual Reinforcement Learning

Vindula Jayawardana, Baptiste Freydt, Ao Qu, Cameron Hickert, Zhongxia Yan, Cathy Wu

TL;DR

IntersectionZoo is a massive new benchmark suite designed to bridge the gap between simulated multi-agent reinforcement learning (RL) and messy real-world applications. By simulating cooperative eco-driving across 16,334 intersections in 10 US cities, it provides over one million data-driven scenarios to test how well AI agents can generalize across diverse "contexts" like weather, road geometry, and traffic demand.

The Generalization Gap in Multi-Agent RL

While multi-agent RL (MARL) has seen incredible success in controlled environments and games, it often fails when deployed in the real world. A primary reason is the generalization gap: an agent trained to drive in a sunny, flat suburb might fail miserably in a snowy, hilly city.

The field of Contextual Reinforcement Learning (CRL) aims to solve this by training policies that can adapt to varying "contexts" (problem variations). However, the community has lacked a standardized, large-scale benchmark for multi-agent CRL. Existing benchmarks are often too simple (like grid worlds), lack real-world data distributions, or focus only on single-agent scenarios.

Comparison of IntersectionZoo with existing RL benchmarks.

IntersectionZoo fills this void by grounding the problem in a high-stakes, real-world task: reducing vehicular emissions through cooperative driving.

Methods & Architecture

The authors frame the problem as a Contextual Multi-Agent Markov Decision Process (CMDP). To build a robust simulation environment, they introduce a three-layered architecture:

The three-layered architecture of IntersectionZoo.
  1. Traffic Scenario Modeling Layer: Uses real-world data to reconstruct intersection topologies, road grades, and speed limits. It incorporates contextual factors like temperature, humidity, and vehicle age distributions.
  2. CMDP Modeling Layer: Interfaces with SUMO (an industry-grade traffic simulator) and a neural surrogate of MOVES (the EPA’s gold-standard emission model). This layer defines the states, actions (longitudinal acceleration), and multi-objective rewards.
  3. User Configuration Layer: Provides a standardized interface with RLlib, allowing researchers to easily plug in different MARL algorithms for benchmarking.

A key innovation in the environment is the use of "Controlled Vehicles" (CVs) to implicitly influence "Human Driven Vehicles" (HDVs) through car-following dynamics. This creates a mixed-autonomy environment where local cooperation is essential for system-wide efficiency.

Datasets and Real-World Grounding

IntersectionZoo is built on an impressive foundation of real-world data to ensure high fidelity:

  • 16,334 Signalized Intersections: Derived from 10 major US cities (including NYC, LA, Chicago, and Atlanta).
  • One Million Scenarios: Generated by varying traffic demand (peak vs. off-peak), weather seasons, and eco-driving adoption levels (10% to 100% CVs).
  • Calibrated Human Behavior: The authors used drone-based vehicle trajectory data to calibrate the Intelligent Driver Model (IDM), ensuring the simulated human drivers behave realistically.
  • Emission Data: Sourced from the EPA’s MOVES database to create accurate neural emission models.

Key Insights and Results

Eco-driving is inherently difficult because it involves competing objectives—reducing emissions versus maintaining travel time—and requires long-horizon planning. This makes it an ideal "stress test" for CRL.

To accurately measure success, the authors propose a new metric: Effective Emission Benefits. This metric only counts emission reductions if the intersection's throughput (the number of cars passing through) isn't compromised, preventing agents from "cheating" by simply stopping traffic to lower emissions.

The authors benchmarked several popular algorithms, including PPO, DDPG, MAPPO, and MADDPG, revealing several critical findings:

  • MARL vs. Heuristics: In many cases, MARL algorithms (specifically DDPG and MADDPG) outperformed GLOSA, a standard rule-based eco-driving heuristic. In Atlanta, MADDPG achieved a 4.47% effective emission benefit over the human baseline.
  • The Generalization Struggle: While agents could learn to perform well in a specific city (In-Distribution), they struggled significantly when tested on new cities or unseen combinations of traffic factors (Out-of-Distribution).
  • Zero-Shot Failure: Popular algorithms often failed to generalize "systematically"—meaning they couldn't effectively combine known pieces of knowledge to solve novel traffic configurations.

Limitations and Future Work

The authors acknowledge a few key limitations that pave the way for future research. Currently, the benchmark primarily focuses on continuous longitudinal control (acceleration/braking); while discrete lane-changing is supported, it wasn't the primary focus of this initial benchmarking. Additionally, despite high-fidelity modeling, a sim-to-real gap remains, suggesting future work could incorporate more complex sensor noise. Finally, scaling this suite from individual intersections to entire urban networks remains a daunting but exciting future direction.

Summary updated

BibTeX
@inproceedings{jayawardana2025intersectionzoo,
  author = {Vindula Jayawardana and Baptiste Freydt and Ao Qu and Cameron Hickert and Zhongxia Yan and Cathy Wu},
  title = {{IntersectionZoo: Eco-driving for Benchmarking Multi-Agent Contextual Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=XoulHHQGFi},
}
Figure