Layer-Condensed KV Cache for Efficient Inference of Large Language Models
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Huge memory consumption has been a major bottleneck for deploying high-throughput large language models in real-world applications. In addition to the large number of parameters, the key-value (KV) cache for the attention mechanism in the transformer architecture consumes a significant amount of memory, especially when the number of layers is large for deep language models. In this paper, we propose a novel method that only computes and caches the KVs of a small number of layers, thus significantly saving memory consumption and improving inference throughput. Our experiments on large language models show that our method achieves up to 26× higher throughput than standard transformers and competitive performance in language modeling and downstream tasks. In addition, our method is orthogonal to existing transformer memory-saving techniques, so it is straightforward to integrate them with our model, achieving further improvement in inference efficiency. Our code is available at https://github.com/whyNLP/LCKV.
Key facts. Cited by 59 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 25 of its 38 references that are in the map. First posted on arXiv 17 May 2024.
Builds on
25 of 38 references.
Closest ancestors · 4
Same direction, newest first
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inference14 Mar
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
- 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 · 21
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
9 more
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2024TinyLlama: An Open-Source Small Language Modelcited by 618
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 575
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
- 2023Learning to Compress Prompts with Gist Tokenscited by 390
- 2023The MiniPile Challenge for Data-Efficient Language Modelscited by 75
- 2021Subformer: Exploring Weight Sharing for Parameter Efficiency in Generative Transformerscited by 43
- 2023Context Compression for Auto-regressive Transformers with Sentinel Tokenscited by 8
- 2023Probabilistic Transformer: A Probabilistic Dependency Model for Contextual Word Representationcited by 4
Built on by
Citing papers per year: 2024: 15; 2025: 23; 2026: 21.
59 papers.
Sort:
By area:
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 208
- 2024Mooncake: A KVCache-centric Disaggregated Architecture for LLM Servingcited by 196
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 133
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 131
- 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Modelscited by 125
- 2024ThinK: Thinner Key Cache by Query-Driven Pruningcited by 68
- 2025Cache-to-Cache: Direct Semantic Communication Between Large Language Modelscited by 61
- 2025ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inferencecited by 60
- 2024KVSharer: Efficient Inference via Layer-Wise Dissimilar KV Cache Sharingcited by 41
- 2024Block Transformer: Global-to-Local Language Modeling for Fast Inferencecited by 32
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinkscited by 27
- 2025Parallel Continuous Chain-of-Thought with Jacobi Iterationcited by 25
38 more
- 2026Don't Break the Cache: An Evaluation of Prompt Caching for Long-Horizon Agentic Taskscited by 19
- 2024A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inferencecited by 17
- 2024A Silver Bullet or a Compromise for Full Attention? A Comprehensive Study of Gist Token-based Context Compressioncited by 17
- 2025Semantic Integrity Matters: Benchmarking and Preserving High-Density Reasoning in KV Cache Compressioncited by 16
- 2025xKV: Cross-Layer KV-Cache Compression via Aligned Singular Vector Extractioncited by 16
- 2025PonderLM-2: Pretraining LLM with Latent Thoughts in Continuous Spacecited by 16
- 2026Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reusecited by 15
- 2024KV Prediction for Improved Time to First Tokencited by 11
- 2024BUZZ: Beehive-structured Sparse KV Cache with Segmented Heavy Hitters for Efficient LLM Inferencecited by 9
- 2025SQuat: Subspace-orthogonal KV Cache Quantizationcited by 7
- 2025Mitigating Hallucinations via Inter-Layer Consistency Aggregation in Large Vision-Language Modelscited by 7
- 2025Reconstructing KV Caches with Cross-layer Fusion For Enhanced Transformerscited by 6
- 2024Cross-layer Attention Sharing for Pre-trained Large Language Modelscited by 5
- 2025Mixed-Precision Quantization for Language Models: Techniques and Prospectscited by 5
- 2025Serving Heterogeneous LoRA Adapters in Distributed LLM Inference Systemscited by 5
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapsecited by 5
- 2024Inference-Friendly Models With MixAttentioncited by 4
- 2025NOSA: Native and Offloadable Sparse Attentioncited by 4
- 2025Improving Model Representation and Reducing KV Cache via Skip Connections with First Value Headscited by 4
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inferencecited by 4
- 2026The Residual Stream Is All You Need: On the Redundancy of the KV Cache in Transformer Inferencecited by 4
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharingcited by 4
- 2026GRKV: Global Regression for Training-Free KV Cache Compression in Long-Context LLMscited by 4
- 2025Every Token Counts: Generalizing 16M Ultra-Long Context in Large Language Modelscited by 3
- 2024Attention Is All You Need But You Don't Need All Of It For Inference of Large Language Modelscited by 2
- 2024Art and Science of Quantizing Large-Scale Models: A Comprehensive Overviewcited by 2
- 2026YOCO++: Enhancing YOCO with KV Residual Connections for Efficient LLM Inferencecited by 2
- 2025CaliDrop: KV Cache Compression with Calibrationcited by 1
- 2025TPLA: Tensor Parallel Latent Attention for Efficient Disaggregated Prefill and Decode Inferencecited by 1
- 2025AI Compute Architecture and Evolution Trendscited by 1
- 2026Shallow Prefill, Deep Decoding: Efficient Long-Context Inference via Layer-Asymmetric KV Visibilitycited by 1
- 2026Do Value Vectors in Deep Layers Need Context from the Residual Stream?cited by 1
- 2026KV-Kaizen: Learning Context-Adaptive Cache Compression Choicescited by 1
- 2025WindowKV: Task-Adaptive Group-Wise KV Cache Window Selection for Efficient LLM Inferencecited by 0
- 2025ShishuLM : Achieving Optimal and Efficient Parameterization with Low Attention Transformer Modelscited by 0
- 2025CoSense-LLM: Semantics at the Edge with Cost- and Uncertainty-Aware Cloud-Edge Cooperationcited by 0
- 2025KV Cache Recycling to Expand Usable Context Capacity in Low Parameter LLMscited by 0
- 2026EPAS: Efficient Training with Progressive Activation Sharingcited by 0
50 most cited of 59 All 59 (JSON)
- 2026Universal Test-Time Training4 Oct 2026
- 2026Pretraining Latent Information Feedback Transformers with Teacher Supervision29 Sep 2026
- 2026KV-Kaizen: Learning Context-Adaptive Cache Compression Choices29 Sep 2026
- 2026The Extender: A Log-Structured Transformer26 Sep 2026
- 2026Shared Global KV with Layer-Specific Local History23 Sep 2026
- 2026WhiteMatter: All-to-All Cross-Layer Connections via KV Source Mixing19 Aug 2026
- 2026Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse4 Aug 2026
- 2026SeKV: Resolution-Adaptive KV Cache with Hierarchical Semantic Memory for Long-Context LLM Inference30 Jun 2026
- 2026The Devil is in the Spectrum: Mitigating Representation Collapse in LLMs via Topologically Regularized Side-Path2 Jun 2026
- 2026Do Value Vectors in Deep Layers Need Context from the Residual Stream?1 Jun 2026
- 2026GRKV: Global Regression for Training-Free KV Cache Compression in Long-Context LLMs29 May 2026
- 2026Shallow Prefill, Deep Decoding: Efficient Long-Context Inference via Layer-Asymmetric KV Visibility7 May 2026
38 more
- 2026A Hybrid Method for Low-Resource Named Entity Recognition6 May 2026
- 2026YOCO++: Enhancing YOCO with KV Residual Connections for Efficient LLM Inference15 Apr 2026
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharing3 Apr 2026
- 2026TIDE: Token-Informed Depth Execution for Per-Token Early Exit in LLM Inference22 Mar 2026
- 2026The Residual Stream Is All You Need: On the Redundancy of the KV Cache in Transformer Inference20 Mar 2026
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinks5 Mar 2026
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapse1 Feb 2026
- 2026EPAS: Efficient Training with Progressive Activation Sharing27 Jan 2026
- 2026Don't Break the Cache: An Evaluation of Prompt Caching for Long-Horizon Agentic Tasks9 Jan 2026
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inference19 Dec 2025
- 2025KV Cache Recycling to Expand Usable Context Capacity in Low Parameter LLMs4 Dec 2025
- 2025Reconstructing KV Caches with Cross-layer Fusion For Enhanced Transformers3 Dec 2025
- 2025Every Token Counts: Generalizing 16M Ultra-Long Context in Large Language Models28 Nov 2025
- 2025Serving Heterogeneous LoRA Adapters in Distributed LLM Inference Systems28 Nov 2025
- 2025CoSense-LLM: Semantics at the Edge with Cost- and Uncertainty-Aware Cloud-Edge Cooperation22 Oct 2025
- 2025Improving Model Representation and Reducing KV Cache via Skip Connections with First Value Heads19 Oct 2025
- 2025Mixed-Precision Quantization for Language Models: Techniques and Prospects19 Oct 2025
- 2025NOSA: Native and Offloadable Sparse Attention15 Oct 2025
- 2025ShishuLM : Achieving Optimal and Efficient Parameterization with Low Attention Transformer Models13 Oct 2025
- 2025Cache-to-Cache: Direct Semantic Communication Between Large Language Models3 Oct 2025
- 2025PonderLM-2: Pretraining LLM with Latent Thoughts in Continuous Space27 Sep 2025
- 2025AI Compute Architecture and Evolution Trends29 Aug 2025
- 2025TPLA: Tensor Parallel Latent Attention for Efficient Disaggregated Prefill and Decode Inference21 Aug 2025
- 2025CaliDrop: KV Cache Compression with Calibration26 Jul 2025
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation14 Jul 2025
- 2025Parallel Continuous Chain-of-Thought with Jacobi Iteration23 Jun 2025
- 2025Mitigating Hallucinations via Inter-Layer Consistency Aggregation in Large Vision-Language Models18 May 2025
- 2025SQuat: Subspace-orthogonal KV Cache Quantization31 Mar 2025
- 2025xKV: Cross-Layer KV-Cache Compression via Aligned Singular Vector Extraction24 Mar 2025
- 2025WindowKV: Task-Adaptive Group-Wise KV Cache Window Selection for Efficient LLM Inference23 Mar 2025
- 2025Semantic Integrity Matters: Benchmarking and Preserving High-Density Reasoning in KV Cache Compression4 Feb 2025
- 2025ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inference1 Feb 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2024A Silver Bullet or a Compromise for Full Attention? A Comprehensive Study of Gist Token-based Context Compression23 Dec 2024
- 2024BUZZ: Beehive-structured Sparse KV Cache with Segmented Heavy Hitters for Efficient LLM Inference30 Oct 2024
- 2024KVSharer: Efficient Inference via Layer-Wise Dissimilar KV Cache Sharing24 Oct 2024
- 2024A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inference18 Oct 2024
- 2024When Attention Sink Emerges in Language Models: An Empirical View14 Oct 2024
50 newest of 59 All 59 (JSON)
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 208
- 2024Mooncake: A KVCache-centric Disaggregated Architecture for LLM Servingcited by 196
- 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Modelscited by 125
- 2025Cache-to-Cache: Direct Semantic Communication Between Large Language Modelscited by 61
- 2025ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inferencecited by 60
- 2024Block Transformer: Global-to-Local Language Modeling for Fast Inferencecited by 32
- 2024A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inferencecited by 17
- 2024A Silver Bullet or a Compromise for Full Attention? A Comprehensive Study of Gist Token-based Context Compressioncited by 17
- 2025xKV: Cross-Layer KV-Cache Compression via Aligned Singular Vector Extractioncited by 16
- 2026Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reusecited by 15
- 2024KV Prediction for Improved Time to First Tokencited by 11
- 2024BUZZ: Beehive-structured Sparse KV Cache with Segmented Heavy Hitters for Efficient LLM Inferencecited by 9
12 most cited of 30 All 30 (JSON)
- 2026KV-Kaizen: Learning Context-Adaptive Cache Compression Choices29 Sep 2026
- 2026Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse4 Aug 2026
- 2026SeKV: Resolution-Adaptive KV Cache with Hierarchical Semantic Memory for Long-Context LLM Inference30 Jun 2026
- 2026GRKV: Global Regression for Training-Free KV Cache Compression in Long-Context LLMs29 May 2026
- 2026YOCO++: Enhancing YOCO with KV Residual Connections for Efficient LLM Inference15 Apr 2026
- 2026TIDE: Token-Informed Depth Execution for Per-Token Early Exit in LLM Inference22 Mar 2026
- 2026The Residual Stream Is All You Need: On the Redundancy of the KV Cache in Transformer Inference20 Mar 2026
- 2025KV Cache Recycling to Expand Usable Context Capacity in Low Parameter LLMs4 Dec 2025
- 2025Reconstructing KV Caches with Cross-layer Fusion For Enhanced Transformers3 Dec 2025
- 2025Serving Heterogeneous LoRA Adapters in Distributed LLM Inference Systems28 Nov 2025
- 2025CoSense-LLM: Semantics at the Edge with Cost- and Uncertainty-Aware Cloud-Edge Cooperation22 Oct 2025
- 2025Improving Model Representation and Reducing KV Cache via Skip Connections with First Value Heads19 Oct 2025
12 newest of 30 All 30 (JSON)
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 131
- 2024ThinK: Thinner Key Cache by Query-Driven Pruningcited by 68
- 2024KVSharer: Efficient Inference via Layer-Wise Dissimilar KV Cache Sharingcited by 41
- 2025Parallel Continuous Chain-of-Thought with Jacobi Iterationcited by 25
- 2025Semantic Integrity Matters: Benchmarking and Preserving High-Density Reasoning in KV Cache Compressioncited by 16
- 2025PonderLM-2: Pretraining LLM with Latent Thoughts in Continuous Spacecited by 16
- 2025PonderLM-2: Pretraining LLM with Latent Thoughts in Continuous Space27 Sep 2025
- 2025Parallel Continuous Chain-of-Thought with Jacobi Iteration23 Jun 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
- 2024KVSharer: Efficient Inference via Layer-Wise Dissimilar KV Cache Sharing24 Oct 2024
- 2024ThinK: Thinner Key Cache by Query-Driven Pruning30 Jul 2024
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 133
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinkscited by 27
- 2025Mixed-Precision Quantization for Language Models: Techniques and Prospectscited by 5
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inferencecited by 4
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharingcited by 4
- 2025Every Token Counts: Generalizing 16M Ultra-Long Context in Large Language Modelscited by 3
- 2024Attention Is All You Need But You Don't Need All Of It For Inference of Large Language Modelscited by 2
- 2024Art and Science of Quantizing Large-Scale Models: A Comprehensive Overviewcited by 2
- 2025AI Compute Architecture and Evolution Trendscited by 1
- 2026Shallow Prefill, Deep Decoding: Efficient Long-Context Inference via Layer-Asymmetric KV Visibilitycited by 1
- 2026Do Value Vectors in Deep Layers Need Context from the Residual Stream?cited by 1
- 2025ShishuLM : Achieving Optimal and Efficient Parameterization with Low Attention Transformer Modelscited by 0
12 most cited of 19 All 19 (JSON)
- 2026Pretraining Latent Information Feedback Transformers with Teacher Supervision29 Sep 2026
- 2026The Extender: A Log-Structured Transformer26 Sep 2026
- 2026Shared Global KV with Layer-Specific Local History23 Sep 2026
- 2026WhiteMatter: All-to-All Cross-Layer Connections via KV Source Mixing19 Aug 2026
- 2026The Devil is in the Spectrum: Mitigating Representation Collapse in LLMs via Topologically Regularized Side-Path2 Jun 2026
- 2026Do Value Vectors in Deep Layers Need Context from the Residual Stream?1 Jun 2026
- 2026Shallow Prefill, Deep Decoding: Efficient Long-Context Inference via Layer-Asymmetric KV Visibility7 May 2026
- 2026A Hybrid Method for Low-Resource Named Entity Recognition6 May 2026
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharing3 Apr 2026
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinks5 Mar 2026
- 2026EPAS: Efficient Training with Progressive Activation Sharing27 Jan 2026
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inference19 Dec 2025
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024A Method for Building Large Language Models with Predefined KV Cache Capacity
- 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference
- 2024CORM: Cache Optimization with Recent Message for Large Language Model Inference
- 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization
- 2025KV Pareto: Systems-Level Optimization of KV Cache and Model Compression for Long Context Inference
- 2024ZigZagkv: Dynamic KV Cache Compression for Long-context Modeling based on Layer Uncertainty
- 2025BaKlaVa -- Budgeted Allocation of KV cache for Long-context Inference