DriveEditor: A Unified 3D Information-Guided Framework for Controllable Object Editing in Driving Scenes

Yiyuan Liang, Zhiying Yan, Liqun Chen, Jiahuan Zhou, Luxin Yan, Sheng Zhong, Xu Zou

Abstract

DriveEditor is a unified diffusion-based framework designed for precise, 3D-guided object editing in autonomous driving videos. By integrating 3D bounding boxes and multi-view appearance priors, it enables high-fidelity repositioning, insertion, replacement, and deletion of vehicles. Leveraging depth-aware projection and a 3D Information Fusion Module (3D-IFM), DriveEditor ensures physical accuracy and temporal consistency, outperforming existing 2D-based video editing methods in both visual quality and downstream utility for training perception models.

Introduction

Developing robust autonomous driving systems requires extensive datasets, particularly featuring rare "edge cases" like sudden cut-ins or unusual vehicle types. Collecting such data in the real world is both hazardous and costly. While generative AI offers a potential solution for data augmentation, existing video editing methods often fail in driving contexts due to a lack of precise spatial control and poor appearance fidelity across varying viewpoints. DriveEditor addresses these challenges by introducing a 3D-guided framework that treats video editing with the precision of a "3D Photoshop" for driving scenes.

Methodology

DriveEditor is built upon Stable Video Diffusion (SVD) and incorporates two primary modules to manage geometry and appearance.

Position Control Module

To achieve precise spatial placement, DriveEditor utilizes Depth-aware Projection. Instead of relying on 2D masks, it projects the six faces of a 3D bounding box onto the image plane. This creates a 6-channel "pose image" where pixel intensity represents depth. This information is injected into the video model’s U-Net, ensuring that objects remain anchored to their 3D coordinates without unnatural drifting or warping.

Appearance Maintenance Module

Maintaining the visual identity of a specific vehicle across different angles is achieved through a three-tiered strategy:

  1. Low-level features: A reference image is "cut-and-pasted" onto a single frame to provide raw pixel data.
  2. High-level semantics: CLIP features are used to preserve the overall concept of the object.
  3. 3D Priors (3D-IFM): The framework employs a frozen SV3D (Stable Video 3D) model to generate multi-view features. These are integrated via the 3D Information Fusion Module (3D-IFM), allowing the model to synthesize consistent views of the object from any perspective.
The DriveEditor architecture, highlighting the training pipeline, position control, and 3D information fusion.

Experimental Setup

The framework was evaluated using the nuScenes dataset. A training set of 10,110 video clips was constructed for a custom reconstruction task, where the model learned to reconstruct masked-out real objects using reference images and 3D boxes. Evaluation was performed on a separate validation set of 800 clips to assess performance on unseen scenarios.

Results and Discussion

DriveEditor demonstrates significant improvements over baseline methods like Tune-A-Video and Text2Video-Zero across several metrics.

  • Visual and Temporal Quality: DriveEditor achieved a Fréchet Inception Distance (FID) of 11.83 and a Fréchet Video Distance (FVD) of 39, indicating superior image quality and temporal smoothness compared to baselines.
  • Physical Accuracy: The Mean Average Translation Error (mATE) was recorded at 0.27 meters, confirming high positional precision.
  • Downstream Impact: Data generated by DriveEditor was used to augment training for the StreamPETR 3D object detector, resulting in an improvement of the NDS score from 0.569 to 0.581.
DriveEditor enables various editing tasks—repositioning, insertion, deletion, and replacement—with higher fidelity than baseline methods.

Conclusion

DriveEditor provides a unified and effective solution for 3D-controllable object editing in driving scenes. By grounding video generation in 3D geometry, it overcomes the limitations of 2D-only editing, producing physically plausible and visually consistent results. Future work will focus on improving background interactions, such as dynamic shadows and reflections, and extending the framework to longer video sequences.

Summary updated

BibTeX
@inproceedings{liang2025driveeditor,
  author = {Yiyuan Liang and Zhiying Yan and Liqun Chen and Jiahuan Zhou and Luxin Yan and Sheng Zhong and Xu Zou},
  title = {{DriveEditor: A Unified 3D Information-Guided Framework for Controllable Object Editing in Driving Scenes}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i5.32548},
}
Figure