Introduction
Validating autonomous driving (AD) systems requires exposing them to a vast array of diverse and challenging scenarios. However, collecting real-world data for "corner cases"—rare, dangerous events like sudden lane changes or erratic pedestrians—is expensive, risky, and inherently biased toward routine driving conditions. While editing existing driving logs offers a scalable solution to generate these counterfactual scenarios, researchers face a persistent dilemma: balancing the generative flexibility needed for realistic object editing with the physical precision required for trajectory control.
To address this, researchers introduce SceneDirector, a unified diffusion-based framework that bridges explicit 3D geometry with generative AI. By simultaneously editing objects and the ego-vehicle's trajectory in multi-view driving videos, SceneDirector creates photorealistic, physically consistent scenarios essential for robust AD training and validation.
The Challenge of Unified Editing
Current video editing methods typically struggle with "unified editing"—altering both the environment and the car's path in a single pass. Generative models (like standard video diffusers) excel at visual realism but fail to maintain strict 3D spatial consistency as the camera moves. Conversely, geometric methods (like 3D reconstruction) offer spatial precision but often produce "uncanny valley" artifacts or leave visual voids in unobserved areas. SceneDirector reconciles these approaches by leveraging the strengths of both explicit geometry and generative priors.
The SceneDirector Framework
SceneDirector employs a dual-stream architecture built on a Diffusion Transformer (DiT) backbone (specifically Cosmos-Transfer2.5) to reconcile 3D structure with visual imagination:
- Unified Geometric Scaffold: Rather than relying solely on pixel data, the model constructs a dense 3D "skeleton" of the scene using LiDAR-guided depth completion. Editable 3D assets (e.g., vehicles) are integrated into this scaffold, providing rigorous structural guidance for precise trajectory control and object placement.
- Static Texture Bank: To preserve the original video's visual fidelity, the framework encodes the source video into a memory bank. This acts as a rich reference for lighting, weather, and background textures.
- Mask-Gated Reference Attention (MGRA): The core innovation of SceneDirector is this dynamic bridging mechanism. Guided by a geometric uncertainty metric, MGRA regulates the interaction between the 3D scaffold and the texture bank. In areas with reliable LiDAR data (like the road surface), it adheres strictly to the geometry. In "voids" or unobserved regions (such as the space revealed behind a deleted vehicle), it adaptively injects textures from the generative prior to seamlessly hallucinate realistic details.
Datasets and Benchmarks
The framework was primarily trained and evaluated using the Waymo Open Dataset (WOD). To rigorously test the system's capabilities, the authors curated a novel benchmark comprising:
- 64 scenarios for object editing (insertion, deletion, and replacement).
- 64 scenarios for trajectory editing (simulating lane changes and offsets).
Additionally, the pipeline utilized SAM2 for precise object segmentation and Trellis for lifting 2D images into 3D assets to populate their object library.
Key Insights and Results
SceneDirector establishes a new state-of-the-art for both visual quality and spatial controllability in driving scene editing:
- Geometry as a Guide: By treating geometry as a flexible scaffold rather than a rigid constraint, the model avoids the blurring artifacts common in previous methods, allowing the generative prior to refine semantic details while maintaining 3D truth.
- Unified Inference: Unlike existing tools that require sequential edits (e.g., delete an object, then alter the path, then insert a new object), SceneDirector performs all modifications in a single inference pass. This prevents compounding errors and ensures consistent lighting and shadows.
- Geometric Precision: The framework achieved a significantly lower Average Translation Error (ATE) of 0.78m compared to 1.02m for baselines, demonstrating superior spatial accuracy for inserted objects.
- Visual Quality: In complex multi-edit tasks, SceneDirector outperformed state-of-the-art models like VACE and DriveEditor, achieving a Fréchet Video Distance (FVD) of 516.83 (vs. 729.42).
- Multi-View Consistency: Operating in 3D space ensures that edits remain structurally consistent across all five cameras of a standard autonomous vehicle setup.
- Efficiency: The system can process five camera views and up to four objects simultaneously in approximately 15 minutes using two A800 GPUs.
Limitations and Future Work
While SceneDirector represents a significant leap forward, the authors note a few limitations:
- LiDAR Dependency: The reliance on LiDAR-guided depth completion restricts its application to datasets with LiDAR, limiting its use in camera-only setups.
- Rigid Camera Layouts: The current model is optimized for the specific 5-camera configuration of the Waymo dataset. Adapting it to different sensor suites (e.g., Tesla's camera layout) would require further fine-tuning.
- Safety Considerations: As with any high-fidelity generative tool, there is a risk of creating misleading media. The authors stress that while synthetic data is invaluable for simulation, it should complement, not replace, rigorous real-world safety validation.
Summary updated