Paper deep dive
ChainPrune: Evaluating and Reducing Redundancy in Long Chain-of-Thought Reasoning
Weihang Pan, Zhengxu Yu, Yuxiang Zhang, Wenzhi Li, Zhongming Jin, Binbin Lin, Xiaofei He, Jieping Ye
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 92%
Last extracted: 8/25/2026, 7:30:17 AM
Summary
The paper introduces ChainPrune, a method to reduce redundancy in Chain-of-Thought (CoT) reasoning for Large Reasoning Models (LRMs). It addresses 'pseudo-conciseness' by merging semantically equivalent nodes in a reasoning tree and selecting Pareto-dominant paths based on both token and chain length. The method uses a DPO-based preference learning approach combined with supervised loss (NLL) to train models, resulting in significant reductions in step length and computational overhead while maintaining or improving accuracy.
Entities (10)
Relation Signals (8)
ChainPrune ā addresses ā pseudo-conciseness
confidence 95% Ā· ChainPrune ... synthesizes self-generated high-quality training data ... formulates shallow reasoning trajectories while preserving essential reasoning steps.
ChainPrune ā uses ā DPO
confidence 95% Ā· we incorporate a DPO-based preference learning method combined with supervised loss
ChainPrune ā evaluateson ā MATH
confidence 90% Ā· Training data is based on the cleaned MATH benchmark
ChainPrune ā evaluateson ā LiveCodeBench
confidence 90% Ā· Evaluation covers ... LiveCodeBench
ChainPrune ā evaluateson ā AIME24
confidence 90% Ā· Evaluation covers ... AIME24
ChainPrune ā evaluateson ā AMC23
confidence 90% Ā· Evaluation covers ... AMC23
ChainPrune ā improves ā Reasoning Efficiency
confidence 90% Ā· ChainPrune improves reasoning efficiency by 26.8% chain lengths and 28.1% token lengths reduction
DeepSeek-R1-Distilled-Qwen-7B ā isevaluatedwith ā ChainPrune
confidence 90% Ā· We evaluate two long-chain-of-thought models: DeepSeek-R1-Distilled-Qwen-7B ... ChainPrune
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Chain-of-Thought (CoT) reasoning has significantly enhanced the multi-step problem-solving capabilities of large language models (LLMs) by introducing explicit intermediate reasoning. However, advanced Large Reasoning Models (LRMs) often exhibit overthinking behaviors, including excessively long reasoning steps, redundant steps, and high computational overhead. Existing token-length reward strategies aim to promote concise outputs, but often result in pseudo-conciseness, where token count is reduced, yet redundant reasoning persists, leading to longer and less structurally efficient chains. To address these limitations, we propose ChainPrune, a novel reasoning path semantic structural optimization method to efficiently and controllably synthesize self-generated high-quality training data. We initially consolidate self-generated reasoning paths into a tree-based structure, followed by a multi-criteria dominant path selection process for preference data construction that formulates shallow reasoning trajectories while preserving essential reasoning steps. To further enhance the quality of reasoning, we incorporate a DPO-based preference learning method combined with supervised loss, effectively mitigating false reward suppression. This innovative integration significantly enhances both the efficiency and effectiveness of our reasoning framework. Comprehensive experimental results demonstrate significant reductions in step length and computational overhead, while maintaining or even enhancing accuracy.
Tags
Links
- Source: https://arxiv.org/abs/2608.21860v1
- Canonical: https://arxiv.org/abs/2608.21860v1
Trouble viewing inline? Open PDF directly ā
Full Text
67,482 characters extracted from source content.
Expand or collapse full text
ChainPrune: Evaluating and Reducing Redundancy in Long Chain-of-Thought Reasoning Weihang Pan 1,ā , Zhengxu Yu 2 , Yuxiang Zhang 1 , Wenzhi Li 1 , Zhongming Jin 2 , Binbin Lin 1,* , Xiaofei He 1 , Jieping Ye 2 1 Zhejiang University 2 Alibaba Group panweihang@zju.edu.cn, binbinlin@zju.edu.cn Abstract Chain-of-Thought (CoT) reasoning has significantly en- hanced the multi-step problem-solving capabilities of large language models (LLMs) by introducing explicit interme- diate reasoning. However, advanced Large Reasoning Mod- els (LRMs) often exhibit overthinking behaviors, including excessively long reasoning steps, redundant steps, and high computational overhead. Existing token-length reward strate- gies aim to promote concise outputs, but often result in pseudo-conciseness, where token count is reduced, yet re- dundant reasoning persists, leading to longer and less struc- turally efficient chains. To address these limitations, we pro- pose ChainPrune, a novel reasoning path semantic struc- tural optimization method to efficiently and controllably syn- thesize self-generated high-quality training data. We initially consolidate self-generated reasoning paths into a tree-based structure, followed by a multi-criteria dominant path selec- tion process for preference data construction that formulates shallow reasoning trajectories while preserving essential rea- soning steps. To further enhance the quality of reasoning, we incorporate a DPO-based preference learning method com- bined with supervised loss, effectively mitigating false re- ward suppression. This innovative integration significantly enhances both the efficiency and effectiveness of our reason- ing framework. Comprehensive experimental results demon- strate significant reductions in step length and computational overhead, while maintaining or even enhancing accuracy. Introduction The emergence of Chain-of-Thought (CoT) (Wei et al. 2022) reasoning has signaled a paradigm shift in large lan- guage models (LLMs) by facilitating multi-step problem- solving through the articulation of explicit intermediate rea- soning steps. Initial CoT methods revealed that breaking down complex tasks into structured stepsāmirroring human deliberationācan significantly improve performance across various domains, including mathematics and symbolic rea- soning. Recent advances in Large Reasoning Models (LRMs) (Xu et al. 2025a), such as OpenAIās O1 (Jaech et al. 2024) and DeepSeek-R1 (Guo et al. 2025), have systematized the Chain-of-Thought (CoT) process through differentiated * Corresponding author. ā This work was completed during an internship at Alibaba Group in May 2025. Questionļ¼What is the value of 147+264+189+200? Minimum Token Length ResponseMinimum Chain Length Response Step 1: I need to add four numbers: 147, 264, 189, and 200. Step 2: First, Iāl start with 147 and 264. Step 3: Let me compute that carefully: 100 + 200 is 300, 40 + 60 is 100, and 7 + 4 is 11. Step 4: So 300 + 100 + 11 = 411. That seems right. Step 5: Now I have the partial sum: 411. Step 6: Next, I add 189 to 411. Step 7: I can break 189 into 100 + 80 + 9. Step 9: So 411 + 100 = 511. Step 10: 511 + 80 = 591. Step 11: 591 + 9 = 600. Okay, now the sum is 600. Step 12: Now I add 200 to 600, which gives 800. Step 13: So the final result is 800. Step 1: The sum begins with 147 and 264. Adding them: 100 + 200 = 300, 40 + 60 = 100, 7 + 4 = 11, so 300 + 100 + 11 = 411. The first partial total is 411. Step 2: Next, 189 is added to 411. This is done as 411 + 100 = 511, then 511 + 80 = 591, and 591 + 9 = 600. The cumulative sum is now 600. Step 3: Now I add 200 to 600, which gives 800. Step 4: Hmm, let me pause for a moment ā is that really correct? 600 plus 200 should be 800, yes, and since there are no units or tens to carry over, itās a straightforward addition. That seems solid. Step 5: Wait ā did I include all the numbers? Let me quickly trace back: 147 was added first, then 264 to make 411, then 189 brought it to 600, and finally 200 got us to 800. All four values are accounted for. No duplicates, no skips. Step 6: So yes, after double-checking the flow and confirming each step is valid, I can be confident the total is 800. Token Length: 242 / Chain Length: 13 Token Length: 348 / Chain Length: 6 Figure 1: Comparison between a Minimum Token Length Response and a Minimum Chain Length Response for the same addition problem. reinforcement learning paradigms, incorporating innova- tive architectures like Monte Carlo Tree Search (MCTS) (Browne et al. 2012; Coulom 2006) and pure reinforcement learning strategies. These o1-like models emulate human- like āslow thinkingā (Li et al. 2025) by exploring multi- ple solution strategies, engaging in self-reflection, and iter- atively correcting errors (Liang et al. 2024). However, this deliberative approach gives rise to the overthinking phe- nomenon (Chen et al. 2024b; Team et al. 2025), character- ized by exponential proliferation of reasoning steps, exces- sive verbosity, and redundancy. Such inefficiencies result in significant computational overhead and error accumulation, ultimately impeding the practical deployment of these mod- els. Addressing these challenges is crucial for enhancing the utility and applicability of LRMs in real-world scenarios. To mitigate this, researchers have pursued efficient rea- soning techniques to shorten reasoning sequences while pre- serving accuracy (Han et al. 2024; Hao et al. 2024; Luo et al. 2025; Ma et al. 2025; Yeo et al. 2025). Recent guide-based arXiv:2608.21860v1 [cs.LG] 22 Aug 2026 methods (Liao et al. 2025) attempt to address this by framing the reasoning process as a tree search problem, then steering the search toward concise outputs through manual rules or step-by-step supervision. However, these approaches intro- duce reward bias that propagates reasoning errors. Further- more, several methods (Luo et al. 2025; Team et al. 2025; Shen et al. 2025a; Arora and Zanette 2025) introduce token- length reward mechanisms during RL training to guide con- cise outputs. Yet, such tokenālengthāonly optimization of- ten leads to what we call pseudo-conciseness: while the to- ken count is reduced, the reasoning path is fragmented into many micro-steps, inflating chain length and reducing struc- tural efficiency. Figure 1 illustrates this phenomenon with a simple arithmetic example: the Minimum Token Length Response minimizes tokens by using terse phrases per step, but its chain length becomes unnecessarily long. In con- trast, the Minimum Chain Length Response consolidates the reasoning into fewer, semantically richer steps, achieving shorter chain length but not necessarily minimizing tokens. The ideal scenarioāand the target of our workāis to reduce both token usage and chain length simultaneously. To this end, we propose ChainPrune, a novel low-cost reasoning path semantic structural optimization method that synthesizes high-quality training data by merging seman- tically equivalent reasoning steps across multiple sampled paths. By consolidating redundant reasoning into a com- pact, logically complete chain, ChainPrune produces reason- ing paths that are shorter in both tokens and steps, without sacrificing correctness or completeness. This joint optimiza- tion ensures that our models avoid pseudo-conciseness and instead generate genuinely efficient reasoning sequences. We initially consolidate self-generated reasoning paths into a tree-based structure, with dynamic semantic node merg- ing to prune redundancy while preserving critical reason- ing points. Subsequently, we introduce a multi-criteria dom- inant path selection mechanism to construct the prefer- ence dataset, which jointly optimizes chain and token effi- ciency. For chosen response selection, we prioritize Pareto- dominant reasoning paths when available; otherwise, we fa- vor shorter responses among non-dominated candidates. Re- jected responses are required to exhibit substantially longer reasoning steps or incorrect logic to ensure meaningful com- parison. We then train a variant of DPO that includes a neg- ative log-likelihood (NLL) loss term for the winning pairs, which proves crucial for enforcing both correctness and ef- ficiency in reasoning quality. Our main contributions are as follows: ⢠We reveal that current token-length optimization methods suffer from pseudo-conciseness, where token count is re- duced but reasoning paths remain redundant. We propose ChainPrune, a low-cost compression method based on se- mantic structural similarity, which merges semantically equivalent nodes in sampled reasoning paths to reduce re- dundant steps while preserving core logic. ⢠We design a novel preference data construction pipeline that dynamically searches for Pareto-optimal paths from merged reasoning trees, automatically generating high- quality training data without manual annotation. Addi- tionally, our experiments compare three preference learn- ing strategies (DPO (Rafailov et al. 2023), SimPO (Meng, Xia, and Chen 2024), and DPO + NLL Loss (Pang et al. 2024)), showing that the DPO + NLL Loss objective sig- nificantly shortens reasoning steps while maintaining rea- soning quality. ⢠We conduct extensive experiments across 5 reasoning benchmarks, showing ChainPrune improves reasoning efficiency by 26.8% chain lengths and 28.1% token lengths reduction without accuracy drop. To holistically evaluate reasoning quality, we design an LLM-as-a- Judge framework with human verification, analyzing faulty reasoning, reflection mechanisms, and step effi- ciency. The results demonstrate significant reductions of 57.8% in faulty steps, 62.1% in invalid reflections, and 65.9% in redundant steps compared to the base model. This reveals our methodās superiority in maintaining co- herent logic while minimizing redundant deliberation. Formal Analysis of Reasoning Formal Modeling of Autoregressive Inference The inference process of large language models (LLMs) can be formalized as an autoregressive generation paradigm: Given an initial contextx 0 = (x 01 ,...,x 0k ) ā A k , the model generates tokens sequentially as: x i+1 ā¼C i+1 = f (x 0 ā x 1 āĀ·ā x i ),(1) where ā denotes sequence concatenation, and C i+1 is a probability distribution over vocabularyA. This process can be naturally viewed as a tree search problem: The root node is the initial inputx 0 , each branch represents a candidate to- ken expansion a ā A, and the resulting inference tree T grows exponentially with depth (O(b d ), b =|A|). Recent reasoning-focused LLMs, such as OpenAI-O1 (Jaech et al. 2024) and DeepSeek-R1 (Guo et al. 2025), extend this paradigm from single-step prediction to struc- tured chain-of-thought generation. Implicit CoT methods construct reasoning chains without explicit intermediate su- pervision, whereas explicit-format approaches separate rea- soning from final answers via semantic tags (e.g., <think>, <answer>) and apply format-constrained rewards. State- of-the-art methods further integrate self-verification (e.g., code execution, symbolic checks) to detect and correct rea- soning errors within differentiable feedback loops. While these advances improve reasoning quality, they also reveal inefficiencies in how reasoning paths are generated and selectedāparticularly in reinforcement learningāoptimized modelsāleading to the challenges described next. Challenges in RL-Optimized Reasoning Paths Although reinforcement learning (RL) fine-tuning enhances reasoning ability, our analysis shows that reward designs of- ten prioritize token-level conciseness while neglecting the structural length of reasoning chains. This bias produces what we call pseudo-conciseness: responses that minimize tokens by using short phrases per step, yet fragment the logic into many steps, resulting in long and inefficient chains. Figure 2: Attention weight distribution following semantically equivalent steps, showing localized focus on the most recent tokens (x-axis: Token Position, y-axis: Attention Score). This supports our tree-merging approach: merging equivalent nodes preserves the conditional distribution of subsequent tokens, enabling both token and step reduction without loss of correctness. This issue directly connects to the phenomenon illustrated in Figure 1: for the same arithmetic question, a minimum- token-length path can have far more reasoning steps than a more compact chain. However, most existing preference- learning pipelines (e.g., DPO) still select āchosenā responses solely by minimal token length among correct outputs. Our statistical study confirms the misalignmentāonly 33.95% of the shortest-token correct paths are also the shortest in steps (see Appendix for detailed analysis). To address this gap, we define a path domination cri- terion: Given two correct paths Ļ 1 and Ļ 2 , Ļ 1 dominates Ļ 2 (Ļ 1 < Ļ 2 ) if Ļ 1 has both fewer reasoning steps and shorter to- ken length. A Pareto-dominant path dominates all others; when no such path exists, the set of non-dominated candi- dates forms the Pareto frontier. This dual-objective selection principle directly aligns with our goal: identify reasoning chains that are concise in both expression and structure. Cross-Path Semantic Reusability in Tree Search Beyond selection criteria, our investigation of sampled rea- soning paths reveals another key observation: semantically equivalent intermediate steps occur frequently across different paths. These equivalent steps appear in both ācho- senā and ārejectedā candidates and often emerge at similar structural positions. This recurrence implies an opportunity for semantic com- posability in the tree search space. If two reasoning paths share a semantically equivalent node (node i ), their subse- quent continuations (node i+1 , node i+2 , ...) are largely de- termined by the local context of that node. Figure 2 shows that, following semantically equivalent nodes, the modelās attention focuses on the most recent tokens, indicating that merging at this point preserves the conditional distribution. We exploit this property via a tree-merging strategy: Merge semantically equivalent nodes across sampled paths and reuse the best-performing continuations from these nodes. This process eliminates duplicated segments, produc- ing composite paths that are shorter in steps and shorter in tokens, without compromising correctness. This cross-path semantic reusability is a central mech- anism in our proposed ChainPrune framework. By inte- grating it with the Pareto-dominance criterion, ChainPrune transforms diverse, verbose sampled outputs into compact, high-quality reasoning chainsāachieving simultaneous to- ken and step efficiency while preserving logical integrity. Methodology In this section, we present ChainPrune, a framework for generating concise and reliable reasoning chains by pruning redundancy in sampled paths and learning from structured preference signals. The core novelty lies in integrating se- mantic path merging with dual-objective path selection (op- timizing both token length and reasoning step length) and enhanced preference optimization. As illustrated in Figure 3, ChainPrune operates in three synergistic stages: (1) Reason- ing Paths Merging, which consolidates multiple sampled reasoning paths into a unified tree structure via semantic node merging, while pruning redundant steps and preserving key reasoning points; (2) Multi-Criteria Dominant Path Selection and Preference Dataset Construction, which applies Pareto-dominance criteria to jointly optimize chain and token efficiency; (3) Preference Optimization, which fine-tunes the model with an enhanced DPO objective incor- porating negative log-likelihood (NLL) regularization. Reasoning Paths Merging Given K candidate reasoning pathsĻ 1 ,...,Ļ K generated by the base LLM, this stage constructs a compact reasoning tree that preserves all essential trajectories while removing redundant steps. Each reasoning step is represented as an embedding vector, and merging proceeds as follows. (1) Semantic Node Matching. We match a new step u to an existing node v in the tree based on cosine similarity: Sim(u,v) = āØe u ,e v ā© ā„e u ā„e v ā„ (2) wheree u ande v are the embeddings of steps u and v. If Sim(u,v)ā„ Īø sim , the step is considered semantically equiv- alent to v and is merged; otherwise, a new branch is created. Here Īø sim is the similarity threshold controlling merge strict- ness, distinct from any path-related thresholds used else- where in our framework. ... Q: 2+3*6=? ... ... Step 2. Preference Data Construction Step 3. DPO Training ... Selection Criteria Rejected Token Length Chain Length ... Chain Length: 20 / Token Length: 3096 Chain Length: 18 / Token Length: 2286 Chain Length: 23 / Token Length: 2025 Chain Length: 18 / Token Length: 2286 maximum likelihood > Preference Data > Token Length > Token Length * 1.5 > Chain Length > Chain Length + 5 Step 0. Sample Reasoning Paths Step 1. Reasoning Paths Merging Same Semantic Node Chain Length: 12 / Token Length: 1286 Chosen + NLL Loss Figure 3: The pipeline of ChainPrune, featuring three synergistic stages: (1) Reasoning Paths Merging with dynamic semantic node pruning, (2) Multi-criteria dominant path selection and Preference Data Construction, (3) Direct preference learning with NLL Loss. (2) Avoiding Incorrect Merges. Semantic similarity alone may mistakenly identify nodes that are lexically sim- ilar but logically different as equivalent. We therefore add a token-level entropy criterion to verify merge candidates. Given two candidate nodes u and v, we simulate replacing u with v in its original context and compute the Shannon entropy of the token probability distribution over the entire reasoning chain before and after the replacement: H =ā X tāA P (t) logP (t),(3) where P (t) is the modelās predicted token probability and A is the vocabulary. Let H before and H after be the entropy be- fore and after replacement. The merge is accepted only if āH = H after ā H before ⤠ε, meaning predictive uncertainty does not increase. This two-stage filteringācombining co- sine similarity with entropy changeāensures merges remain semantically and logically consistent. Multi-criteria Dominant Path Selection and Preference Data Construction From the merged reasoning tree, we construct preference datasets via a two-phase selection process. (1) Pareto-Dominant Selection phase. For each candi- date responsesĻ 1 ,...,Ļ K , we define the efficiency score: E (Ļ j ) = q ā 2 token (Ļ j ) + ā 2 step (Ļ j )(4) where ā token (Ļ j ) and ā step (Ļ j ) denote token length and chain length, respectively. The preferred answer Ļ + is: Ļ + = arg min Ļ j āĻ correct E (Ļ j )(5) with Ļ correct being the set of responses matching the ground truth. If a unique Pareto-dominant path exists (shortest in both token and step length), it is chosen; otherwise, we select the shortest-token path among non-dominated Pareto-front candidates. (2) Threshold-based Rejection phase. We filter out low- quality responses Ļ ā using two rules: ⢠Overlong but Correct: Correct responses that are sig- nificantly longer than the chosen Ļ + in both dimensions: ā step (Ļ j )ā„ ā step (Ļ + ) + 5 and ā token (Ļ j )ā„ 1.5ā token (Ļ + ). ⢠Longer and Incorrect: Incorrect responses that exceed Ļ + in both step and token length: ā step (Ļ j ) > ā step (Ļ + ) and ā token (Ļ j ) > ā token (Ļ + ). This ensures that rejected samples are unambiguously infe- rior in both efficiency and correctness. Direct Preference Optimization We adopt Direct Preference Optimization (DPO) combined with a supervised fine-tuning (SFT) loss to optimize the modelās reasoning path towards task-specific optimality cri- teria (conciseness and correctness). The joint objective func- tion is defined as: L DPO+SFT =E (x,y w ,y l )ā¼D [ā logĻ(β log Ļ Īø (y w |x) Ļ ref (y w |x) ā β log Ļ Īø (y l |x) Ļ ref (y l |x) )] + Ī»E (x,y w )ā¼D [ā logĻĪø(y w |x)] (6) where Ļ Īø is the current policy model, Ļ ref is the reference model, y w and y l are the preferred and less-preferred re- sponses, β scales the preference term, and Ī» controls the Methods AIME24AIME25AMC23LiveCodeBench ACC Tokens Chains ACC Tokens Chains ACC Tokens Chains ACC Tokens Chains DeepSeek-R1-Distilled-Qwen-7B Base Model0.547973462530.422968922400.904754071890.31273961166 SFT0.543762961990.39795570192 0.921938241200.33443494143 Kimi-1.50.512561443060.383352922540.868842652370.1703195357 DAST0.53306337---------- DAST (reproduce) 0.537569092440.406265952420.889147741600.32203370136 ChainPrune0.58335688225 0.425053511890.912537711220.34983048116 DeepSeek-R1-Distilled-Qwen-1.5B Base Model0.310470152250.216752481580.701653161670.1455266190 SFT0.275065492190.2313 54711710.709448591520.1331237083 Kimi-1.50.302154972300.235444451750.720339131610.1455230297 DAST (reproduce) 0.266755312180.225040101830.712535391530.1455204390 ChainPrune0.329255421780.245840791340.72502982870.1734224682 Table 1: Performance comparison of ChainPrune against baseline methods across multiple reasoning tasks. Bold indicates the best result, underline indicates the second-best result. Token Length and Chain Length are averaged only over correct answers. In some cases, ChainPrune appears slightly worse than the best baseline on these metrics; this is because its higher accuracy means that more difficult problems are included in the averaging, which naturally increases the average token and chain length. SFT regularization strength. The SFT term explicitly max- imizes the likelihood of preferred outputs, preventing de- generation into overly terse or incomplete reasoning, while the DPO term implicitly aligns with preference signals. In our later experiments, we provide extensive empirical vali- dation of the necessity of including the NLL term, and in the Appendix, we offer a theoretical analysis based on the gra- dient entanglement phenomenon (Yuan et al. 2024), which explains why margin-based methods like DPO and SimPO may inadvertently synchronize the log-probabilities of cho- sen and rejected responses. Experiments Experiment Setup Long-COT Models: We evaluate two long-chain-of-thought models: DeepSeek-R1-Distilled-Qwen-7B and DeepSeek- R1-Distilled-Qwen-1.5B. Both are fully fine-tuned with a learning rate of 5.0Ć 10 ā6 using cosine scheduling, 10% warmup, and trained on 8Ć NVIDIA Tesla A100 GPUs. Datasets: Training data is based on the cleaned MATH benchmark, containing 9,967 high-quality problemā answer pairs. For each problem, we sample 16 reason- ing paths, each capped at 8,192 tokens. Evaluation covers MATH500 (Hendrycks et al. 2021) (500 competition prob- lems), AMC23 (MAA 2024b) (30 high-school problems), AIME24/25 (MAA 2024a) (60 olympiad-level problems), and LiveCodeBench (Jain et al. 2024) (programming prob- lems from LeetCode, AtCoder, CodeForces, Aug 2024āJan 2025; released v5). All datasets use a maximum sequence length of 32,768 tokens. Baselines: To systematically evaluate the performance of the methods, we compared the following baselines: (1) Kimi-1.5 (Team et al. 2025): DPO dataset selects cor- rect+shortest samples, rejects correct responses ā„ 1.5 longer or incorrect+longer ones; reproduced faithfully since the model is closed-source and differs in scale. (2) DAST (Shen et al. 2025a): dynamic token budget scoring with ranked contrastive pairs; reproduced from paper as DAST (reproduce) for reliability. (3) Supervised Fine-Tuning (SFT): trained on Kimi-1.5 chosen samples. Evaluation Metrics: We report Accuracy, Token Length, and Chain Length (number of reasoning steps to final answer). The latter two are computed only over cor- rectly answered questions. Steps are segmented by , following the standard convention in Qwen models. Each experiment is run 16 times and averaged. Main Results Overall Performance We evaluate ChainPrune on two long-COT large reasoning models across four math bench- marks and one code-generation dataset. As shown in Table 1 and 2, ChainPrune consistently outperforms all baselines in accuracy while also reducing both token and chain length. These results demonstrate that our framework can improve reasoning efficiency without sacrificing correctness, and in many cases, even enhance it. Accuracy: Across all datasets, ChainPrune achieves state-of-the-art accuracy, consistently matching or surpass- ing base model performance. This indicates that our pruning and preference optimization steps retain essential reasoning content and can guide the model toward more reliable rea- soning patterns. By contrast, SFT shows slight degradation due to its lack of explicit efficiency constraints, while DAST (reproduce) and Kimi-1.5 exhibit noticeable accuracy drops. Token Efficiency: ChainPrune achieves substantial to- ken savings, averaging a 28.1% reduction over base mod- els while maintaining or improving accuracy. For example, on AIME24 it reduces token usage by 22.6% and on Live- CodeBench by 23.0%. Token averages are computed only over correct answers; since ChainPrune solves more diffi- cult problems, these are included in the average, which can slightly increase its reported token length compared to the MethodsACC Tokens All Tokens Chains All Chains Faulty Reasoning Invalid Reflection Redundant Steps Base Model0.924037094621111146102124132 SFT0.9080189127175277688698 Kimi-1.50.9040277740741241388492102 DAST0.92602802------ DAST (reproduce) 0.9180326438399912392104107 ChainPrune0.93002170 26436272434745 Table 2: Reasoning path evaluation using LLM-as-a-Judge on MATH500. All methods are initialized from DeepSeek-R1- Distilled-Qwen-7B. Tokens and Chains report the average token count and reasoning step count only over correct responses. All Tokens and All Chains report the averages computed over all responses, including incorrect ones. Bold values indicate the best result, and underlined values indicate the second-best result. Methods AIME24MATH500 ACC Tokens ACC Tokens Base Model0.547973460.92403709 Kimi-1.5 w/ DPO0.512561440.90402777 Kimi-1.5 w/ DPO + NLL Loss 0.558360770.92802373 DAST w/ SimPO0.537569090.91803264 DAST w/ DPO + NLL Loss0.583361880.92802572 ChainPrune0.583356880.93002170 Table 3: Comparative analysis of different optimization methods under identical training datasets. best baseline on that metric. Nevertheless, ChainPrune re- mains the best-performing method in most datasets, even under this stricter evaluation. Chain Length: While Kimi-1.5 explicitly optimizes for the shortest token usage, ChainPrune not only achieves shorter or comparable tokens but also produces substantially shorter reasoning chains. This shows that our method effec- tively reduces redundancy in both dimensions, rather than sacrificing one for the other. Across all benchmarks, Chain- Prune maintains concise chains without harming reason- ing quality, further validating the effectiveness of our joint tokenāstep optimization strategy. Evaluate with LLM-as-a-Judge To assess reasoning quality beyond accuracy, we note that raw step counts mea- sured via ā ā delimiters cannot fully capture whether shorter chains preserve correctness and coherence. There- fore, we adopt a confidence-calibrated LLM-as-a-Judge framework, further verified by human checks for reliability. Specifically, we use three diverse judge models: GPT-o1, DeepSeek-R1, and Qwen-QwQ, to evaluate outputs along three fine-grained dimensions: faulty reasoning, invalid re- flection, and Redundant steps. Each judgment is aggregated via majority voting to mitigate individual model biases, and cases with high disagreement are manually reviewed. As shown in Table 2, ChainPrune achieves the lowest rates across all dimensionsā43 faulty reasoning steps, 47 invalid reflections, and 45 redundant stepsācorresponding to reductions of 57.8%, 62.1%, and 65.9% over the base model. In contrast, the base model exhibits severe defi- ciencies, especially in Redundant Steps (132 steps), high- lighting the necessity of systematic reasoning optimization. These results confirm that ChainPruneās structured semantic pruningāmerging semantically equivalent nodes via low- cost semantic similarityāsubstantially cuts invalid reflec- tions and redundancy while preserving core logical integrity. Further evaluation details are provided in the Appendix. Analysis and Discussion Comparison of different variants of DPO in Short-Chosen Preference Optimization We compared DPO (Rafailov et al. 2023) and SimPO (Meng, Xia, and Chen 2024) in a short-chosen preference optimization setting, where preference pairs (y w ,y l ) were sampled from the reference model and y w was shorter in to- ken length than y l . However, the narrow distribution of such datasets and the small edit distance between y w and y l of- ten lead these methods to adopt biased strategies. Specifi- cally, we observed a reward synchronization collapse effect: instead of improving y w relative to y l , the model simultane- ously lowers the probabilities of both, degrading reasoning performance across benchmarks. As shown in Table 3, incorporating an additional NLL loss term into DPO mitigates this issue, consistently main- taining or improving accuracy on mathematical reasoning tasks while reducing token usage. Notably, DPO+NLL im- proves the accuracy of both Kimi-1.5 and DAST on AIME24 and MATH500. However, in terms of token efficiency, ChainPrune remains superior. This advantage stems from our data construction pipeline: by merging reasoning paths at the semantic level and selecting Pareto-optimal chains, we obtain reasoning paths with fewer tokens, shorter chains, and complete logical structure. Analysis of Reasoning Path Impact and Sample Efficiency We analyzed the shortest correct responses (by token length) across varying difficulty levels (Figure 4). Token length grows proportionally with problem difficultyāharder prob- lems require longer minimal correct responses. Thus, select- ing the shortest correct response naturally adapts optimiza- tion to question difficulty. Ablation studies further support this: shortest responses consistently yielded the most concise outputs, with medium- Figure 4: Relationship between difficulty and the to- ken/chain length of the shortest correct response. length responses producing longer outputs, and long re- sponses the longest. This shows a clear linear relationshipā shorter chosen samples lead to shorter, equally accurate model outputs. Detailed results are in the Appendix. However, current RL methods such as DPO and PPO are sample-inefficient: finding sufficiently short correct re- sponses via random sampling is costly. As shown in Fig- ure 5, hundreds of samples yield only marginal token-length gains, making high-quality training data expensive to obtain. Our method addresses this by merging multiple reason- ing paths into a tree structure, enabling efficient generation of high-quality training samples with minimal overhead. As a result, this low-cost approach could be directly integrated into online RL frameworks such as PPO, improving the ex- ploration efficiency for collecting valuable training data. Related Works Make Long CoT Short: Researchers have explored multi- ple directions to compress reasoning paths while maintain- ing accuracy. These efforts can be broadly categorized into four key approaches. First, RL with length penalties (Team et al. 2025; Luo et al. 2025; Shen et al. 2025a; Hou et al. 2025; Aggarwal and Welleck 2025; Li et al. 2024; Yang, Lin, and Yu 2025) has emerged as an effective strategy to encour- age concise reasoning. Methods like O1-Pruner (Luo et al. 2025) optimize both accuracy and brevity by incorporating length constraints into reward functions, while DAST (Shen et al. 2025a) dynamically adjusts reasoning steps based on problem difficulty. Second, SFT with variable-length CoTs (Xia et al. 2025; Yu et al. 2024; Kang et al. 2025; Cui et al. 2025; Munkhbat et al. 2025; Han et al. 2024; Yang et al. 2025) trains models to generate shorter reasoning paths. To- kenSkip (Xia et al. 2025) identifies and skips less critical tokens, while C3oT (Kang et al. 2025) leverages LLMs like GPT-4 (Achiam et al. 2023) to compress reasoning steps. Third, prompt-driven efficiency enhancement (Renze and Guven 2024; Xu et al. 2025b; Chen et al. 2024a; Lee, Che, and Peng 2025; Aytes, Baek, and Hwang 2025; Chuang et al. 2025b,a) guides models toward concise reasoning without training. Techniques like Concise CoT (Renze and Guven 2024) use simple instructions, while Break the Chain en- courages shortcut reasoning. Finally, latent reasoning (Deng Figure 5: Sample efficiency analysis showing marginal to- ken reduction after extensive sampling. et al. 2023; Shen et al. 2025b; Zhang et al. 2025; Cheng and Van Durme 2024; Liu et al. 2024; Saunshi et al. 2025; Hao et al. 2024) eliminates explicit CoT generation. Implicit-KD (Deng et al. 2023) distills reasoning into hidden states, while Coconut performs reasoning in a continuous latent space. Guide-based Methods: To accelerate model inference speed, researchers have proposed guide-based reasoning ap- proaches (Yao et al. 2023; Hao et al. 2023; Wang et al. 2025; Xie et al. 2023). Gao et al. (Gao et al. 2024) pio- neered the direct integration of conventional speculative de- coding techniques with reasoning methodologies. Building upon this foundation, SEED (Wang et al. 2024) introduced a scheduled speculative decoding framework that coordinates multiple parallel small models through a single shared large model, further enhancing efficiency. The SpecSearch frame- work (Wang et al. 2025) introduces a novel dual-level spec- ulative generator, operating at both coarse-grained thought and fine-grained token levels, achieving accelerated perfor- mance without compromising output quality. Conclusion Our work systematically addresses the critical challenge of āpseudo-concisenessā in LLM reasoning optimization, where superficial token reduction fails to eliminate redun- dant reasoning paths. The proposed ChainPrune method pioneers a semantics-driven compression approach, merg- ing equivalent nodes in reasoning trees to achieve genuine conciseness while preserving logical integrity. Experiments across five reasoning tasks demonstrate ChainPruneās abil- ity to reduce reasoning steps by 26.8% and tokens by 28.1% without accuracy degradation, while significantly improving reasoning quality, reducing faulty steps, invalid reflections, and redundant steps by 57.8%, 62.1% and 65.9% respec- tively compared to the base model. These results establish new standards for evaluating reasoning efficiency, emphasiz- ing semantic coherence over mere token compression. While the current study focuses on offline optimization, the pro- posed approach holds strong potential for online RL train- ing frameworks like PPO to enhance exploration efficiency. Due to time and resource constraints, we have not yet imple- mented this extension, which represents an important direc- tion for future work. References Achiam, J.; Adler, S.; Agarwal, S.; Ahmad, L.; Akkaya, I.; Aleman, F. L.; Almeida, D.; Altenschmidt, J.; Altman, S.; Anadkat, S.; et al. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774. Aggarwal, P.; and Welleck, S. 2025. L1: Controlling how long a reasoning model thinks with reinforcement learning. arXiv preprint arXiv:2503.04697. Arora, D.; and Zanette, A. 2025. Training Language Models to Reason Efficiently. arXiv preprint arXiv:2502.04463. Aytes, S. A.; Baek, J.; and Hwang, S. J. 2025. Sketch- of-thought: Efficient llm reasoning with adaptive cognitive- inspired sketching. arXiv preprint arXiv:2503.05179. Browne, C. B.; Powley, E.; Whitehouse, D.; Lucas, S. M.; Cowling, P. I.; Rohlfshagen, P.; Tavener, S.; Perez, D.; Samothrakis, S.; and Colton, S. 2012. A survey of monte carlo tree search methods. IEEE Transactions on Computa- tional Intelligence and AI in games, 4(1): 1ā43. Chen, Q.; Qin, L.; Wang, J.; Zhou, J.; and Che, W. 2024a. Unlocking the capabilities of thought: A reasoning bound- ary framework to quantify and optimize chain-of-thought. Advances in Neural Information Processing Systems, 37: 54872ā54904. Chen, X.; Xu, J.; Liang, T.; He, Z.; Pang, J.; Yu, D.; Song, L.; Liu, Q.; Zhou, M.; Zhang, Z.; et al. 2024b. Do not think that much for 2+ 3=? on the overthinking of o1-like llms. arXiv preprint arXiv:2412.21187. Cheng, J.; and Van Durme, B. 2024. Compressed chain of thought: Efficient reasoning through dense representations. arXiv preprint arXiv:2412.13171. Chuang, Y.-N.; Yu, L.; Wang, G.; Zhang, L.; Liu, Z.; Cai, X.; Sui, Y.; Braverman, V.; and Hu, X. 2025a. Confident or Seek Stronger: Exploring Uncertainty-Based On-device LLM Routing From Benchmarking to Generalization. arXiv preprint arXiv:2502.04428. Chuang, Y.-N.; Zhou, H.; Sarma, P.; Gopalan, P.; Boccio, J.; Bolouki, S.; and Hu, X. 2025b. Learning to route llms with confidence tokens. arXiv preprint arXiv:2410.13284, 3. Coulom, R. 2006. Efficient selectivity and backup operators in Monte-Carlo tree search. In International conference on computers and games, 72ā83. Springer. Cui, Y.; He, P.; Zeng, J.; Liu, H.; Tang, X.; Dai, Z.; Han, Y.; Luo, C.; Huang, J.; Li, Z.; et al. 2025. Stepwise perplexity- guided refinement for efficient chain-of-thought reasoning in large language models. arXiv preprint arXiv:2502.13260. Deng, Y.; Prasad, K.; Fernandez, R.; Smolensky, P.; Chaud- hary, V.; and Shieber, S. 2023. Implicit chain of thought reasoning via knowledge distillation.arXiv preprint arXiv:2311.01460. Gao, Z.; Niu, B.; He, X.; Xu, H.; Liu, H.; Liu, A.; Hu, X.; and Wen, L. 2024. Interpretable contrastive monte carlo tree search reasoning. arXiv preprint arXiv:2410.01707. Guo, D.; Yang, D.; Zhang, H.; Song, J.; Zhang, R.; Xu, R.; Zhu, Q.; Ma, S.; Wang, P.; Bi, X.; et al. 2025. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948. Han, T.; Wang, Z.; Fang, C.; Zhao, S.; Ma, S.; and Chen, Z. 2024. Token-budget-aware llm reasoning. arXiv preprint arXiv:2412.18547. Hao, S.; Gu, Y.; Ma, H.; Hong, J. J.; Wang, Z.; Wang, D. Z.; and Hu, Z. 2023. Reasoning with language model is plan- ning with world model. arXiv preprint arXiv:2305.14992. Hao, S.; Sukhbaatar, S.; Su, D.; Li, X.; Hu, Z.; Weston, J.; and Tian, Y. 2024.Training large language models to reason in a continuous latent space.arXiv preprint arXiv:2412.06769. Hendrycks, D.; Burns, C.; Kadavath, S.; Arora, A.; Basart, S.; Tang, E.; Song, D.; and Steinhardt, J. 2021. Measuring mathematical problem solving with the math dataset. arXiv preprint arXiv:2103.03874. Hou, B.; Zhang, Y.; Ji, J.; Liu, Y.; Qian, K.; Andreas, J.; and Chang, S. 2025. Thinkprune: Pruning long chain-of- thought of llms via reinforcement learning. arXiv preprint arXiv:2504.01296. Jaech, A.; Kalai, A.; Lerer, A.; Richardson, A.; El-Kishky, A.; Low, A.; Helyar, A.; Madry, A.; Beutel, A.; Carney, A.; et al. 2024. Openai o1 system card. arXiv preprint arXiv:2412.16720. Jain, N.; Han, K.; Gu, A.; Li, W.-D.; Yan, F.; Zhang, T.; Wang, S.; Solar-Lezama, A.; Sen, K.; and Stoica, I. 2024. Livecodebench: Holistic and contamination free eval- uation of large language models for code. arXiv preprint arXiv:2403.07974. Kang, Y.; Sun, X.; Chen, L.; and Zou, W. 2025. C3ot: Gen- erating shorter chain-of-thought without compromising ef- fectiveness. In Proceedings of the AAAI Conference on Ar- tificial Intelligence, volume 39, 24312ā24320. Lee, A.; Che, E.; and Peng, T. 2025. How Well do LLMs Compress Their Own Chain-of-Thought? A Token Com- plexity Approach. arXiv preprint arXiv:2503.01141. Li, Y.; Yuan, P.; Feng, S.; Pan, B.; Wang, X.; Sun, B.; Wang, H.; and Li, K. 2024. Escape sky-high cost: Early-stopping self-consistency for multi-step reasoning. arXiv preprint arXiv:2401.10480. Li, Z.-Z.; Zhang, D.; Zhang, M.-L.; Zhang, J.; Liu, Z.; Yao, Y.; Xu, H.; Zheng, J.; Wang, P.-J.; Chen, X.; et al. 2025. From system 1 to system 2: A survey of reasoning large lan- guage models. arXiv preprint arXiv:2502.17419. Liang, X.; Song, S.; Zheng, Z.; Wang, H.; Yu, Q.; Li, X.; Li, R.-H.; Wang, Y.; Wang, Z.; Xiong, F.; et al. 2024. Internal consistency and self-feedback in large language models: A survey. arXiv preprint arXiv:2407.14507. Liao, B.; Xu, Y.; Dong, H.; Li, J.; Monz, C.; Savarese, S.; Sahoo, D.; and Xiong, C. 2025. Reward-Guided Specula- tive Decoding for Efficient LLM Reasoning. arXiv preprint arXiv:2501.19324. Liu, T.; Chen, Z.; Liu, Z.; Tian, M.; and Luo, W. 2024. Expediting and Elevating Large Language Model Reason- ing via Hidden Chain-of-Thought Decoding. arXiv preprint arXiv:2409.08561. Luo, H.; Shen, L.; He, H.; Wang, Y.; Liu, S.; Li, W.; Tan, N.; Cao, X.; and Tao, D. 2025. O1-Pruner: Length-Harmonizing Fine-Tuning for O1-Like Reasoning Pruning. arXiv preprint arXiv:2501.12570. Ma, X.; Wan, G.; Yu, R.; Fang, G.; and Wang, X. 2025. CoT-Valve: Length-Compressible Chain-of-Thought Tun- ing. arXiv preprint arXiv:2502.09601. MAA. 2024a. American Invitational Mathematics Exami- nation (AIME). Mathematics Competition Series. MAA. 2024b. American mathematics competitions (AMC 10/12). Mathematics Competition Series. Meng, Y.; Xia, M.; and Chen, D. 2024. Simpo: Simple pref- erence optimization with a reference-free reward. Advances in Neural Information Processing Systems, 37: 124198ā 124235. Munkhbat, T.; Ho, N.; Kim, S. H.; Yang, Y.; Kim, Y.; and Yun, S.-Y. 2025. Self-training elicits concise reasoning in large language models. arXiv preprint arXiv:2502.20122. Pang, R. Y.; Yuan, W.; He, H.; Cho, K.; Sukhbaatar, S.; and Weston, J. 2024. Iterative reasoning preference optimiza- tion. Advances in Neural Information Processing Systems, 37: 116617ā116637. Rafailov, R.; Sharma, A.; Mitchell, E.; Manning, C. D.; Ermon, S.; and Finn, C. 2023.Direct preference opti- mization: Your language model is secretly a reward model. Advances in Neural Information Processing Systems, 36: 53728ā53741. Renze, M.; and Guven, E. 2024. The benefits of a concise chain of thought on problem-solving in large language mod- els. In 2024 2nd International Conference on Foundation and Large Language Models (FLLM), 476ā483. IEEE. Saunshi, N.; Dikkala, N.; Li, Z.; Kumar, S.; and Reddi, S. J. 2025. Reasoning with latent thoughts: On the power of looped transformers. arXiv preprint arXiv:2502.17416. Shen, Y.; Zhang, J.; Huang, J.; Shi, S.; Zhang, W.; Yan, J.; Wang, N.; Wang, K.; and Lian, S. 2025a. Dast: Difficulty- adaptive slow-thinking for large reasoning models. arXiv preprint arXiv:2503.04472. Shen, Z.; Yan, H.; Zhang, L.; Hu, Z.; Du, Y.; and He, Y. 2025b. Codi: Compressing chain-of-thought into continuous space via self-distillation. arXiv preprint arXiv:2502.21074. Team, K.; Du, A.; Gao, B.; Xing, B.; Jiang, C.; Chen, C.; Li, C.; Xiao, C.; Du, C.; Liao, C.; et al. 2025. Kimi k1. 5: Scaling reinforcement learning with llms. arXiv preprint arXiv:2501.12599. Wang, Z.; Wang, J.; Pan, J.; Xia, X.; Zhen, H.; Yuan, M.; Hao, J.; and Wu, F. 2025. Accelerating Large Language Model Reasoning via Speculative Search. arXiv preprint arXiv:2505.02865. Wang, Z.; Wu, J.; Lai, Y.; Zhang, C.; and Zhou, D. 2024.Seed: Accelerating reasoning tree construction via scheduled speculative decoding.arXiv preprint arXiv:2406.18200. Wei, J.; Wang, X.; Schuurmans, D.; Bosma, M.; Xia, F.; Chi, E.; Le, Q. V.; Zhou, D.; et al. 2022.Chain-of- thought prompting elicits reasoning in large language mod- els. Advances in neural information processing systems, 35: 24824ā24837. Xia, H.; Li, Y.; Leong, C. T.; Wang, W.; and Li, W. 2025. To- kenskip: Controllable chain-of-thought compression in llms. arXiv preprint arXiv:2502.12067. Xie, Y.; Kawaguchi, K.; Zhao, Y.; Zhao, X.; Kan, M.-Y.; He, J.; and Xie, Q. 2023. Decomposition enhances rea- soning via self-evaluation guided decoding. arXiv preprint arXiv:2305.00633, 2. Xu, F.; Hao, Q.; Zong, Z.; Wang, J.; Zhang, Y.; Wang, J.; Lan, X.; Gong, J.; Ouyang, T.; Meng, F.; et al. 2025a. To- wards Large Reasoning Models: A Survey of Reinforced Reasoning with Large Language Models. arXiv preprint arXiv:2501.09686. Xu, S.; Xie, W.; Zhao, L.; and He, P. 2025b.Chain of draft: Thinking faster by writing less. arXiv preprint arXiv:2502.18600. Yang, J.; Lin, K.; and Yu, X. 2025. Think When You Need: Self-Adaptive Chain-of-Thought Learning. arXiv preprint arXiv:2504.03234. Yang, W.; Ma, S.; Lin, Y.; and Wei, F. 2025.Towards thinking-optimal scaling of test-time compute for llm rea- soning. arXiv preprint arXiv:2502.18080. Yao, S.; Yu, D.; Zhao, J.; Shafran, I.; Griffiths, T.; Cao, Y.; and Narasimhan, K. 2023. Tree of thoughts: Deliber- ate problem solving with large language models. Advances in neural information processing systems, 36: 11809ā11822. Yeo, E.; Tong, Y.; Niu, M.; Neubig, G.; and Yue, X. 2025. Demystifying Long Chain-of-Thought Reasoning in LLMs. arXiv preprint arXiv:2502.03373. Yu, P.; Xu, J.; Weston, J.; and Kulikov, I. 2024. Distilling system 2 into system 1. arXiv preprint arXiv:2407.06023. Yuan, H.; Zeng, Y.; Wu, Y.; Wang, H.; Wang, M.; and Leqi, L. 2024. A Common Pitfall of Margin-based Language Model Alignment: Gradient Entanglement. arXiv preprint arXiv:2410.13828. Zhang, J.; Zhu, Y.; Sun, M.; Luo, Y.; Qiao, S.; Du, L.; Zheng, D.; Chen, H.; and Zhang, N. 2025.Light- thinker: Thinking step-by-step compression. arXiv preprint arXiv:2502.15589. Appendix A Statistical Analysis of Reasoning Path Efficiency To verify the hypothesis that token-level optimization in preference learning often overlooks the compactness of rea- soning structures, we conducted a comprehensive analysis of all math questions in the training set. For each ques- tion, we examined sampled correct reasoning paths to as- sess the alignmentāor misalignmentābetween minimal to- ken length and minimal chain length. This analysis quanti- tatively supports our claim in subsection āChallenges in RL- Optimized Reasoning Pathā regarding the issue of pseudo- conciseness. Figure 6: Distribution of mindistance across all questions. The metric quantifies the normalized discrep- ancy between the shortest-token and shortest-chain cor- rect reasoning paths. Only 33.95% of the questions have min distance equal to zero, indicating that the same path minimizes both token length and chain length. Evaluation Metrics and Key Findings For each question, we sampled multiple correct reasoning paths and computed two key metrics for each path: ⢠Token Length: the total number of output tokens. ⢠Chain Length: the number of reasoning steps in the log- ical chain. We then ranked all paths by each metric to identify: ā¢ Ļ min-tok : the path with the shortest token length. ā¢ Ļ min-step : the path with the fewest reasoning steps. To measure the discrepancy between these two optima, we define a normalized distance metric: min distance = 1 2 |Ļ min-step token ā min T | max T ā min T + |Ļ min-tok step ā min S | max S ā min S ! . (7) where Ļ min-step token is the token length of the shortest-step path, and Ļ min-tok step is the step count of the shortest-token path. min T , max T , min S , and max S denote the minimum and maximum values over all paths for the respective metric. This metric captures how far apart the two optima are in their non-primary dimensions. A value of min distance = 0 indicates that both minima are achieved by the same path. As shown in Figure 6, our analysis over the entire training set revealed that only 33.95% of questions have min distance = 0, i.e., where Ļ min-tok = Ļ min-step . This result highlights a significant misalignment between expression- level and structural conciseness in current optimization schemes. Figure 7: Token length versus chain length for 64 sampled reasoning paths on a representative math question. Each point denotes a unique path. Blue nodes indicate wrong re- sponses, visually distinguishing them from correct ones. No single path lies at the lower-left corner, suggesting that none optimally balances both expression-level and structural con- ciseness. Pareto Frontier Visualization To further illustrate the misalignment between structural and expression-level conciseness, we randomly selected a repre- sentative math question from the training set and sampled 64 reasoning paths. Each path is visualized in a 2D space, with reasoning chain length on the x-axis and token length on the y-axis, as shown in Figure 7. Each point represents a unique reasoning path. Impor- tantly, no correct path appears in the bottom-left corner of the plot, indicating that joint minimality is not achieved in both metrics. This visual evidence reinforces our central hy- pothesis: current reward heuristics that aim to minimize to- ken length often fail to promote reasoning paths that are si- multaneously compact in structure and concise in expres- sion. B Examples of Semantically Equivalent Reasoning Steps in Chosen and Rejected Paths Our analysis of large reasoning model (LRM) reasoning paths reveals a counterintuitive phenomenon: semantically equivalent intermediate steps coexist in both āchosenā and Example 1 Instruction: Rachelle uses 3 pounds of meat to make 8 hamburgers for her family. How many pounds of meat does she need to make 24 hamburgers for a neighbourhood picnic? Chosen: <think>First, determine the amount of meat per hamburger by dividing the total meat used by the number of hamburgers. Rachelle uses 3 pounds of meat for 8 hamburgers, so the meat per hamburger is: 3 pounds / 8 hamburgers = 0.375 pounds per hamburger. Next, calculate the total meat needed for 24 hamburgers by multiplying the meat per hamburger by the number of hamburgers: 0.375 pounds/hamburger * 24hamburgers = 9 pounds. ...... Rejected: <think>First, determine the amount of meat required to make one hamburger by dividing the total meat used by the number of hamburgers: 3 pounds Ć· 8 hamburgers = 0.375 pounds per hamburger. Next, calculate the total meat needed for 24 hamburgers by multiplying the meat per hamburger by the number of hamburgers: 0.375 pounds / hamburger * 24 hamburgers = 9 pounds. ...... Figure 8: Example 1: A comparison between the chosen and rejected reasoning paths for a proportional reasoning problem. Although both paths share the same semantic stepsācomputing meat per hamburger and scaling to 24 hamburgersāthe rejected path performs these steps earlier. ārejectedā paths, yet systematically emerge at earlier posi- tions in the latter. This suggests a consistent structural bias in the ordering of reasoning content across preference pairs. In this section, we present concrete examples that illus- trate this behavior and trace it to conventional dataset con- struction methods, which prioritize minimal token length when selecting āchosenā responses. As shown in Figure 8 and Figure 9, even when both paths reach the correct fi- nal answer and share nearly identical intermediate reason- ing steps, the path with more delayed semantic contentāand thus lower token count per stepāis systematically favored. This bias results in a counterintuitive preference for syn- tactically fragmented yet token-efficient reasoning, at the cost of structural clarity and efficiency. C Multi-Reasoning Paths Merging Algorithm In this section, we provide the implementation details of the multi-reasoning path merging algorithm (Algorithm 1). The algorithm takes as input a set of K candidate reasoning paths Ļ 1 ,...,Ļ K generated by a base LLM and constructs a com- pact, step-level reasoning tree T through hierarchical merg- ing. The goal is to retain all critical reasoning logic while pruning redundancy across paths. The algorithm operates in three main phases: ⢠Initialization Phase: Each path Ļ i is first split into a se- quence of reasoning steps S i . The shortest path S min is selected as the backbone for tree construction, and its steps are used to build an initial linear tree T . ⢠Tree Construction Phase: A chain of nodes is created from S min , where each node represents one reasoning step and is attached sequentially to form a linear tree structure. This backbone captures a minimal but coher- ent reasoning trajectory. ⢠Path Merging Phase: Each of the remaining paths S i Ģø= S min is incrementally merged into the tree. For each step u in S i , we compute its embedding and search for seman- tically similar nodes in the tree using cosine similarity. If the similarity exceeds a threshold Īø sim , the step is consid- ered a merge candidate. To ensure logical consistency, we further verify that substituting u with the candidate node v does not significantly increase the predictive entropy of the model. Specifically, the entropy difference āH before and after replacement must be within a tolerance threshold ε. If both conditions are satisfied, the remaining steps in S i are attached as a subtree to the matched node. If no valid merge is found, the entire path is appended as a new branch from the root. The resulting tree structure T reflects shared reasoning segments as internal nodes, divergent reasoning strategies as branches, and unique answers as leaf nodes. This compact representation allows ChainPrune to preserve logical diver- sity while eliminating redundant computation. D Theoretical Analysis of different variants of DPO in Short-Chosen Preference Optimization In this section, we theoretically analyze the decline in rea- soning performance observed in the Short-Chosen Prefer- ence Optimization scenario for DPO and SimPO. Prefer- ence optimization methods like DPO and SimPO, which are margin-based, often lead to synchronized increases or de- creases in the log probabilities of the chosen response y w and the rejected response y l , denoted as logĻ w and logĻ l . Previous work (Yuan et al. 2024) has found that the gradi- ent entanglement effect causes this synchronization. Specif- ically: Example 2 Instruction: Solve for the sum of all possible values of when . Chosen: <think>Alright, so I have this equation to solve: . Hmm, okay, let me think about how to approach this. I remember that when dealing with exponential equations, it's often helpful to express both sides with the same base. Since 9 is a power of 3, that seems like a good starting point. First, I'l rewrite 9 as . So, the right side of the equation becomes . Using the exponentiation rule , this simplifies to . Now, the equation looks like this: Since the bases are the same and the equation holds true, the exponents must be equal. Therefore, I can set the exponents equal to each other: Alright, let me simplify this equation step by step. First, distribute the 2 on the right side: Next, subtract (2x + 4) from both sides to bring all terms to one side: Simplify by combining like terms: Now, I can factor out an x from the left side: Setting each factor equal to zero gives the potential solutions: ...... Rejected: <think>To solve the equation , I start by expressing both sides with the same base. Since , the equation becomes: Applying the exponentiation rule , this simplifies to: Now that both sides have the same base, I can set the exponents equal to each other: Expanding the right side: Subtracting from both sides to set the equation to zero: Factoring out : Setting each factor equal to zero gives the potential solutions: ...... Figure 9: Example 2: A comparison of chosen and rejected reasoning paths for an exponential equation. Both paths apply identical mathematical transformations, including rewriting powers of 9, applying exponent rules, and solving a quadratic equation. However, the rejected path introduces semantically equivalent steps earlier in the trajectory. Algorithm 1 Multi-Reasoning Paths Merging Algorithm Require: 1: paths: Set of reasoning paths Ļ 1 ,...,Ļ n (<think> Ļ i </think>) 2: Īø sim : similarity threshold for semantic merging 3: ε: entropy threshold to ensure logical consistency during merging Ensure: 4: Merged tree structure T 5: Initialization: 6: Split each path P i into step sequence S i ā SPLITINTOSTEPS(Ļ i ) 7: Select shortest path S min ā arg min S i |S i | 8: origin depthā|S min | 9: Build initial linear tree T from S min 10: Build Initial Tree: 11: for k = 1 to|S min | do 12:Create node v k with content S min [k] 13:Attach v k as child of v kā1 (or root if k = 1) 14: end for 15: Process Other Paths: 16: for each path S i Ģø= S min do 17:mergedā FALSE 18:for t = 1 to|S i | do 19: uā S i [t] 20:Compute embeddinge u 21:Find candidates C āv| Sim(e u ,e v )ā„ Īø sim 22:if C Ģø=ā then 23:Sort C by depth (desc), similarity (desc) 24:for each v ā ā C do 25:Replace u with v ā in S i and compute entropy āH 26:if āH ⤠ε then 27:Merge: attach remaining steps S i [t + 1 :] as subtree to v ā 28:mergedā TRUE 29:break 30:end if 31:end for 32:if merged then 33:break 34:end if 35:end if 36:end for 37:if not merged then 38:Attach S i as new branch to root 39:end if 40: end for 41: return T Gradient Entanglement Mechanism: The optimization objective of DPO aims to widen the gap between the log probability of the chosen response logĻ w and that of the rejected response logĻ l , requiring both an increase in logĻ w and a decrease in logĻ l . The gradient update direction can be expressed as: āĪø ā d w ā logĻ w ā d l ā logĻ l where,ā logĻ w andā logĻ l are the gradient directions of the log probabilities for y w and y l , respectively. d w and d l are the derivative weights of the loss function concerning logĻ w and logĻ l (in DPO, d w /d l = 1). The synchronized movement of logĻ w and logĻ l occurs when the inner product āØā logĻ w ,ā logĻ l ā© between these gradients becomes large relative to their individual norms. This can manifest in two problematic scenarios: ⢠Synchronized Increase (logĻ w ā, logĻ l ā): Occurs when ā„ā logĻ l ā„ 2 ⤠āØā logĻ w ,ā logĻ l ⩠⤠ā„ā logĻ w ā„ 2 . Here, the gradients are so strongly aligned that both prob- abilities increase, failing to suppress y l adequately. This is particularly detrimental in safety-critical tasks where harmful responses (y l ) must be actively discouraged. ⢠Synchronized Decrease (logĻ w ā, logĻ l ā): Arises when ā„ā logĻ w ā„ 2 ⤠āØā logĻ w ,ā logĻ l ⩠⤠ā„ā logĻ l ā„ 2 . In this case, the model simultaneously forgets both good and bad behaviors, which explains the observed decline in rea- soning performance when distilling from high-quality y w responses. For DPO ( d w d l = 1), the ideal divergence condition (logĻ w ā , logĻ l ā) requires: āØā logĻ w ,ā logĻ l ā©ā¤ min(ā„ā logĻ w ā„ 2 ,ā„ā logĻ l ā„ 2 ) Through its length-normalization design ( d w d l = |y l | |y w | ), SimPO reformulates this condition as a more lenient in- equality: ā logĻ w |y w | , ā logĻ l |y l | ⤠ā logĻ w |y w | 2 , ā logĻ w |y w | , ā logĻ l |y l | ⤠ā logĻ l |y l | 2 We conduct an empirical study by sampling 1,000 pref- erence pairs from the dataset and tracking the optimiza- tion dynamics of logĻ w and logĻ l during training. The re- sults, summarized in a bar chart (Figure 10), reveal three possible conditions of gradient entanglement: Condition 1 (synchronized decrease: logĻ w ā, logĻ l ā), Condition 2 (synchronized increase: logĻ w ā, logĻ l ā), and Condition 3 (ideal divergence: logĻ w ā, logĻ l ā). Key observations highlight DPOās dominance of undesirable conditions, with Condition 1 (synchronized decrease) accounting for 75.4% of cases, explaining the reasoning performance decline due to āforgettingā high-quality responses, while Condition 2 (synchronized increase) occurs in 21.2% of cases, reflecting failure to suppress long responses. The ideal Condition 3 is rare (3.4%), underscoring DPOās susceptibility to gradient entanglement. Figure 10: The figure shows three gradient entanglement conditions in DPO/SimPO training: Condition 1 (synchro- nized decrease: logĻ w ā, logĻ l ā) causing forgetting, Con- dition 2 (synchronized increase: logĻ w ā, logĻ l ā) failing to suppress bad outputs, and Condition 3 (ideal divergence: logĻ w ā, logĻ l ā); SimPO reduces but doesnāt eliminate suboptimal Conditions 1-2 (85.6% combined). SimPOās length-normalized design partially mitigates this issue by relaxing the divergence inequality, yet it still ex- hibits an 85.6% combined prevalence of Conditions 1 and 2, indicating residual entanglement. This suggests that merely normalizing gradients by response length is insufficient to fully decouple the dynamics of logĻ w and logĻ l , leaving room for further improvement in disentangling optimization pathways. DPO combined with NLL Loss, breaks the gradient en- tanglement effect in standard DPO through explicit regu- larization. The NLL Loss increases the coefficient d w for the chosen gradient while leaving the coefficient d l for the rejected gradient unaffected, thereby relaxing the condition for increasing the log probability of the chosen response. Si- multaneously, the incorporation of the NLL term creates a dynamic balance in the optimization objective: it preserves the contrastive learning advantage of DPO (where the cho- sen response is favored over the rejected one) while ex- plicitly maximizing the probability of the chosen response, thus avoiding the issue where purely margin-based methods might lead to a decrease in the probability of the chosen re- sponse. E LLM-as-a-Judge for Evaluation of Reasoning Model We present an improved LLM-as-a-Judge framework for evaluating the fine-grained quality of reasoning steps in multi-step inference tasks. Unlike prior approaches that re- lied on fixed heuristic segmentation ( ) and direct long- context evaluations, our framework enhances precision and scalability through two major innovations: (1) dynamic step segmentation using a large language model as a chain split- ter, and (2) a multi-model voting protocol for robust step- level classification. LLM as a Judge Check LLM as a ChainSplitter Reasoning Path Step1Step 20Step 70 multi steps LLM as a JudgeLLM as a Judge "Faulty Reasoning""Faulty Reasoning""Valid Reasoning" "Faulty Reasoning" Majority Votingif conflictelse human expert Figure 11: The overall pipeline of the LLM-as-a-Judge framework. The reasoning path is first segmented by GPT-4o acting as a chain splitter. Then, each reasoning step is inde- pendently evaluated by three expert models across three cat- egories: faulty reasoning, invalid reflection, and redundant steps. Results are aggregated via majority voting or deferred to human reviewers in cases of high disagreement. Methods AIME24AIME25AMC23MATH500 ACC Tokens Chains ACC Tokens Chains ACC Tokens Chains ACC Tokens Chains Longest0.566765762400.416755552020.909440271370.9260242773 Middle0.583364712350.408354411940.914139581290.9200237667 Shortest 0.583356882250.425053511890.912537711220.9300217062 Table 4: Correlation between chosen sample length and optimized modelās output length As shown in Figure 11, our framework follows a two- stage pipeline consisting of step segmentation and multi- model evaluation. In the first stage, given a full reasoning path, we employ GPT-4o to segment the path into seman- tically meaningful steps. This LLM-as-a-Chainsplitter strat- egy avoids the brittleness of rule-based chunking and en- sures that each step reflects a coherent and minimal unit of reasoning. In the second stage, each segmented step is in- dependently evaluated by three expert reasoning modelsā GPT-o1, DeepSeek-R1, and Qwen-QwQāalong three crit- ical dimensions: faulty reasoning, invalid reflection, and redundant steps. The final label for each step is determined via majority voting; in cases of high inter-model disagree- ment, a human expert is consulted. The classification criteria are as follows: (1) Faulty rea- soning refers to logically incorrect or mathematically invalid steps that jeopardize correctness; (2) Invalid reflection de- notes ineffective or incoherent meta-cognitive steps that fail to improve or critically assess the reasoning process; (3) Re- dundant steps capture repetitive or non-contributory steps that offer no new information. This categorization schema supports precise error attribution and reflects key weak- nesses in reasoning traceability. To ensure label accuracy and interpretability, we design a structured prompt that provides the current step along with up to three preceding and three following steps as context. As shown in Figure 12, the model is instructed to return a JSON object containing the predicted tag and a justification. This context-aware prompt enables evaluators to distinguish, for example, between truly novel steps and those that are redundant or flawed only in relation to their neighbors. F More Experiment Results The ablation experiments in Table 4 demonstrated a clear trend: shorter chosen samples consistently led to more opti- mized model outputs, with both reduced token counts and reasoning chains. Specifically, when comparing responses of varying lengths (shortest, medium (5th-shortest reason- ing path), and longest (10th-shortest reasoning path)) for the same questions, the shortest samples produced the most con- cise outputs (e.g., 2,170 tokens vs. 2,427 for the longest in MATH500) while maintaining or even improving accuracy. This suggests that shorter responses not only enhance ef- ficiency by reducing output length but also streamline rea- soning chains. The linear correlation held across datasets, with middle-length samples yielding intermediate results, indicating that response brevity is associated with improved computational efficiency. LLM-as-a-Judge Prompt Reasoning Step Classification Role You are a professional mathematics evaluator with expertise in assessing logical reasoning processes. Your task is to classify a single reasoning step into one of four predefined categories. The reasoning step is an atomic unit extracted from a student's multi-step problem-solving trace. Classification Categories: Choose exactly one of the following categories: - <Valid Reasoning Step>: The step is logically sound, mathematically correct, and contributes meaningfully to the solution. - <Faulty Reasoning Step>: The step contains logical, factual, or mathematical errors that undermine the correctness of the reasoning. - <Invalid Reflection Step>: The step attempts reflection or correction but does so ineffectively or inconsistently, such as continuing flawed reasoning or offering non-constructive commentary. - <Redundant Reasoning Step>: The step repeats previous reasoning, adds no useful content, or elaborates unnecessarily on previously valid steps. Input Format: Problem: query Reasoning Context: Previous Steps: 1. step A 2. step B 3. step C Current Step: response_step Next Steps: 1. step D 2. step E 3. step F Output Requirements: Return JSON format with the following structure "step_id": <int>, "content": "Preserve ALL original text" "tag": "<TAG>", "reason": "Explain why this tag is appropriate for the current step, based on its content and context." Example Output: "step_id": 5, "content": "We already found that x = 6 by solving 2x = 12 in the previous step. Therefore, x = 6 is the solution." "tag": "<Redundant Reasoning Step>", "reason": "This step repeats the equation solving already completed in step 4 without introducing new insight." Figure 12: The structured prompt design for the LLM-as- a-Judge step-level classification task. The prompt includes the problem statement, the current reasoning step, and up to three preceding and three following steps as context. The model is instructed to classify the target step into one of four categories and output a JSON object including the classifi- cation tag and an explanation.