R-KV: Redundancy-aware KV Cache Compression for Reasoning Models

Ze-Fan Cai, Wen Xiao, Hanshi Sun, Cheng Luo, Yi-Kai Zhang +9 more
5/1/2025
61 citations

Official code: Zefan-Cai/R-KV (1,222 stars).

Abstract

Reasoning models have demonstrated impressive performance in self-reflection and chain-of-thought reasoning. However, they often produce excessively long outputs, leading to prohibitively large key-value (KV) caches during inference.

Show full abstract

While chain-of-thought inference significantly improves performance on complex reasoning tasks, it can also lead to reasoning failures when deployed with existing KV cache compression approaches. To address this, we propose Redundancy-aware KV Cache Compression for Reasoning models (R-KV), a novel method specifically targeting redundant tokens in reasoning models. Our method preserves nearly 100% of the full KV cache performance using only 10% of the KV cache, substantially outperforming existing KV cache baselines, which reaches only 60% of the performance. Remarkably, R-KV even achieves 105% of full KV cache performance with 16% of the KV cache. This KV-cache reduction also leads to a 90% memory saving and a 6.6× throughput over standard chain-of-thought reasoning inference. Experimental results show that R-KV consistently outperforms existing KV cache compression baselines across two mathematical reasoning datasets.

View on arXivView PDF

Code Implementations(1)

Zefan-Cai/R-KVOfficial25%

[Neurips 2025] R-KV: Redundancy-aware KV Cache Compression for Reasoning Models

1,222197

Similar Papers

Cite this paper

@article{cai2025rkv,
  title  = {R-KV: Redundancy-aware KV Cache Compression for Reasoning Models},
  author = {Ze-Fan Cai and Wen Xiao and Hanshi Sun and Cheng Luo and Yi-Kai Zhang and Ke Wan and Yucheng Li and Yeyang Zhou and Li-Wen Chang and Jiu-Xiang Gu and Zhen Dong and Anima Anandkumar and Abedelkadir Asi and Jun-Jie Hu},
  year   = {2025},
  eprint = {2505.24133},
  archivePrefix = {arXiv},
  doi    = {10.52202/085713-2038},
  url    = {https://doi.org/10.52202/085713-2038},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.24133.svg)](https://codeofpaper.com/paper/2505.24133)

Discussion