Sparse Attention across Multiple-context KV Cache
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
Other references · 5
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
- 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 116
- 2025RaaS: Reasoning-Aware Attention Sparsity for Efficient LLM Reasoningcited by 18
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025EVICPRESS: Joint KV-Cache Compression and Eviction for Efficient LLM Servingcited by 10
- 2026KV Packet: Recomputation-Free Context-Independent KV Caching for LLMscited by 10
- 2026HYPIC: Accelerating Hybrid-Attention LLM Serving with Position-Independent Cachingcited by 7
- 2025NOSA: Native and Offloadable Sparse Attentioncited by 4
- 2026Evaluating the accuracy of KV cache reuse techniquescited by 0
- 2026Evaluating the accuracy of KV cache reuse techniques25 Sep 2026
- 2026HYPIC: Accelerating Hybrid-Attention LLM Serving with Position-Independent Caching1 Jul 2026
- 2026KV Packet: Recomputation-Free Context-Independent KV Caching for LLMs14 Apr 2026
- 2025EVICPRESS: Joint KV-Cache Compression and Eviction for Efficient LLM Serving16 Dec 2025
- 2025NOSA: Native and Offloadable Sparse Attention15 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2024Training-Free Exponential Context Extension via Cascading KV Cache
- 2025A3: Attention-Aware Accurate KV Cache Fusion for Fast Large Language Model Serving
- 2024KV-Compress: Paged KV-Cache Compression with Variable Compression Rates per Attention Head
- 2025Retrospective Sparse Attention for Efficient Long-Context Generation
- 2026OVAL: Output-Aware Local Page Bases for KV Cache Retrieval
- 2026Sparse Attention as a Range Searching Problem: Towards an Inference-Efficient Index for KV Cache
- 2026Kwai Summary Attention Technical Report
- 2026SGD-KV: Summarization Guided KV Cache Compression