Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

AB-Attention speeds up video diffusion transformers with accurate block-sparse attention

A new paper proposes AB-Attention, a training-free method that approximates dense attention at high sparsity in video diffusion transformers. It clusters queries within each block to score key/value blocks, samples blocks with inverse-inclusion-probability…

Published Read the original
AB-Attention speeds up video diffusion transformers with accurate block-sparse attention

Why it matters

For teams running open video models, it offers a way to cut inference cost without retraining.

What happened

1 min read

A new paper proposes AB-Attention, a training-free method that approximates dense attention at high sparsity in video diffusion transformers. It clusters queries within each block to score key/value blocks, samples blocks with inverse-inclusion-probability weighting, and uses a kernel that packs small blocks into full tensor-core tiles. On Wan2.1 and HunyuanVideo it skips 89-92% of attention and reports up to 2.23x end-to-end speedup with up to 4.4 dB better PSNR than the strongest baseline.

inscraper analysis

Our analysis

The genuinely new idea is replacing hard block pruning with unbiased sampling, which reduces the error from dropping blocks out of the softmax. The results are the authors' own on two models, with no independent replication yet. Code is released, so anyone serving Wan2.1 or HunyuanVideo can try it; an open question is how the random sampling affects output determinism.

More in Research