mlsanityData to 14 Oct 2026

Sparse Attention as a Range Searching Problem: Towards an Inference-Efficient Index for KV Cache

arXiv 2605.06763 ↗First posted 7 May 2026cs.LGcited by 1

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

Sparse attention improves LLM inference efficiency by selecting a subset of key-value entries, but at the cost of potential accuracy degradation. In particular, omitting critical KV entries can induce substantial errors in model outputs. Existing methods typically operate under fixed or adaptive token budgets and provide empirical robustness or partial theoretical guarantees, yet they do not ensure zero false negatives in decoding steps, particularly since the set of relevant tokens is both query- and step-dependent. Our empirical observations confirm that missing even one critical key can lead to sharp error spikes, especially in long reasoning tasks where the set of important tokens varies throughout decoding. This observation motivates the need for indexing methods that dynamically adapt to these variations across decoding steps while guaranteeing a full recall of the relevant keys above a certain threshold. We address this challenge by reformulating sparse attention as the halfspace range searching problem. However, existing range searching indices are not suitable for modern LLM inference due to their computational and implementation overheads. To overcome this, we introduce Louver, a novel index structure tailored for efficient KV cache retrieval. Louver (i) guarantees zero false negatives with respect to a specified threshold in both theory and practice, (ii) is lightweight to integrate into existing LLM pipelines, and (iii) incorporates hardware-aware optimizations for both CPU and GPU executions. Our experiments demonstrate that Louver outperforms prior sparse attention methods in both accuracy and runtime, and is faster than highly optimized dense attentions such as FlashAttention. These results highlight that recall guarantees are a critical and overlooked dimension of sparse attention, and open a new direction for building theoretically grounded, efficient KV cache indices.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 40 of its 51 references that are in the map. First posted on arXiv 7 May 2026.

Builds on

40 of 51 references.

Closest ancestors · 15

Same direction, newest first

  1. 2025Mustafar: Promoting Unstructured Sparsity for KV Cache Pruning in LLM Inference28 May
  2. 2025FreeKV: Boosting KV Cache Retrieval for Efficient LLM Inference19 May
  3. 2025Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMs17 Feb
  4. 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec
  5. 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inference28 Oct
  6. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
  7. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
  8. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
  9. 2024PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inference21 May
  10. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  11. 2023SparQ Attention: Bandwidth-Efficient LLM Inference8 Dec
  12. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
3 more
  1. 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
  2. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
  3. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May

Other references · 25

  1. 2024Qwen2.5 Technical Reportcited by 4,942
  2. 2020Longformer: The Long-Document Transformercited by 3,413
  3. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  4. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  5. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  6. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  7. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  8. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  9. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 861
  10. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
  11. 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 197
  12. 2025XAttention: Block Sparse Attention with Antidiagonal Scoringcited by 137
13 more
  1. 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 123
  2. 2025SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inferencecited by 120
  3. 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 116
  4. 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 111
  5. 2024PQCache: Product Quantization-based KVCache for Long Context LLM Inferencecited by 95
  6. 2024Loki: Low-rank Keys for Efficient Sparse Attentioncited by 89
  7. 2024Squeezed Attention: Accelerating Long Context Length LLM Inferencecited by 57
  8. 2025Twilight: Adaptive Attention Sparsity with Hierarchical Top-p Pruningcited by 49
  9. 2024SampleAttention: Near-Lossless Acceleration of Long Context LLM Inference with Adaptive Structured Sparse Attentioncited by 39
  10. 2024HashAttention: Semantic Sparsity for Faster Inferencecited by 24
  11. 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 22
  12. 2025BLASST: Dynamic BLocked Attention Sparsity via Softmax Thresholdingcited by 13
  13. 2018Index-based, High-dimensional, Cosine Threshold Querying with Optimality Guaranteescited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026You Only Index Once: Cross-Layer Sparse Attention with Shared Routing
  2. 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
  3. 2026OasisKV: Scaling In-Decode KV Cache Beyond HBM with Lookahead Sparse Prefetching
  4. 2026SAC: Disaggregated KV Cache System for Sparse Attention LLMs with CXL
  5. 2026Self-Indexing KVCache: Predicting Sparse Attention from Compressed Keys
  6. 2026Self-Indexing Attention for Compression-Compatible Sparse Long-Context LLM Inference
  7. 2026Augmenting Attention with Exponentially Decaying Memory Improves Query-Aware KV Sparsity
  8. 2025KVSink: Understanding and Enhancing the Preservation of Attention Sinks in KV Cache Quantization for LLMs