AB-Attention: Accurate Block Attention for Accelerating Video Diffusion Transformers
Summary
AB-Attention提出一种免训练的块稀疏注意力方法,通过块内聚类选择、包含概率加权采样和细粒度核收集来近似稠密注意力,在Wan2.1和HunyuanVideo上跳过89-92%注意力计算,同时PSNR提升最高4.4dB,端到端加速最高2.23倍。
View Cached Full Text
Cached at: 10/30/26, 11:09 AM
Paper page - AB-Attention: Accurate Block Attention for Accelerating Video Diffusion Transformers
Source: https://huggingface.co/papers/2610.39663 Published on Oct 29
·
Submitted byhttps://huggingface.co/xubinknight
Xubinon Oct 30
Abstract
AB-Attention approximates dense video diffusion attention with high sparsity via intra-block clustering, weighted sampling, and fine-grained kernel gathering, improving fidelity and speed.
Video diffusion transformersgenerate high-quality videos, but the quadratic cost of3D full attentiondominates their inference.Dynamic block-sparse attentionreduces this cost by computing exact attention only on key/value blocks selected from current activations. However, its fidelity degrades under aggressive sparsity: blocks are scored from coarse summaries or formed by costly global clustering, pruned blocks vanish from the softmax, and whole tiles are kept or dropped even when only a few of their keys matter. To address these limitations, we propose Accurate Block Attention (AB-Attention), a training-free method that accurately approximates dense attention at high sparsity. ItsIntra-Block Clustering Selector(IBCS) estimates block importance faithfully yet cheaply by clustering queries only within each query block, without permuting tokens. Sampling withInclusion-Probability Weighting(SIP) then samples blocks in proportion to these estimates and reweights them by inverse inclusion probability, so that one pass estimates dense attention rather than truncating it. Finally, its kernel gathers key/value blocks much smaller than a tile into fulltensor-core tiles, refining selection at no extra tensor-core cost. On Wan2.1 and HunyuanVideo,AB-Attentionskips 89--92\% of attention, whereas the baselines compute 1.8--3.6times as much, yet it still improves PSNR by up to 4.4~dB over the strongest baseline and achieves up to 2.23times end-to-end speedup. Our code is available at https://github.com/InfRec-Cardinal/AB-Attention.
View arXiv pageView PDFProject pageGitHub23Add to collection
Get this paper in your agent:
hf papers read 2610\.39663
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2610.39663 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2610.39663 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2610.39663 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Sparsity Should Be ALLOTted by Output: Training-Free Allocation of Block-Sparse Attention for Video Diffusion Transformers
提出 ALLOT:一种训练自由的块稀疏注意力分配方法,通过细胞探测与轨迹校准在延迟预算内优化视频扩散 Transformer 各层-步的稀疏度,在 HunyuanVideo 上实现 11.8 dB PSNR 提升。
MC-Sparse: Deconstructing and Closing the Dense-Sparse Attention Gap in Diffusion Transformers
提出 MC-Sparse,一个免训练的元缓存稀疏注意力框架,通过分析稠密-稀疏注意力差距的三大来源,在视频与3D生成中实现最高2.32倍去噪加速且几乎无质量损失。
AReA: Adaptive Receptive-Field Attention for Efficient High-Resolution Diffusion Transformers
提出AReA:一种训练自由的注意力机制,其感受野随去噪过程从粗到细自适应演化,用于实现高效高分辨率Diffusion Transformer图像生成,在多个分辨率和模型上超越现有无训练基线且更快速。
Faster Video Diffusion with Trainable Sparse Attention
This paper introduces Trainable Sparse Attention (VSA), a hardware-efficient sparse attention mechanism that reduces computational costs in video diffusion transformers without compromising performance, enabling more efficient scaling and faster generation.
Prism: Dynamic Sparse Attention for Native 2K Joint Video-Audio Generation Model Training
Prism提出一种动态稀疏注意力框架,用于原生2K分辨率下联合视频-音频生成模型的训练,通过时空宏区域划分和音频-视频跨模态信号自适应分配注意力块形状,实现相比全注意力2.5倍训练加速且生成质量更优。