Magpie in flight
Autumn on the lake
A house at sea

Fine-grained selection. Full-tile execution.
Faster video generation, with the details intact.

High sparsity89–92%

of video attention skipped

Faster generation2.23×

up to, end-to-end speedup

Better fidelity+4.4 dB

up to, over the strongest baseline

Results reported on Wan2.1 and HunyuanVideo. Speed measured on NVIDIA H20; sparsity refers to video attention in sparse denoising steps.

The idea

Abstract

Video diffusion transformers generate high-quality videos, but the quadratic cost of 3D full attention dominates their inference. Dynamic block-sparse attention reduces this cost by selecting key/value blocks from the current activations and computing exact attention only on the selected ones. 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.

We present Accurate Block Attention (AB-Attention), a training-free method that addresses each limitation. Its Intra-Block Clustering Selector (IBCS) estimates block importance faithfully yet cheaply by clustering queries only within each query block, without permuting tokens. Sampling with Inclusion-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 full tensor-core tiles, refining selection at no extra tensor-core cost.

On Wan2.1 and HunyuanVideo, AB-Attention skips 89–92% of attention, whereas the baselines compute 1.8–3.6× as much, yet it still improves PSNR by up to 4.4 dB over the strongest baseline and achieves up to 2.23× end-to-end speedup.

The method

How AB-Attention works

Estimate block importance, sample and reweight, then gather small blocks into full GPU tiles.

Three stages of AB-Attention: query clusters score key blocks; score-proportional sampling assigns inverse-inclusion weights; sampled blocks are gathered into full tensor-core tiles.
AB-Attention separates the selection unit from the execution tile.

01 Intra-block clustering

Cluster queries within each block to score small key/value blocks, keeping the original token order.

02 Sample and reweight

Sample blocks in proportion to their scores and apply inverse-inclusion weights to estimate dense attention.

03 Execute in full tiles

Gather four-token key/value blocks on chip into full tensor-core tiles for a single attention pass.

See it in motion

Qualitative comparisons

Wan2.1-T2V-14B · 720p · matched prompts and seeds

“A magpie takes off with a twig in its beak, in anime style.”

Dense attention Reference

Full attention

AB-Attention Ours

PSNR 30.51 dB

DFSAttn

PSNR 26.64 dB

SVG2

PSNR 27.53 dB

PSNR is measured over each complete video against its dense reference. These qualitative examples were generated on GH200.

The numbers

Results across three video models

Evaluation on the 600-prompt Penguin Benchmark.

AB-Attention results from Table 1 of the paper.
ModelSparsity ↑PSNR ↑SSIM ↑LPIPS ↓Speedup ↑
Wan2.1 · 1.3B89.16%34.4360.93280.07342.01×
Wan2.1 · 14B89.16%30.7880.91690.09641.84×
HunyuanVideo · 13B92.35%34.3470.94800.07002.23×

PSNR, SSIM, and LPIPS compare against dense attention. End-to-end speedup is measured against the dense FlashAttention-3 baseline on NVIDIA H20. See the paper for the full baseline comparison and timing protocol.

BibTeX

@misc{xu2026abattention,
  title = {{AB-Attention}: Accurate Block Attention for
           Accelerating Video Diffusion Transformers},
  author = {Bin Xu and Mo Zhang and Zhengfeiyang Zhang and
            Xinfeng Yang and Yixing Ma and Wei Wang and
            HeXin Wang and Pengfei Zhou and Wangbo Zhao},
  year = {2026},
  eprint = {2610.39663},
  archivePrefix = {arXiv},
  primaryClass = {cs.CV},
  url = {https://arxiv.org/abs/2610.39663}
}