稀疏性应按输出分配:面向视频扩散Transformer的免训练块稀疏注意力分配方法 Sparsity Should Be ALLOTted by Output: Training-Free Allocation of Block-Sparse Attention for Video Diffusion Transformers 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-21
⬇️ 1 次下载
👁️ 预览文献
💡 AI 中文简介
视频扩散Transformer中全3D注意力计算成本高,块稀疏注意力通过只计算部分注意力块来降低成本。现有方法要么忽略稀疏分配优化,要么依赖启发式规则。本文发现不同层和去噪步骤的稀疏化对视频保真度影响差异很大,但最敏感的层-步骤对在不同输入下几乎不变。据此提出免训练分配方法ALLOT,通过单元探测和轨迹校准估计每个层-步骤单元对最终视频误差的贡献,在延迟预算下联合优化单元密度。在HunyuanVideo上PSNR提升11.8 dB,并在多个模型和设置下优于或持平默认方法。
领域计算机视觉/视频生成与高效推理
适合谁读需要一定专业背景(了解扩散模型和注意力机制)
核心贡献1. 发现层-步骤对稀疏敏感度差异大且跨输入稳定,为分配优化提供依据;2. 提出免训练ALLOT方法,通过单元探测和轨迹校准估计贡献,在延迟预算下联合优化密度,可替换现有分配组件。
关键数据在HunyuanVideo上PSNR提升11.8 dB;在Wan2.1、Wan2.2和HunyuanVideo的四个额外已发布流程中,九个设置下均优于或持平默认方法。
推荐理由如果你关心视频生成模型如何在不重训练的情况下大幅提速且保画质,这篇给出了简单有效的分配新思路。
关键词["视频扩散Transformer", "块稀疏注意力", "稀疏分配", "免训练", "视频生成", "推理加速"]

原文摘要

查看英文原文摘要

Full 3D attention is costly in video Diffusion Transformers. Block-sparse attention reduces this cost by computing only selected attention blocks. However, existing methods either overlook the potential to optimize sparsity allocation or rely on heuristic rules or local metrics to guide it. In this work, we observe that sparsifying attention in different layers and at different denoising steps affects final-video fidelity to substantially different degrees. Yet the identities of the most sensitive layer-step pairs remain nearly unchanged across inputs. Building on these findings, we propose Allocating Layer-step Latency by Output Tests (ALLOT), a training-free sparsity allocation method. Treating each layer-step pair as a cell, ALLOT estimates each cell's contribution to final-video error through (i) cell probing and (ii) trajectory calibration, then jointly optimizes cell densities under a measured-latency budget. It preserves existing selection strategies and kernels, replacing only the allocation component. At equal or shorter wall-clock time, ALLOT outperforms every compared allocation strategy with XAttention, with an 11.8 dB PSNR gain on HunyuanVideo. Extensive experiments across four additional published pipelines on Wan2.1, Wan2.2, and HunyuanVideo show that ALLOT outperforms or ties the default in all nine settings.