arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.14513cs.CVcs.AI
收藏

HASTE:通过头级自适应稀疏注意力实现无训练视频扩散加速

HEART: Exploiting Head Heterogeneity in Sparse Attention for Video Diffusion

Key Laboratory of Multimedia Trusted Perception and Efficient Computing, Ministry of Education of China, Xiamen University(中国教育部多媒体可信感知与高效计算重点实验室,厦门大学)

Xuzhe Zheng, Yuexiao Ma, Jing Xu, Xiawu Zheng, Rongrong Ji, Fei Chao

AI总结:

本文提出HASTE框架,通过时间掩码复用和误差引导预算校准,提升无训练稀疏注意力在视频生成中的速度与质量平衡,实现在720P下1.93倍的加速效果。

摘要:

基于扩散的视频生成在视觉保真度和时间一致性上取得了显著进展,但实际部署仍受限于全注意力的二次复杂度。无训练稀疏注意力因其能加速预训练模型而具有吸引力,但现有在线top-p稀疏注意力仍耗费非可忽略的成本在掩码预测上,并应用共享阈值,尽管存在强的头级异质性。我们展示这两个被忽视的因素限制了无训练稀疏注意力在视频DiTs中的实际速度-质量权衡。为了解决这些问题,我们引入了一个头级自适应框架,包含两个插件组件:时间掩码复用,基于查询-键漂移跳过不必要的掩码预测,以及误差引导的预算校准,通过在全局稀疏预算下最小化测量模型输出误差来分配每头top-p阈值。在Wan2.1-1.3B和Wan2.1-14B上,我们的方法一致提升了XAttention和SVG2,实现720P下高达1.93倍的加速,同时保持具有竞争力的视频质量和相似性度量。

英文摘要:

Sparse attention accelerates video diffusion by allowing each attention head to focus on only a small subset of interactions. Existing methods already construct head-specific sparse patterns conditioned on the input. However, we find that these heads also differ in two less obvious but practically important ways. First, for some heads, sparse attention masks remain stable across many denoising steps, whereas others change rapidly. Second, heads differ substantially in their sensitivity to sparsification: applying the same threshold can induce markedly different errors in the final denoising velocity. Ignoring these differences leads to redundant mask prediction and suboptimal threshold calibration across heads under a global sparsity budget. We present HEART, short for Heterogeneity-Exploiting Adaptive Refresh and Thresholding, a training-free framework that exploits both forms of head heterogeneity. First, Temporal Mask Reuse (TMR) uses a lightweight per-head query-key drift signal to determine whether a cached sparse mask remains reliable across denoising steps, refreshing it only when the drift exceeds a prescribed threshold. Second, Error-guided Budgeted Calibration (EBC) evaluates candidate thresholds offline using a frequency-weighted denoising-velocity error, and assigns each head an appropriate threshold under a global sparsity budget. HEART requires no retraining, weight modification, or sparse-kernel changes, and can be integrated directly into existing sparse-attention pipelines. Across Wan2.1-1.3B, Wan2.1-14B, and HunyuanVideo-13B, HEART consistently pushes the quality--efficiency frontier of advanced sparse attention methods such as XAttention and SVG2 outward.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑