Where Compute Matters: Heterogeneous Attention for Efficient Video Diffusion
Olga Zatsarynna, Denis Korzhenkov, Juergen Gall, Amir Habibian, Mohsen Ghafoorian
Abstract
Efficient video generation requires reducing the quadratic cost of self-attention over long spatiotemporal token sequences. Denoising difficulty varies across video regions and evolves throughout generation, motivating an adaptive allocation of global context. We introduce HetA-DiT, a heterogeneous attention mechanism that routes uncertain tokens through global attention and processes more reliable tokens with local attention. A lightweight uncertainty branch is trained with an uncertainty-aware distribution-matching objective. At inference, its preceding-step predictions are shared across attention heads and reused across blocks, without an additional Transformer evaluation. We evaluate DMD-distilled Wan2.2-5B, Wan2.1-1.3B and Wan2.1-14B models. VBench across all three models, together with VBench2.0 and human preference evaluations on 5B, shows that HetA achieves a favorable quality-efficiency trade-off while routing only approximately 20\% of tokens through global attention. Across Wan2.1-1.3B and Wan2.2-5B/14B benchmarks on A100, HetA achieves up to 3.78x self-attention and 2.23x Transformer-block speedups over dense FlashAttention. Complete-denoising speedups grow with model size and sampling schedule, with composed runtime measurements projecting up to 2.06x for a 14B expert with 50-step sampling.
Create a lesson
Related papers
LiveVAE: Causal Window Attention Makes Efficient Streaming Video VAE
Shared title terminologycs.CVJiachen An, Sijie Zhao, Le Li et al.
DraftAttention2: Fast Video Diffusion with Low-Resolution-Guided Mixed-Precision Attention
Shared title terminologycs.CVRui Ding, Haopeng Li, Weize Ma et al.
SPARC: Geometry-Guided Attention Pruning for Long-Horizon Camera-Controlled Video Generation
Shared title terminologycs.CVZesong Yang, Weikai Chen, Liyuan Cui et al.
PARSEE-VAD: Efficient Training-Free Online Video Anomaly Detection via Proposition-Aware Reasoning and Streaming Evidence Escalation
Shared title terminologycs.CVJi Wang, Shuangqing Zhang, Guo-Sen Xie et al.
Scope-WM: Scoped Computation for Efficient Visual World Models
Shared title terminologycs.CVChunzheng Li, Zesheng Jia, Hongda Zhang et al.
Structured Residual Connectivity Matters for Diffusion Transformers
Shared title terminologycs.CVYuhe Liu, Xinyin Ma, Gongfan Fang et al.