Verify Before You Fetch: Reliable KV Cache Compression for LLM Inference
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Long-context applications, long-lived agents, and multi-agent systems require large language models (LLMs) to process and retain extensive information. In these settings, the KV cache can exceed GPU high-bandwidth memory (HBM) capacity, necessitating offloading to host memory, where CPU-to-GPU transfers can dominate inference latency. While KV cache compression can reduce data movement, query-agnostic compression that guarantees accurate attention for arbitrary queries is extremely challenging, if not impossible. We introduce VerKV, a hybrid approach that provides (ε, δ) guarantees for approximating attention on any given query. VerKV maintains a compact set of query-agnostic pivotal tokens on the GPU, together with a token-level sketch of the full KV cache, while retaining the complete cache in CPU memory. We introduce a novel stochastic sampling procedure, PoissonComp, to select the pivotal tokens. At inference time, our proposed KVFetch algorithm uses the pivotal tokens and the sketch to estimate the relative error of the resulting attention computation. If the estimate satisfies a user-specified (ε, δ) tolerance, inference proceeds without accessing host memory. Otherwise, VerKV performs query-aware retrieval to fetch additional tokens from the CPU, refining the attention computation to meet the required tolerance. Thus, VerKV enables attention with bounded approximation error while minimizing CPU-to-GPU transfers. We show that PoissonComp outperforms state-of-the-art approaches to KV cache compression. Combined with KVFetch, it achieves near-dense performance (90-100% of dense quality at 32K context length, averaged over RULER and LOFT), using Qwen3-4B, Qwen3.5-9B and Ministral-3-8B, while reducing the GPU memory footprint by 8-32x and keeping CPU-to-GPU memory fetches within 2-23% of the cache per generated token, depending on the model.
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 20 of its 30 references that are in the map. Submitted 8 Nov 2026.
Builds on
20 of 30 references.
Closest ancestors · 7
Same direction, newest first
- 2026Fast KVzip: Efficient and Accurate LLM Inference with Gated KV Eviction25 Jan
- 2025Compactor: Calibrated Query-Agnostic KV Cache Compression with Approximate Leverage Scores10 Jul
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction29 May
- 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management28 Jun
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May
Other references · 13
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
- 2022Scalable Diffusion Models with Transformerscited by 6,524
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 610
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 423
- 2023Large Language Models in Finance: A Surveycited by 239
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 133
- 2024Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?cited by 67
- 2021Survey: Transformer based Video-Language Pre-trainingcited by 29
- 2026Coding Agents are Effective Long-Context Processorscited by 15
- 2024Deep Learning-based Software Engineering: Progress, Challenges, and Opportunitiescited by 11
- 2026SOCKET: SOft Collision Kernel EsTimator for Sparse Attentioncited by 6
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025BaKlaVa -- Budgeted Allocation of KV cache for Long-context Inference
- 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference
- 2025LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inference
- 2025RocketKV: Accelerating Long-Context LLM Inference via Two-Stage KV Cache Compression
- 2026ParisKV: Fast and Drift-Robust KV-Cache Retrieval for Long-Context LLMs
- 2024PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inference
- 2025KV Cache Compression for Inference Efficiency in LLMs: A Review
- 2025TailorKV: A Hybrid Framework for Long-Context Inference via Tailored KV Cache Optimization