arXiv Machine Learning

ClusterAttention: A training-free speedup of bidirectional attention

ClusterAttention is a training‑free technique that speeds up bidirectional attention by recursively clustering keys and queries into fixed‑size, power‑of‑two blocks, enabling block‑sparse attention to match dense attention latency on GPUs. The method derives error bounds for sparse attention, showing tighter clusters can reduce error when compensated via centroids, and demonstrates significant speedups—up to six‑fold on large tabular data and 1.8× on video generation—while preserving over 99% of dense accuracy.

arXiv Machine Learning
5d ago

Every Query Routes Itself: Accelerating Video Diffusion Transformers with Per-Query Routed Sparse Attention

The paper introduces Per-Query Routed Sparse Attention (PQRS), a training‑free method that clusters only keys in video diffusion transformers, allowing each query to select its own key clusters and use centroids for unselected keys. PQRS eliminates shared key lists among queries, enabling efficient traversal of key clusters, batching of identical query selections, and merging of partial results in a single pass. Experiments on four text‑to‑video and image‑to‑video models show PQRS achieves the fastest inference among sparse attention methods while closely matching dense attention performance, attaining 28.9 dB PSNR on Wan2.1‑T2V and 35.4 dB on HunyuanVideo with a 1.66–2.10× speedup.

By Zhen Huang, Shuwei Li, Ruizhe Yao, Xinrui Chen, Danyi Liu, Haoyuan Liang, Zhiyu Ye, Qiuyan Sun, Bingwei Chen, Yiyuan Li, Xu Zhou, Haohuan Fu
arXiv Computer Vision
Oct 9

iCATS: Fast Video Generation via Interaction-Aware Sparse Attention and Timestep-Adaptive Sparsity

iCATS introduces a training‑free sparse attention mechanism for Diffusion Transformers that accelerates video generation by reducing computations. It improves importance estimation by clustering query‑key dot‑product interactions and reformulates the objective as a quadratic form for low‑cost computation. The method also adapts sparsity dynamically across denoising timesteps using an SNR‑guided schedule and employs a tail‑merging strategy to enhance GPU kernel utilization, achieving significant speedups while maintaining high PSNR scores.

By Chengfeng Han, Baole Ai, Xianlu Bian, Jie Yao, Zilong Huang, Ang Wang, Dandan Ding
arXiv Machine Learning
Oct 23

OpenAttention: One Percent Is Enough with Tail Proxies

The paper introduces OpenAttention, a sparse attention framework that uses a single count‑aware mean proxy to represent the unread tail of the key‑value cache, outperforming sampling methods at low read rates. It combines clustering, an ErrorGate that allocates reads based on estimated weight error, and a query‑geometry selector to efficiently compress keys while preserving query direction. Experiments on RULER‑32K HARD with Llama‑3.1‑8B show OpenAttention retains 99 % of dense accuracy at a 1 % read and achieves state‑of‑the‑art accuracy across models, contexts, and datasets, with a custom kernel that is ten times faster than dense attention at the same read rate.

By Hyunwoo Yu, Jongbeom Lee, Hyunbin Kim, Sungjun Park, Jaemin Choi, Jincheol Yang, Seunghun Moon, Bongjoon Hyun, Kyomin Sohn, Kyeongbo Kong, Suk-Ju Kang
arXiv Machine Learning
Oct 8

Hardware-aware Calibrated Clustered Attention for Efficient Visual Geometric Transformers

The paper introduces Hardware‑aware Calibrated Clustered Attention (BC attention) to speed up the global attention layers of the Visual Geometry Grounded Transformer (VGGT) used for 3D scene reconstruction. By clustering queries within hardware‑friendly neighborhood blocks and adding hashing hyperplane calibration plus threshold‑based error compensation, BC attention reduces computation and memory traffic, enabling it to handle long sequences with practical latency gains on GPUs. Experiments show that calibrated BC attention accelerates global attention by 2.10–2.63× and the entire backbone by 1.77–2.35×, with only a 1% loss in accuracy, and achieves up to 2.87× latency improvement with less than 5% performance drop.

By Weitian Wang, Shubham Rai, Cecilia De La Parra, Akash Kumar
Hugging Face Trending Papers
Aug 13

SCOPE: Subspace Clustering with Online Per-Head Top-K Estimation for Sparse Video Attention

Diffusion Transformers (DiTs) incur quadratic self-attention cost over spatiotemporal tokens. Existing training-free sparse attention methods often construct sparse masks from block-level or cluster-level proxy scores, which can obscure fine-grained differences among keys and miss high contribution keys under aggressive sparsity.

arXiv Computer Vision
Nov 5

DecoupAttn: Decoupled Sparse Attention for Training-Free Acceleration of Video Diffusion

DecoupAttn introduces a decoupled sparse attention mechanism for video diffusion transformers, separating key block computation from error compensation. It uses a distortion‑budget objective to allocate exact attention across timesteps, layers, and heads, and a reassign cache to refresh key assignments while keeping budgeted blocks fixed. The method is training‑free, requiring only a few calibration clips to compile an offline plan, after which inference runs with standard block‑sparse kernels and a fused compensation kernel.

By Yanjin Li, Bingbing Qiu, Qiang Huang, Rui Qian, Yanfeng Li, Jian Wang, Xiaoying Tang, Mingda Zhang
arXiv Machine Learning
Oct 28

INTRA: Interleaved Non-contiguous Token spaRse Attention

The paper introduces INTRA, a hardware‑aware static sparse attention mechanism that interleaves non‑contiguous token groups to enable efficient long‑range communication while reducing quadratic cost. INTRA uses Scatter and Gather layers to create short mediated paths across layers, and a FlashAttention‑style kernel computes structured indices at runtime for dense packing of selected tokens. Experiments on an A100 GPU show significant speedups—up to 8.4× over MoBA and 10.4× over density‑constrained NSA—while maintaining or improving image quality and long‑context performance on models like FLUX.1‑dev and LLaMA‑3.1‑8B.

By Yuxuan Xia, Wenbo Lu, Shaoyi Zheng, Shengjie Wang
arXiv Machine Learning
Nov 6

ASAP: Attention Sink Anchored Pruning

ASAP (Attention Sink Anchored Pruning) is a training‑free framework designed to reduce the computational burden of Vision Transformers by addressing the attention sink problem. It models ViT information flow as a Lazy Random Walk, identifies the sink as a dominant probability accumulator, and uses diffusion distance to partition tokens via Radial Diffusion Clustering. The method then compresses background redundancy through Transition Weight Pooling, achieving up to 48% throughput acceleration while maintaining or improving accuracy across image, video, and vision‑language tasks.

By Jaehyuk Lee, Hanyoung Kim, Yanggee Kim, Donghun Lee