LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocation
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
KV Cache is commonly used to accelerate LLM inference with long contexts, yet its high memory demand drives the need for cache compression. Existing compression methods, however, are largely heuristic and lack dynamic budget allocation. To address this limitation, we introduce a unified framework for cache compression by minimizing information loss in Transformer residual streams. Building on it, we analyze the layer attention output loss and derive a new metric to compare cache entries across heads, enabling layer-wise compression with dynamic head budgets. Additionally, by contrasting cross-layer information, we also achieve dynamic layer budgets. LAVa is the first unified strategy for cache eviction and dynamic budget allocation that, unlike prior methods, does not rely on training or the combination of multiple strategies. Experiments with benchmarks (LongBench, Needle-In-A-Haystack, Ruler, and InfiniteBench) demonstrate its superiority. Moreover, our experiments reveal a new insight: dynamic layer budgets are crucial for generation tasks (e.g., code completion), while dynamic head budgets play a key role in extraction tasks (e.g., extractive QA). As a fully dynamic compression method, LAVa consistently maintains top performance across task types. Our code is available at https://github.com/MGDDestiny/Lava.
Key facts. Cited by 16 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 26 of its 35 references that are in the map. First posted on arXiv 11 Sep 2025.
Builds on
26 of 35 references.
Closest ancestors · 10
Same direction, newest first
- 2025CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferences16 Mar
- 2025CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspective6 Feb
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads14 Oct
- 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
- 2024Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matters18 Jun
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
- 2024PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inference21 May
- 2024CORM: Cache Optimization with Recent Message for Large Language Model Inference24 Apr
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
Other references · 16
- 2017Attention Is All You Needcited by 59,932
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 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
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
- 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 219
- 2024Data Engineering for Scaling Language Models to 128K Contextcited by 183
4 more
- 2023LongCoder: A Long-Range Pre-trained Language Model for Code Completioncited by 110
- 2024Information Flow Routes: Automatically Interpreting Language Models at Scalecited by 92
- 2025LongPO: Long Context Self-Evolution of Large Language Models through Short-to-Long Preference Optimizationcited by 24
- 2023Dodo: Dynamic Contextual Compression for Decoder-only LMscited by 23
Built on by
Citing papers per year: 2026: 16.
16 papers.
Sort:
By area:
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharingcited by 3
- 2026OmniMem: Perturbation-aware Memory Compression for Streaming Audio-Visual LLMscited by 3
- 2026Multi-Layered Memory Architectures for LLM Agents: An Experimental Evaluation of Long-Term Context Retentioncited by 2
- 2026Hybrid Associative Memoriescited by 1
- 2026Novel Memory Forgetting Techniques for Autonomous AI Agents: Balancing Relevance and Efficiencycited by 1
- 2026KV Cache Offloading for Context-Intensive Taskscited by 1
- 2026Reformulating KV Cache Eviction Problem for Long-Context LLM Inferencecited by 1
- 2026Do Value Vectors in Deep Layers Need Context from the Residual Stream?cited by 1
- 2026Exploring a Layer-Wise Design Space for KV Cache Evictioncited by 1
- 2026RippleKV: Cross-Layer KV Cache Allocation via Perturbation Propagationcited by 1
- 2026Monte Carlo Estimation for KV Cache Evictioncited by 1
- 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrencecited by 0
4 more
- 2026Developing Adaptive Context Compression Techniques for Large Language Models (LLMs) in Long-Running Interactionscited by 0
- 2026SelKV: Selective KV Cache Merging with Per-Token Merge-or-Drop and Attention Compensationcited by 0
- 2026KV-Kaizen: Learning Context-Adaptive Cache Compression Choicescited by 0
- 2026WakeKV: Reactive, Reversible KV Residency for Heads That Change Their Mindscited by 0
- 2026Monte Carlo Estimation for KV Cache Eviction6 Oct 2026
- 2026WakeKV: Reactive, Reversible KV Residency for Heads That Change Their Minds2 Oct 2026
- 2026KV-Kaizen: Learning Context-Adaptive Cache Compression Choices29 Sep 2026
- 2026RippleKV: Cross-Layer KV Cache Allocation via Perturbation Propagation9 Aug 2026
- 2026Exploring a Layer-Wise Design Space for KV Cache Eviction13 Jun 2026
- 2026Do Value Vectors in Deep Layers Need Context from the Residual Stream?1 Jun 2026
- 2026OmniMem: Perturbation-aware Memory Compression for Streaming Audio-Visual LLMs26 May 2026
- 2026SelKV: Selective KV Cache Merging with Per-Token Merge-or-Drop and Attention Compensation19 May 2026
- 2026Reformulating KV Cache Eviction Problem for Long-Context LLM Inference8 May 2026
- 2026KV Cache Offloading for Context-Intensive Tasks9 Apr 2026
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharing3 Apr 2026
- 2026Novel Memory Forgetting Techniques for Autonomous AI Agents: Balancing Relevance and Efficiency2 Apr 2026
4 more
- 2026Multi-Layered Memory Architectures for LLM Agents: An Experimental Evaluation of Long-Term Context Retention31 Mar 2026
- 2026Developing Adaptive Context Compression Techniques for Large Language Models (LLMs) in Long-Running Interactions31 Mar 2026
- 2026Hybrid Associative Memories20 Mar 2026
- 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrence23 Feb 2026
- 2026KV Cache Offloading for Context-Intensive Taskscited by 1
- 2026Reformulating KV Cache Eviction Problem for Long-Context LLM Inferencecited by 1
- 2026Exploring a Layer-Wise Design Space for KV Cache Evictioncited by 1
- 2026RippleKV: Cross-Layer KV Cache Allocation via Perturbation Propagationcited by 1
- 2026Monte Carlo Estimation for KV Cache Evictioncited by 1
- 2026Developing Adaptive Context Compression Techniques for Large Language Models (LLMs) in Long-Running Interactionscited by 0
- 2026SelKV: Selective KV Cache Merging with Per-Token Merge-or-Drop and Attention Compensationcited by 0
- 2026KV-Kaizen: Learning Context-Adaptive Cache Compression Choicescited by 0
- 2026WakeKV: Reactive, Reversible KV Residency for Heads That Change Their Mindscited by 0
- 2026Monte Carlo Estimation for KV Cache Eviction6 Oct 2026
- 2026WakeKV: Reactive, Reversible KV Residency for Heads That Change Their Minds2 Oct 2026
- 2026KV-Kaizen: Learning Context-Adaptive Cache Compression Choices29 Sep 2026
- 2026RippleKV: Cross-Layer KV Cache Allocation via Perturbation Propagation9 Aug 2026
- 2026Exploring a Layer-Wise Design Space for KV Cache Eviction13 Jun 2026
- 2026SelKV: Selective KV Cache Merging with Per-Token Merge-or-Drop and Attention Compensation19 May 2026
- 2026Reformulating KV Cache Eviction Problem for Long-Context LLM Inference8 May 2026
- 2026KV Cache Offloading for Context-Intensive Tasks9 Apr 2026
- 2026Developing Adaptive Context Compression Techniques for Large Language Models (LLMs) in Long-Running Interactions31 Mar 2026
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharingcited by 3
- 2026OmniMem: Perturbation-aware Memory Compression for Streaming Audio-Visual LLMscited by 3
- 2026Hybrid Associative Memoriescited by 1
- 2026Novel Memory Forgetting Techniques for Autonomous AI Agents: Balancing Relevance and Efficiencycited by 1
- 2026Do Value Vectors in Deep Layers Need Context from the Residual Stream?cited by 1
- 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrencecited by 0
- 2026Do Value Vectors in Deep Layers Need Context from the Residual Stream?1 Jun 2026
- 2026OmniMem: Perturbation-aware Memory Compression for Streaming Audio-Visual LLMs26 May 2026
- 2026Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharing3 Apr 2026
- 2026Novel Memory Forgetting Techniques for Autonomous AI Agents: Balancing Relevance and Efficiency2 Apr 2026
- 2026Hybrid Associative Memories20 Mar 2026
- 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrence23 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025EvolKV: Evolutionary KV Cache Compression for LLM Inference
- 2026Behavior-Preserving KV Cache Compression
- 2025EVICPRESS: Joint KV-Cache Compression and Eviction for Efficient LLM Serving
- 2025ReFreeKV: Towards Threshold-Free KV Cache Compression
- 2025PackKV: Reducing KV Cache Memory Footprint through LLM-Aware Lossy Compression
- 2026MoE-nD: Per-Layer Mixture-of-Experts Routing for Multi-Axis KV Cache Compression
- 2026LKV: End-to-End Learning of Head-wise Budgets and Token Selection for LLM KV Cache Eviction
- 2026Beyond Token Eviction: Mixed-Dimension Budget Allocation for Efficient KV Cache Compression