Reasoning Efficiently Through Adaptive Chain-of-Thought Compression: A Self-Optimizing Framework
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Chain-of-Thought (CoT) prompting can substantially improve the reasoning ability of large language models (LLMs), but it often comes with high inference cost due to long and poorly controlled reasoning traces. This overhead is particularly problematic in software engineering tasks (e.g., code generation), where both latency and output reliability matter. To better understand this trade-off, we conduct an empirical study on widely used code generation benchmarks and observe that many modern reasoning models produce excessively verbose CoTs (often thousands of tokens), which frequently leads to truncation and unstable generation. Using a strict n-gram repetition detector, we find that most observed truncations are associated with degenerate looping behaviors. In addition, a HumanEval/129 case study shows that failed generations can be longer than successful ones, suggesting limited returns from overlong reasoning. Motivated by these findings, we propose SEER (Self-Enhancing Efficient Reasoning), a self-enhancing framework for adaptive CoT compression. SEER improves the conciseness of reasoning while preserving output quality, without relying on external compression tools. SEER refines self-generated CoT data via Best-of-N sampling to suppress looping and redundant traces, then applies a lightweight, data-driven filter to encourage concise yet correct reasoning. It then fine-tunes the model on the filtered data to internalize concise reasoning behaviors. Across four software engineering benchmarks on the evaluated DeepSeek-R1-Distill-Qwen-7B backbone, SEER reduces CoT length by 34.6% on average while improving task performance, with reduced truncation and fewer reasoning loops.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 29 of its 47 references that are in the map. First posted on arXiv 17 Sep 2025.
Builds on
29 of 47 references.
Closest ancestors · 9
Same direction, newest first
- 2025Adaptive GoGI-Skip: Coupling Goal-Gradient Importance with Dynamic Uncertainty for Efficient Reasoning13 May
- 2025How Well do LLMs Compress Their Own Chain-of-Thought? A Token Complexity Approach3 Mar
- 2025Self-Training Elicits Concise Reasoning in Large Language Models27 Feb
- 2025LightThinker: Thinking Step-by-Step Compression21 Feb
- 2025TokenSkip: Controllable Chain-of-Thought Compression in LLMs17 Feb
- 2025The Danger of Overthinking: Examining the Reasoning-Action Dilemma in Agentic Tasks12 Feb
- 2024Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMs30 Dec
- 2024Token-Budget-Aware LLM Reasoning24 Dec
- 2024Compressed Chain of Thought: Efficient Reasoning Through Dense Representations17 Dec
Other references · 20
- 2025Qwen3 Technical Reportcited by 8,820
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
- 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 388
- 2025Chain of Draft: Thinking Faster by Writing Lesscited by 297
- 2025Logic-RL: Unleashing LLM Reasoning with Rule-Based Reinforcement Learningcited by 262
- 2025CODI: Compressing Chain-of-Thought into Continuous Space via Self-Distillationcited by 225
8 more
- 2025When More is Less: Understanding Chain-of-Thought Length in LLMscited by 183
- 2024Distilling System 2 into System 1cited by 159
- 2024The Impact of Reasoning Step Length on Large Language Modelscited by 153
- 2023The Expressive Power of Transformers with Chain of Thoughtcited by 50
- 2025Uncertainty-Guided Chain-of-Thought for Code Generation with LLMscited by 32
- 2025Think or Not? Selective Reasoning via Reinforcement Learning for Vision-Language Modelscited by 30
- 2025Mind the Gap: Bridging Thought Leap for Improved Chain-of-Thought Tuningcited by 2
- 2025Chain of Draft for Software Engineering: Challenges in Applying Concise Reasoning to Code Taskscited by 2
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026CRISP: Compressed Reasoning via Iterative Self-Policy Distillationcited by 58
- 2026OPSD Compresses What RLVR Teaches: A Post-RL Compaction Stage for Reasoning Modelscited by 6
- 2026Characterizing, Evaluating, and Optimizing Complex Reasoningcited by 5
- 2026Compress the Easy, Explore the Hard: Difficulty-Aware Entropy Regularization for Efficient LLM Reasoningcited by 4
- 2026Zipping the Thought: When and How Compressed Reasoning Data Works in LLM Post-Trainingcited by 2
- 2026Segment-Level Attribution for Selective Learning of Long Reasoning Tracescited by 1
- 2026Zipping the Thought: When and How Compressed Reasoning Data Works in LLM Post-Training27 May 2026
- 2026OPSD Compresses What RLVR Teaches: A Post-RL Compaction Stage for Reasoning Models7 May 2026
- 2026CRISP: Compressed Reasoning via Iterative Self-Policy Distillation5 Mar 2026
- 2026Compress the Easy, Explore the Hard: Difficulty-Aware Entropy Regularization for Efficient LLM Reasoning26 Feb 2026
- 2026Characterizing, Evaluating, and Optimizing Complex Reasoning9 Feb 2026
- 2026Segment-Level Attribution for Selective Learning of Long Reasoning Traces31 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025SEER: Enhancing Chain-of-Thought Code Generation through Self-Exploring Deep Reasoning
- 2025Can Reasoning Path still be Effective as Input? Bridging Post-Reasoning to Chain-of-Thought Compression
- 2025From Long to Lean: Performance-aware and Adaptive Chain-of-Thought Compression via Multi-round Refinement
- 2025Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoning
- 2026Towards Efficient Large Language Reasoning Models via Extreme-Ratio Chain-of-Thought Compression
- 2025Efficient Reasoning Models: A Survey
- 2025CoT-RAG: Integrating Chain of Thought and Retrieval-Augmented Generation to Enhance Reasoning in Large Language Models
- 2025Can Pruning Improve Reasoning? Revisiting Long-CoT Compression with Capability in Mind for Better Reasoning