TL;DR
CoDrive is a novel generative framework that jointly produces multi-view driving videos for multiple vehicles sharing the same environment. By interleaving local and global attention with explicit geometric constraints, it ensures that different agents observe a physically consistent world, effectively solving the "hallucination" contradictions that occur when generating multi-agent views independently.
What Problem Does This Paper Address?
Current driving world models are largely "ego-centric," focusing on generating observations for a single vehicle. While these models have become impressively realistic, they fall apart in multi-agent scenarios. If you try to generate videos for two different cars in the same intersection using existing models, they will likely produce two different versions of reality. One car might see a red truck that doesn't exist for the other, or they might observe conflicting weather, lighting, and traffic flow.
This lack of cross-vehicle consistency is a major bottleneck for developing autonomous systems that need to cooperate. To build reliable simulators for multi-vehicle planning or cooperative perception, we need models that can generate a single, shared, and controllable dynamic world observed from multiple perspectives simultaneously.
Methods
CoDrive is built upon a latent video diffusion transformer (DiT) and introduces two primary architectural innovations to enforce consistency:
- Interleaved Global-Local Self-Attention (IGLA): The model processes tokens from all views of all agents. It alternates between Local Self-Attention, which ensures spatiotemporal coherence across the multiple cameras of a single vehicle, and Global Self-Attention, which allows information exchange across different vehicles to reconcile shared scene content.
- Global Camera Geometry Injection (PRoPE): To move beyond simple appearance matching, CoDrive uses Projective Relative Positional Encoding (PRoPE). It represents all camera trajectories in a shared world coordinate system. This relative geometry is injected directly into the attention layers, providing explicit physical guidance so the model knows exactly where one agent is relative to another.
The authors also employ a progressive five-stage training recipe. Because synchronized real-world multi-agent data is extremely scarce, they bridge the gap by training on a mix of large-scale real-world single-agent data (for visual realism) and synthetic multi-agent interaction data from the CARLA simulator (for consistency supervision).
Datasets
The researchers utilized a diverse array of data sources:
- Real-world Training Data: OpenDV-2K, nuScenes, Waymo, and PandaSet.
- Synthetic Training Data: 15,000 high-quality dual-vehicle interaction clips generated using a custom CARLA pipeline.
- CoDrive-Bench: A new benchmark introduced in this paper consisting of 200 scenarios (100 real-world from the OpenMars dataset and 100 synthetic). It evaluates models across three dimensions: trajectory controllability, scene geometry consistency, and instance-level consistency.
Key Insights and Ideas
- Geometry is the Ground Truth: The core "aha moment" is that cross-agent consistency cannot be achieved by visual similarity alone. By injecting relative camera poses (PRoPE) into the attention mechanism, the model learns to "look" for the other agent where physics dictates it should be.
- The Power of Mixed-Task Training: The scarcity of multi-agent real-world data is a known hurdle. CoDrive demonstrates that you can learn "how to be consistent" from simulation and "how to look real" from single-agent real-world data, combining them effectively through a mixed-task fine-tuning stage.
- Efficiency through Interleaving: Rather than using a massive, computationally expensive global attention matrix at every layer, interleaving local and global blocks allows the model to scale while maintaining the distinct structural needs of multi-view vs. multi-agent modeling.
Key Results
CoDrive significantly outperforms existing state-of-the-art driving world models and general video generators in multi-agent consistency:
- Controllability: It achieved the lowest Average Displacement Error (ADE: 3.05m) and Dynamic Time Warping (DTW: 116) scores, meaning the generated videos followed the commanded trajectories much more accurately than baselines like Cosmos3 or MagicDrive-V2.
- Consistency: It led in scene consistency (lowest Chamfer Distance) and instance consistency. Specifically, it achieved a Soft Hit Rate of 0.482, nearly double that of several baselines, indicating that vehicles appeared at their geometrically expected locations far more reliably.
- Visual Quality: Despite the added geometric constraints, CoDrive maintained high visual fidelity, with an FVD of 108.8, comparable to the best-performing single-agent models.
Limitations and Future Work
While a major step forward, the authors note a few limitations:
- Sim-to-Real Gap: The model still relies heavily on synthetic data for multi-agent supervision.
- Computational Overhead: The PRoPE branch adds computational complexity to the transformer blocks.
- Scalability: The current implementation and evaluation focus on dual-vehicle interactions. Scaling this to a "swarm" of $N$ vehicles in a dense urban environment remains a challenge for future research.
Summary updated