paper-with-me

Papers

vAttention: Verified Sparse Attention

2025-10-07 · Aditya Desai, Kumar Krishna Agrawal, Shuo Yang, Alejandro Cuadron, Luis Gaspar Schroeder, Matei Zaharia, Joseph E. Gonzalez, Ion Stoica arxiv

State-of-the-art sparse attention methods for reducing decoding latency fall into two main categories: approximate top-$k$ (and its extension, top-$p$) and recently introduced sampling-based estimation. However, these approaches are fundamentally limited in their ability to approximate full attention: they fail to provide consistent approximations across heads and query vectors and, most critically, lack guarantees on approximation quality, limiting their practical deployment. We observe that top-$k$ and random sampling are complementary: top-$k$ performs well when attention scores are dominated by a few tokens, whereas random sampling provides better estimates when attention scores are relatively uniform. Building on this insight and leveraging the statistical guarantees of sampling, we introduce vAttention, the first practical sparse attention mechanism with user-specified $(ε, δ)$ guarantees on approximation accuracy (thus, "verified"). These guarantees make vAttention a compelling step toward practical, reliable deployment of sparse attention at scale. By unifying top-$k$ and sampling, vAttention outperforms both individually, delivering a superior quality-efficiency trade-off. Our experiments show that vAttention significantly improves the quality of sparse attention (e.g., $\sim$4.5 percentage points for Llama 3.1 8B Instruct and DeepSeek-R1-Distill-Llama-8B on RULER-HARD), and effectively bridges the gap between full and sparse attention (e.g., across datasets, it matches full model quality with up to 20x sparsity). We also demonstrate that it can be deployed in reasoning scenarios to achieve fast decoding without compromising model quality (e.g., vAttention achieves full model quality on AIME2024 at 10x sparsity with up to 32K token generations). Code: https://github.com/skylight-org/sparse-attention-hub. Webpage: https://sky-light.eecs.berkeley.edu.

📄 PDF Abstract BibTeX arXiv:2510.05688

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

HyperVAttention: Efficient Sparse Attention with Spatio-Temporal Clustering for Video Diffusion

2026-07-03 · Dongyeun Lee, Amir Zandieh, Vahab Mirrokni, Junmo Kim 외 arxiv

Video Diffusion Transformers (VDiTs) have demonstrated significant capabilities in high-fidelity video generation. However, their ability to produce long-duration videos is fundamentally constrained by the quadratic comp…

Text-to-Video Generation

vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention

2024-05-07 · Ramya Prabhu, Ajay Nayak, Jayashree Mohan, Ramachandran Ramjee 외

PagedAttention is a popular approach for dynamic memory allocation in LLM serving systems. It enables on-demand allocation of GPU memory to mitigate KV cache fragmentation -- a phenomenon that crippled the batch size (an…

GPUManagement

Efficient Attention via Pre-Scoring: Prioritizing Informative Keys in Transformers

2025-05-16 · Zhexiang Li, Haoyu Wang, Yutong Bao, David Woodruff

Recent advances in transformer architectures deeply enhance long-context language modeling. Among them, HyperAttention achieves competitive efficiency by combining a single-level LSH-based clustering with uniform residua…

ClusteringLanguage ModelingLanguage Modelling

LevAttention: Time, Space, and Streaming Efficient Algorithm for Heavy Attentions

2024-10-07 · Ravindran Kannan, Chiranjib Bhattacharyya, Praneeth Kacham, David P. Woodruff

A central problem related to transformers can be stated as follows: given two $n \times d$ matrices $Q$ and $K$, and a non-negative function $f$, define the matrix $A$ as follows: (1) apply the function $f$ to each entry…

ERNIE-SPARSE: Learning Hierarchical Efficient Transformer Through Regularized Self-Attention

2022-03-23 · Yang Liu, Jiaxiang Liu, Li Chen, Yuxiang Lu 외

Sparse Transformer has recently attracted a lot of attention since the ability for reducing the quadratic dependency on the sequence length. We argue that two factors, information bottleneck sensitivity and inconsistency…

Sparse Learningtext-classificationText Classification