Unleashing Generalization of End-to-End Autonomous Driving with Controllable Long Video Generation

Enhui Ma, Lijun Zhou, Tao Tang, Zhan Zhang, Dong Han, Junpeng Jiang, Kun Zhan, Peng Jia, Xianpeng Lang, Haiyang Sun, Di Lin, Kaicheng YuarXiv 2024

Abstract

Using generative models to synthesize new data has become a de-facto standard in autonomous driving to address the data scarcity issue. Though existing approaches are able to boost perception models, we discover that these approaches fail to improve the performance of planning of end-to-end autonomous driving models as the generated videos are usually less than 8 frames and the spatial and temporal inconsistencies are not negligible. To this end, we propose Delphi, a novel diffusion-based long video generation method with a shared noise modeling mechanism across the multi-views to increase spatial consistency, and a feature-aligned module to achieves both precise controllability and temporal consistency. Our method can generate up to 40 frames of video without loss of consistency which is about 5 times longer compared with state-of-the-art methods. Instead of randomly generating new data, we further design a sampling policy to let Delphi generate new data that are similar to those failure cases to improve the sample efficiency. This is achieved by building a failure-case driven framework with the help of pre-trained visual language models. Our extensive experiment demonstrates that our Delphi generates a higher quality of long videos surpassing previous state-of-the-art methods. Consequentially, with only generating 4% of the training dataset size, our framework is able to go beyond perception and prediction tasks, for the first time to the best of our knowledge, boost the planning performance of the end-to-end autonomous driving model by a margin of 25%.

Introduction

End-to-end autonomous driving (AD) models, which learn to plan motions directly from sensor data, are notoriously data-hungry. While real-world datasets like nuScenes are valuable, they are often biased toward "easy" scenarios, such as driving straight in clear weather. Collecting data for "long-tail" events—like unprotected left turns or sudden obstacles—is difficult, expensive, and often dangerous.

Generative AI has been proposed as a solution to "dream up" new training data. However, existing models (like MagicDrive or Panacea) struggle with two major issues: temporal and spatial inconsistency, and a lack of precise control. Most models only generate short clips (7–8 frames), where objects flicker or disappear over time. Furthermore, they cannot precisely manipulate individual objects needed to fix a model's specific weaknesses.

Overview of Delphi's long video generation vs. previous methods and its impact on planning performance.

The Delphi Method

To address these challenges, we introduce Delphi, a controllable long-video generation method. Delphi solves the consistency problem through two core innovations:

Noise Reinitialization Module (NRM)

Standard diffusion models often add independent random noise to every frame and camera view, leading to flickering. NRM introduces a shared noise modeling mechanism. By sharing "motion noise" across time and "panoramic noise" across views, the model is forced to maintain a coherent global structure, ensuring that the environment remains stable across 40 frames.

Feature-aligned Temporal Consistency Module (FTCM)

This module employs a dual-attention mechanism to maintain detail:

  • Scene-aware attention: Ensures the global environment (buildings, roads) stays stable.
  • Instance-aware attention: Uses foreground bounding boxes as masks to ensure moving objects (cars, pedestrians) remain consistent as they move through the scene.
The Delphi framework, featuring Noise Reinitialization and Feature-aligned Temporal Consistency modules.

Failure-Case Driven Framework

Instead of generating data at random, we propose a "data engine" loop to maximize sample efficiency. The process begins by evaluating an AD model (e.g., UniAD) to identify failure cases, such as collisions. A Visual Language Model (VLM) then analyzes these failures to describe the scenario (e.g., "an electric bike crossing the road").

Using these descriptions, we retrieve similar layouts from the training set and use Delphi to generate diverse variations—changing weather, lighting, or vehicle colors. Finally, the AD model is retrained with this targeted synthetic data. This approach prioritizes "hard" cases that the model hasn't mastered yet.

Experimental Results

We evaluated Delphi using the nuScenes dataset. Delphi achieved state-of-the-art scores in spatial realism (FID) and temporal consistency (FVD), significantly outperforming previous methods on both 8-frame and 40-frame benchmarks.

Crucially, we found that planning tasks require longer durations than perception tasks. Delphi’s ability to generate 40 consecutive frames (12 seconds) proved to be a tipping point. When UniAD was fine-tuned with Delphi-generated failure cases, its average collision rate dropped by 25% (from 0.34 to 0.27) using only 972 targeted cases—just 4% of the original training set size.

Conclusion and Future Work

Delphi demonstrates that high-quality, long-duration video generation is essential for improving the planning capabilities of autonomous systems. By focusing on failure cases rather than volume, we achieve significant performance gains with minimal data.

Future work will focus on moving beyond fixed layouts to allow Delphi to "hallucinate" entirely new trajectories and complex intersections. Additionally, we aim to transition from open-loop evaluation to closed-loop simulation, where generated videos can react dynamically to the model's driving decisions.

Summary updated

BibTeX
@misc{ma2024unleashing,
  author = {Enhui Ma and Lijun Zhou and Tao Tang and Zhan Zhang and Dong Han and Junpeng Jiang and Kun Zhan and Peng Jia and Xianpeng Lang and Haiyang Sun and Di Lin and Kaicheng Yu},
  title = {{Unleashing Generalization of End-to-End Autonomous Driving with Controllable Long Video Generation}},
  year = {2024},
  eprint = {2406.01349},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.01349},
}
Figure