TL;DR
InstaDrive is a novel framework for generating realistic driving videos that addresses the critical challenges of instance-level temporal consistency and spatial geometric fidelity. By introducing an Instance Flow Guider and a Spatial Geometric Aligner, InstaDrive significantly improves the quality and utility of synthetic driving data for autonomous driving tasks.
What Problem Does This Paper Address?
Autonomous driving systems rely heavily on high-quality, large-scale driving data for training. While generative models (world models) offer a cost-effective alternative to real-world data collection, existing methods struggle to produce videos that are both visually realistic and semantically accurate. Specifically, they fail to maintain:
- Instance-Level Temporal Consistency: Objects in generated videos often change appearance (e.g., color shifts) or lose their identity across frames, making it difficult for downstream tasks like tracking to function reliably.
- Spatial Geometric Fidelity: Generated videos often exhibit spatial misalignments where objects don't accurately follow control signals (like bounding boxes) or fail to respect natural occlusion hierarchies (e.g., a distant object incorrectly obscuring a closer one).
These issues limit the usefulness of synthetic data for training robust autonomous driving models.
Methods
InstaDrive builds upon a diffusion transformer architecture (ST-DiT) and enhances it with two key novel modules:
- Instance Flow Guider (IFG): This module focuses on temporal consistency. It tracks instances across frames using their unique IDs and propagates their semantic features (like color and texture) forward. It achieves this by:
- Extracting an "instance flow" representing the motion of each instance.
- Visualizing this flow as a motion map and encoding it into a latent representation.
- Using this encoded motion to guide the diffusion model, ensuring that instance attributes remain stable over time. This is a significant improvement over prior methods that lacked explicit instance-level control.
- Spatial Geometric Aligner (SGA): This module addresses spatial accuracy and occlusion. It ensures that generated objects are precisely located and that their relative depths are correctly modeled:
- Spatial Localization: It transforms 3D bounding box information from the world coordinate system into the camera's perspective view, creating precise 2D projected bounding boxes as control signals. This explicit transformation ensures alignment with camera parameters.
- Occlusion Hierarchy: It explicitly resolves the relative depth order of instances by analyzing the distance of their corner points to the camera's optical center. This depth information is then used to enforce correct occlusion relationships.
These modules are integrated into the ST-DiT architecture using ControlNet for unified condition control.
Datasets
- nuScenes: The primary dataset used for training and evaluation. This is a large-scale, multi-view driving dataset.
- CARLA: Used to procedurally simulate rare, safety-critical driving scenarios (long-tail events) by leveraging its autopilot and map system. This allows for generating diverse control conditions for challenging situations.
Key Insights and Ideas
- Instance-level control is crucial: Simply relying on global temporal attention isn't enough for stable object appearances. Explicitly tracking and propagating instance features is key.
- 3D geometry is essential for realism: Transforming 3D bounding boxes into the camera's perspective view and explicitly modeling depth order are vital for accurate spatial placement and realistic occlusions.
- Synthetic data can be highly effective: By generating high-fidelity synthetic data with strong temporal and spatial consistency, InstaDrive demonstrates its potential to significantly augment or even replace real-world data for training perception models.
- Procedural generation for edge cases: Using simulators like CARLA to generate specific, rare scenarios is a powerful way to create datasets that cover the "long tail" of driving situations, which are critical for safety.
Key Results
- State-of-the-art video quality: InstaDrive achieves a FID of 3.96 and an FVD of 38.06 on the nuScenes dataset, outperforming previous methods.
- Improved temporal consistency: In multi-object tracking (MOT) tasks, using InstaDrive-generated data led to a significant reduction in ID switches (IDS) for the StreamPETR model, from 1189 to 532, indicating more stable object identities.
- Enhanced spatial accuracy: When used to train a perception model (StreamPETR), InstaDrive-generated data achieved a nuScenes Detection Score (NDS) of 51.9, a 3.6-point improvement over training with real data alone. This highlights the accuracy of object localization and occlusion understanding.
- Effective long-tail scenario generation: The model successfully generates videos for diverse conditions like different weather (rain, sunny, night) and complex scenarios (sudden braking, intersections) simulated in CARLA.
Limitations and Future Work
- Computational Cost: While the paper mentions efficiency, generating long videos (over 200 frames) still requires significant computational resources.
- Future Work: The authors suggest further exploration of generating videos without initial frame conditions (T2V scenario) and integrating more complex control signals. The CARLA simulation pipeline also offers a rich avenue for generating even more diverse and challenging long-tail scenarios.
Summary updated