Scenario-Based Curriculum Generation for Multi-Agent Driving

Axel Brunnbauer, Luigi Berducci, Peter Priller, Dejan Nickovic, Radu GrosuICRA 2025

Abstract

Training robust autonomous driving policies requires exposure to diverse and challenging multi-agent interactions. Traditional manual scenario design is a significant bottleneck in this process. This paper presents MATS-Gym, an open-source framework that bridges high-fidelity simulation with flexible scenario scripting and adaptive curriculum learning. By modeling driving as a Partially Observable Stochastic Game (POSG) and employing Unsupervised Environment Design (UED), MATS-Gym automates the creation of diverse training tasks. Our results demonstrate that prioritizing scenarios with high "regret" allows agents to learn more effectively at their "learning frontier," leading to superior performance and robustness compared to standard domain randomization techniques.

Introduction

The development of autonomous vehicles (AVs) relies heavily on simulated training to bridge the "sim-to-real" gap. However, two primary challenges persist: the manual labor required to script complex multi-agent scenarios and the inefficiency of static training environments. If scenarios are too simple, learning plateaus; if too complex, agents fail to converge. Existing frameworks often sacrifice visual fidelity for speed or lack the infrastructure for automated, multi-agent scenario scaling.

Researchers from TU Wien and AVL List address these issues with MATS-Gym. This framework combines the high-fidelity CARLA simulator with the Scenic scenario description language to automate the generation of adaptive auto-curricula that evolve in difficulty alongside the driving agents.

Methodology

MATS-Gym reconciles scenario execution engines with multi-agent reinforcement learning (MARL) frameworks through several key components:

POSG Modeling

The environment is modeled as a Partially Observable Stochastic Game (POSG). This formulation treats driving as a strategic interaction where agents possess limited global information and must account for the inherent uncertainty in the actions of other road users.

Scenic Integration and Procedural Generation

By leveraging the Scenic language, researchers can define "partial scenarios"—logical descriptions of traffic interactions (e.g., an unprotected left turn). The system then automatically samples specific parameters such as vehicle types, speeds, and initial positions.

A multi-agent scenario in CARLA showing five vehicles and pedestrians at an intersection.

MATS-REPAIRED Algorithm

The core of the curriculum generation is the MATS-REPAIRED algorithm, which utilizes Unsupervised Environment Design (UED). It prioritizes the generation of scenarios with high "regret"—defined as tasks where the agent's current performance is significantly lower than a theoretical maximum. This mechanism ensures training remains focused on the agent's learning frontier.

Results and Discussion

Evaluation of MATS-Gym across various urban intersection scenarios yielded several key insights:

Action Space Abstraction

The study explored the trade-offs between low-level control (steering/throttle) and high-level macro actions (lane following). While low-level control offers maximum flexibility, it is harder to learn. High-level actions provide safety but can lead to deadlocks in dense traffic, suggesting that action abstraction must be carefully tuned to the specific task.

Curriculum Effectiveness

The Dual Curriculum Design (DCD) approach successfully steered the training distribution from simple straight-line paths to complex, crowded intersections. Agents trained with this adaptive curriculum demonstrated better generalization on unseen test scenarios compared to those trained with standard domain randomization, which often suffered from performance degradation in later training stages.

Example of a Scenic scenario description used to define the logic of the training environment.

Framework Comparison

In a comparative analysis of eight major traffic simulation frameworks, MATS-Gym was uniquely identified as supporting the complete suite of scenario sampling, high-fidelity sensor simulation, diverse urban/highway traffic, and MARL integration.

Conclusion

MATS-Gym provides a powerful bridge between scenario scripting and automated curriculum learning for autonomous driving. While current experiments focus on single intersections, future work will address scaling to city-wide coordination and dynamic switching between different levels of action abstraction. Ultimately, the framework offers a scalable path toward preparing autonomous agents for the unpredictable complexities of real-world roads.

Summary updated

BibTeX
@inproceedings{brunnbauer2025scenario,
  author = {Axel Brunnbauer and Luigi Berducci and Peter Priller and Dejan Nickovic and Radu Grosu},
  title = {{Scenario-Based Curriculum Generation for Multi-Agent Driving}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2025},
  doi = {10.1109/icra55743.2025.11128162},
}
Figure