English

RealDrive: Retrieval-Augmented Driving with Diffusion Models

Robotics 2025-06-02 v1 Artificial Intelligence

Abstract

Learning-based planners generate natural human-like driving behaviors by learning to reason about nuanced interactions from data, overcoming the rigid behaviors that arise from rule-based planners. Nonetheless, data-driven approaches often struggle with rare, safety-critical scenarios and offer limited controllability over the generated trajectories. To address these challenges, we propose RealDrive, a Retrieval-Augmented Generation (RAG) framework that initializes a diffusion-based planning policy by retrieving the most relevant expert demonstrations from the training dataset. By interpolating between current observations and retrieved examples through a denoising process, our approach enables fine-grained control and safe behavior across diverse scenarios, leveraging the strong prior provided by the retrieved scenario. Another key insight we produce is that a task-relevant retrieval model trained with planning-based objectives results in superior planning performance in our framework compared to a task-agnostic retriever. Experimental results demonstrate improved generalization to long-tail events and enhanced trajectory diversity compared to standard learning-based planners -- we observe a 40% reduction in collision rate on the Waymo Open Motion dataset with RAG.

Keywords

Cite

@article{arxiv.2505.24808,
  title  = {RealDrive: Retrieval-Augmented Driving with Diffusion Models},
  author = {Wenhao Ding and Sushant Veer and Yuxiao Chen and Yulong Cao and Chaowei Xiao and Marco Pavone},
  journal= {arXiv preprint arXiv:2505.24808},
  year   = {2025}
}
R2 v1 2026-07-01T02:51:10.067Z