Spark-H3: Adaptive Block Sparse Attention for Video Diffusion Models
Zecheng Tang, Jiaye Fu, Youtian Lin, Xinyao Rao, Liuxuan Sun, Jian Zhang, Yao Yao, Wei Li
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× DiT speedup and reaches 24.81 dB PSNR against the corresponding dense outputs on MiniMax-H3 (20 denoising steps, 345 frames, 1344×768). Increasing the density to 20% further improves PSNR to 26.76 dB while still achieving a 2.26× 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.
Create a lesson
Related papers
Every Query Routes Itself: Accelerating Video Diffusion Transformers with Per-Query Routed Sparse Attention
Shared title terminology · Zhen Huang, Shuwei Li, Ruizhe Yao et al.
MoHA: Model-Conditioned Harness Adaptation for Long-Video Agents
Shared title terminology · Jianghan Chao, Wenhui Tan, Hang Su et al.
Hindsight Forcing: Learning Better History from the Future in Autoregressive Video Diffusion
Shared title terminology · Haonan An, Yihang Tao, Yu Guo et al.
V2VFusion: Text-Controlled Video-to-Video Diffusion for Degradation-Aware Video Fusion
Shared title terminology · Jiajun Chen, Han Xu, Yunfei Huang et al.
One Prior, Two Dynamics: Repurposing Video Diffusion Transformers for Self-Supervised Latent Action Learning
Shared title terminology · Yuxin Jiang, Wenqiang Sun, Jiaqi Li et al.
SGAR: Feed-Forward 3D Reconstruction via Sparse Geometry-Guided Attention
Shared title terminology · Aoxiang Fan, Maria Pilligua, Corentin Dumery et al.