Self-Pruned Key-Value Attention: Learning When to Write by Predicting Future Utility
On the map: LLM reasoning → Test-time compute and efficient thinking
also in 2 more
Abstract (arXiv)
Under modern test-time compute and agentic paradigms, language models process ever-longer sequences. Efficient text generation with transformer architectures is increasingly constrained by the Key-Value cache memory footprint and bandwidth. To address this limitation, we introduce Self-Pruned Key-Value Attention (SP-KV), a mechanism designed to predict future KV utility in order to reduce the size of the long-term KV cache. This strategy operates at a fine granularity: a lightweight utility predictor scores each key-value pair, and while recent KVs are always available via a local window, older pairs are written in the cache and used in global attention only if their predicted utility surpasses a given threshold. The LLM and the utility predictor are trained jointly end-to-end exclusively through next-token prediction loss, and are adapted from pretrained LLM checkpoints. Rather than enforcing a fixed compression ratio, SP-KV performs dynamic sparsification: the mechanism adapts to the input and typically reduces the KV cache size by a factor of 3 to 10×, longer sequences often being more compressible. This leads to vast improvements in memory usage and decoding speed, with little to no degradation of validation loss nor performance on a broad set of downstream tasks. Beyond serving as an effective KV-cache reduction mechanism, our method reveals structured layer- and head-specific sparsity patterns that we can use to guide the design of hybrid local-global attention architectures.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 40 of its 42 references that are in the map. First posted on arXiv 13 May 2026.
Builds on
40 of 42 references.
Closest ancestors · 4
Same direction, newest first
- 2025LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contexts22 Oct
- 2025Scaling Test-time Compute for LLM Agents15 Jun
- 2025Inference-Time Hyper-Scaling with KV Cache Compression5 Jun
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec
Other references · 36
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
24 more
- 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 642
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 439
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 432
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 258
- 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inferencecited by 235
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 213
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
- 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 197
- 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attentioncited by 131
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
- 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Modelscited by 125
- 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 116
- 2024RazorAttention: Efficient KV Cache Compression Through Retrieval Headscited by 100
- 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Taskscited by 96
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 95
- 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distributioncited by 74
- 2024What is Wrong with Perplexity for Long-context Language Modeling?cited by 69
- 2026Fast KVzip: Efficient and Accurate LLM Inference with Gated KV Evictioncited by 16
- 2026KVzap: Fast, Adaptive, and Faithful KV Cache Pruningcited by 15
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Back from the Future: Key-Value Cache Management by Counter-Causal Surprise
- 2025Key, Value, Compress: A Systematic Exploration of KV Cache Compression Techniques
- 2025AttentionPredictor: Temporal Patterns Matter for KV Cache Compression
- 2025CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferences
- 2026Moment-KV: Momentum-Based Decode-Time KV Cache Compression for Long Generation
- 2026Rethinking KV Cache Eviction via a Unified Information-Theoretic Objective
- 2026KVpop -- Key-Value Cache Compression with Predictive Online Pruning
- 2026LazyAttention: Efficient Retrieval-Augmented Generation with Deferred Positional Encoding