CarDreamer: Open-Source Learning Platform for World Model based Autonomous Driving

Dechen Gao, Shuangyu Cai, Hanchu Zhou, Hang Wang, Iman Soltani +1 more
5/15/2024
cs.ROcs.AI

Official code: ucd-dare/CarDreamer (369 stars, last commit 2025-12-12).

Abstract

To safely navigate intricate real-world scenarios, autonomous vehicles must be able to adapt to diverse road conditions and anticipate future events. World model (WM) based reinforcement learning (RL) has emerged as a promising approach by learning and predicting the complex dynamics of various environments. Nevertheless, to the best of our knowledge, there does not exist an accessible platform for training and testing such algorithms in sophisticated driving environments. To fill this void, we introduce CarDreamer, the first open-source learning platform designed specifically for developing WM based autonomous driving algorithms. It comprises three key components: 1) World model backbone: CarDreamer has integrated some state-of-the-art WMs, which simplifies the reproduction of RL algorithms. The backbone is decoupled from the rest and communicates using the standard Gym interface, so that users can easily integrate and test their own algorithms. 2) Built-in tasks: CarDreamer offers a comprehensive set of highly configurable driving tasks which are compatible with Gym interfaces and are equipped with empirically optimized reward functions. 3) Task development suite: This suite streamlines the creation of driving tasks, enabling easy definition of traffic flows and vehicle routes, along with automatic collection of multi-modal observation data. A visualization server allows users to trace real-time agent driving videos and performance metrics through a browser. Furthermore, we conduct extensive experiments using built-in tasks to evaluate the performance and potential of WMs in autonomous driving. Thanks to the richness and flexibility of CarDreamer, we also systematically study the impact of observation modality, observability, and sharing of vehicle intentions on AV safety and efficiency. All code and documents are accessible on https://github.com/ucd-dare/CarDreamer.

View on arXivView PDF

Code Implementations(1)

World Model based Autonomous Driving Platform in CARLA :car:

36957HTML, ShellMay 12, 202410 months agoNOASSERTION
autonomous-drivingfoundation-modelsimitation-learningmodel-based-rlreinforcement-learning+3 more

Similar Papers

Cite this paper

@article{gao2024cardreamer,
  title  = {CarDreamer: Open-Source Learning Platform for World Model based Autonomous Driving},
  author = {Dechen Gao and Shuangyu Cai and Hanchu Zhou and Hang Wang and Iman Soltani and Junshan Zhang},
  year   = {2024},
  eprint = {2405.09111},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.09111v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.09111.svg)](https://codeofpaper.com/paper/2405.09111)

Discussion