UltraViCo: Breaking Extrapolation Limits in Video Diffusion Transformers

Min Zhao, Hongzhou Zhu, Yingze Wang, Bokai Yan, Jintao Zhang, Guande He, Ling Yang, Chongxuan Li, Jun Zhu

Video Diffusion Transformers (DiTs) like Sora and HunyuanVideo are revolutionizing video generation, but they are typically constrained by their training length (e.g., 5-second clips). Generating longer sequences—a task known as video length extrapolation—often causes these models to break down. UltraViCo introduces a training-free, "plug-and-play" method that pushes the practical limit of video extrapolation from $2\times$ to $4\times$ the original training duration by addressing the root cause of these breakdowns: attention dispersion.

The Extrapolation Challenge

When pushed beyond their training window, state-of-the-art video models typically exhibit two distinct failure modes:

  1. Periodic Content Repetition: The generated video enters an infinite loop, repeating the same sequence of frames over and over (a common issue in models like HunyuanVideo).
  2. Universal Quality Degradation: The video loses motion and becomes increasingly blurry, effectively freezing into a static, low-quality image instead of a fluid video.

Previous attempts to solve this focused narrowly on modifying positional encodings (the "time tags" for frames). However, these approaches often failed to prevent the loss of visual quality and motion fluidity. UltraViCo shifts the focus from these tags to the attention mechanism itself.

The Unified Theory of Attention Dispersion

The researchers identified that both looping and blurring stem from a single, unified source: attention dispersion. As a video extends beyond the training length, the model's attention becomes diluted across too many tokens.

  • Random Dispersion: When attention scatters randomly across distant tokens, it leads to universal quality degradation and blurring.
  • Structured Dispersion (RoPE Harmonics): When the frequencies in the model's Rotary Position Embeddings (RoPE) align harmonically, attention scores stack up at specific intervals. This structured dispersion causes the "Groundhog Day" looping effect.

The UltraViCo Method

UltraViCo (Ultra-extrapolated Video via Attention Concentration) is a training-free intervention applied during inference to refocus the model's attention.

  • Attention Concentration: To suppress the noise from out-of-window tokens, UltraViCo applies a constant decay factor ($\alpha$) to their attention logits. This forces the model to concentrate on the reliable, local context it learned during training.
  • Targeted Harmonic Suppression: To combat periodic repetition, the method identifies specific "risky" harmonic positions in the attention map and applies a stronger decay factor ($\beta$) to suppress them.
  • Memory-Efficient Implementation: Because modifying attention maps for long videos is highly memory-intensive, the team developed a custom CUDA kernel integrated with FlashAttention. This allows UltraViCo to run on large-scale models without significant computational overhead or latency.

Key Results and Performance

Evaluated on the VBench benchmark across models like HunyuanVideo, Wan2.1-1.3B, and CogVideoX-5B, UltraViCo significantly outperformed existing baselines (such as RIFLEx, PI, and YaRN).

Generated video sequences demonstrating fluid motion and high visual quality at extended lengths.
  • Breaking the $2\times$ Barrier: While previous methods generally fail beyond doubling the training length, UltraViCo maintains high visual quality and natural motion at $4\times$ and even $5\times$ extrapolation.
  • Massive Metric Gains: At $4\times$ extrapolation on HunyuanVideo, UltraViCo improved Dynamic Degree (motion fluidity) by 233% and Imaging Quality by 40.5% compared to the previous best method.
  • Visual Fluidity: Unlike baseline methods that produce nearly static images at long lengths, UltraViCo preserves large-scale, fluid motion (e.g., a car driving through a forest or complex human movement).

Furthermore, the method generalizes seamlessly to downstream tasks such as controllable video synthesis (using VACE) and masked video-to-video editing.

Limitations and Future Directions

While highly effective, UltraViCo has a few limitations. The very first frame of a video is particularly sensitive to blurring during extrapolation due to Video VAE designs, requiring a specific negative decay factor to stabilize it. Additionally, the decay factors ($\alpha$ and $\beta$) currently require manual tuning based on the specific model architecture.

Future work will explore automated ways to determine optimal decay factors and investigate integrating this "attention concentration" approach directly into the training phase of future video generation models.

Summary updated

BibTeX
@inproceedings{zhao2026ultravico,
  author = {Min Zhao and Hongzhou Zhu and Yingze Wang and Bokai Yan and Jintao Zhang and Guande He and Ling Yang and Chongxuan Li and Jun Zhu},
  title = {{UltraViCo: Breaking Extrapolation Limits in Video Diffusion Transformers}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=fLLCmC53u9},
}
Figure