mlsanityData to 14 Oct 2026

Sparse Attention across Multiple-context KV Cache

arXiv 2508.11661 ↗First posted 6 Aug 2025cs.LG cs.CLcited by 5

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

Abstract (arXiv)

Large language models face significant cost challenges in long-sequence inference. To address this, reusing historical Key-Value (KV) Cache for improved inference efficiency has become a mainstream approach. Recent advances further enhance throughput by sparse attention mechanisms to select the most relevant KV Cache, thereby reducing sequence length. However, such techniques are limited to single-context scenarios, where historical KV Cache is computed sequentially with causal-attention dependencies. In retrieval-augmented generation (RAG) scenarios, where retrieved documents as context are unknown beforehand, each document's KV Cache is computed and stored independently (termed multiple-context KV Cache), lacking cross-attention between contexts. This renders existing methods ineffective. Although prior work partially recomputes multiple-context KV Cache to mitigate accuracy loss from missing cross-attention, it requires retaining all KV Cache throughout, failing to reduce memory overhead. This paper presents SamKV, the first exploration of attention sparsification for multiple-context KV Cache. Specifically, SamKV takes into account the complementary information of other contexts when sparsifying one context, and then locally recomputes the sparsified information. Experiments demonstrate that our method compresses sequence length to 15% without accuracy degradation compared with full-recompuation baselines, significantly boosting throughput in multi-context RAG scenarios.

Key facts. Cited by 5 papers 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 6 of its 8 references that are in the map. First posted on arXiv 6 Aug 2025.

Builds on

6 of 8 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion26 May

Other references · 5

  1. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  2. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  3. 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
  4. 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 116
  5. 2025RaaS: Reasoning-Aware Attention Sparsity for Efficient LLM Reasoningcited by 18

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Training-Free Exponential Context Extension via Cascading KV Cache
  2. 2025A3: Attention-Aware Accurate KV Cache Fusion for Fast Large Language Model Serving
  3. 2024KV-Compress: Paged KV-Cache Compression with Variable Compression Rates per Attention Head
  4. 2025Retrospective Sparse Attention for Efficient Long-Context Generation
  5. 2026OVAL: Output-Aware Local Page Bases for KV Cache Retrieval
  6. 2026Sparse Attention as a Range Searching Problem: Towards an Inference-Efficient Index for KV Cache
  7. 2026Kwai Summary Attention Technical Report
  8. 2026SGD-KV: Summarization Guided KV Cache Compression