OpenAttention: One Percent Is Enough with Tail Proxies
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Sparse attention reads only a small subset of the key-value cache, and how to treat the unread tail remains a key challenge. Discarding the tail biases the output, and sampling it as previous approaches do fails at reads of 5% and below, where the tail likely holds heavy hitters the selector missed. Our key observation is that the simplest possible proxy, one token that folds the entire tail into its count-aware mean, already yields lower output error than a sample at every read behind a practical selector. We further show in closed form that at low reads sampling nearly doubles the weight error of discarding while a single proxy stays below it. Building on these findings, we explore approximating the dense attention distribution with a few proxies that target the tail. We propose OpenAttention, a pipeline of clustering, ErrorGate and top-k selection followed by a count-aware mean proxy. To implement clustering and selection both efficiently and effectively, we design training-free Query-Geometry Clustering (QGC) and a Query-Geometry Selector (QGS), which compress the keys while respecting the query directions. Additionally, unlike prior methods that rank clusters by centroid alone, ErrorGate allocates the exact read by the estimated weight error of each cluster. On RULER-32K HARD with Llama-3.1-8B, OpenAttention retains 99% of dense accuracy at a 1% read. It also achieves state-of-the-art accuracy across models, context lengths and datasets. Our customized attention kernel for OpenAttention runs the decode attention stage 10× faster than dense attention at a 1% read.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 24 of its 30 references that are in the map. Submitted 22 Oct 2026.
Builds on
24 of 30 references.
Closest ancestors · 9
Same direction, newest first
- 2026Stochastic Sparse Attention for Memory-Bound Inference3 May
- 2026Double-P: Hierarchical Top-P Sparse Attention for Long-Context LLMs5 Feb
- 2025CentroidKV: Efficient Long-Context LLM Inference via KV Cache Clustering13 Jun
- 2025RetroInfer: A Vector Storage Engine for Scalable Long-Context LLM Inference5 May
- 2024ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compression4 Dec
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023SparQ Attention: Bandwidth-Efficient LLM Inference8 Dec
Other references · 15
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,986
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 447
- 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 220
- 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 214
- 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 139
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 133
- 2024Loki: Low-rank Keys for Efficient Sparse Attentioncited by 106
- 2024PQCache: Product Quantization-based KVCache for Long Context LLM Inferencecited by 102
3 more
- 2024Squeezed Attention: Accelerating Long Context Length LLM Inferencecited by 66
- 2024Post-Training Sparse Attention with Double Sparsitycited by 54
- 2024HashAttention: Semantic Sparsity for Faster Inferencecited by 32
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026PIVOT: Efficient Query-Group Indexing for Token-Level Sparse Attention
- 2026Trust the Mass: Forced Weights in KV-Cache Eviction
- 2026Beyond Mean Attention: Diversity-Aware, Layer-Wise Scoring for KV Cache Eviction
- 2026SANTA++: Sampling Attention through Representative Keys
- 2026Sparse Attention as a Range Searching Problem: Towards an Inference-Efficient Index for KV Cache
- 2026ThriftAttention: Selective Mixed Precision for Long-Context FP4 Attention
- 2026VestigeKV: The NoPE-MLA KV Cache Carries Its Own Sparse-Attention Signal in a Vestigial Branch
- 2026Folding Attention Biases into Keys Makes Compacted KV Caches Run on Standard Kernels