🤖 AI Summary
This work addresses the inefficiency in large language models (LLMs) during reinforcement learning–enhanced chain-of-thought reasoning, where sparse rewards often lead to redundant reflections—such as indiscriminate checking and repetitive verification—that degrade reasoning efficiency. To tackle this, the authors propose the first directed acyclic graph–based chain-of-thought pruning framework, which explicitly models dependencies among reasoning steps and introduces dual pruning strategies at both the branch and depth levels to systematically identify and eliminate two prevalent redundancy patterns. Integrated with a three-stage training pipeline—comprising supervised fine-tuning, direct preference optimization, and GRPO with length penalty—the method achieves comparable or improved task accuracy while reducing reasoning tokens by 42% on average, substantially enhancing both conciseness and computational efficiency.
📝 Abstract
Extending CoT through RL has been widely used to enhance the reasoning capabilities of LLMs. However, due to the sparsity of reward signals, it can also induce undesirable thinking patterns such as overthinking, i.e., generating redundant intermediate reasoning content. In this work, we argue that a major source of such redundancy is inefficient reflection, which often manifests in two problematic patterns: Indiscriminate Reflection, where the model performs broad, low-impact checks throughout reasoning, and Repetitive Reflection, where it repeatedly re-verifies an already established conclusion. To address this, we introduce a graph-based CoT optimization framework. Specifically, we convert each linear CoT into a directed acyclic graph (DAG) with explicit dependency edges, and design a dual pruning strategy: branch-level pruning removes weakly contributing reflection branches, while depth-level pruning eliminates late-stage re-verification. We distill this behavior via a three-stage pipeline: (1) SFT to initialize the policy on pruned concise traces, (2) DPO to prefer correct but less redundant trajectories, and (3) GRPO with length penalty to jointly optimize answer correctness and efficiency. Experiments show that our approach reduces the average reasoning tokens by 42\% while maintaining or improving accuracy.