DiVE: DiT-based Video Generation with Enhanced Control

Junpeng Jiang, Gangyi Hong, Lijun Zhou, Enhui Ma, Hengtong Hu, xia zhou, Jie Xiang, Fan Liu, Kaicheng Yu, Haiyang Sun, Kun Zhan, Peng Jia, Miao Zhang

TL;DR

DiVE introduces one of the first Diffusion Transformer (DiT) frameworks specifically engineered for multi-view video generation in autonomous driving. By combining parameter-free spatial view-inflated attention with ControlNet-Transformer conditioning for road sketches and 3D bounding boxes, DiVE generates multi-camera videos that maintain cross-view consistency, long-horizon temporal stability, and strict geometric controllability.

What Problem Does This Paper Address?

Training robust autonomous driving perception models (like 3D object detectors and BEV semantic segmenters) requires vast quantities of diverse, multi-camera driving video data—especially corner cases (e.g., severe weather, night driving, or erratic pedestrian maneuvers). Collecting and labeling this data in the real world is prohibitively expensive.

While video diffusion models can synthesize realistic footage, existing solutions mostly rely on traditional U-Net architectures or fail to scale to multi-view setups. Key challenges include:

  • Maintaining cross-camera spatial consistency across multiple viewpoints simultaneously.
  • Preserving temporal coherence without visual jitter or hallucinated object shapes.
  • Achieving fine-grained control based on 3D geometric inputs (such as road maps and bounding-box trajectories) alongside text descriptions.

Methods

DiVE builds upon the open-source OpenSora baseline (adapting DiT architecture) and introduces several novel conditioning and training strategies:

[BEV Layouts & Boxes] ──► Fourier/CLIP ──► MLP ──┐
[Scene Text Prompt]   ──► T5 Encoder   ──────────┼──► Joint Cross-Attention ──┐
                                                 │                             ▼
[Road Sketch]         ──► VAE + 3D Patch Embed ──┴──► ControlNet-Transformer ──► Spatial-Temporal DiT
                                                                                  (View-Inflated Attention)
                                                                                       │
                                                                                       ▼
                                                                           Multi-View Consistent Video
  • Spatial View-Inflated Attention: Instead of adding heavy cross-view attention parameters, the authors reshape latent representations from $B \times V \times T \times H' \times W' \times C$ to $B \times T \times (V H' W') \times C$. Extending standard 2D spatial self-attention across the combined spatial-view dimension guarantees zero-parameter, multi-camera consistency.
  • ControlNet-Transformer: Inspired by PixArt-$\delta$, 13 duplicated transformer blocks are integrated alongside the first 13 base blocks of the DiT to ingest road sketches (via VAE latents) with minimal computational overhead.
  • Caption-Layout Joint Cross-Attention: Object layout entries (2D/3D coordinates, heading, ID) are Fourier-encoded, combined with CLIP-encoded instance descriptions via an MLP, and fed alongside scene-level text tokens (from T5) into joint cross-attention layers.
  • Rectified Flow & Progressive Training: The model transitions from IDDPM to Rectified Flow (ODE-based) in later stages to achieve faster sampling (30 steps). Training runs through 4 progressive stages scaling from fixed $512 \times 512$ images up to full-resolution multi-view video.
  • First-$k$ Frame Masking: Enables autoregressive generation of arbitrarily long sequences by masking future frames and conditioning the next clip on the last $k$ frames of the previous clip.
  • Multi-Condition Classifier-Free Guidance (CFG): Extends CFG across text ($c_T$), layout ($c_L$), and road sketch ($c_R$) independently to balance fidelity and condition alignment.

Datasets

  • nuScenes: The primary driving dataset used for training and benchmark evaluation, leveraging interpolated 12Hz multi-camera annotations.
  • No new benchmark dataset is introduced; evaluation is conducted on standard nuScenes scenes and targeted corner cases.

Key Insights and Ideas

  • Cross-view consistency does not require extra parameters: Simply treating all camera views as an inflated 2D spatial sequence during self-attention natively enforces cross-camera alignment without learning extra cross-view projection weights.
  • Separate CFG scales for distinct modalities: Decomposing classifier-free guidance velocity estimates across text, 3D layouts, and road sketches prevents one modality from dominating. Tuning text guidance ($\lambda_T$) depending on the environment (e.g., setting it to 1.0 for nighttime and 7.0 for standard daylight) proved vital for high visual quality.
  • Perception models as downstream validators: Beyond standard visual fidelity metrics, the authors validate generative control by running downstream perception models (BEVFormer) directly on the generated videos to test whether synthetic cars and roads are detected where the conditioning specified.

Key Results

DiVE was evaluated on 16-frame multi-view sequences against MagicDrive, the leading prior baseline:

Metric MagicDrive DiVE (Ours) Better Direction
FVD (Fréchet Video Distance) 221.90 94.60 Lower ($\downarrow$)
Object mAP (via BEVFormer) 11.73 24.55 Higher ($\uparrow$)
Map mIoU (BEV Segmentation) 18.44 35.96 Higher ($\uparrow$)
DTC (DINO Temporal Consistency) 0.8755 0.9132 Higher ($\uparrow$)
CTC (CLIP Temporal Consistency) 0.9251 0.9446 Higher ($\uparrow$)
IQ (Imaging Quality / MUSIQ) 48.85 51.82 Higher ($\uparrow$)

In downstream perception tasks, DiVE more than doubles 3D object detection mAP (24.55 vs. 11.73) and nearly doubles BEV map segmentation mIoU (35.96 vs. 18.44), showing drastically tighter alignment with layout instructions.

Limitations and Future Work

  • Computational Cost: Concatenating all views into a single sequence length ($V \times H' \times W'$) for spatial attention causes the self-attention memory footprint to scale quadratically with the number of camera views and image resolution.
  • Error Accumulation in Autoregression: While first-$k$ frame masking theoretically enables infinite video generation, the paper does not extensively analyze long-tail drift or degradation over multi-minute sequences.
  • Inference Speed: Although Rectified Flow drops sampling to 30 steps, real-time generation on multi-camera streams remains out of reach. Future work could investigate distillation or faster latent consistency models.

Summary updated

BibTeX
@inproceedings{jiang2024dive,
  author = {Junpeng Jiang and Gangyi Hong and Lijun Zhou and Enhui Ma and Hengtong Hu and xia zhou and Jie Xiang and Fan Liu and Kaicheng Yu and Haiyang Sun and Kun Zhan and Peng Jia and Miao Zhang},
  title = {{DiVE: DiT-based Video Generation with Enhanced Control}},
  booktitle = {W-CODA Abstract Paper Track @ ECCV},
  year = {2024},
  url = {https://openreview.net/forum?id=QE5IUwmBuL},
}

Loading related content...

Figure