mlsanityData to 14 Oct 2026

How to Compress KV Cache in RL Post-Training? Shadow Mask Distillation for Memory-Efficient Alignment

arXiv 2605.06850 ↗First posted 7 May 2026cs.LG cs.AIcited by 2

On the map: LLM reasoning → Reinforcement learning for reasoning

also in 2 more
Abstract (arXiv)

Reinforcement Learning (RL) has emerged as a crucial paradigm for unlocking the advanced reasoning capabilities of Large Language Models (LLMs), encompassing frameworks like RLHF and RLAIF. Regardless of the specific optimization algorithm (e.g., PPO, GRPO, or Online DPO), online RL inherently requires an exploratory trajectory generation (rollout) phase. However, for long-context reasoning tasks, this rollout phase imposes a severe ``memory wall'' due to the exorbitant Key-Value (KV) cache footprint. While applying KV cache compression during rollouts mitigates this memory overhead, it induces a critical off-policy bias. Although modern KV compression is often nearly lossless during standard inference, even minuscule approximation errors are drastically amplified by the inherent instability of RL optimization. Specifically, the sampler generates responses under a sparse context, whereas the learner updates parameters using the full, dense context. Existing statistical solutions, such as importance reweighting, struggle to correct this magnified bias, suffering from high gradient variance and severe sample inefficiency.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 31 of its 34 references that are in the map. First posted on arXiv 7 May 2026.

Builds on

31 of 34 references.

Closest ancestors · 3

Same direction, newest first

  1. 2026Sparse-RL: Breaking the Memory Wall in LLM Reinforcement Learning via Stable Sparse Rollouts15 Jan
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Model29 May
  3. 2017Proximal Policy Optimization Algorithms20 Jul

Other references · 28

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  7. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  8. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  9. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  10. 2023Qwen Technical Reportcited by 3,344
  11. 2020Learning to summarize from human feedbackcited by 2,588
  12. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
16 more
  1. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  2. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
  3. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
  4. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  5. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
  6. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
  7. 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 527
  8. 2021Efficient Attentions for Long Document Summarizationcited by 345
  9. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
  10. 2023The Janus Interface: How Fine-Tuning in Large Language Models Amplifies the Privacy Riskscited by 36
  11. 2022Selective Amnesia: On Efficient, High-Fidelity and Blind Suppression of Backdoor Effects in Trojaned Machine Learning Modelscited by 11
  12. 2024DPAdapter: Improving Differentially Private Deep Learning through Noise Tolerance Pre-trainingcited by 7
  13. 2025Adversarial Attack-Defense Co-Evolution for LLM Safety Alignment via Tree-Group Dual-Aware Search and Optimizationcited by 4
  14. 2025Hey, That's My Data! Token-Only Dataset Inference in Large Language Modelscited by 3
  15. 2025ByzSFL: Achieving Byzantine-Robust Secure Federated Learning with Zero-Knowledge Proofscited by 2
  16. 2025Near-Lossless Model Compression Enables Longer Context Inference in DNA Large Language Modelscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026KV4-RL: Unlocking Faster Asynchronous Rollouts for RLVR with INT4 KV Cache Quantization
  2. 2025KV Cache Compression for Inference Efficiency in LLMs: A Review
  3. 2024KV-Compress: Paged KV-Cache Compression with Variable Compression Rates per Attention Head
  4. 2025R-KV: Redundancy-aware KV Cache Compression for Reasoning Models
  5. 2025G-KV: Decoding-Time KV Cache Eviction with Global Attention
  6. 2026MetaKV: Adaptive KV Cache Compression for Constrained LLM Inference
  7. 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference
  8. 2026KVSculpt: KV Cache Compression as Distillation