计算机科学 > 计算机视觉与模式识别
[提交于 2026年9月25日 (v1),最后修订于 2026年11月25日 (此版本, v2)]
标题:Where Compute Matters: Heterogeneous Attention for Efficient Video Diffusion
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Mohsen Ghafoorian[v1] 2026年9月25日 星期五 09:43:04 UTC (39,044 KB)
[v2] 2026年11月25日 星期三 15:15:18 UTC (4,487 KB)