UniVid: Pyramid Diffusion Model for High Quality Video Generation

Xinyu Xiao, Binbin Yang, Tingtian Li, Yipeng Yu, Sen LeiarXiv 2026

TL;DR

UniVid is a unified video diffusion model capable of text-to-video (T2V), image-to-video (I2V), and joint text-and-image-to-video ((T+I)2V) generation within a single framework. By introducing a coarse-to-fine pyramid spatial-temporal attention mechanism and a dual-stream cross-attention module, UniVid achieves state-of-the-art temporal coherence and fine-grained control across all three generation tasks.

What Problem Does This Paper Address?

While text-to-video (T2V) and image-to-video (I2V) synthesis have advanced rapidly, existing models typically treat them as distinct tasks requiring separate architectures. Integrating both text prompts (which excel at describing motion) and reference images (which provide precise texture and structural details) into a single, unified model remains a significant challenge.

Furthermore, standard methods often convert 2D image diffusion models into video generators by simply inserting 1D temporal layers. This naive approach struggles to capture complex, multi-level motion dynamics—often referred to as "visual tempo"—leading to temporal flickering, loss of fine-grained details, or unnatural motion.

Methods

UniVid builds upon the pre-trained Stable Diffusion (2.1) backbone, replacing its standard spatial blocks with a novel Spatial-Temporal Block (STBlock). The architecture introduces two key innovations:

  1. Pyramid Spatial-Temporal Modules (PSTAttn & PSTConv): Inspired by multi-level visual tempo in video understanding, the authors implement a temporal pyramid structure. Instead of uniform temporal modeling across the entire network, UniVid performs dense cross-frame semantic alignments in the deeper, lower-resolution layers of the U-Net (where abstract motion is captured) and sparser alignments in the outer, higher-resolution layers. This progressively refines motion features from coarse to fine scales.
  2. Dual-Stream Cross-Attention (CrossAttnDual): To handle multimodal inputs, the standard cross-attention mechanism is extended into a two-path system. Text prompts are processed via a CLIP text encoder, while reference images are processed via a CLIP image encoder. Crucially, instead of using just a single global image token, UniVid utilizes all visual patch tokens to ensure precise, fine-grained spatial alignment of textures and structures.

During inference, the attention scores from the text and image streams can be dynamically re-weighted ($\lambda_t$ and $\lambda_v$), allowing users to seamlessly interpolate between purely text-driven, purely image-driven, or hybrid generation modes.

Fig. 2. An overview of UniVid. For the latent zt, a text prompt Ct and an image prompt Cv are used as hybrid condition to guide the denoising (generation) process. Specifically, we use a CLIP text encoder τt and an CLIP image encoder τv to obtain the linguistic token embedding Et and visual patch embedding Ev, respectively. The U-Net architecture of UniVid is built by stacking multiple basic STBlocks, with each block consisting of pyramid spatial-temporal convolution (PSTConv), self-attention (SelfAttn), pyramid spatial-temporal attention (PSTAttn), dual-stream cross-attention (CrossAttn) and temporal attention (TemAttn). Best viewed in color.

Datasets

The model was trained using a joint fine-tuning strategy on two large-scale public datasets:

  • LAION: A subset of 600 million high-aesthetic images was used to preserve the model's spatial and structural priors.
  • Pandas-70M: A filtered subset of 6 million high-quality video-text pairs was used to train the temporal layers.

For evaluation, the authors conducted zero-shot testing on UCF-101 (to measure video quality and diversity) and MSR-VTT (to evaluate text/image semantic alignment).

Key Insights and Ideas

  • Hierarchical Motion Modeling: Uniform 1D temporal attention treats all network layers identically, but motion features are inherently hierarchical. Aligning dense semantics at low resolutions and sparse features at high resolutions saves computation while significantly improving cross-frame consistency.
  • The Power of Visual Patch Tokens: Most existing image-conditioned video models rely on global image embeddings, which discard local layout information. Passing the full sequence of visual patch tokens allows the model to map specific image regions directly to their corresponding spatial locations across generated frames.
Dual-stream cross-attention mechanism

Key Results

UniVid demonstrates superior performance over several prominent baselines in zero-shot settings:

Quantitative Performance

  • Text-to-Video (T2V): On the UCF-101 dataset, UniVid achieved a zero-shot Frechet Video Distance (FVD) of 352.77, outperforming models like Make-A-Video (367.23) and PYoCo (355.19). On MSR-VTT, it achieved a state-of-the-art Frechet Inception Distance (FID) of 22.06.
  • Image-to-Video & Hybrid (I2V / (T+I)2V): On MSR-VTT, UniVid set a new state-of-the-art FID of 21.54 for I2V and 21.17 for hybrid (T+I)2V tasks, outperforming concurrent models like SVD and DynamiCrafter.

Qualitative Performance

Qualitative evaluations show that UniVid successfully generates complex motion (such as a flickering bonfire or a flying bee) while strictly preserving the background identity and structural layout of the reference image.

Limitations and Future Work

The authors do not explicitly dedicate a section to limitations, but a few constraints are apparent from the implementation details:

  • Resolution and Frame Count: The model was evaluated at a relatively modest output size of 24 frames at $576 \times 320$ resolution, leaving scaling to full HD or longer durations as a task for future iterations.
  • Computational Overhead: Operating dual CLIP encoders and multi-scale pyramid attention blocks increases computational complexity during training and inference compared to simpler 1D temporal extensions.

Summary updated

BibTeX
@misc{xiao2026univid,
  author = {Xinyu Xiao and Binbin Yang and Tingtian Li and Yipeng Yu and Sen Lei},
  title = {{UniVid: Pyramid Diffusion Model for High Quality Video Generation}},
  year = {2026},
  eprint = {2603.13739},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.13739},
}
Figure