mlsanityData to 7 Oct 2026

KV-Compress: Paged KV-Cache Compression with Variable Compression Rates per Attention Head

arXiv 2410.00161 ↗First posted 30 Sep 2024cs.CLcited by 12

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

Abstract (arXiv)

Context lengths of Large Language Models (LLMs) have exploded in recent years, with 128k-token context becoming a standard and million-token context becoming a reality. Efficiently supporting long-context inference remains challenging as the memory that must be allocated in key-value (KV) cache for a generation scales with its context length, limiting the number of long-context requests that can be served concurrently under a given memory budget. KV cache compression can mitigate this issue by removing under-utilized KVs from each attention head's cache and reducing its memory footprint. Higher theoretical compression rates can be achieved when the number of removed KVs varies across attention heads, but application of such a strategy within existing inference frameworks adds fragmentation and cannot realize the theoretical compression rates in physical memory. We introduce KV-Compress, a novel compression method that evicts contiguous KV blocks within a PagedAttention framework, reducing the memory footprint of the KV cache proportionally to this theoretical compression rate. Our method achieves state-of-the-art performance on LongBench for both Mistral-7B-Instruct-v0.2 and Llama-3.1-8B-Instruct while lowering the total number of compressed KVs by 4x compared with prior methods. Evaluations on Llama-3.1-8B-Instruct and Llama-3.1-70B-Instruct-FP8 achieve compression rates up to 8x with negligible impact on performance, and up to 64x while retaining over 90% of full-cache performance for all but three of the suite's subsets. We benchmark an integration of our method with vLLM that increases total throughput by up to 5.18x by enabling larger decoding batches.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 12 of its 19 references that are in the map. First posted on arXiv 30 Sep 2024.

Builds on

12 of 19 references.

Closest ancestors · 6

Same direction, newest first

  1. 2024ThinK: Thinner Key Cache by Query-Driven Pruning30 Jul
  2. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
  3. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
  4. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  5. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
  6. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May

Other references · 6

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  2. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
  3. 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
  4. 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 115
  5. 2024KV Cache is 1 Bit Per Channel: Efficient Large Language Model Inference with Coupled Quantizationcited by 74
  6. 2020PoWER-BERT: Accelerating BERT Inference via Progressive Word-vector Eliminationcited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 7.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026PuzzleKV: Page-Wise Low-Rank Decomposition for KV Cache Compression
  2. 2025KVCompose: Efficient Structured KV Cache Compression with Composite Tokens
  3. 2025Key, Value, Compress: A Systematic Exploration of KV Cache Compression Techniques
  4. 2026SGD-KV: Summarization Guided KV Cache Compression
  5. 2025BaKlaVa -- Budgeted Allocation of KV cache for Long-context Inference
  6. 2024Compressing KV Cache for Long-Context LLM Inference with Inter-Layer Attention Similarity
  7. 2026More Than a Quick Glance: Overcoming the Greedy Bias in KV-Cache Compression
  8. 2024Effectively Compress KV Heads for LLM