KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approaches
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Long context capability is a crucial competency for large language models (LLMs) as it mitigates the human struggle to digest long-form texts. This capability enables complex task-solving scenarios such as book summarization, code assistance, and many more tasks that are traditionally manpower-intensive. However, transformer-based LLMs face significant challenges with long context input due to the growing size of the KV cache and the intrinsic complexity of attending to extended inputs; where multiple schools of efficiency-driven approaches - such as KV cache quantization, token dropping, prompt compression, linear-time sequence models, and hybrid architectures - have been proposed to produce efficient yet long context-capable models. Despite these advancements, no existing work has comprehensively benchmarked these methods in a reasonably aligned environment. In this work, we fill this gap by providing a taxonomy of current methods and evaluating 10+ state-of-the-art approaches across seven categories of long context tasks. Our work reveals numerous previously unknown phenomena and offers insights - as well as a friendly workbench - for the future development of long context-capable LLMs. The source code is available at https://github.com/henryzhongsc/longctx_bench.
Key facts. Cited by 43 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 58 of its 71 references that are in the map. First posted on arXiv 1 Jul 2024.
Builds on
58 of 71 references.
Closest ancestors · 6
Same direction, newest first
- 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attention21 May
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2024GEAR: An Efficient KV Cache Compression Recipe for Near-Lossless Generative Inference of LLM8 Mar
- 2024No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantization28 Feb
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May
Other references · 52
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Qwen Technical Reportcited by 3,273
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
38 more
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2022Galactica: A Large Language Model for Sciencecited by 736
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 604
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
- 2021MetaFormer Is Actually What You Need for Visioncited by 523
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
- 2023Adapting Language Models to Compress Contextscited by 350
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
- 2023Atom: Low-bit Quantization for Efficient and Accurate LLM Servingcited by 255
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 194
- 2022Re3: Generating Longer Stories With Recursive Reprompting and Revisioncited by 193
- 2022Mega: Moving Average Equipped Gated Attentioncited by 178
- 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 135
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 115
- 2023LLM360: Towards Fully Transparent Open-Source LLMscited by 100
- 2022Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Modelscited by 96
- 2024KV Cache is 1 Bit Per Channel: Efficient Large Language Model Inference with Coupled Quantizationcited by 74
- 2024QAQ: Quality Adaptive Quantization for LLM KV Cachecited by 66
- 2024RecurrentGemma: Moving Past Transformers for Efficient Open Language Modelscited by 61
- 2024Learning to Compress Prompt in Natural Language Formatscited by 54
- 2024Contextual Position Encoding: Learning to Count What's Importantcited by 53
- 2024QJL: 1-Bit Quantized JL Transform for KV Cache Quantization with Zero Overheadcited by 47
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2024: 9; 2025: 21; 2026: 13.
43 papers.
Sort:
By area:
- 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 456
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 125
- 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methodscited by 59
- 2025RocketKV: Accelerating Long-Context LLM Inference via Two-Stage KV Cache Compressioncited by 41
- 2025KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inferencecited by 36
- 2025The Sparse Frontier: Sparse Attention Trade-offs in Transformer LLMscited by 28
- 2025CommVQ: Commutative Vector Quantization for KV Cache Compressioncited by 25
- 2024SCOPE: Optimizing Key-Value Cache Compression in Long-context Generationcited by 20
- 2025Dialogue Without Limits: Constant-Sized KV Caches for Extended Responses in LLMscited by 20
- 2025Semantic Integrity Matters: Benchmarking and Preserving High-Density Reasoning in KV Cache Compressioncited by 16
- 2024Locret: Enhancing Eviction in Long-Context LLM Inference with Trained Retaining Heads on Consumer-Grade Devicescited by 15
- 2025Lookahead Q-Cache: Achieving More Consistent KV Cache Eviction via Pseudo Querycited by 15
31 more
- 2025The Pitfalls of KV Cache Compressioncited by 15
- 2024Dovetail: A CPU/GPU Heterogeneous Speculative Decoding for LLM inferencecited by 13
- 2025Deterministic Inference across Tensor Parallel Sizes That Eliminates Training-Inference Mismatchcited by 13
- 2024LightTransfer: Your Long-Context LLM is Secretly a Hybrid Model with Effortless Adaptationcited by 11
- 2025KV Cache Transform Coding for Compact Storage in LLM Inferencecited by 11
- 2025ProxSparse: Regularized Learning of Semi-Structured Sparsity Masks for Pretrained LLMscited by 10
- 2025SpeCache: Speculative Key-Value Caching for Efficient Generation of LLMscited by 9
- 2024Anda: Unlocking Efficient LLM Inference with a Variable-Length Grouped Activation Data Formatcited by 8
- 2025RAD: Redundancy-Aware Distillation for Hybrid Models via Self-Speculative Decodingcited by 8
- 2025LagKV: Lag-Relative Information of the KV Cache Tells Which Tokens Are Importantcited by 7
- 2024ScaleLLM: A Resource-Frugal LLM Serving Framework by Optimizing End-to-End Efficiencycited by 6
- 2024A Survey of RWKVcited by 5
- 2026MomentKV: Closing the Directional Gap in KV Cache Eviction for Long-Context Inferencecited by 5
- 2025Cost-Optimal Grouped-Query Attention for Long-Context Modelingcited by 4
- 2026Scout Before You Attend: Sketch-and-Walk Sparse Attention for Efficient LLM Inferencecited by 4
- 2025SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM Prefillingcited by 3
- 2025ILRe: Intermediate Layer Retrieval for Context Compression in Causal Language Modelscited by 3
- 2026KARA: Efficient Reasoning LLM Serving via Sliding-Window KV Cache Compressioncited by 2
- 2025Self-ensemble: Mitigating Confidence Mis-calibration for Large Language Modelscited by 1
- 2025Systematic Evaluation of Optimization Techniques for Long-Context Language Modelscited by 1
- 2026Screening Is Enoughcited by 1
- 2026Forget Without Compromise: Nexus Sampling for Streaming KV-Cache Eviction Under Fixed Budgetscited by 1
- 2026KVDiagnosis: A Diagnostic Benchmark for KV-Cache Compression in Long-Context Language Modelscited by 1
- 2025Task-Oriented Communications for 3D Scene Representation: Balancing Timeliness and Fidelitycited by 0
- 2026Architecture-Aware LLM Inference Optimization on AMD Instinct GPUs: A Comprehensive Benchmark and Deployment Studycited by 0
- 2026Latent Phase-Shift Rollback: Inference-Time Error Correction via Residual Stream Monitoring and KV-Cache Steeringcited by 0
- 2026Benchmarking KV-Cache Optimizations across Task Quality and System Performance for Long-Context Servingcited by 0
- 2026VarRate: Training-Free Variable-Rate KV Cache Compression for Long-Context LLMscited by 0
- 2026HiKV: Hierarchical Importance-Aware KV Cache with Hardware Acceleration for LLM Decodingcited by 0
- 2026Spend Bytes on Breadth: Precision-Count Trade-offs for Decode-Time KV Compression in Long Chain-of-Thought Reasoningcited by 0
- 2026DeferKV: Rethinking Eviction Timing for One-Shot KV Cache Compressioncited by 0
- 2026DeferKV: Rethinking Eviction Timing for One-Shot KV Cache Compression5 Oct 2026
- 2026Spend Bytes on Breadth: Precision-Count Trade-offs for Decode-Time KV Compression in Long Chain-of-Thought Reasoning5 Oct 2026
- 2026KVDiagnosis: A Diagnostic Benchmark for KV-Cache Compression in Long-Context Language Models10 Aug 2026
- 2026HiKV: Hierarchical Importance-Aware KV Cache with Hardware Acceleration for LLM Decoding24 Jul 2026
- 2026VarRate: Training-Free Variable-Rate KV Cache Compression for Long-Context LLMs16 Jul 2026
- 2026Forget Without Compromise: Nexus Sampling for Streaming KV-Cache Eviction Under Fixed Budgets22 Jun 2026
- 2026MomentKV: Closing the Directional Gap in KV Cache Eviction for Long-Context Inference1 Jun 2026
- 2026Benchmarking KV-Cache Optimizations across Task Quality and System Performance for Long-Context Serving3 May 2026
- 2026KARA: Efficient Reasoning LLM Serving via Sliding-Window KV Cache Compression1 May 2026
- 2026Latent Phase-Shift Rollback: Inference-Time Error Correction via Residual Stream Monitoring and KV-Cache Steering20 Apr 2026
- 2026Screening Is Enough1 Apr 2026
- 2026Architecture-Aware LLM Inference Optimization on AMD Instinct GPUs: A Comprehensive Benchmark and Deployment Study27 Feb 2026
31 more
- 2026Scout Before You Attend: Sketch-and-Walk Sparse Attention for Efficient LLM Inference7 Feb 2026
- 2025Deterministic Inference across Tensor Parallel Sizes That Eliminates Training-Inference Mismatch21 Nov 2025
- 2025KV Cache Transform Coding for Compact Storage in LLM Inference3 Nov 2025
- 2025The Pitfalls of KV Cache Compression30 Sep 2025
- 2025Task-Oriented Communications for 3D Scene Representation: Balancing Timeliness and Fidelity21 Sep 2025
- 2025ILRe: Intermediate Layer Retrieval for Context Compression in Causal Language Models25 Aug 2025
- 2025Systematic Evaluation of Optimization Techniques for Long-Context Language Models1 Aug 2025
- 2025CommVQ: Commutative Vector Quantization for KV Cache Compression23 Jun 2025
- 2025Self-ensemble: Mitigating Confidence Mis-calibration for Large Language Models2 Jun 2025
- 2025SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM Prefilling30 May 2025
- 2025RAD: Redundancy-Aware Distillation for Hybrid Models via Self-Speculative Decoding28 May 2025
- 2025Lookahead Q-Cache: Achieving More Consistent KV Cache Eviction via Pseudo Query24 May 2025
- 2025The Sparse Frontier: Sparse Attention Trade-offs in Transformer LLMs24 Apr 2025
- 2025LagKV: Lag-Relative Information of the KV Cache Tells Which Tokens Are Important7 Apr 2025
- 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Models20 Mar 2025
- 2025SpeCache: Speculative Key-Value Caching for Efficient Generation of LLMs20 Mar 2025
- 2025Cost-Optimal Grouped-Query Attention for Long-Context Modeling12 Mar 2025
- 2025Dialogue Without Limits: Constant-Sized KV Caches for Extended Responses in LLMs2 Mar 2025
- 2025RocketKV: Accelerating Long-Context LLM Inference via Two-Stage KV Cache Compression19 Feb 2025
- 2025KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inference6 Feb 2025
- 2025Semantic Integrity Matters: Benchmarking and Preserving High-Density Reasoning in KV Cache Compression4 Feb 2025
- 2025ProxSparse: Regularized Learning of Semi-Structured Sparsity Masks for Pretrained LLMs1 Feb 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2024Dovetail: A CPU/GPU Heterogeneous Speculative Decoding for LLM inference25 Dec 2024
- 2024A Survey of RWKV19 Dec 2024
- 2024SCOPE: Optimizing Key-Value Cache Compression in Long-context Generation18 Dec 2024
- 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methods13 Dec 2024
- 2024Anda: Unlocking Efficient LLM Inference with a Variable-Length Grouped Activation Data Format24 Nov 2024
- 2024LightTransfer: Your Long-Context LLM is Secretly a Hybrid Model with Effortless Adaptation17 Oct 2024
- 2024Locret: Enhancing Eviction in Long-Context LLM Inference with Trained Retaining Heads on Consumer-Grade Devices2 Oct 2024
- 2024ScaleLLM: A Resource-Frugal LLM Serving Framework by Optimizing End-to-End Efficiency23 Jul 2024
- 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methodscited by 59
- 2025RocketKV: Accelerating Long-Context LLM Inference via Two-Stage KV Cache Compressioncited by 41
- 2025KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inferencecited by 36
- 2025CommVQ: Commutative Vector Quantization for KV Cache Compressioncited by 25
- 2024SCOPE: Optimizing Key-Value Cache Compression in Long-context Generationcited by 20
- 2025Dialogue Without Limits: Constant-Sized KV Caches for Extended Responses in LLMscited by 20
- 2024Locret: Enhancing Eviction in Long-Context LLM Inference with Trained Retaining Heads on Consumer-Grade Devicescited by 15
- 2025Lookahead Q-Cache: Achieving More Consistent KV Cache Eviction via Pseudo Querycited by 15
- 2025The Pitfalls of KV Cache Compressioncited by 15
- 2024Dovetail: A CPU/GPU Heterogeneous Speculative Decoding for LLM inferencecited by 13
- 2025KV Cache Transform Coding for Compact Storage in LLM Inferencecited by 11
- 2025SpeCache: Speculative Key-Value Caching for Efficient Generation of LLMscited by 9
12 most cited of 24 All 24 (JSON)
- 2026DeferKV: Rethinking Eviction Timing for One-Shot KV Cache Compression5 Oct 2026
- 2026KVDiagnosis: A Diagnostic Benchmark for KV-Cache Compression in Long-Context Language Models10 Aug 2026
- 2026HiKV: Hierarchical Importance-Aware KV Cache with Hardware Acceleration for LLM Decoding24 Jul 2026
- 2026VarRate: Training-Free Variable-Rate KV Cache Compression for Long-Context LLMs16 Jul 2026
- 2026MomentKV: Closing the Directional Gap in KV Cache Eviction for Long-Context Inference1 Jun 2026
- 2026Benchmarking KV-Cache Optimizations across Task Quality and System Performance for Long-Context Serving3 May 2026
- 2026Scout Before You Attend: Sketch-and-Walk Sparse Attention for Efficient LLM Inference7 Feb 2026
- 2025KV Cache Transform Coding for Compact Storage in LLM Inference3 Nov 2025
- 2025The Pitfalls of KV Cache Compression30 Sep 2025
- 2025ILRe: Intermediate Layer Retrieval for Context Compression in Causal Language Models25 Aug 2025
- 2025CommVQ: Commutative Vector Quantization for KV Cache Compression23 Jun 2025
- 2025RAD: Redundancy-Aware Distillation for Hybrid Models via Self-Speculative Decoding28 May 2025
12 newest of 24 All 24 (JSON)
- 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 456
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 125
- 2025Semantic Integrity Matters: Benchmarking and Preserving High-Density Reasoning in KV Cache Compressioncited by 16
- 2024LightTransfer: Your Long-Context LLM is Secretly a Hybrid Model with Effortless Adaptationcited by 11
- 2026KARA: Efficient Reasoning LLM Serving via Sliding-Window KV Cache Compressioncited by 2
- 2026Latent Phase-Shift Rollback: Inference-Time Error Correction via Residual Stream Monitoring and KV-Cache Steeringcited by 0
- 2026Spend Bytes on Breadth: Precision-Count Trade-offs for Decode-Time KV Compression in Long Chain-of-Thought Reasoningcited by 0
- 2026Spend Bytes on Breadth: Precision-Count Trade-offs for Decode-Time KV Compression in Long Chain-of-Thought Reasoning5 Oct 2026
- 2026KARA: Efficient Reasoning LLM Serving via Sliding-Window KV Cache Compression1 May 2026
- 2026Latent Phase-Shift Rollback: Inference-Time Error Correction via Residual Stream Monitoring and KV-Cache Steering20 Apr 2026
- 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Models20 Mar 2025
- 2025Semantic Integrity Matters: Benchmarking and Preserving High-Density Reasoning in KV Cache Compression4 Feb 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2024LightTransfer: Your Long-Context LLM is Secretly a Hybrid Model with Effortless Adaptation17 Oct 2024
- 2025The Sparse Frontier: Sparse Attention Trade-offs in Transformer LLMscited by 28
- 2025Deterministic Inference across Tensor Parallel Sizes That Eliminates Training-Inference Mismatchcited by 13
- 2025ProxSparse: Regularized Learning of Semi-Structured Sparsity Masks for Pretrained LLMscited by 10
- 2024A Survey of RWKVcited by 5
- 2025Cost-Optimal Grouped-Query Attention for Long-Context Modelingcited by 4
- 2025SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM Prefillingcited by 3
- 2025Self-ensemble: Mitigating Confidence Mis-calibration for Large Language Modelscited by 1
- 2025Systematic Evaluation of Optimization Techniques for Long-Context Language Modelscited by 1
- 2026Screening Is Enoughcited by 1
- 2025Task-Oriented Communications for 3D Scene Representation: Balancing Timeliness and Fidelitycited by 0
- 2026Screening Is Enough1 Apr 2026
- 2025Deterministic Inference across Tensor Parallel Sizes That Eliminates Training-Inference Mismatch21 Nov 2025
- 2025Task-Oriented Communications for 3D Scene Representation: Balancing Timeliness and Fidelity21 Sep 2025
- 2025Systematic Evaluation of Optimization Techniques for Long-Context Language Models1 Aug 2025
- 2025Self-ensemble: Mitigating Confidence Mis-calibration for Large Language Models2 Jun 2025
- 2025SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM Prefilling30 May 2025
- 2025The Sparse Frontier: Sparse Attention Trade-offs in Transformer LLMs24 Apr 2025
- 2025Cost-Optimal Grouped-Query Attention for Long-Context Modeling12 Mar 2025
- 2025ProxSparse: Regularized Learning of Semi-Structured Sparsity Masks for Pretrained LLMs1 Feb 2025
- 2024A Survey of RWKV19 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2024Keep the Cost Down: A Review on Methods to Optimize LLM' s KV-Cache Consumption
- 2025Key, Value, Compress: A Systematic Exploration of KV Cache Compression Techniques
- 2025KVComp: A High-Performance, LLM-Aware, Lossy Compression Framework for KV Cache
- 2025KV Cache Compression for Inference Efficiency in LLMs: A Review
- 2025KV Pareto: Systems-Level Optimization of KV Cache and Model Compression for Long Context Inference
- 2025Cache Me If You Can: How Many KVs Do You Need for Effective Long-Context LMs?
- 2024ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compression
- 2024KV-Compress: Paged KV-Cache Compression with Variable Compression Rates per Attention Head