paper-with-me

홈 › Papers

R1-Compress: Long Chain-of-Thought Compression via Chunk Compression and Search

2025-05-22 · Yibo Wang, Li Shen, Huanjin Yao, Tiansheng Huang, Rui Liu, Naiqiang Tan, Jiaxing Huang, Kai Zhang, DaCheng Tao

Chain-of-Thought (CoT) reasoning enhances large language models (LLMs) by enabling step-by-step problem-solving, yet its extension to Long-CoT introduces substantial computational overhead due to increased token length. Existing compression approaches -- instance-level and token-level -- either sacrifice essential local reasoning signals like reflection or yield incoherent outputs. To address these limitations, we propose R1-Compress, a two-stage chunk-level compression framework that preserves both local information and coherence. Our method segments Long-CoT into manageable chunks, applies LLM-driven inner-chunk compression, and employs an inter-chunk search mechanism to select the short and coherent sequence. Experiments on Qwen2.5-Instruct models across MATH500, AIME24, and GPQA-Diamond demonstrate that R1-Compress significantly reduces token usage while maintaining comparable reasoning accuracy. On MATH500, R1-Compress achieves an accuracy of 92.4%, with only a 0.6% drop compared to the Long-CoT baseline, while reducing token usage by about 20%. Source code will be available at https://github.com/w-yibo/R1-Compress

📄 PDF Abstract BibTeX arXiv:2505.16838

Code (1)

w-yibo/r1-compress 공식 구현

Similar Papers 제목 키워드 기반

KARA: Efficient Reasoning LLM Serving via Sliding-Window KV Cache Compression

2026-05-01 · Shen Han, Yuyang Wu, Junpu Yu, Olexandr Isayev arxiv

Reasoning language models often generate long chain-of-thought (CoT), which accumulates a massive KV cache during the decoding phase and incurs high decoding latency and limited throughput. To address these issues, KV ca…

From Long to Lean: Performance-aware and Adaptive Chain-of-Thought Compression via Multi-round Refinement

2025-09-26 · Jianzhi Yan, Le Liu, Youcheng Pan, Shiwei Chen 외 arxiv

Chain-of-Thought (CoT) reasoning improves performance on complex tasks but introduces significant inference latency due to verbosity. We propose Multiround Adaptive Chain-of-Thought Compression (MACC), a framework that l…

R-KV: Redundancy-aware KV Cache Compression for Training-Free Reasoning Models Acceleration

2025-05-30 · Zefan Cai, Wen Xiao, Hanshi Sun, Cheng Luo 외

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 duri…

Mathematical Reasoning

When Compression Helps and When It Hurts: Condition-Aware Analysis of Chain-of-Thought Distillation

2026-06-19 · Siyang Lyu, Zhijing Sun, Xinghao Chen, Tong Liu 외 arxiv

Chain-of-Thought (CoT) distillation transfers multi-step reasoning from large reasoning models to smaller students, but verbose teacher traces inflate both training and inference cost. Existing CoT compression methods fa…

ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inference

2025-02-01 · Xiang Liu, Zhenheng Tang, Peijie Dong, Zeyu Li 외

Large Language Models (LLMs) require significant GPU memory when processing long texts, with the key value (KV) cache consuming up to 70\% of total memory during inference. Although existing compression methods reduce me…

GPUGSM8KIn-Context Learning