atlas

Research map / Large language models / Reasoning and chain of thought

Reasoning Path Compression: Compressing Generation Trajectories for Efficient LLM Reasoning

NeurIPS 2025 · Large language models › Reasoning and chain of thought · approach: KV cache compression · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Reasoning Path Compression (RPC), a training-free periodic KV cache compression method for reasoning LLMs that scores past tokens by attention from a recent selector window, achieving up to 1.60x throughput on QwQ-32B with 1.2% AIME 2024 accuracy drop.

Problem

Long reasoning paths from reasoning LLMs inflate KV cache memory and reduce token generation throughput, and existing KV cache compression methods target long prompts or fixed budgets rather than long generated reasoning traces.

Approach

Exploit semantic sparsity of reasoning traces: every P generated tokens, re-score all retained and new KV entries by attention from the most recent R selector queries (with local pooling across head and layer aggregation) and keep the top fraction at a fixed compression ratio, so compression is periodic rather than per-step and needs no training or budget set in advance.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply RPC (P=4096) instead of full KV cacheDeepSeek-R1-Distill-Qwen-7B · AIME 2024pass@1: 55.5 -> 52.9Hurt
Apply RPC (P=4096) instead of full KV cacheDeepSeek-R1-Distill-Qwen-7B · LiveCodeBenchpass@1: 37.6 -> 35.9Hurt
Apply RPC (P=4096) instead of full KV cacheDeepSeek-R1-Distill-Qwen-7B · IFEvalpass@1: 55.1 -> 56.6Helped
Apply RPC (P=4096) instead of full KV cacheQwQ-32B · AIME 2024pass@1: 79.5 -> 78.3Hurt
Apply RPC (P=4096) instead of full KV cacheQwQ-32B · LiveCodeBenchpass@1: 63.4 -> 62.2Hurt
Apply RPC (P=4096) instead of full KV cacheQwQ-32B · IFEvalpass@1: 83.9 -> 82.6Hurt
Apply RPC with P=4096 instead of full KV cacheDeepSeek-R1-Distill-Qwen-7B · 32768 generated tokensthroughput: 1.68× throughput improvementHelped
Apply RPC with P=4096 instead of full KV cacheQwQ-32B · 16384 generated tokensthroughput: 1.60× throughput improvementHelped
Use RPC with P=4096 instead of full KV cacheDeepSeek-R1-Distill-Qwen-7B · 32768 generated tokenspeak memory (GB): 75.7GB to 36.2GBHelped
Use selector window R=32 instead of R=1, R=8, or R=128 (ablation)RPC (P=4096) · AIME 2024pass@1: 49.2, 48.3, and 49.2 -> 52.9Helped
Use selector window R=32 instead of R=1, R=8, or R=128 (ablation)RPC (P=1024) · AIME 2024pass@1: 45.8, 49.2, and 50.0 -> 50.4Helped
Increase compression interval P (ablation)RPC · AIME 2024reasoning accuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: AIME 2024 LiveCodeBench IFEval HelloBench GSM8K GPQA-Diamond

Benchmarks: AIME 2024 LiveCodeBench IFEval

Metrics: pass@1 token generation throughput (tokens/s) peak memory (GB) redundancy rate 3-gram Shannon entropy

Baselines: Full KV Cache H2O TOVA LightThinker

Builds on: H2O TOVA SnapKV FlashAttention-2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy