Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distribution
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Memory consumption of the Key-Value (KV) cache represents a major bottleneck for efficient large language model inference. While attention-score-based KV cache pruning shows promise, it faces critical practical limitations: attention scores from future tokens are unavailable during compression, and modern implementations like Flash Attention do not materialize the full attention matrix, making past scores inaccessible. To overcome these challenges, we introduce Expected Attention, a training-free compression method that estimates KV pairs importance by predicting how future queries will attend to them. Our approach leverages the distributional properties of LLM activations to compute expected attention scores in closed form for each KV pair. These scores enable principled ranking and pruning of KV pairs with minimal impact on the residual stream, achieving effective compression without performance degradation. Importantly, our method operates seamlessly across both prefilling and decoding phases, consistently outperforming state-of-the-art baselines in both scenarios. Finally, we release KVPress, a comprehensive library to enable researchers to implement and benchmark KV cache compression methods, already including more than 20 techniques.
Key facts. Cited by 70 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 47 of its 57 references that are in the map. First posted on arXiv 1 Oct 2025.
Builds on
47 of 57 references.
Closest ancestors · 13
Same direction, newest first
- 2025Inference-Time Hyper-Scaling with KV Cache Compression5 Jun
- 2025KeyDiff: Key Similarity-Based KV Cache Eviction for Long-Context LLM Inference in Resource-Constrained Environments21 Apr
- 2025Q-Filters: Leveraging QK Geometry for Efficient KV Cache Compression4 Mar
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads14 Oct
- 2024Keep the Cost Down: A Review on Methods to Optimize LLM' s KV-Cache Consumption25 Jul
- 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
- 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compression17 Jun
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
1 more
Other references · 34
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023GPT-4 Technical Reportcited by 18,132
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Let's Verify Step by Stepcited by 3,598
- 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
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
22 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
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 375
- 2024Massive Activations in Large Language Modelscited by 277
- 2025MathArena: Evaluating LLMs on Uncontaminated Math Competitionscited by 275
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2024The Illusion of State in State-Space Modelscited by 181
- 2025AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning datasetcited by 165
- 2024LongVLM: Efficient Long Video Understanding via Large Language Modelscited by 146
- 2024Transformers are Multi-State RNNscited by 120
- 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 118
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 115
- 2024vAttention: Dynamic Memory Management for Serving LLMs without PagedAttentioncited by 93
- 2024Training-Free Activation Sparsity in Large Language Modelscited by 51
- 2024Challenges in Deploying Long-Context Transformers: A Theoretical Peak Performance Analysiscited by 44
- 2025Decoder-Hybrid-Decoder Architecture for Efficient Reasoning with Long Generationcited by 10
- 2025Limitations of Normalization in Attention Mechanismcited by 7
- 2025NQKV: A KV Cache Quantization Scheme Based on Normal Distribution Characteristicscited by 3
Built on by
Citing papers per year: 2025: 3; 2026: 67.
70 papers.
Sort:
By area:
- 2026TriAttention: Efficient Long Reasoning with Trigonometric KV Compressioncited by 18
- 2026KVzap: Fast, Adaptive, and Faithful KV Cache Pruningcited by 14
- 2026Fast KVzip: Efficient and Accurate LLM Inference with Gated KV Evictioncited by 14
- 2026Learning to Evict from Key-Value Cachecited by 12
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memorycited by 11
- 2026KV Packet: Recomputation-Free Context-Independent KV Caching for LLMscited by 10
- 2025OBCache: Optimal Brain KV Cache Pruning for Efficient Long-Context LLM Inferencecited by 9
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Modelscited by 8
- 2026KVServe: Service-Aware KV Cache Compression for Communication-Efficient Disaggregated LLM Servingcited by 7
- 2026IndexMem: Learned KV-Cache Eviction with Latent Memory for Long-Context LLM Inferencecited by 7
- 2026WildCat: Near-Linear Attention in Theory and Practicecited by 6
- 2026Cartridges at Scale: Training Modular KV Caches over Large Document Collectionscited by 6
38 more
- 2026IntentKV: Cross-Turn Intent-Aware KV Cache Pruning for Agent Inferencecited by 6
- 2025Breadcrumbs Reasoning: Memory-Efficient Reasoning with Compression Beaconscited by 5
- 2026VeriCache: Turning Lossy KV Cache into Lossless LLM Inferencecited by 5
- 2026Why Attention Patterns Exist: A Unifying Temporal Perspective Analysiscited by 4
- 2026Predicting Future Utility: Global Combinatorial Optimization for Task-Agnostic KV Cache Evictioncited by 4
- 2026Rethinking KV Cache Eviction via a Unified Information-Theoretic Objectivecited by 4
- 2026LKV: End-to-End Learning of Head-wise Budgets and Token Selection for LLM KV Cache Evictioncited by 4
- 2026When Does Value-Aware KV Eviction Help? A Fixed-Contract Diagnostic for Non-Monotone Cache Compressioncited by 4
- 2026RDKV: Rate-Distortion Bit Allocation for Joint Eviction and Quantization of the KV Cachecited by 4
- 2026GRKV: Global Regression for Training-Free KV Cache Compression in Long-Context LLMscited by 4
- 2026End-to-End Context Compression at Scalecited by 4
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inferencecited by 3
- 2026SONIC: Segmented Optimized Nexus for Information Compression in Key-Value Cachingcited by 3
- 2026Sub-Token Routing for KV Cache Compressioncited by 3
- 2026A Simple Plug-in for Improving Eviction-Based KV Cache Compressioncited by 3
- 2026MemDecay: Region-Aware KV Cache Eviction for Efficient LLM Agent Inferencecited by 3
- 2026WitCert: Sound Runtime Risk Observability and Gating for KV-Cache Quantizationcited by 3
- 2026ParisKV: Fast and Drift-Robust KV-Cache Retrieval for Long-Context LLMscited by 2
- 2026NestedKV: Nested Memory Routing for Long-Context KV Cache Compressioncited by 2
- 2026Rethinking LoRA Memory Through the Lens of KV Cache Compressioncited by 2
- 2026QCFuse: Query-Aware Cache Fusion via Compressed View for Efficient RAG Servingcited by 2
- 2026Tangram: Unlocking Non-Uniform KV Cache Compression for Efficient Multi-turn LLM Servingcited by 2
- 2026Information-Aware KV Cache Compression for Long Reasoningcited by 2
- 2026KARA: Efficient Reasoning LLM Serving via Sliding-Window KV Cache Compressioncited by 2
- 2026Practical Online KV Cache Compaction for LLM Agents: An Empirical Studycited by 2
- 2026RestoreKV: Recovering Full-Cache Behavior Under Aggressive Query-Agnostic KV Cache Evictioncited by 2
- 2026Does Accuracy Equal Evidence? Reasoning Faithfulness under KV Cache Compressioncited by 2
- 2026Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transformscited by 2
- 2026CodeComp: Structural KV Cache Compression for Agentic Codingcited by 1
- 2026Self-Pruned Key-Value Attention: Learning When to Write by Predicting Future Utilitycited by 1
- 2026Adaptive Mass-Segmented KV Compression for Long-Context Reasoningcited by 1
- 2026LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decodingcited by 1
- 2026Understanding Sparse Attention Selectivity in Long-Context Foundation Models via Counterfactual Evaluationcited by 1
- 2026TaskPress: Query-Agnostic KV Cache Compression via Task-Guided Pruningcited by 1
- 2026KVDiagnosis: A Diagnostic Benchmark for KV-Cache Compression in Long-Context Language Modelscited by 1
- 2026KV Cache Compression Through the Lens of Transform Codingcited by 1
- 2026Trust the Mass: Forced Weights in KV-Cache Evictioncited by 1
- 2026ARC-KV: Amortizing Anchor Search for Reconstruction-Based KV Cache Compactioncited by 1
50 most cited of 70 All 70 (JSON)
- 2026Rehearse Everything, Remember Nothing: Attic-KV Rehearses What Will Be Read8 Oct 2026
- 2026A Self-Pruning Transformer: Extreme KV-Cache Compression with Universal Attention6 Oct 2026
- 2026Monte Carlo Estimation for KV Cache Eviction6 Oct 2026
- 2026Behavior-Preserving KV Cache Compression5 Oct 2026
- 2026Mask-Guided KV Cache Eviction in Block Diffusion Language Models4 Oct 2026
- 2026KV2: A Self-Refining KV Cache2 Oct 2026
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstruction30 Sep 2026
- 2026ARC-KV: Amortizing Anchor Search for Reconstruction-Based KV Cache Compaction29 Sep 2026
- 2026CORE: COverage CAlibration and Evicted-Mass REdistribution for KV Cache28 Sep 2026
- 2026Compression-Aware Abstention: Teaching LLMs to Refuse When KV-Compression Masks Remove Answer Evidence30 Aug 2026
- 2026A Probabilistic Interpretation of KV Cache Eviction28 Aug 2026
- 2026Small Frequency Corrections Can Change What Survives KV Cache Compression27 Aug 2026
38 more
- 2026Trust the Mass: Forced Weights in KV-Cache Eviction25 Aug 2026
- 2026Learning how to Forget: Fine-tuning for Long-Context Sparse Attention20 Aug 2026
- 2026KV Cache Compression Through the Lens of Transform Coding14 Aug 2026
- 2026KVDiagnosis: A Diagnostic Benchmark for KV-Cache Compression in Long-Context Language Models10 Aug 2026
- 2026Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transforms4 Aug 2026
- 2026TaskPress: Query-Agnostic KV Cache Compression via Task-Guided Pruning4 Aug 2026
- 2026AnchorKV: Anchor-Residual KV Cache Compression3 Aug 2026
- 2026Understanding Sparse Attention Selectivity in Long-Context Foundation Models via Counterfactual Evaluation3 Aug 2026
- 2026Does Accuracy Equal Evidence? Reasoning Faithfulness under KV Cache Compression3 Aug 2026
- 2026RestoreKV: Recovering Full-Cache Behavior Under Aggressive Query-Agnostic KV Cache Eviction2 Aug 2026
- 2026Practical Online KV Cache Compaction for LLM Agents: An Empirical Study2 Aug 2026
- 2026WitCert: Sound Runtime Risk Observability and Gating for KV-Cache Quantization30 Jul 2026
- 2026LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decoding27 Jul 2026
- 2026VarRate: Training-Free Variable-Rate KV Cache Compression for Long-Context LLMs16 Jul 2026
- 2026MemDecay: Region-Aware KV Cache Eviction for Efficient LLM Agent Inference12 Jul 2026
- 2026How Query Visibility Changes KV-Cache Compression Rankings: A Matched-Budget Audit11 Jul 2026
- 2026Diffusion-Guided Uncertainty-Aware Delayed Policy Optimization6 Jul 2026
- 2026Information-Aware KV Cache Compression for Long Reasoning25 Jun 2026
- 2026MM-ShiftKV: Decode-Aware Prefill-Stage KV Selection for Multimodal Large Language Models9 Jun 2026
- 2026Express Language Modeling9 Jun 2026
- 2026End-to-End Context Compression at Scale8 Jun 2026
- 2026IntentKV: Cross-Turn Intent-Aware KV Cache Pruning for Agent Inference6 Jun 2026
- 2026Tangram: Unlocking Non-Uniform KV Cache Compression for Efficient Multi-turn LLM Serving4 Jun 2026
- 2026QCFuse: Query-Aware Cache Fusion via Compressed View for Efficient RAG Serving4 Jun 2026
- 2026Rethinking LoRA Memory Through the Lens of KV Cache Compression4 Jun 2026
- 2026Cartridges at Scale: Training Modular KV Caches over Large Document Collections3 Jun 2026
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Models2 Jun 2026
- 2026GRKV: Global Regression for Training-Free KV Cache Compression in Long-Context LLMs29 May 2026
- 2026NestedKV: Nested Memory Routing for Long-Context KV Cache Compression26 May 2026
- 2026IndexMem: Learned KV-Cache Eviction with Latent Memory for Long-Context LLM Inference25 May 2026
- 2026A Simple Plug-in for Improving Eviction-Based KV Cache Compression22 May 2026
- 2026Adaptive Mass-Segmented KV Compression for Long-Context Reasoning22 May 2026
- 2026VeriCache: Turning Lossy KV Cache into Lossless LLM Inference17 May 2026
- 2026Self-Pruned Key-Value Attention: Learning When to Write by Predicting Future Utility13 May 2026
- 2026KVServe: Service-Aware KV Cache Compression for Communication-Efficient Disaggregated LLM Serving13 May 2026
- 2026RDKV: Rate-Distortion Bit Allocation for Joint Eviction and Quantization of the KV Cache8 May 2026
- 2026When Does Value-Aware KV Eviction Help? A Fixed-Contract Diagnostic for Non-Monotone Cache Compression7 May 2026
- 2026Benchmarking KV-Cache Optimizations across Task Quality and System Performance for Long-Context Serving3 May 2026
50 newest of 70 All 70 (JSON)
- 2026KVzap: Fast, Adaptive, and Faithful KV Cache Pruningcited by 14
- 2026Fast KVzip: Efficient and Accurate LLM Inference with Gated KV Evictioncited by 14
- 2026Learning to Evict from Key-Value Cachecited by 12
- 2025OBCache: Optimal Brain KV Cache Pruning for Efficient Long-Context LLM Inferencecited by 9
- 2026KVServe: Service-Aware KV Cache Compression for Communication-Efficient Disaggregated LLM Servingcited by 7
- 2026IndexMem: Learned KV-Cache Eviction with Latent Memory for Long-Context LLM Inferencecited by 7
- 2026Cartridges at Scale: Training Modular KV Caches over Large Document Collectionscited by 6
- 2026VeriCache: Turning Lossy KV Cache into Lossless LLM Inferencecited by 5
- 2026Why Attention Patterns Exist: A Unifying Temporal Perspective Analysiscited by 4
- 2026Predicting Future Utility: Global Combinatorial Optimization for Task-Agnostic KV Cache Evictioncited by 4
- 2026LKV: End-to-End Learning of Head-wise Budgets and Token Selection for LLM KV Cache Evictioncited by 4
- 2026When Does Value-Aware KV Eviction Help? A Fixed-Contract Diagnostic for Non-Monotone Cache Compressioncited by 4
12 most cited of 44 All 44 (JSON)
- 2026A Self-Pruning Transformer: Extreme KV-Cache Compression with Universal Attention6 Oct 2026
- 2026Monte Carlo Estimation for KV Cache Eviction6 Oct 2026
- 2026Behavior-Preserving KV Cache Compression5 Oct 2026
- 2026KV2: A Self-Refining KV Cache2 Oct 2026
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstruction30 Sep 2026
- 2026ARC-KV: Amortizing Anchor Search for Reconstruction-Based KV Cache Compaction29 Sep 2026
- 2026CORE: COverage CAlibration and Evicted-Mass REdistribution for KV Cache28 Sep 2026
- 2026Compression-Aware Abstention: Teaching LLMs to Refuse When KV-Compression Masks Remove Answer Evidence30 Aug 2026
- 2026A Probabilistic Interpretation of KV Cache Eviction28 Aug 2026
- 2026Small Frequency Corrections Can Change What Survives KV Cache Compression27 Aug 2026
- 2026Trust the Mass: Forced Weights in KV-Cache Eviction25 Aug 2026
- 2026KV Cache Compression Through the Lens of Transform Coding14 Aug 2026
12 newest of 44 All 44 (JSON)
- 2026TriAttention: Efficient Long Reasoning with Trigonometric KV Compressioncited by 18
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Modelscited by 8
- 2025Breadcrumbs Reasoning: Memory-Efficient Reasoning with Compression Beaconscited by 5
- 2026Rethinking KV Cache Eviction via a Unified Information-Theoretic Objectivecited by 4
- 2026Information-Aware KV Cache Compression for Long Reasoningcited by 2
- 2026KARA: Efficient Reasoning LLM Serving via Sliding-Window KV Cache Compressioncited by 2
- 2026Practical Online KV Cache Compaction for LLM Agents: An Empirical Studycited by 2
- 2026Self-Pruned Key-Value Attention: Learning When to Write by Predicting Future Utilitycited by 1
- 2026Adaptive Mass-Segmented KV Compression for Long-Context Reasoningcited by 1
- 2026Practical Online KV Cache Compaction for LLM Agents: An Empirical Study2 Aug 2026
- 2026Information-Aware KV Cache Compression for Long Reasoning25 Jun 2026
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Models2 Jun 2026
- 2026Adaptive Mass-Segmented KV Compression for Long-Context Reasoning22 May 2026
- 2026Self-Pruned Key-Value Attention: Learning When to Write by Predicting Future Utility13 May 2026
- 2026KARA: Efficient Reasoning LLM Serving via Sliding-Window KV Cache Compression1 May 2026
- 2026Rethinking KV Cache Eviction via a Unified Information-Theoretic Objective28 Apr 2026
- 2026TriAttention: Efficient Long Reasoning with Trigonometric KV Compression6 Apr 2026
- 2025Breadcrumbs Reasoning: Memory-Efficient Reasoning with Compression Beacons15 Oct 2025
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memorycited by 11
- 2026KV Packet: Recomputation-Free Context-Independent KV Caching for LLMscited by 10
- 2026WildCat: Near-Linear Attention in Theory and Practicecited by 6
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inferencecited by 3
- 2026SONIC: Segmented Optimized Nexus for Information Compression in Key-Value Cachingcited by 3
- 2026LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decodingcited by 1
- 2026Understanding Sparse Attention Selectivity in Long-Context Foundation Models via Counterfactual Evaluationcited by 1
- 2026Express Language Modelingcited by 0
- 2026Diffusion-Guided Uncertainty-Aware Delayed Policy Optimizationcited by 0
- 2026Learning how to Forget: Fine-tuning for Long-Context Sparse Attentioncited by 0
- 2026Rehearse Everything, Remember Nothing: Attic-KV Rehearses What Will Be Readcited by 0
- 2026Rehearse Everything, Remember Nothing: Attic-KV Rehearses What Will Be Read8 Oct 2026
- 2026Learning how to Forget: Fine-tuning for Long-Context Sparse Attention20 Aug 2026
- 2026Understanding Sparse Attention Selectivity in Long-Context Foundation Models via Counterfactual Evaluation3 Aug 2026
- 2026LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decoding27 Jul 2026
- 2026Diffusion-Guided Uncertainty-Aware Delayed Policy Optimization6 Jul 2026
- 2026Express Language Modeling9 Jun 2026
- 2026KV Packet: Recomputation-Free Context-Independent KV Caching for LLMs14 Apr 2026
- 2026WildCat: Near-Linear Attention in Theory and Practice10 Feb 2026
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memory31 Jan 2026
- 2026SONIC: Segmented Optimized Nexus for Information Compression in Key-Value Caching29 Jan 2026
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inference19 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2025AttentionPredictor: Temporal Patterns Matter for KV Cache Compression
- 2024Eigen Attention: Attention in Low-Rank Space for KV Cache Compression
- 2025SALS: Sparse Attention in Latent Space for KV cache Compression
- 2025KQ-SVD: Compressing the KV Cache with Provable Guarantees on Attention Fidelity
- 2026ResKV: Reconstructing Omitted Attention Contributions for Fixed-Budget KV Cache Compression
- 2024KV-Compress: Paged KV-Cache Compression with Variable Compression Rates per Attention Head
- 2025KVCompose: Efficient Structured KV Cache Compression with Composite Tokens
- 2026PuzzleKV: Page-Wise Low-Rank Decomposition for KV Cache Compression