Lune

NeurIPS2025Top-tier venue

Reasoning Path Compression: Compressing Generation Trajectories for Efficient LLM Reasoning

Jiwon Song, Dongwon Jo, Yulhwa Kim, Jae-Joon Kim

Abstract

Recent reasoning-focused language models achieve high accuracy by generating lengthy intermediate reasoning paths before producing final answers. While this approach is effective in solving problems that require logical thinking, long reasoning paths significantly increase memory usage and reduce throughput of token generation, limiting the practical deployment of such models. We propose Reasoning Path Compression (RPC), a training-free method that accelerates inference by leveraging the semantic sparsity of reasoning paths. RPC periodically compresses the KV cache by retaining cache entries that receive high importance score, which are computed using a selector window composed of recently generated queries. Experiments show that RPC improves generation throughput of QwQ-32B by up to 1.60×\times compared to the inference with full KV cache, with an accuracy drop of 1.2% on the AIME 2024 benchmark. Our findings demonstrate that semantic sparsity in reasoning traces can be effectively exploited for compression, offering a practical path toward efficient deployment of reasoning LLMs. Our code is available at https://github.com/jiwonsong-dev/ReasoningPathCompression.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning Models cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning Models cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning Models cites SnapKV: LLM Knows What You are Looking for Before Generation
  • ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning Models cites LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning
  • ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Dynamic Early Exit in Reasoning Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • SnapKV: LLM Knows What You are Looking for Before Generation cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • SnapKV: LLM Knows What You are Looking for Before Generation cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning cites SnapKV: LLM Knows What You are Looking for Before Generation
  • LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Retrospective Sparse Attention for Efficient Long-Context Generation cites Measuring Massive Multitask Language Understanding
  • Retrospective Sparse Attention for Efficient Long-Context Generation cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • Retrospective Sparse Attention for Efficient Long-Context Generation cites SnapKV: LLM Knows What You are Looking for Before Generation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Dynamic Early Exit in Reasoning ModelsChenxu Yang, Qingyi Si, Yongjie Duan, Zheliang Zhu et al.ICLR 2026 · 250 citations
  2. ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning ModelsAkshat Ramachandran, Marina Neseem, Charbel Sakr, Rangharajan Venkatesan et al.ICLR 2026 · 19 citations
  3. LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long ReasoningHaoyue Zhang, Hualei Zhang, Xiaosong Ma, Jie Zhang et al.ACL 2026 · 7 citations
  4. Retrospective Sparse Attention for Efficient Long-Context GenerationSeonghwan Choi, Beomseok Kang, Dongwon Jo, Jae-Joon KimICLR 2026 · 4 citations
  5. ReQAT: Achieving Full-Precision Reasoning Accuracy with 4-bit Floating-Point Quantization-Aware TrainingJanghwan Lee, Sihwa Lee, Jinseok Kim, Yongjik Kim et al.ICML 2026 · 1 citation

Builds on14

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
  2. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou et al.ICLR 2021 · 7,905 citations
  3. FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 citations
  4. SnapKV: LLM Knows What You are Looking for Before GenerationYuhong Li, Yingbing Huang, Bowen Yang, Bharat Venkitesh et al.NeurIPS 2024 · 1,019 citations
  5. H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language ModelsZhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen et al.NeurIPS 2023 · 1,003 citations

Related papers

  1. BeaconKV: Key-Value Cache Compression Guided by Beacon Queries for Efficient Large Reasoning Model InferenceJanghyeon Kim, Minsoo Kim, Kyuhong Shim, Jungwook ChoiICML 2026
  2. Which Heads Matter for Reasoning? RL-Guided KV Cache CompressionWenjie Du, Li Jiang, Keda TAO, Xue Liu et al.ICML 2026 · 11 citations
  3. DELTA: Dynamic Layer-Aware Token Attention for Efficient Long-Context ReasoningHossein Entezari Zarch, Lei Gao, Chaoyi Jiang, Murali AnnavaramACL Findings 2026
  4. Reasoning Models Can be Accurately Pruned Via Chain-of-Thought ReconstructionRyan Lucas, Kayhan Behdin, Zhipeng Wang, Qingquan Song et al.ICLR 2026 · 3 citations
  5. DesireKV: Decoupling Sensitivity and Importance for Reasoning-Aware KV Cache CompressionPengyu Cheng, Jiacheng Wang, Tianle Chen, Bei Liu et al.AAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines