DriveArena: A Closed-loop Generative Simulation Platform for Autonomous Driving

Xuemeng Yang, Licheng Wen, Yukai Ma, Jianbiao Mei, Xin Li, Tiantian Wei, Wenjie Lei, Daocheng Fu, Pinlong Cai, Min Dou, Botian Shi, Liang He, Yong Liu, Yu Qiao · DOI

TL;DR

This paper introduces DRIVEARENA, a novel high-fidelity, closed-loop simulation platform for autonomous driving (AD) agents. It uniquely combines a realistic generative visual environment (World Dreamer) with a dynamic traffic simulator (Traffic Manager) to enable agents to learn and be evaluated in truly interactive, complex scenarios, moving beyond the limitations of static datasets.

What Problem Does This Paper Address?

Evaluating autonomous driving (AD) systems in real-world scenarios is challenging and potentially dangerous. Traditional methods often rely on replaying recorded datasets (open-loop), which fail to capture the crucial aspect of how an AD agent's actions influence its environment and vice-versa. This "closed-loop" interaction is vital for developing robust AD systems that can handle emergent behaviors and cumulative errors. Existing simulators often suffer from a "sim-to-real" gap, lacking visual fidelity or failing to accurately model complex traffic interactions, making it difficult to seamlessly integrate and test AD agents trained in the real world.

Methods

DRIVEARENA is built around a flexible, modular architecture with two core components:

  • Traffic Manager: This component simulates realistic, interactive traffic flow on any road network worldwide, using data from OpenStreetMap. It handles vehicle movements, collision detection, and provides the underlying scene layout. It supports both open-loop (Traffic Manager controls ego vehicle) and closed-loop (AD agent controls ego vehicle) modes.
  • World Dreamer: This is a high-fidelity, conditional generative model that creates realistic, multi-view camera images of the simulated environment. It's based on a diffusion model and uses various inputs like map layouts, text prompts, and reference images to generate scenes with controllable styles, weather, and lighting. Crucially, it ensures temporal and cross-view consistency for a coherent visual experience.

The system operates in a closed loop: World Dreamer generates images, the AD agent processes these images and outputs a trajectory, which is fed back to the Traffic Manager to update the simulation state, creating a continuous feedback cycle.

Datasets

  • Training: The World Dreamer model is trained on the nuScenes dataset.
  • Evaluation: The paper also uses nuPlan datasets for scalability validation and CARLA Town05 Map for visual comparisons.

The paper highlights that DRIVEARENA can leverage road network data from OpenStreetMap for any city, enabling simulation in diverse, previously unseen environments.

Key Insights and Ideas

  • Bridging the Sim-to-Real Gap: DRIVEARENA's high-fidelity generative visual output and dynamic traffic simulation aim to significantly reduce the gap between simulated and real-world driving, making it a more reliable testing ground.
  • The Power of Closed-Loop: The paper strongly emphasizes that true AD evaluation and development require closed-loop simulation, where agent actions directly impact the environment and vice-versa, to uncover emergent behaviors and cumulative errors.
  • Generative Models as Simulators: This work pioneers the use of advanced generative models (diffusion models) not just for data augmentation, but as the core visual rendering engine for a dynamic simulation platform.
  • Modularity is Key: The system's modular design allows for easy replacement of components, facilitating future research and integration of new AD agents or generative models.

Key Results

  • High-Fidelity Generation: The World Dreamer component demonstrates impressive visual quality, capable of generating realistic scenes that are often comparable to or even surpass real nuScenes data in certain metrics when evaluated with an AD agent (UniAD).
  • Scalability: DRIVEARENA shows strong scalability, successfully generating scenes for cities and road configurations (e.g., from nuPlan, CARLA) not present in its training data (nuScenes), showcasing adaptability.
  • AD Agent Performance: When testing the UniAD agent, DRIVEARENA's open-loop mode showed a slight performance drop (PDMS 0.902 vs. 0.91 for original nuScenes), but performance significantly degraded in DRIVEARENA's own open-loop scenarios (PDMS 0.636), highlighting the importance of testing in diverse, unseen environments.
  • Closed-Loop Challenges: In closed-loop evaluation, UniAD showed low route completion rates (avg. 13.7%) and a low Arena Driving Score (avg. 0.086), indicating significant challenges in navigating complex intersections and turns, underscoring the value of closed-loop testing for identifying failure modes.

Limitations and Future Work

  • Data Diversity: The current World Dreamer is trained solely on nuScenes, limiting its diversity. Future work will involve training on more varied datasets to enhance robustness and emergent capabilities.
  • Temporal Consistency: While autoregression is used, maintaining perfect temporal consistency and motion trends remains a challenge. Exploring multi-frame autoregressive networks and more scalable architectures is planned.
  • Runtime Efficiency: Generative models can be computationally intensive. The authors plan to investigate faster sampling methods and model quantization to improve runtime.
  • Expanded Agent Testing: The platform aims to incorporate a broader range of AD agents to facilitate continuous learning and evolution of knowledge-driven agents.
  • AD Generative Model Evaluation: DRIVEARENA can also serve as an "arena" to evaluate other generative models for AD, using an AD agent as a referee to assess sim-to-real gaps.

Summary updated

BibTeX
@misc{yang2024drivearena,
  author = {Xuemeng Yang and Licheng Wen and Yukai Ma and Jianbiao Mei and Xin Li and Tiantian Wei and Wenjie Lei and Daocheng Fu and Pinlong Cai and Min Dou and Botian Shi and Liang He and Yong Liu and Yu Qiao},
  title = {{DriveArena: A Closed-loop Generative Simulation Platform for Autonomous Driving}},
  year = {2024},
  eprint = {2408.00415},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.00415},
}
Figure