OmniVDiff: Omni Controllable Video Diffusion for Generation and Understanding

Dianbing Xi, Jiepeng Wang, Yuanzhi Liang, Xi Qiu, Yuchi Huo, Rui Wang, Chi Zhang, Xuelong Li

TL;DR

OmniVDiff is a unified video diffusion framework capable of simultaneously handling text-to-video generation, controllable video synthesis (via depth, canny edges, or segmentation), and video understanding within a single model. By treating all visual modalities as channels in a shared latent space and introducing an adaptive control strategy, it eliminates the need for task-specific fine-tuning or external expert models during inference.

What Problem Does This Paper Address?

Current controllable video generation models are highly fragmented. If you want to guide a video generation process using a depth map, a segmentation mask, or canny edges, you typically have to fine-tune a separate model for each specific control signal. Furthermore, these pipelines heavily rely on external "expert" models to extract these control signals from reference videos during inference, creating a multi-step, computationally expensive pipeline.

Conversely, while some multi-modal models attempt joint synthesis, they usually lack the flexibility to perform conditional control or inverse "generative understanding" tasks (e.g., predicting a depth map from an RGB video). OmniVDiff tackles this lack of adaptability by unifying multi-modal video generation and understanding into a single, cohesive framework.

Methods

OmniVDiff builds upon the pretrained text-to-video model CogVideoX. Instead of treating different modalities (RGB, depth, segmentation, canny edges) as separate video sequences—which would cause a catastrophic explosion in transformer token length and computational cost—the authors project all modalities into a shared latent space using a single 3D Variational Autoencoder (3D-VAE).

Method overview showing video encoding, the OmniVDiff core, and decoding for both generation and understanding tasks.

The core architecture consists of two main innovations:

  1. Multi-modal Video Diffusion Architecture: The latent representations of the four modalities are concatenated along the channel dimension. On the output side, the model uses Modality-Specific Projection Heads (MSPH) to reconstruct the noise for each modality separately, rather than simply expanding the channels of a single shared head.
  2. Adaptive Modality Control Strategy (AMCS): During inference, the model dynamically adjusts the role of each modality. For generation tasks (like text-to-video), all modalities start as pure noise. For conditional generation (e.g., depth-conditioned video generation), the conditioning modality is fed directly into the network without noise, while the remaining modalities are denoised. To help the model distinguish between these roles, learnable modality embeddings ($e_m$) are added to the input.

Datasets

To train OmniVDiff, the authors constructed a paired multi-modal dataset by sampling 400K video clips from the Koala-36M dataset. Because high-quality multi-modal video labels are rare, they used state-of-the-art 2D foundation models to generate pseudo-labels:

  • Depth: Video Depth Anything
  • Segmentation: Semantic-SAM (for the first frame) propagated via SAM2 (for subsequent frames)
  • Edges: OpenCV Canny algorithm

For evaluation, the authors used VBench for video generation quality, ScanNet for zero-shot video depth estimation, and COCO Val2017 for segmentation.

Key Insights and Ideas

  • Joint Optimization as a Regularizer: Surprisingly, training the model on multiple modalities simultaneously improves the quality of standard text-to-RGB video generation. The joint distribution acts as a strong regularizer, leading to more spatially coherent and temporally consistent video predictions than training on RGB alone.
  • Symmetric Generation and Understanding: Because the model treats all modalities symmetrically in the latent space, video understanding (RGB $\rightarrow$ Depth/Seg) is framed exactly the same way as conditional generation (Depth/Seg $\rightarrow$ RGB). It is simply a matter of which channels are noisy and which are clean.
  • Token Efficiency: Channel-wise concatenation allows the model to scale to four distinct modalities without increasing the sequence length of the diffusion transformer, preserving the quadratic attention mechanism's efficiency.

Key Results

  • Controllable Generation: On the VBench benchmark, OmniVDiff outperformed specialized, task-specific baselines (such as Control-A-Video and ControlVideo) across depth-, canny-, and segmentation-conditioned video generation.
  • Video Understanding: For zero-shot video depth estimation on ScanNet, OmniVDiff achieved an absolute relative error (AbsRel) of 0.125, approaching its own teacher model (0.110). When fine-tuned with a small synthetic dataset (OmniVDiff-Syn), it surpassed the teacher model with an AbsRel of 0.100.
  • Inference Efficiency: OmniVDiff adds only 11.8M parameters to the base 5B CogVideoX model. It generates RGB, depth, segmentation, and canny outputs simultaneously in 44 seconds, which is virtually identical to the time it takes CogVideoX to generate RGB alone (41 seconds), effectively giving you three extra modalities for free.

Limitations and Future Work

While OmniVDiff demonstrates impressive flexibility, the authors note a few areas for improvement:

  • Modality Scaling: The framework is currently limited to four representative modalities. Future work will explore expanding this to include camera poses, optical flow, and audio.
  • Base Model Constraints: The overall generation capability is bounded by the base CogVideoX model. Migrating to more powerful, recent open-source architectures (like WAN) could yield significant quality boosts.
  • Real-time Processing: Further optimization is required to make the multi-modal generation pipeline efficient enough for real-time interactive applications.

Summary updated

BibTeX
@inproceedings{xi2026omnivdiff,
  author = {Dianbing Xi and Jiepeng Wang and Yuanzhi Liang and Xi Qiu and Yuchi Huo and Rui Wang and Chi Zhang and Xuelong Li},
  title = {{OmniVDiff: Omni Controllable Video Diffusion for Generation and Understanding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i13.38068},
}
Figure