Spark-H3:面向视频扩散模型的自适应块稀疏注意力
Spark-H3: Adaptive Block Sparse Attention for Video Diffusion Models
Spark-Attn 是一种免训练块稀疏注意力方法,由 Spark-Reblock 与 Spark-Reweight 组成,前者按注意力偏好递归分组 token 并保持规则块形状,后者以全局均值 query 为锚校准压缩块的注意力质量。
arXiv:2611.24256v1 Announce Type: new Abstract: Long video sequences make attention a substantial cost in video diffusion models. Block sparse attention (BSA) reduces this cost by computing selected blocks exactly while compressing the remaining blocks. However, fixed token grouping can place tokens with dissimilar attention preferences in the same group, while uniform key averaging can underestimate the attention mass of compressed blocks. We introduce Spark-Attn, a training-free BSA method comprising Spark-Reblock and Spark-Reweight. Spark-Reblock recursively groups tokens by attention preference while preserving regular block shapes for efficient GPU execution. Spark-Reweight uses the global mean query as an anchor to construct attention-weighted key-value representations and logit biases for the compressed blocks, calibrating their attention mass. We instantiate Spark-Attn in MiniMax-H3 as Spark-H3. At 10% exact-block density, Spark-H3 delivers a 2.49$\times$ DiT speedup and reaches 24.81 dB PSNR against the corresponding dense outputs on MiniMax-H3 (20 denoising steps, 345 frames, 1344$\times$768). Increasing the density to 20% further improves PSNR to 26.76 dB while still achieving a 2.26$\times$ DiT speedup. These results demonstrate that Spark-H3 achieves a state-of-the-art quality-efficiency trade-off for training-free BSA on video diffusion models.
来源:arXiv (AI + Vision + Imaging) · arxiv.org