Raw2Drive: Reinforcement Learning with Aligned World Models for End-to-End Autonomous Driving (in CARLA v2)

Zhenjie Yang, Xiaosong Jia, Qifeng Li, Xue Yang, Maoqing Yao, Junchi Yan

Abstract

Raw2Drive is the first model-based reinforcement learning (MBRL) framework to successfully train an end-to-end autonomous driving system using raw sensor data on the challenging CARLA v2 benchmark. By employing a dual-stream architecture where a "privileged" world model guides a raw-pixel world model, Raw2Drive overcomes training instability and causal confusion typical of imitation learning and standard RL. It achieves state-of-the-art performance on CARLA Leaderboard 2.0 and Bench2Drive.

Introduction

Most end-to-end (E2E) autonomous driving models rely on Imitation Learning (IL), where a model mimics expert drivers. However, IL suffers from causal confusion (misattributing actions to incorrect environmental cues) and distribution shift (failure in novel scenarios). While Reinforcement Learning (RL) can address these by learning through interaction, training directly from high-dimensional, noisy raw sensor data is notoriously difficult. Previous successful MBRL approaches often relied on "privileged" information (e.g., ground-truth maps) unavailable at test time.

Comparison of autonomous driving paradigms: (a) Imitation/Model-free RL, (b) Standard Model-based RL, and (c) the proposed Dual-stream Model-based RL.

Raw2Drive bridges this gap with a dual-stream MBRL architecture that enables high-performance RL using only cameras and sensors during inference.

Methods: Dual-Stream MBRL

The core of Raw2Drive is a "teacher-student" dynamic during training involving two streams:

  1. The Privileged Stream: An auxiliary world model trained on low-dimensional, structured data (BEV semantic masks). This "clean" data allows the model to easily learn environmental physics and logic.
  2. The Raw Sensor Stream: This model processes multi-view camera images and IMU data via a BEVFormer encoder to create a unified Bird’s-Eye View feature map.
  3. The Guidance Mechanism: This aligns the two streams through:
  4. Rollout Guidance: The raw sensor model’s internal latent states are forced to align with the privileged model’s states, ensuring the pixel-based model learns accurate world representations.
  5. Head Guidance: Instead of learning noisy rewards from pixels, Raw2Drive uses stable reward and "continuation" signals from the privileged model to supervise the raw sensor policy.
Overview of the Raw2Drive training and inference phases, highlighting the Rollout and Head Guidance mechanisms.

Key Insights

  • Feature Alignment vs. Reconstruction: Rather than predicting future video frames (which is computationally heavy and noisy), Raw2Drive predicts the abstract features of the privileged model.
  • Sampling Stability: To prevent divergence, the same stochastic variables are fed into both streams during training.
  • Bypassing Pixel Confusion: By using the privileged model's "heads," the system avoids the noise inherent in raw sensor rewards, where visually similar frames might have vastly different reward values.

Experimental Results

Raw2Drive was evaluated on CARLA v2 (Leaderboard 2.0) and Bench2Drive, featuring complex corner cases and aggressive traffic.

  • CARLA Leaderboard 2.0: Raw2Drive is the only RL-based E2E method to achieve competitive scores, significantly outperforming previous IL-based SOTA models.
  • Bench2Drive: It achieved a Success Rate (SR) of 50.24%, a substantial improvement over the best IL competitor, DriveAdapter (33.08%).
  • Training Efficiency: The model was trained in 64 H800 GPU days, a marked improvement over earlier RL attempts that failed to converge after millions of steps.

Limitations and Future Work

While Raw2Drive uses only raw sensors at test time, it requires privileged ground-truth data during training, which is expensive to obtain. Additionally, the BEVFormer vision encoder introduces a latency of ~600ms, posing a challenge for real-time deployment. Future research may explore "label-free" privileged information using 3D Gaussian Splatting or advanced world simulators.

Summary updated

BibTeX
@inproceedings{yang2025raw,
  author = {Zhenjie Yang and Xiaosong Jia and Qifeng Li and Xue Yang and Maoqing Yao and Junchi Yan},
  title = {{Raw2Drive: Reinforcement Learning with Aligned World Models for End-to-End Autonomous Driving (in CARLA v2)}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=CAz7UGRdLs},
}
Figure