mlsanityData to 14 Oct 2026

Which Heads Matter for Reasoning? RL-Guided KV Cache Compression

arXiv 2510.08525 ↗First posted 9 Oct 2025cs.CLcited by 10

On the map: LLM reasoning → Test-time compute and efficient thinking

also in 1 more
Abstract (arXiv)

Reasoning large language models exhibit complex reasoning behaviors via extended chain-of-thought generation that are highly fragile to information loss during decoding, creating critical challenges for KV cache compression. Existing token-dropping methods directly disrupt reasoning chains by removing intermediate steps, while head-reallocation methods, designed for retrieval tasks, fail to preserve the heads essential for generative reasoning. However, no existing method can identify which attention heads genuinely maintain reasoning consistency and control generation termination. To address this, we propose RLKV, which uses reinforcement learning as a probe to discover which heads contribute to reasoning quality by directly optimizing their cache usage against actual generation outcomes. This discovery naturally leads to an efficient compression strategy: we allocate full KV cache to reasoning-critical heads while aggressively compressing others with constant-size KV cache. Experiments reveal that a fraction of heads proves essential for reasoning, enabling 20--60% cache reduction with near-lossless performance across diverse tasks and models, and up to 2.06x end-to-end speedup at 60% reduction.

Key facts. Cited by 10 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 55 of its 71 references that are in the map. First posted on arXiv 9 Oct 2025.

Builds on

55 of 71 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025R-KV: Redundancy-aware KV Cache Compression for Reasoning Models30 May
  2. 2025Learn to Reason Efficiently with Adaptive Length-based Reward Shaping21 May
  3. 2025ThinkPrune: Pruning Long Chain-of-Thought of LLMs via Reinforcement Learning2 Apr
  4. 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning25 Oct

Other references · 51

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  4. 2025Qwen3 Technical Reportcited by 8,820
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  7. 2023Let's Verify Step by Stepcited by 3,789
  8. 2021Program Synthesis with Large Language Modelscited by 3,637
  9. 2020Longformer: The Long-Document Transformercited by 3,413
  10. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  11. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
  12. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
38 more
  1. 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
  2. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  3. 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,210
  4. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
  5. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  6. 2017Learning Transferable Architectures for Scalable Image Recognitioncited by 1,101
  7. 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
  8. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
  9. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  10. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 650
  11. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
  12. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
  13. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
  14. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
  15. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  16. 2018AMC: AutoML for Model Compression and Acceleration on Mobile Devicescited by 378
  17. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 288
  18. 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 283
  19. 2025AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoningcited by 250
  20. 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 232
  21. 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 198
  22. 2024PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inferencecited by 147
  23. 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 124
  24. 2024Insight-V: Exploring Long-Chain Visual Reasoning with Multimodal Large Language Modelscited by 116
  25. 2024RazorAttention: Efficient KV Cache Compression Through Retrieval Headscited by 100
  26. 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 95
  27. 2025EfficientVLA: Training-Free Acceleration and Compression for Vision-Language-Action Modelscited by 93
  28. 2025WebExplorer: Explore and Evolve for Training Long-Horizon Web Agentscited by 92
  29. 2024WKVQuant: Quantizing Weight and Key/Value Cache for Large Language Models Gains Morecited by 69
  30. 2025CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferencescited by 58
  31. 2025HoliTom: Holistic Token Merging for Fast Video Large Language Modelscited by 58
  32. 2025LongReason: A Synthetic Long-Context Reasoning Benchmark via Context Expansioncited by 50
  33. 2025RotateKV: Accurate and Robust 2-Bit KV Cache Quantization for LLMs via Outlier-Aware Adaptive Rotationscited by 46
  34. 2024SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Modelscited by 44
  35. 2024AutoDroid-V2: Boosting SLM-based GUI Agents via Code Generationcited by 34
  36. 2025OBS-Diff: Accurate Pruning For Diffusion Models in One-Shotcited by 19
  37. 2025Plug-and-Play 1.x-Bit KV Cache Quantization for Video Large Language Modelscited by 13
  38. 2025Cache Me If You Can: How Many KVs Do You Need for Effective Long-Context LMs?cited by 10

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 9.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Breadcrumbs Reasoning: Memory-Efficient Reasoning with Compression Beacons
  2. 2025Hold Onto That Thought: Assessing KV Cache Compression On Reasoning
  3. 2026Fewer Tokens, Smaller Cache: Reward-Coordinated Efficient Reasoning
  4. 2026Random Attention: Rethinking KV Cache Eviction for Efficient Reasoning
  5. 2026Training Large Reasoning Models Efficiently via Progressive Thought Encoding
  6. 2026BeaconKV: Key-Value Cache Compression Guided by Beacon Queries for Efficient Large Reasoning Model Inference
  7. 2026CASK: Core-Aware Selective KV Compression for Reasoning Traces
  8. 2026ReasonAlloc: Hierarchical Decoding-Time KV Cache Budget Allocation for Reasoning Models