KVSharer: Efficient Inference via Layer-Wise Dissimilar KV Cache Sharing
On the map: LLM reasoning → Test-time compute and efficient thinking
also in 1 more
Abstract (arXiv)
The development of large language models (LLMs) has significantly expanded model sizes, resulting in substantial GPU memory requirements during inference. The key and value storage of the attention map in the KV (key-value) cache accounts for more than 80% of this memory consumption. Nowadays, most existing KV cache compression methods focus on intra-layer compression within a single Transformer layer but few works consider layer-wise compression. In this paper, we propose a plug-and-play method called textitKVSharer, which shares the KV cache between layers to achieve layer-wise compression. Rather than intuitively sharing based on higher similarity, we discover a counterintuitive phenomenon: sharing dissimilar KV caches better preserves the model performance. Experiments show that textitKVSharer can reduce KV cache computation by 30%, thereby lowering memory consumption without significantly impacting model performance and it can also achieve at least 1.3 times generation acceleration. Additionally, we verify that textitKVSharer is compatible with existing intra-layer KV cache compression methods, and combining both can further save memory.
Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 41 of its 45 references that are in the map. First posted on arXiv 24 Oct 2024.
Builds on
41 of 45 references.
Closest ancestors · 1
Same direction, newest first
Other references · 40
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2023Mistral 7Bcited by 3,065
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2024Qwen2 Technical Reportcited by 2,076
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
28 more
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 428
- 2024InternLM2 Technical Reportcited by 391
- 2015Skip-Thought Vectorscited by 321
- 2020CLUE: A Chinese Language Understanding Evaluation Benchmarkcited by 277
- 2024PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inferencecited by 148
- 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 135
- 2024LaCo: Large Language Model Pruning via Layer Collapsecited by 124
- 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attentioncited by 122
- 2021Lessons on Parameter Sharing across Layers in Transformerscited by 85
- 2019Investigating Prior Knowledge for Challenging Chinese Machine Reading Comprehensioncited by 80
- 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inferencecited by 75
- 2019ChID: A Large-scale Chinese IDiom Dataset for Cloze Testcited by 65
- 2024Layer-Condensed KV Cache for Efficient Inference of Large Language Modelscited by 58
- 2021Subformer: Exploring Weight Sharing for Parameter Efficiency in Generative Transformerscited by 42
- 2019Sharing Attention Weights for Fast Transformercited by 34
- 2024SubGen: Token Generation in Sublinear Time and Memorycited by 21
- 2021LazyFormer: Self Attention with Lazy Updatecited by 16
- 2024What are the Essential Factors in Crafting Effective Long Context Multi-Hop Instruction Datasets? Insights and Best Practicescited by 14
- 2024Head-wise Shareable Attention for Large Language Modelscited by 4
- 2023Exploring Attention Map Reuse for Efficient Transformer Neural Networkscited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 21; 2026: 16.
38 papers.
Sort:
By area:
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 125
- 2025Cache-to-Cache: Direct Semantic Communication Between Large Language Modelscited by 54
- 2025CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspectivecited by 28
- 2025Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Modelscited by 21
- 2025Taming the Fragility of KV Cache Eviction in LLM Inferencecited by 14
- 2025KV Cache Compression for Inference Efficiency in LLMs: A Reviewcited by 12
- 2025CommonKV: Compressing KV Cache with Cross-layer Parameter Sharingcited by 8
- 2025DAC: A Dynamic Attention-aware Approach for Task-Agnostic Prompt Compressioncited by 7
- 2025SparK: Query-Aware Unstructured Sparsity with Recoverable KV Cache Channel Pruningcited by 6
- 2025SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts via Token-Level LSH Matchingcited by 6
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inferencecited by 5
26 more
- 2025SkipKV: Selective Skipping of KV Generation and Storage for Efficient Inference with Large Reasoning Modelscited by 5
- 2026From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generationcited by 5
- 2025AirCache: Activating Inter-modal Relevancy KV Cache Compression for Efficient Large Vision-Language Model Inferencecited by 4
- 2025Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Evictioncited by 4
- 2025XQuant: Achieving Ultra-Low Bit KV Cache Quantization with Cross-Layer Compressioncited by 4
- 2025Improving Model Representation and Reducing KV Cache via Skip Connections with First Value Headscited by 4
- 2026The Topological Trouble With Transformerscited by 3
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharingcited by 3
- 2026Search Your Block Floating Point Scales!cited by 2
- 2026GHOST: Geometry-Hierarchical Online Streaming Token Eviction for Efficient 3D Reconstructioncited by 2
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimizationcited by 2
- 2025Krul: Efficient State Restoration for Multi-turn Conversations with Dynamic Cross-layer KV Sharingcited by 1
- 2025TPLA: Tensor Parallel Latent Attention for Efficient Disaggregated Prefill and Decode Inferencecited by 1
- 2025MASA: Rethinking the Representational Bottleneck in LoRA with Multi-A Shared Adaptationcited by 1
- 2026KV Cache Offloading for Context-Intensive Taskscited by 1
- 2025BaKlaVa -- Budgeted Allocation of KV cache for Long-context Inferencecited by 0
- 2025CIFLEX: Contextual Instruction Flow for Sub-task Execution in Multi-Turn Interactions with a Single On-Device LLMcited by 0
- 2026CrossVLA: Cross-Paradigm Post-Training and Inference Optimization for Vision-Language-Action Modelscited by 0
- 2026Omni-Flow: A Unified Workflow Orchestration and Distributed KV Cache Sharing Framework for Multimodal Inferencecited by 0
- 2026From Tensor Buffer to Distributed Memory Hierarchy: A Survey of KV Cache Management for LLM Servingcited by 0
- 2026Benchmarking KV-Cache Optimizations across Task Quality and System Performance for Long-Context Servingcited by 0
- 2026FreqDepthKV: Frequency-Guided Depth Sharing for Robust KV Cache Compression in Long-Context LLM Inferencecited by 0
- 2026DepthWeave-KV: Token-Adaptive Cross-Layer Residual Factorization for Long-Context KV Cache Compressioncited by 0
- 2026On the Efficiency-Safety Dilemma in Large Reasoning Modelscited by 0
- 2026KV-Kaizen: Learning Context-Adaptive Cache Compression Choicescited by 0
- 2026VFold: Symmetry-Aware Cross-Layer Value Cache Compressioncited by 0
- 2026VFold: Symmetry-Aware Cross-Layer Value Cache Compression8 Oct 2026
- 2026KV-Kaizen: Learning Context-Adaptive Cache Compression Choices29 Sep 2026
- 2026On the Efficiency-Safety Dilemma in Large Reasoning Models20 Sep 2026
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization9 Jul 2026
- 2026DepthWeave-KV: Token-Adaptive Cross-Layer Residual Factorization for Long-Context KV Cache Compression7 Jul 2026
- 2026FreqDepthKV: Frequency-Guided Depth Sharing for Robust KV Cache Compression in Long-Context LLM Inference7 Jul 2026
- 2026From Tensor Buffer to Distributed Memory Hierarchy: A Survey of KV Cache Management for LLM Serving30 Jun 2026
- 2026Omni-Flow: A Unified Workflow Orchestration and Distributed KV Cache Sharing Framework for Multimodal Inference30 Jun 2026
- 2026CrossVLA: Cross-Paradigm Post-Training and Inference Optimization for Vision-Language-Action Models21 May 2026
- 2026GHOST: Geometry-Hierarchical Online Streaming Token Eviction for Efficient 3D Reconstruction15 May 2026
- 2026Search Your Block Floating Point Scales!12 May 2026
- 2026Benchmarking KV-Cache Optimizations across Task Quality and System Performance for Long-Context Serving3 May 2026
26 more
- 2026The Topological Trouble With Transformers18 Apr 2026
- 2026KV Cache Offloading for Context-Intensive Tasks9 Apr 2026
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharing3 Apr 2026
- 2026From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generation19 Jan 2026
- 2025SkipKV: Selective Skipping of KV Generation and Storage for Efficient Inference with Large Reasoning Models8 Dec 2025
- 2025Improving Model Representation and Reducing KV Cache via Skip Connections with First Value Heads19 Oct 2025
- 2025Taming the Fragility of KV Cache Eviction in LLM Inference15 Oct 2025
- 2025XQuant: Achieving Ultra-Low Bit KV Cache Quantization with Cross-Layer Compression13 Oct 2025
- 2025MASA: Rethinking the Representational Bottleneck in LoRA with Multi-A Shared Adaptation7 Oct 2025
- 2025Cache-to-Cache: Direct Semantic Communication Between Large Language Models3 Oct 2025
- 2025SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts via Token-Level LSH Matching29 Sep 2025
- 2025CIFLEX: Contextual Instruction Flow for Sub-task Execution in Multi-Turn Interactions with a Single On-Device LLM24 Sep 2025
- 2025Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Eviction13 Sep 2025
- 2025CommonKV: Compressing KV Cache with Cross-layer Parameter Sharing22 Aug 2025
- 2025TPLA: Tensor Parallel Latent Attention for Efficient Disaggregated Prefill and Decode Inference21 Aug 2025
- 2025SparK: Query-Aware Unstructured Sparsity with Recoverable KV Cache Channel Pruning21 Aug 2025
- 2025KV Cache Compression for Inference Efficiency in LLMs: A Review8 Aug 2025
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inference3 Aug 2025
- 2025DAC: A Dynamic Attention-aware Approach for Task-Agnostic Prompt Compression16 Jul 2025
- 2025Krul: Efficient State Restoration for Multi-turn Conversations with Dynamic Cross-layer KV Sharing10 Jul 2025
- 2025AirCache: Activating Inter-modal Relevancy KV Cache Compression for Efficient Large Vision-Language Model Inference31 Mar 2025
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Models12 Mar 2025
- 2025BaKlaVa -- Budgeted Allocation of KV cache for Long-context Inference18 Feb 2025
- 2025CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspective6 Feb 2025
- 2025Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Models31 Jan 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2025Cache-to-Cache: Direct Semantic Communication Between Large Language Modelscited by 54
- 2025CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspectivecited by 28
- 2025Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Modelscited by 21
- 2025Taming the Fragility of KV Cache Eviction in LLM Inferencecited by 14
- 2025KV Cache Compression for Inference Efficiency in LLMs: A Reviewcited by 12
- 2025CommonKV: Compressing KV Cache with Cross-layer Parameter Sharingcited by 8
- 2025DAC: A Dynamic Attention-aware Approach for Task-Agnostic Prompt Compressioncited by 7
- 2025SparK: Query-Aware Unstructured Sparsity with Recoverable KV Cache Channel Pruningcited by 6
- 2025SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts via Token-Level LSH Matchingcited by 6
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inferencecited by 5
- 2025Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Evictioncited by 4
- 2025XQuant: Achieving Ultra-Low Bit KV Cache Quantization with Cross-Layer Compressioncited by 4
12 most cited of 25 All 25 (JSON)
- 2026KV-Kaizen: Learning Context-Adaptive Cache Compression Choices29 Sep 2026
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization9 Jul 2026
- 2026DepthWeave-KV: Token-Adaptive Cross-Layer Residual Factorization for Long-Context KV Cache Compression7 Jul 2026
- 2026FreqDepthKV: Frequency-Guided Depth Sharing for Robust KV Cache Compression in Long-Context LLM Inference7 Jul 2026
- 2026From Tensor Buffer to Distributed Memory Hierarchy: A Survey of KV Cache Management for LLM Serving30 Jun 2026
- 2026Omni-Flow: A Unified Workflow Orchestration and Distributed KV Cache Sharing Framework for Multimodal Inference30 Jun 2026
- 2026GHOST: Geometry-Hierarchical Online Streaming Token Eviction for Efficient 3D Reconstruction15 May 2026
- 2026Benchmarking KV-Cache Optimizations across Task Quality and System Performance for Long-Context Serving3 May 2026
- 2026KV Cache Offloading for Context-Intensive Tasks9 Apr 2026
- 2025Improving Model Representation and Reducing KV Cache via Skip Connections with First Value Heads19 Oct 2025
- 2025Taming the Fragility of KV Cache Eviction in LLM Inference15 Oct 2025
- 2025XQuant: Achieving Ultra-Low Bit KV Cache Quantization with Cross-Layer Compression13 Oct 2025
12 newest of 25 All 25 (JSON)
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 125
- 2025SkipKV: Selective Skipping of KV Generation and Storage for Efficient Inference with Large Reasoning Modelscited by 5
- 2025AirCache: Activating Inter-modal Relevancy KV Cache Compression for Efficient Large Vision-Language Model Inferencecited by 4
- 2025MASA: Rethinking the Representational Bottleneck in LoRA with Multi-A Shared Adaptationcited by 1
- 2026On the Efficiency-Safety Dilemma in Large Reasoning Modelscited by 0
- 2026On the Efficiency-Safety Dilemma in Large Reasoning Models20 Sep 2026
- 2025SkipKV: Selective Skipping of KV Generation and Storage for Efficient Inference with Large Reasoning Models8 Dec 2025
- 2025MASA: Rethinking the Representational Bottleneck in LoRA with Multi-A Shared Adaptation7 Oct 2025
- 2025AirCache: Activating Inter-modal Relevancy KV Cache Compression for Efficient Large Vision-Language Model Inference31 Mar 2025
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Models12 Mar 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2026The Topological Trouble With Transformerscited by 3
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharingcited by 3
- 2026Search Your Block Floating Point Scales!cited by 2
- 2025CIFLEX: Contextual Instruction Flow for Sub-task Execution in Multi-Turn Interactions with a Single On-Device LLMcited by 0
- 2026VFold: Symmetry-Aware Cross-Layer Value Cache Compressioncited by 0
- 2026VFold: Symmetry-Aware Cross-Layer Value Cache Compression8 Oct 2026
- 2026Search Your Block Floating Point Scales!12 May 2026
- 2026The Topological Trouble With Transformers18 Apr 2026
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharing3 Apr 2026
- 2025CIFLEX: Contextual Instruction Flow for Sub-task Execution in Multi-Turn Interactions with a Single On-Device LLM24 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026EchoKV: Efficient KV Cache Compression via Similarity-Based Reconstruction
- 2024ZigZagkv: Dynamic KV Cache Compression for Long-context Modeling based on Layer Uncertainty
- 2025KVCompose: Efficient Structured KV Cache Compression with Composite Tokens
- 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget
- 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference
- 2026HybridKV: Hybrid KV Cache Compression for Efficient Multimodal Large Language Model Inference
- 2026KV-CoRE: Benchmarking Data-Dependent Low-Rank Compressibility of KV-Caches in LLMs
- 2025PackKV: Reducing KV Cache Memory Footprint through LLM-Aware Lossy Compression