Skip to content

SEER: Self-Enhancing Chain-of-Thought Compression for Reasoning Models

Sep 2025 · Proceedings of the ACM on Software Engineering · Vol 3, pp. 664 - 686 · 9 citations · ⚡ 2 influential · 2 references
Computer Science

TL;DR

SEER (Self-Enhancing Efficient Reasoning), a self-enhancing framework for adaptive CoT compression, improves the conciseness of reasoning while preserving output quality, without relying on external compression tools.

Abstract

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. improves the conciseness of reasoning while preserving output quality, without relying on external compression tools. 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, reduces CoT length by 34.6% on average while improving task performance, with reduced truncation and fewer reasoning loops.

Read PDF

Similar papers

#artificial intelligence Preprint Sep 2026

Ladders of Thought: A Self-Evolving Curriculum of Progressively Simplified Reasoning Traces

Evaluated on two reasoning domains, math and multi-hop reasoning, across 1-8B models from different families, LoT consistently improves over KD and converges faster than staged curricula, highlighting the value of adaptive progression.

Ming-Hui Liu, Thomas Magelinski, De-Hao Yuan et al. · 0 citations
Open access Aug 2026

Empowering Small Language Models With Chain of Thought and Parameter Efficient Fine Tuning for Efficient Deep Reasoning

A systematic, multi-model framework that combines Chain-of-Thought prompting with Low-Rank Adaptation parameter-efficient fine-tuning, and measures the contribution of each component independently is investigated, making capable SLM-based reasoning deployable without datacenter-scale infrastructure.

Aryan Raina, Shiwani Gupta, Jagruti Jadhav et al. · 0 citations
#artificial intelligence Preprint Oct 2026

Visible Reasoning Is Not a Universal Optimizer: Persona- and Thinking-Dependent Effects in Analytics Code Generation

Visible Chain-of-Thought (CoT) is often treated as a broadly useful reasoning instruction, yet analytics code generation combines natural-language ambiguity, schema grounding, target-language constraints, and model-specific inference behavior. Because the same analytics request can be expressed in two distinct target l...

Bhawani Shankar Leelar, Pawan Chorasiya, Davin Hill et al. · 0 citations
Open access Sep 2026

A Comprehensive Evaluation of Long-Context Reasoning in Transformer and State-Space LLM Architectures

A comparative study of Transformer-based and State-Space Model designs when it comes to long-context reasoning finds Transformer-based models have a pronounced tendency to forget distant information while StateSpace Model-based designs retain information more stably and yield better results for tasks that involve long...

Sheyasree Ghosh, Akanksha Srivastava, Soumen Bhowmik et al. · 0 citations
Open access Oct 2026

Steering Tree-of-Thought Reasoning via Deductive Verification

Large language models (LLMs) have demonstrated great potential in code reasoning tasks, but their reasoning processes lack reliable verification mechanisms, making it difficult to ensure logical correctness. The Tree of Thoughts (ToT) framework improves reasoning by exploring multiple paths and employing backtracking,...

Hao-Liang Cheng, En-Yi Tang, Shuo-Xiao Zhang et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.