TL;DR
UnityVideo is a unified generalist framework that handles video generation, controllable generation, and modality estimation within a single Diffusion Transformer (DiT) architecture. By jointly training across multiple visual sub-modalities (such as depth, optical flow, segmentation, and skeletons), the model accelerates training convergence and achieves remarkable zero-shot generalization to novel objects and physical scenes.
What Problem Does This Paper Address?
While large language models (LLMs) thrive by unifying diverse text-based modalities (natural language, code, math) under a single training paradigm, video foundation models have largely remained restricted to plain RGB video. When auxiliary modalities like depth maps, optical flow, or human skeletons are used, they are typically restricted to one-way interactions: either conditioning RGB generation (controllable synthesis) or predicting the modality from RGB (inverse estimation).
This isolation limits a model's holistic understanding of the physical world. Single-modality learning encourages distribution fitting rather than true physical reasoning. The authors of UnityVideo ask a fundamental question: Can a unified training paradigm that jointly learns bidirectional mappings across multiple tasks and modalities improve world awareness, accelerate convergence, and unlock emergent perception?
Methods
UnityVideo unifies video generation and multimodal understanding within a single 10B-parameter Diffusion Transformer (DiT) backbone.
The architecture relies on three core technical components:
- Dynamic Task Routing & Noise Scheduling: Instead of sequential stage-wise training, the model concurrently optimizes three distinct objectives: conditional generation ($u(V_r|V_m, C)$), modality estimation ($u(V_m|V_r)$), and joint generation ($u(V_r, V_m|C)$). At each training step, a task is probabilistically sampled, and a corresponding noise schedule is applied to the RGB ($V_r$) and modality ($V_m$) tokens.
- In-Context Learner: To help the model distinguish between modalities semantically, the authors inject modality-specific textual prompts (e.g., "depth map", "human skeleton") alongside content captions. This dual-branch cross-attention mechanism allows the model to learn modality-level semantics, enabling compositional generalization to unseen objects.
- Modality-Adaptive Switcher: To handle architecture-level modulation as modalities scale, the framework introduces learnable modality embeddings. These embeddings extend the standard AdaLN-Zero mechanism to produce modality-specific scale, shift, and gate parameters within each DiT block, allowing plug-and-play modality selection at inference time.
The training follows a two-stage curriculum strategy. Stage 1 trains only pixel-aligned modalities (depth, optical flow, DensePose) on curated single-person data to establish spatial correspondence. Stage 2 scales up to incorporate pixel-unaligned modalities (segmentation masks, skeletons) and diverse multi-person/general scene datasets.
Datasets
To power this unified paradigm, the authors curated and released two major data resources:
- OpenUni: A large-scale multimodal dataset containing 1.3 million video clips spanning five auxiliary modalities (optical flow, depth, DensePose, skeleton, and segmentation). It aggregates real-world videos from multiple sources, partitioned into balanced groups to prevent overfitting.
- UniBench: A high-quality evaluation benchmark consisting of 30,000 synthetic videos rendered in Unreal Engine (providing pristine ground-truth depth and optical flow) along with 200 manually curated real-world videos for controllable generation and segmentation assessments.
Key Insights and Ideas
- The Multimodal Convergence Dividend: One of the most striking findings is that joint training on multiple modalities actually improves the baseline performance of RGB video generation. As shown in the paper's loss curves, the unified multi-modal joint training achieves a significantly lower final loss on RGB generation compared to single-modality training or standard RGB finetuning.
- Emergent Zero-Shot Generalization: By training the model to interpret modality-level semantics via the In-Context Learner, the model can generalize human-centric training data to general objects. For example, a segmentation task trained on "two persons" successfully generalizes to segmenting "two cats" or other arbitrary objects at test time without requiring external object detectors.
- Enhanced Physical Reasoning: Unifying generation and estimation forces the model to internalize geometric and physical constraints. This manifests as better adherence to physical laws (like light refraction on water) and superior temporal consistency compared to models trained purely on text-to-video.
Key Results
UnityVideo achieves state-of-the-art or highly competitive performance across all evaluated downstream tasks:
- Text-to-Video Generation: On the public VBench benchmark, UnityVideo outperforms prominent open-source and commercial models (including Kling1.6, OpenSora2, and HunyuanVideo) in Background Consistency (97.44) and Aesthetic Quality (64.12).
- Controllable Generation: It achieves a Dynamic Degree score of 64.42, significantly outperforming specialized controllable models like VACE (61.32) and Full-DiT (49.50), demonstrating that multi-task training prevents the model from becoming overly rigid when following control signals.
- Modality Estimation & Segmentation: On the UniBench dataset, UnityVideo achieves an Abs Rel depth error of 0.022 (outperforming DepthCrafter's 0.065) and a video segmentation mIoU of 68.82 (outperforming SeC's 65.52).
Limitations and Future Work
Despite its strong performance, the authors note a few limitations:
- VAE Artifacts: The underlying Variational Autoencoder (VAE) occasionally introduces reconstruction artifacts, which could be mitigated by fine-tuning the autoencoder or adopting more advanced architectures.
- Scalability: Future work includes scaling UnityVideo to even larger DiT backbones and incorporating an even wider array of visual modalities (such as camera poses or thermal imaging) to further enhance its emergent world-modeling capabilities.
Summary updated