Skip to main content
QUICK REVIEW

[Paper Review] Waymax: An Accelerated, Data-Driven Simulator for Large-Scale Autonomous Driving Research

Cole Gulino, Justin Fu|arXiv (Cornell University)|Oct 12, 2023
Autonomous Vehicle Technology and SafetyEngineering22 citations
TL;DR

Waymax is a differentiable, hardware-accelerated multi-agent autonomous driving simulator built on real-world data (Waymo Open Motion Dataset) to enable fast, in-graph training and benchmarking of planning agents in closed- and open-loop settings.

ABSTRACT

Simulation is an essential tool to develop and benchmark autonomous vehicle planning software in a safe and cost-effective manner. However, realistic simulation requires accurate modeling of nuanced and complex multi-agent interactive behaviors. To address these challenges, we introduce Waymax, a new data-driven simulator for autonomous driving in multi-agent scenes, designed for large-scale simulation and testing. Waymax uses publicly-released, real-world driving data (e.g., the Waymo Open Motion Dataset) to initialize or play back a diverse set of multi-agent simulated scenarios. It runs entirely on hardware accelerators such as TPUs/GPUs and supports in-graph simulation for training, making it suitable for modern large-scale, distributed machine learning workflows. To support online training and evaluation, Waymax includes several learned and hard-coded behavior models that allow for realistic interaction within simulation. To supplement Waymax, we benchmark a suite of popular imitation and reinforcement learning algorithms with ablation studies on different design decisions, where we highlight the effectiveness of routes as guidance for planning agents and the ability of RL to overfit against simulated agents.

Motivation & Objective

  • Motivate fast, realistic simulation for autonomous driving planning research while minimizing the sim-to-real gap.
  • Provide a differentiable, hardware-accelerated multi-agent simulator that can run in-graph for training on accelerators.
  • Enable online training and evaluation with both learned and hard-coded behavior models and realistic interactive agents.
  • Benchmark imitation learning and reinforcement learning planning algorithms in diverse, real-data–initialized scenarios.

Proposed method

  • Use real-world driving data from the Waymo Open Motion Dataset to initialize and playback diverse multi-agent scenarios.
  • Implement a differentiable, hardware-accelerated simulator built with JAX that runs on GPUs/TPUs and supports in-graph training.
  • Provide both multi-agent and ego-focused planning environments, with routes/goal information and reactive sim agents (e.g., IDM).
  • Define dynamic object dynamics via delta or bicycle action spaces and support various observation functions and route-on/off-route path concepts.
  • Offer a suite of metrics computed in closed-loop (e.g., route progress, off-route, off-road, collisions, kinematic infeasibility, displacement error) and multiple baseline agents (expert, BC, DQN, Wayformer).

Experimental results

Research questions

  • RQ1How can a scalable, data-driven simulator reproduce realistic multi-agent driving interactions using real-world logs?
  • RQ2Can hardware-accelerated differentiable simulation facilitate faster training and evaluation of planning policies in autonomous driving?
  • RQ3What is the impact of route conditioning and interactive sim agents on planning performance in closed-loop settings?
  • RQ4How do imitation learning and reinforcement learning baselines fare when benchmarked in Waymax against reactive simulators and logged trajectories?

Key findings

  • Waymax achieves high throughput, with Step runtime under 3 ms on GPU for batch size 16 and up to 1000+ Hz for single-step execution on GPU.
  • Route conditioning improves route following and reduces off-road and collision rates in imitation learning.”
  • Imitation with discrete bicycle actions performs competitively with expert baselines, and route-conditioned BC yields strong route adherence.
  • Training RL agents against IDM interactive agents can be less effective than against logged agents, suggesting overfitting to interactive simulator behavior.
  • Evaluation against IDM simulators reduces collisions but can hinder RL agents’ learning due to easier cooperative dynamics.
  • Waymax enables in-graph training on accelerators, enabling end-to-end differentiable simulation workflows.

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.