arXiv Machine Learning By Kasper Nordenram, Amelie Dittmann

ClusterAttention: A training-free speedup of bidirectional attention

Read the original on arXiv Machine Learning →

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.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

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.