Skip to main content
QUICK REVIEW

[Paper Review] Driver Dojo: A Benchmark for Generalizable Reinforcement Learning for Autonomous Driving

Sebastian Rietsch, Shih-Yuan Huang|arXiv (Cornell University)|Jul 23, 2022
Autonomous Vehicle Technology and SafetyEngineering5 citations
TL;DR

Driver Dojo is a flexible, configurable benchmark environment built on SUMO for evaluating generalizable reinforcement learning in autonomous driving. It supports randomized road layouts, diverse traffic scenarios, multiple observation and action spaces, and vehicle dynamics models, enabling rigorous testing of RL policies across varied driving conditions with full reproducibility and modular design.

ABSTRACT

Reinforcement learning (RL) has shown to reach super human-level performance across a wide range of tasks. However, unlike supervised machine learning, learning strategies that generalize well to a wide range of situations remains one of the most challenging problems for real-world RL. Autonomous driving (AD) provides a multi-faceted experimental field, as it is necessary to learn the correct behavior over many variations of road layouts and large distributions of possible traffic situations, including individual driver personalities and hard-to-predict traffic events. In this paper we propose a challenging benchmark for generalizable RL for AD based on a configurable, flexible, and performant code base. Our benchmark uses a catalog of randomized scenario generators, including multiple mechanisms for road layout and traffic variations, different numerical and visual observation types, distinct action spaces, diverse vehicle models, and allows for use under static scenario definitions. In addition to purely algorithmic insights, our application-oriented benchmark also enables a better understanding of the impact of design decisions such as action and observation space on the generalizability of policies. Our benchmark aims to encourage researchers to propose solutions that are able to successfully generalize across scenarios, a task in which current RL methods fail. The code for the benchmark is available at https://github.com/seawee1/driver-dojo.

Motivation & Objective

  • To address the lack of standardized, generalizable benchmarks for reinforcement learning in autonomous driving that support robustness and transferability across diverse traffic and road configurations.
  • To enable systematic evaluation of RL algorithms on dynamic, randomized driving scenarios that simulate real-world variability in traffic behavior and infrastructure.
  • To investigate how design choices—such as action and observation space, vehicle dynamics, and scenario randomization—affect policy generalization in autonomous driving.
  • To provide a modular, performant, and reproducible codebase that supports both algorithmic research and application-oriented analysis of generalization in RL for AD.
  • To encourage development of RL agents that generalize beyond specific training scenarios, addressing a key limitation of current methods in real-world deployment.

Proposed method

  • Leverages the Simulation of Urban Mobility (SUMO) framework as the core simulation engine for realistic traffic and road network generation.
  • Employs a catalog of randomized scenario generators for intersections, roundabouts, and highway tasks with configurable parameters for road layout, traffic density, and vehicle behavior.
  • Supports multiple observation modalities (e.g., numerical, visual) and action spaces (direct and semantic), with five distinct vehicle dynamics models.
  • Introduces per-vehicle sampling for physical and behavioral attributes (e.g., speed, aggressiveness) to model heterogeneous traffic behavior.
  • Enables static scenario deployment with deterministic seeding for reproducibility, alongside dynamic randomization for generalization testing.
  • Uses a modular, high-performance codebase built with Tianshou and Hydra to support flexible environment composition and experiment configuration.

Experimental results

Research questions

  • RQ1How do different observation and action space designs impact the generalization performance of RL agents in diverse autonomous driving scenarios?
  • RQ2To what extent can standard RL algorithms (e.g., DQN, PPO, FQF) generalize across randomized road layouts and traffic conditions in autonomous driving?
  • RQ3How does the inclusion of heterogeneous vehicle behaviors and dynamic traffic initialization affect policy robustness and generalization?
  • RQ4Can a unified benchmark environment with configurable scenario generation improve reproducibility and comparability across RL research in autonomous driving?
  • RQ5What are the failure modes of current RL methods when tested on unseen, randomized driving scenarios beyond standard training distributions?

Key findings

  • Policies trained on the Intersection scenario with the TPS action space showed a crash rate of 16.25% and completion rate of 55.91% for FQF-100, indicating moderate generalization performance.
  • In the Highway-Exit scenario, the FQF-100 agent achieved a crash rate of 10.49% and completion rate of 29.92%, highlighting significant challenges in generalization for complex highway maneuvers.
  • Training with 10,000 episodes led to a substantial drop in completion rate (e.g., from 59.06% to 34.87% for DQN on Intersection), indicating overfitting to specific training conditions.
  • The PPO agent on the Intersection scenario achieved a 56.06% completion rate with a 23.87% crash rate when trained on 100 episodes, suggesting better sample efficiency than DQN under the same conditions.
  • Vision-based models required more compute and showed higher variance in performance, with training on GPU nodes using four Tesla V100s and 187GB RAM, indicating computational intensity.
  • The benchmark enabled full reproducibility through deterministic seeding and modular configuration, with all experiments documented in the GitHub repository’s README.md.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.