TL;DR
UniVideo is a unified dual-stream framework that masters video understanding, generation, and editing within a single model. By combining a Multimodal Large Language Model (MLLM) for reasoning with a Multimodal Diffusion Transformer (MMDiT) for synthesis, it achieves state-of-the-art performance and demonstrates remarkable zero-shot generalization to complex, unseen video editing tasks.
What Problem Does This Paper Address?
While we’ve seen a surge in "unified" multimodal models (like GPT-4o or OmniGen), these systems are largely confined to the image domain. In the world of video, the landscape remains fragmented. Researchers typically use specialized, task-specific models: one for text-to-video, another for video editing, and yet another for video understanding.
This fragmentation leads to two major hurdles. First, these models lack the "reasoning" capability to follow complex, multimodal instructions (e.g., "Take the person from this image and put them in that video"). Second, they struggle with in-context generation, where the model must maintain subject identity across different scenes based on reference images. UniVideo aims to solve this by creating a single architecture that can "think" about video content and "act" by generating or modifying pixels accordingly.
Methods
The core of UniVideo is its dual-stream architecture, which separates semantic reasoning from high-fidelity generation while keeping them tightly coupled.
- The Understanding Branch: Uses a frozen Qwen2.5VL-7B MLLM. This branch processes text, images, and videos to extract high-level semantic features.
- The Generation Branch: Employs a HunyuanVideo-13B MMDiT. Unlike standard DiTs that use cross-attention for text, UniVideo uses an MMDiT design where text and visual tokens interact via self-attention, which the authors found significantly improves prompt alignment.
- The Connector: A trainable MLP aligns the MLLM’s hidden states to the MMDiT’s embedding space.
- Dual-Path Conditioning: To maintain fine-grained detail (crucial for editing), visual signals are fed into the MMDiT via VAE-based encoders, while the MLLM provides the semantic "blueprint."
The training follows a three-stage strategy: initial connector alignment, fine-tuning on high-quality generation tasks, and finally, multi-task training across understanding, editing, and in-context generation.
Datasets
UniVideo is evaluated across a massive battery of benchmarks:
- Understanding: MMBench, MMMU, and MM-Vet.
- Generation: VBench (video) and GenEval (image).
- Editing: ImgEdit-Bench and GEdit-Bench for images; UNICBench for in-context video editing.
To train the model for in-context tasks, the authors developed a custom pipeline using SAM2 for object segmentation and a specialized inpainter to create high-quality input-target pairs for object swapping, addition, and deletion.
Key Insights and Ideas
- Zero-Shot Transfer from Image to Video: One of the most striking findings is that UniVideo can perform "free-form" video editing (like changing a character's material to chocolate or turning a summer scene into autumn) even though it was never explicitly trained on such video data. It successfully transfers editing logic learned from large-scale image datasets to the temporal domain.
- Self-Attention > Cross-Attention: The authors empirically demonstrate that the MMDiT's self-attention mechanism is superior to traditional cross-attention for aligning complex multimodal instructions with generated content.
- Generation with Thinking: By leveraging the MLLM, UniVideo can interpret "visual prompts"—such as hand-drawn diagrams or annotations on a canvas—to plan and execute video generation, a feat difficult for standard diffusion models.
Key Results
UniVideo doesn't just unify tasks; it excels at them.
- Video Generation: On the VBench T2V benchmark, UniVideo scored 83.48, outperforming its own HunyuanVideo backbone (83.24) and other unified models like Emu3.
- In-Context Consistency: In human evaluations for subject consistency (SC), UniVideo scored 0.88 for single-reference tasks, vastly outperforming baselines like Kling1.6 (0.68) and Pika2.2 (0.45).
- Mask-Free Editing: Unlike many expert models that require manual masks to define editing regions, UniVideo is "mask-free," identifying the correct regions to edit based solely on natural language instructions.
Limitations and Future Work
Despite its versatility, the authors note a few areas for improvement:
- Over-editing: The model occasionally modifies regions of the video that were meant to remain static.
- Motion Fidelity: While identity preservation is strong, the model sometimes struggles to perfectly preserve the complex motion of the original source video during heavy edits.
- Native Integration: UniVideo is currently an "assembled" system of two pre-trained models. The authors suggest that future work should focus on developing "native" multimodal video models trained end-to-end from scratch.
Summary updated