Spark-H3: Adaptive Block Sparse Attention for Video Diffusion Models

Zecheng Tang, Jiaye Fu, Youtian Lin, Xinyao Rao, Liuxuan Sun +3 more
11/18/2026
cs.CV
diffusion-flow

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tang2026sparkh,
  title  = {Spark-H3: Adaptive Block Sparse Attention for Video Diffusion Models},
  author = {Zecheng Tang and Jiaye Fu and Youtian Lin and Xinyao Rao and Liuxuan Sun and Jian Zhang and Yao Yao and Wei Li},
  year   = {2026},
  eprint = {2611.24256},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.24256v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.24256.svg)](https://codeofpaper.com/paper/2611.24256)

Discussion