mlsanityData to 7 Oct 2026

More Tokens, Lower Precision: Towards the Optimal Token-Precision Trade-off in KV Cache Compression

arXiv 2412.12706 ↗First posted 17 Dec 2024cs.CLcited by 10

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

Abstract (arXiv)

As large language models (LLMs) process increasing context windows, the memory usage of KV cache has become a critical bottleneck during inference. The mainstream KV compression methods, including KV pruning and KV quantization, primarily focus on either token or precision dimension separately. However, these works leaving the trade-off between these two orthogonal dimensions largely under-explored. In this paper, we comprehensively investigate the token-precision trade-off in KV cache compression.Experiments demonstrate that storing more tokens in the KV cache with lower precision,a strategy we term quantized pruning, can significantly enhance the long-context performance of LLMs. In-depth analysis of the token-precision trade-off across key aspects demonstrates that, quantized pruning achieves substantial improvements in retrieval-related tasks and consistently performs well across varying input lengths. Furthermore, quantized pruning demonstrates notable stability and effectiveness across different KV pruning methods, quantization strategies, and model scales. These findings offer valuable insights into optimizing KV cache compression through balanced token-precision trade-off strategies. Our code is available at https://github.com/zhzihao/QPruningKV.

Key facts. Cited by 10 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 44 of its 59 references that are in the map. First posted on arXiv 17 Dec 2024.

Builds on

44 of 59 references.

Closest ancestors · 12

Same direction, newest first

  1. 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning25 Oct
  2. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads14 Oct
  3. 2024RazorAttention: Efficient KV Cache Compression Through Retrieval Heads22 Jul
  4. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
  5. 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compression17 Jun
  6. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
  7. 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attention21 May
  8. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  9. 2024No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantization28 Feb
  10. 2024On the Efficacy of Eviction Policy for Key-Value Constrained Generative Language Model Inference9 Feb
  11. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
  12. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May

Other references · 32

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  4. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  5. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  6. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  7. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  8. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  9. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  10. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  11. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  12. 2015Deep Learning and the Information Bottleneck Principlecited by 793
20 more
  1. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
  2. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 604
  3. 2017The NarrativeQA Reading Comprehension Challengecited by 590
  4. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
  5. 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
  6. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
  7. 2017Opening the Black Box of Deep Neural Networks via Informationcited by 494
  8. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
  9. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  10. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
  11. 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
  12. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
  13. 2021Efficient Attentions for Long Document Summarizationcited by 342
  14. 2023Atom: Low-bit Quantization for Efficient and Accurate LLM Servingcited by 255
  15. 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 135
  16. 2023LongCoder: A Long-Range Pre-trained Language Model for Code Completioncited by 110
  17. 2024KV Cache is 1 Bit Per Channel: Efficient Large Language Model Inference with Coupled Quantizationcited by 74
  18. 2024QAQ: Quality Adaptive Quantization for LLM KV Cachecited by 66
  19. 2024MLKV: Multi-Layer Key-Value Heads for Memory Efficient Transformer Decodingcited by 20
  20. 2024Change Is the Only Constant: Dynamic LLM Slicing based on Layer Redundancycited by 8

Built on by

Cited by year (2026 to 7 Oct)

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

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025KV Cache Compression for Inference Efficiency in LLMs: A Review
  2. 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget
  3. 2024Compressing KV Cache for Long-Context LLM Inference with Inter-Layer Attention Similarity
  4. 2025KVCompose: Efficient Structured KV Cache Compression with Composite Tokens
  5. 2025Compactor: Calibrated Query-Agnostic KV Cache Compression with Approximate Leverage Scores
  6. 2025KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inference
  7. 2025CaliDrop: KV Cache Compression with Calibration
  8. 2026Where Matters More Than What: Decoding-aligned KV Cache Compression via Position-aware Pseudo Queries