Organizations: School of Computer Science and Technology, Soochow University · Department of Foundation Model, 2012 Labs, Huawei · College of Intelligence and Computing, Tianjin University
Reinforcement learning with verifiable rewards (RLVR) has shown promise in enhancing the reasoning performance of large language models (LLMs) by increasing test-time compute. However, even after extensive RLVR training, such models still tend to generate unnecessary and low-quality steps in their chain-of-thought (CoT), leading to inefficient overthinking and lower answer quality. We show that when the initial direction or quality of the CoT is suboptimal, the model often fails to reach the correct answer, even after generating several times more tokens than when the initial CoT is well-initialized. To this end, we introduce Reinforcement Learning with Re-solving (Re2), in which LLMs learn to flexibly abandon unproductive reasoning paths and restart the solution process when necessary, rather than always committing to a final answer. Re2 applies pure reinforcement learning without any preliminary supervised fine-tuning, successfully amplifying the rare redo behavior in vanilla models from only 0.5% to over 30%. This leads to substantial performance gains over standard RLVR under the same training compute budget, and also demonstrates notable improvements in test-time performance as the number of samples increases.
Figures & tables
Figure 1: (a) Accuracy improvements of DAPO and Re 2 on Qwen2.5-7B-Instruct at each training step, with comparable numbers of generated and trained tokens per step. (b) Test-time scaling of DAPO and Re 2 under the same training budget, as the number of samples increases.
Figure 2: Illustration of reasoning with re-solving. (a) In standard reasoning, when the initial steps are suboptimal, the LLM struggles to reach the correct answer even after generating more reasoning steps and tokens. (b) Reasoning with re-solving, allowing the model to abandon an unpromising path and restart at any point, leads to a higher overall accuracy. (c) Example trace of DAPO and Re 2 : Both models initially attempt an incorrect approach using the AM–GM inequality; however, Re 2 detects the failure, restarts, and arrives at the correct answer.
Figure 3: Correlation between CoT length and reasoning performance. The bars represent the proportion of cases within different CoT length intervals, while the line indicates the average accuracy for responses in each interval. The large plots in the top row show the correlation across the entire dataset. The small plots in the second row illustrate the correlation at the level of individual problems.
Figure 4: Number of cases where the relative drop exceeds the threshold when continuing from different proportions of incorrect response prefixes, compared to reasoning from scratch. “All Drops” counts all such cases at each prefix proportion, while “First Drops” records the earliest prefix for each response where the drop exceeds the threshold.
Figure 5: The framework of Re 2 . For each query, Re 2 samples multiple prefixes, then generates multiple continuations for each prefix. The advantage is calculated within each group, while the out-of-group accuracy is used as the reward for the redo action.
Algorithm 1 Re 2 : Reinforcement Learning with Resolving
Input initial policy model πθ ; task prompts D ; maximum training steps s ; number of prefixes n ; number of continuations m ; max resolve rounds R ; clipping thresholds εlow,εhigh ; update steps per batch μ
for step = 1,…, s do
1: Sample a mini-batch Db from D
2: For each question q∈Db , sample n responses from πθold(⋅∣q) and truncate them at random ratios to form prefixes {Prei}i=1n
3: For each prefix Prei , sample m continuations {Oi,j}j=1m∼πθold(⋅∣q,Prefixi)
4: Compute rewards {ri,j} according to Eq. 1
Table 1:
Models
Methods
AIME24
AIME25
AMC23
GSM8K
GPQA
Avg
Base Model
Qwen2.5-7B Base
+ DAPO
11.9
10.3
64.7
91.8
29.7
41.7
+ Re 2
17.1
19.0
70.8
93.6
36.8
47.5 (+5.8)
Qwen2.5-14B Base
+ DAPO
18.2
15.7
64.0
94.3
44.8
47.4
+ Re 2
28.5
23.4
68.5
94.6
49.6
52.9 (+5.5)
Instruct Model
Table 1: Experimental results on five reasoning benchmarks. Re 2 consistently improves the overall reasoning performance of each model over DAPO ( p -value <0.05 ). Red numbers in parentheses indicate performance gains relative to DAPO.
Figure 6: Test-time scaling of DAPO and Re 2 under the same training budget as the number of samples increases.
Figure 7: The training progress of Re 2 on Qwen2.5-14B-Base.
Figure 8: Analysis of accuracy and behavior across problem difficulty levels. (a) Accuracy improvements of DAPO and Re 2 , along with the resolving rate of Re 2 , when questions are grouped by the difficulty estimated by the base model. (b) Accuracy improvements and resolving rate of Re 2 when questions are grouped by the difficulty estimated by DAPO.
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 9: The template of Re 2 .
Models
Methods
AIME24
AIME25
AMC23
GSM8K
GPQA
Base Model
Qwen2.5-7B Base
+ DAPO
11.9 (±1.0)
10.3 (±1.0)
64.7 (±1.3)
91.8 (±0.1)
29.7 (±0.5)
+ Re 2
17.1 (±1.4)
19.0 (±1.2)
70.8 (±0.3)
93.6 (±0.0)
36.8 (±0.3)
Qwen2.5-14B Base
+ DAPO
18.2 (±1.2)
15.7 (±1.2)
64.0 (±1.3)
94.3 (±0.1)
44.8 (±0.6)
+ Re 2
28.5 (±1.1)
23.4 (±1.3)
68.5 (±0.3)
94.6 (±0.0)
49.6 (±0.3)
Instruct Model
Appendix
Table 2: Accuracy with 95% confidence intervals on five reasoning benchmarks, confidence intervals are given in parentheses.
Figure 10: Test-time scaling of Re 2 compared with additional baselines.
Figure 11: Bias and variance of the estimated resolving accuracy under different values of n and m .
Figure 12: Degeneration group rate during training for DAPO and Re 2 .
Figure 13: Reasoning lengths during training for DAPO and Re 2 .
Figure 14: Accuracy improvements of DAPO and Re 2 under the same training time.
Figure 15: Case Analysis of CoTs with Different Lengths in AIME25
Figure 16: Case Analysis of CoTs with Different Lengths in AIME25
Figure 17: Case Analysis of CoTs with Different Lengths in AIME25
Figure 18: Case Analysis of CoTs with Different Lengths in AMC
Figure 19: Re 2 Examples 1
Figure 20: Re 2 Examples 2
Figure 21: Re 2 Examples 3
Figure 22: Re 2 Examples 4
Methods
AIME25
AMC23
MATH500
GSM8K
OpenPangu-Embedded-1B
4.7
22.2
49.3
64.4
+ Re 2
8.6
35.3
65.8
81.0
Appendix
Table 3: The accuracy of OpenPangu-Embedded-1B and Re 2 on four benchmarks.
Recent advances in large language models (LLMs) have demonstrated that reinforcement fine-tuning of pretrained base models can lead to significant gains in reasoning performance at inference time. In this work, we theoretically analyze why reinforcement fine-tuning induces better reasoning ability than purely supervised fine-tuning (SFT) methods. We model chain-of-thought (CoT) reasoning as a pathfinding problem on graphs and compare the popular method of reinforcement learning with verifiable rewards (RLVR) against traditional SFT. We prove that SFT, when trained on golden shortest paths without negative examples, fails to learn how to efficiently backtrack. In contrast, an RLVR-trained model can learn how to efficiently backtrack from dead ends using only outcome reward. This leads to an exponential separation in inference-time compute between the two methods, and demonstrates that RLVR leads the model to learn the location of difficult decisions in a reasoning chain, ultimately allowing for better allocation of inference-time compute. Finally, we show that the reasoning traces of an RLVR model can be distilled to train a base model to backtrack efficiently as well.
Stanley Wei, Juno Kim
1Princeton University · University of California, Berkeley.
Large reasoning models achieve strong performance on complex tasks by generating extended chain-of-thought (CoT) traces via reinforcement learning with verifiable rewards (RLVR). While current RLVR methods have achieved strong results with correctness-based reward signals, they provide limited guidance on the quality of the reasoning process itself, leaving the internal reasoning structure largely unoptimized. Through empirical analysis across multiple model families, we identify a consistent pattern: correct reasoning trac es exhibit more frequent and larger token-level entropy drops within the thinking phase than incorrect ones. We propose ERR+, a two-phase RLVR framework grounded in this observation. The first phase trains with the Entropy Relief Reward (ERR), a bonus proportional to cumulative token-level entropy drops in the thinking phase, log-normalized by response length. Unlike prior methods that suppress entropy, ERR rewards the resolution of uncertainty while leaving exploratory high-entropy states unconstrained. The second phase introduces the Robust Relative Efficiency Reward, which scores each response's length against co-generated peers via a tanh-transformed within-group z-score. We provide a formal analysis showing that joint optimization of the two objectives induces gradient conflict in early training, motivating the sequential design . Experiments on five datasets demonstrate consistent improvements in both accuracy and response conciseness across model backbones. Our code is available at https://github.com/XrkArul/err_response
Xin Jiang, Minhao Wang, Wen Wu +4
School of Computer Science and Technology, East China Normal University, Shanghai 200241, China · State Key Laboratory of Estuarine and Coastal Research, School of Computer Science and Technology, East China Normal University, Shanghai 200241, China
Reinforcement learning with verifiable rewards (RLVR) has become central to LLM reasoning, but its outcome-level rewards can make models more willing to give confident answers when evidence or reasoning is unreliable. Existing SFT or RL methods mainly teach LLMs to refuse or express uncertainty at the response level, which can overfit abstention behavior rather than improve reasoning reliability. To address this limitation, we propose Cognitive Pairwise Training (CPT), a cognitive mid-training alignment stage that turns pairwise comparisons over reasoning traces into a reusable alignment signal. By learning to distinguish trustworthy from flawed reasoning, CPT encourages the model to internalize a reasoning-quality discrimination boundary rather than memorize surface refusal patterns. Across five model scales and three model families, CPT improves the reasoning--metacognition trade-off. At 14B, CPT+RL outperforms the standard SFT+RL pipeline by +2.2 math-average points and +5.2 abstention-F1 points. Further analyses show that CPT improves trace quality and exhibits strong robustness and scalability across evaluation and training settings. Code and models are released at https://github.com/Tsinghua-dhy/CPT.
Weitao Li, Hao Zhou, Xuanyu Lei +11
Dept. of Comp. Sci. & Tech., Institute for AI, Tsinghua University, Beijing, China · Institute for AI Industry Research (AIR), Tsinghua University, Beijing, China · WeChat AI, Tencent Inc., China