TL;DR
Current Large Language Models (LLMs) often fail at complex reasoning because they stubbornly commit to flawed initial thoughts. Re² (Reinforcement Learning with Re-solving) is a new framework that teaches models to recognize when they are on a "dead-end" path and restart the problem from scratch. This approach leads to massive accuracy gains (e.g., up to +12.6% on AIME 2025) without requiring any human-labeled "redo" examples.
The Overthinking Problem in LLMs
When humans solve a hard math problem, we often realize halfway through that our approach is wrong, crumple up the paper, and start over. LLMs, however, generally lack this instinct. Even when trained with Reinforcement Learning with Verifiable Rewards (RLVR)—the technique behind models like DeepSeek-R1—they tend to "overthink" and force a conclusion.
The authors identify a "point of no return": if a model’s initial reasoning steps are suboptimal, it almost never reaches the correct answer, no matter how many more tokens it generates. In fact, the paper shows a negative correlation between Chain-of-Thought (CoT) length and accuracy; longer responses often just represent a model struggling to salvage a broken premise. Because standard RL rewards models strictly for the final answer (0 or 1), it inadvertently encourages them to guess or hallucinate a conclusion rather than admitting they are lost.
Methods: Introducing Re²
The authors introduce Re², a pure reinforcement learning approach that requires no preliminary Supervised Fine-Tuning (SFT) to teach the model how to backtrack.
- The "Re-solve" Action: Using a specialized prompt, the model is encouraged to output a specific phrase—"It’s better to redo the question"—if it feels stuck.
- Dynamic Reward Strategy: Instead of a simple 0/1 reward, Re² uses a three-way scheme:
- Correct Answer: Reward = 1.
- Incorrect Answer: Reward = 0.
- Re-solve: The reward is set to the expected success rate of starting over. This is calculated dynamically during training by looking at the accuracy of other reasoning paths generated for the same problem in that batch.
- Prefix Grouping: During training, the model generates multiple "prefixes" (partial solutions) and then multiple "continuations" for each. This allows the RL algorithm to compare the value of finishing a specific path versus the value of abandoning it to try again.
By framing "re-solving" as a rational choice with a calculated payoff, the model learns to "abandon ship" only when its current path is statistically less likely to succeed than a fresh start.
Datasets & Evaluation
- Training: The models were trained on DAPO-Math-17K, a collection of 17,000 problems from the Art of Problem Solving (AoPS) and official math competitions.
- Evaluation: The authors used five rigorous benchmarks:
- AIME 2024 & 2025: High-school invitational math exams (AIME 2025 is particularly notable as it was released after the models were trained, minimizing data leakage).
- AMC 2023: American Mathematics Competitions.
- GSM8K: Elementary school word problems.
- GPQA-Diamond: A very difficult, graduate-level science benchmark designed to be "Google-proof."
Key Insights
- The 20% Rule: For most incorrect responses, a significant drop in the probability of success occurs within the first 20% of the response. If the start is bad, the end is almost certainly doomed.
- Amplifying Rare Behavior: In "vanilla" models, the behavior of restarting a problem is extremely rare (~0.5%). Re² successfully amplifies this to over 30%, showing that models have the latent capacity to self-correct if properly incentivized.
- Rational Honesty: Re² reduces the tendency of models to "hallucinate" a path to a wrong answer, making the model more "self-aware" of its own reasoning quality.
- Superior Test-Time Scaling: Standard models often hit a plateau where adding more compute (more samples) doesn't help much. Re² continues to scale better because it uses that extra compute to effectively "try again" rather than just "guessing more."
Key Results
Re² consistently outperformed the state-of-the-art RLVR method (DAPO) across various model sizes (3B to 14B parameters).
- Qwen2.5-7B-Instruct: Accuracy on AIME 2025 jumped from 8.6% to 21.2% (+12.6%).
- DeepSeek-R1-Distill-Llama-8B: Even this already-strong reasoning model saw a boost, moving from 55.9% to 60.5% average accuracy across all benchmarks.
- Efficiency: While re-solving uses more tokens, Re² achieved higher accuracy than DAPO even when both were restricted to the same total "token budget" during training and inference.
Limitations and Future Work
- Inference Latency: Re-solving inherently takes more time and tokens during inference. The authors haven't yet implemented a way to explicitly control the "budget" of re-solves in real-time.
- Generalization: The study focused heavily on mathematical and scientific reasoning. It remains to be seen how well "re-solving" applies to more subjective tasks like creative writing or coding where "verifiable rewards" are harder to define.
- Multi-modal Potential: Extending Re² to vision or tool-use tasks is a promising next step, as these fields also suffer from "cascading errors" where one early mistake ruins the entire output.
Summary updated