AB-Attention Speeds Up Video Diffusion by 2.23x

A new training-free attention kernel promises to cut video diffusion inference costs nearly in half. AB-Attention, published October 30, 2026 on Hugging Face Papers, skips 89-92% of attention computation on models like Wan2.1-T2V-14B and HunyuanVideo while staying closest to dense attention quality. On a single H20 GPU the authors report 1.84-2.23x end-to-end speedup and PSNR gains of 1.6-4.4 dB over the strongest prior block-sparse baselines.
How AB-Attention Works
The method replaces standard dense attention with a block-sparse approximation built from three components. An Intra-Block Clustering Selector (IBCS) scores key/value blocks using lightweight query clusters formed only within each query block, avoiding costly global clustering and token permutation. Sampling with Inclusion-Probability Weighting (SIP) then samples blocks in proportion to these scores and reweights them by inverse inclusion probability, ensuring that one block-sparse pass estimates dense attention rather than truncating it. A custom kernel gathers key/value blocks much smaller than a tile into full tensor-core tiles, so finer selection does not sacrifice tensor-core efficiency.
The authors quantify why finer blocks matter. Shrinking key/value blocks from 128 to 4 tokens raises the attention mass retained by oracle top-k from 59% to 69% at 89.16% sparsity. Where competing baselines compute 1.8-3.6x as much attention as AB-Attention at matched settings, the paper reports its approach still improves PSNR by up to 4.4 dB over the strongest baseline.
Release Date and Availability
AB-Attention was officially released on October 30, 2026 via a preprint titled "AB-Attention: Accurate Block Attention for Accelerating Video Diffusion Transformers" on Hugging Face Papers. Open-source code is available at github.com/InfRec-Cardinal/AB-Attention, enabling researchers and developers to integrate the method into existing video diffusion pipelines without retraining.
Benchmark Results on Wan2.1 and HunyuanVideo
On Wan2.1-T2V-14B the method lands closest to dense attention in full-video PSNR while delivering the highest speedup against prior block-sparse baselines including SVG2 and DFSAttn. The authors tested on a single H20 GPU and measured attention compute reduction of 89-92%, translating to 1.84-2.23x faster end-to-end inference. HunyuanVideo showed similar gains, with PSNR improvements of 1.6-4.4 dB depending on the baseline and sparsity level.
The paper positions AB-Attention as a drop-in replacement for dense attention in video diffusion transformers, compatible with existing architectures that rely on standard attention mechanisms. Because the kernel is training-free, it requires no model fine-tuning or retraining, lowering the barrier to adoption for teams running large-scale video generation workloads.
Context in Inference Efficiency Research
AB-Attention joins a wave of inference-efficiency work targeting video and multimodal diffusion models. The release follows SpecSlot, a pixel-space generative transformer scheduler tracked a day earlier, and reflects growing industry focus on reducing the cost of high-resolution video generation. As video diffusion transformers scale to billions of parameters, attention remains a primary bottleneck. Methods that cut attention compute by 90% without quality loss enable longer videos, higher resolutions, and lower cloud inference bills.
The authors note that block-sparse attention has been explored in language models and image diffusion, but video generation presents unique challenges due to temporal coherence requirements and the sheer size of key/value caches. AB-Attention's intra-block clustering and inclusion-probability weighting are designed to preserve temporal consistency while aggressively pruning irrelevant blocks.
What This Means
AB-Attention demonstrates that block-sparse attention can match dense model quality on video diffusion at extreme sparsity levels. With open-source code and a training-free design, the method is positioned for rapid adoption in commercial and research pipelines. The 2x speedup and 4 dB PSNR gains over existing baselines suggest that block-sparse attention is no longer a quality trade-off but a strict improvement for video diffusion inference at scale.
on Emergent today





