Driver Dojo: A Benchmark for Generalizable Reinforcement Learning for Autonomous Driving

Sebastian Rietsch, Shih-Yuan Huang, Georgios D. Kontes, Axel Plinge, Christopher MutschlerarXiv 2022 · DOI

Abstract

Current reinforcement learning (RL) approaches for autonomous driving (AD) often suffer from overfitting, where agents "memorize" specific training maps but fail to generalize to novel environments. We introduce Driver Dojo, an open-source benchmark designed to evaluate and improve the generalization capabilities of AD agents. By utilizing procedural generation and reactive traffic simulation, Driver Dojo provides a diverse and challenging environment that exposes the limitations of state-of-the-art RL algorithms.

Introduction

While Reinforcement Learning has achieved remarkable success in closed systems with static rules, autonomous driving presents a far more complex "multi-faceted" environment. An effective AD agent must navigate infinite variations in road geometry while interacting with unpredictable human drivers. A significant hurdle in current research is the "generalization gap": agents frequently overfit to their training data, failing when faced with slightly altered intersections or different traffic behaviors. Existing benchmarks often lack the procedural diversity or reactive traffic necessary to rigorously test true driving competence.

The Driver Dojo Framework

Driver Dojo is a modular framework that integrates industry-standard tools to create a high-fidelity, diverse simulation environment. It uses SUMO (Simulation of Urban Mobility) as its backbone for realistic, reactive traffic modeling and can interface with Carla for advanced 3D rendering and sensor simulation.

The Driver Dojo system architecture, illustrating the integration of SUMO, Carla, and procedural generation components.

Key features of the framework include:

  • Procedural Generation: Road layouts, including intersections and highway ramps, are generated using geometric curves (clothoids), ensuring a near-infinite variety of training and testing scenarios.
  • Diverse Driver Personalities: To simulate realistic human behavior, the benchmark randomizes 34 parameters for non-ego vehicles, such as impatience, pushiness, and time-headway.
  • Flexible Action Spaces: Researchers can choose between low-level direct control (steering/throttle) and high-level semantic actions (e.g., lane changes).

Benchmark Scenarios and Datasets

The benchmark suite focuses on five critical driving scenarios: roundabouts, multi-way intersections, highway entries, highway driving, and highway exits. Unlike static datasets, these scenarios are procedurally varied to prevent agents from simply memorizing routes.

An example of a procedurally generated 3-way intersection within the Driver Dojo environment.

Experimental Insights

The authors' evaluation of popular RL algorithms (PPO, DQN, FQF) revealed several surprising insights into the nature of generalization in AD:

  • The Generalization Paradox: In a surprising finding, agents trained on a smaller set of scenarios (100) sometimes outperformed those trained on a massive set (10,000). This suggests that excessive diversity might introduce "noise-like" gradients that destabilize current RL architectures, indicating a need for greater network capacity.
  • Action Space Design: Discrete action spaces were found to generalize better than continuous ones in these settings. Furthermore, high-level semantic actions proved more effective for generalization than raw actuator control.

Performance Results

The benchmark proved to be highly challenging. Even the best agents rarely achieved a completion rate (CoR) above 50% in complex scenarios like roundabouts. In terms of safety, the Fully Parameterized Quantile Function (FQF) algorithm generally exhibited the lowest crash rates. For instance, in roundabout tests, FQF-100 achieved a crash rate of 21.81%, significantly lower than PPO-100's 35.70%. Despite its complexity, the benchmark remains accessible; training a PPO agent for 10 million steps takes approximately 24 hours on a standard consumer workstation.

Conclusion and Future Directions

Driver Dojo highlights the significant gap between current RL performance and the requirements for safe, generalizable autonomous driving. Future work will expand the benchmark to include a wider variety of vehicles (trucks, buses), vulnerable road users (pedestrians, cyclists), and static obstacles like construction zones. The authors also suggest that "Unsupervised Environment Design" may be a promising path forward to automatically generate curricula that help agents bridge the generalization gap.

Summary updated

BibTeX
@misc{rietsch2022driver,
  author = {Sebastian Rietsch and Shih-Yuan Huang and Georgios D. Kontes and Axel Plinge and Christopher Mutschler},
  title = {{Driver Dojo: A Benchmark for Generalizable Reinforcement Learning for Autonomous Driving}},
  year = {2022},
  eprint = {2207.11432},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.11432},
}
Figure