Uni-ViGU: Towards Unified Video Generation and Understanding via A Diffusion-Based Video Generator

Luozheng Qin, Jia Gong, Qian Qiao, Tianjiao Li, Li Xu, Haoyu Pan, Chao Qu, Zhiyu Tan, Hao LiarXiv 2026

TL;DR

Uni-ViGU flips the traditional multimodal paradigm by using a diffusion-based video generator as the foundation for both video generation and understanding. By unifying continuous video flow and discrete text flow matching within a shared-attention framework, it achieves competitive bidirectional capabilities with significantly lower computational overhead than scaling understanding-centric models.

What Problem Does This Paper Address?

Most unified multimodal models attempt to graft visual generation capabilities onto understanding-centric Multimodal Large Language Models (MLLMs). However, a massive computational asymmetry exists: while generating text requires processing relatively few tokens, generating high-quality video requires iterative denoising over millions of tokens per sample.

Trying to scale text-centric MLLMs to handle the heavy lifting of video generation leads to prohibitive training and inference costs. To solve this, Uni-ViGU flips the problem on its head: Why not use a pretrained video generator as the foundational architecture for unified intelligence? Since video generators already possess rich, implicit visual-semantic knowledge from text-to-video pretraining, the authors explore how to repurpose this knowledge for language reasoning and video understanding.

Methods

Uni-ViGU builds on top of the state-of-the-art WAN2.1 video generation framework using three core innovations:

  1. Unified Flow Matching (Uni-Flow): Video generation naturally happens in a continuous latent space, whereas text generation relies on discrete tokens. To bridge this gap, the authors introduce a single generative process that simultaneously performs continuous flow matching for video latents and discrete flow matching over token embeddings for text. This allows both modalities to be co-noised and denoised together.
  2. Modality-Driven Mixture-of-Experts (MoE): The authors modify the standard Diffusion Transformer (DiT) block based on a clever division of labor. Because attention layers inherently capture cross-modal relational alignment, they are fully shared between video and text tokens. However, because Feed-Forward Networks (FFNs) govern domain-specific generation patterns, they are split into a pretrained video expert (V-FFN) and a newly initialized text expert (T-FFN).
Figure 1: The DiT architecture of WAN and Uni-ViGU
  1. Bidirectional Two-Stage Training:
  2. Stage 1: Knowledge Recall: The model is tasked with reconstructing its own input prompts. By applying heavy condition dropout (randomly discarding the text prompt), the model is forced to reverse its pretrained text-to-video knowledge, reconstructing text directly from co-noised video latents.
  3. Stage 2: Capability Refinement: The target text is replaced with highly detailed video captions. Because these captions contain fine-grained details missing from the brief initial prompts, the text branch is forced to actively attend to the video latents via shared self-attention, building genuine video comprehension.
Figure 2: Overview of Uni-ViGU framework. We formulate unified multimodal generation via a uni- flow process, where video generation is modeled with continuous flow matching in the latent space, while text generation is modeled with discrete flow matching over token embeddings. Both modalities are jointly learned within a single Transformer backbone: self- and cross-attention layers are shared to enable cross-modal interaction and alignment, whereas modality-specific FFN branches are employed to capture domain-specific knowledge for video and text, respectively. This design allows the model to unify generation and understanding while preserving modality-specialized capacity.

Datasets

The model is trained on a meticulously curated dataset designed to enforce a clear separation between simple prompts and complex understanding:

  • Stage 1 (Knowledge Recall): Trained on 10K video-prompt pairs.
  • Stage 2 (Capability Refinement): Trained on 10K video-prompt-detailed caption triples.

The training data was constructed by taking short conditioning prompts, synthesizing videos using state-of-the-art generators, and then using a Large Language Model (LLM) to produce highly detailed captions. To prevent the model from trivially guessing the captions, conditioning prompts were restricted to 0–128 tokens, while the detailed target captions spanned 128–256 tokens.

Key Insights and Ideas

  • Inverting the Foundation is More Scalable: Because visual generation dominates the computational footprint of multimodal systems, it is architecturally more principled to extend a video generator toward understanding than to force an MLLM to generate video.
  • Attention Aligns, FFN Generates: In Diffusion Transformers, cross-modal alignment is relational and lives in the attention layers, while modality-specific knowledge lives in the FFNs. This insight allows for a highly efficient MoE design that introduces minimal parameter overhead.
  • Understanding as Inverse Generation: Exploiting the mathematical duality between mapping text-to-video (generation) and video-to-text (understanding) drastically reduces the difficulty of learning video comprehension from scratch.

Key Results

Uni-ViGU achieves competitive performance across both video generation and video understanding tasks.

A particularly striking capability is Joint Video-Text Generation. When both video and text pathways are initialized from pure Gaussian noise, they co-evolve through the shared attention module. The progressively denoised text provides semantic guidance for the video, while the emerging video provides visual context for the text. This mutual refinement allows the model to simultaneously generate high-quality video alongside a highly detailed, faithful caption.

Qualitative Results on Video-Text Joint Generation
(Note: Specific quantitative benchmark scores were not detailed in the provided text pages of the paper).

Limitations and Future Work

Specific limitations were not explicitly detailed in the provided text. However, the authors note that this generation-centric paradigm serves as a highly scalable alternative to understanding-centric approaches, opening up promising new avenues for unified multi-modal AI architectures.

Summary updated

BibTeX
@misc{qin2026uni,
  author = {Luozheng Qin and Jia Gong and Qian Qiao and Tianjiao Li and Li Xu and Haoyu Pan and Chao Qu and Zhiyu Tan and Hao Li},
  title = {{Uni-ViGU: Towards Unified Video Generation and Understanding via A Diffusion-Based Video Generator}},
  year = {2026},
  eprint = {2604.08121},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.08121},
}
Figure