ThinkTwice: Jointly Optimizing Large Language Models for Reasoning and Self-Refinement

Difan Jiao, Qianfeng Wen, Blair Yang, Zhenwei Tang, Ashton AndersonarXiv 2026

TL;DR

ThinkTwice is a simple, two-phase reinforcement learning framework that jointly trains large language models to both solve complex reasoning problems and refine their own answers. By using a single shared policy and a basic binary correctness reward across both phases, it eliminates the need for expensive process supervision or critique annotations while significantly boosting both initial reasoning and self-correction performance.

What Problem Does This Paper Address?

Large language models (LLMs) frequently make correctable errors when tackling complex, multi-step reasoning problems—such as minor algebraic slips, incomplete derivations, or dead-end search paths. While humans naturally review and revise their work, teaching LLMs to effectively "self-refine" has proven difficult.

Existing approaches fall into two flawed categories:

  1. Training-free prompting: Asking a model to critique and revise its answer at inference time is highly brittle and can actually degrade performance on frontier models by altering already-correct solutions.
  2. Training-based methods: Teaching a model to refine its answers typically requires dense external feedback, such as step-by-step process supervision, human critique annotations, or explicit correctness hints. This feedback is rarely available for challenging frontier problems.

ThinkTwice addresses this gap by creating a training framework that teaches self-refinement using only final-answer correctness rewards, making it highly practical for training frontier models without relying on external expert models or human oversight.

Prompt-only reflection vs ThinkTwice

Methods

ThinkTwice builds on Group Relative Policy Optimization (GRPO), an online reinforcement learning algorithm that optimizes models using grouped rollouts to compute relative advantages without needing a separate, resource-heavy critic model.

Instead of a single-pass training step, ThinkTwice introduces a two-phase optimization loop for every pair of training steps using a single, shared model backbone:

  • Phase 1: Reasoning Optimization: The model attempts to solve a batch of problems from scratch. It generates a group of candidate solutions, receives a binary correctness reward (1 for a correct final answer, 0 otherwise), and updates its policy. A single "base solution" is then randomly selected from these rollouts.
  • Phase 2: Refinement Optimization: The model is given a multi-turn prompt containing the original problem, the selected base solution, and a generic, task-agnostic instruction to review its work (e.g., "Go through each calculation step-by-step..."). Crucially, the prompt contains no hint as to whether the base solution is correct. The model generates a new group of refinement attempts, which are evaluated using the exact same binary correctness reward system to update the policy again.
Figure 2: ThinkTwice at a glance.

Datasets

  • Training: The model was trained on the MATH training dataset (7,500 problems spanning difficulty levels 1–5 across seven subjects).
  • Evaluation: Performance was measured across five mathematical reasoning benchmarks: MATH500 (500 problems), OlympiadBench (581 problems), Minerva Math (272 problems), AIME 2022–2024 (90 problems), and AMC 10/12 (83 problems).

Key Insights and Ideas

  • The "Rectify-then-Fortify" Curriculum: The authors discovered that randomly sampling base solutions creates an organic, emergent curriculum. Early in training, when the model fails often, Phase 2 predominantly trains the model on error correction (rectify). As the model's initial reasoning improves, Phase 2 naturally shifts toward solution preservation and polishing (fortify)—shortening correct answers, removing exploratory clutter, and improving formatting.
  • Synergistic Joint Training: Training the model to refine its answers actually makes its initial, first-pass reasoning stronger. The refinement phase recovers useful learning signals from problems where the first attempt narrowly failed, providing a more rectified reward landscape.
  • Efficiency Gain via Faster Convergence: While adding a second phase increases the context length (due to appending the first-pass solution), the refined responses become progressively shorter. Ultimately, ThinkTwice adds only a 3% training overhead per step but reaches its best checkpoint 16% faster in wall-clock time than standard GRPO due to accelerated convergence.

Key Results

The framework was evaluated using two instruction-tuned models: Qwen3-4B and OLMo3-7B.

  • Reasoning Boost: On the highly challenging AIME benchmark, ThinkTwice (using Qwen3-4B) achieved a 44.11% pass@4 score on direct prompting alone, outperforming standard GRPO (39.06%).
  • Refinement Boost: After one step of self-refinement, ThinkTwice reached 60.43% pass@4 on AIME, an 11.5 percentage point improvement over GRPO.
  • Cross-Model Generalization: When evaluated as a standalone "refiner" on solutions generated by other baseline models, ThinkTwice consistently achieved the highest scores, proving it learns a robust, generalizable refinement policy rather than just memorizing its own errors.
Figure 3: Cross-model refinement evaluation (average pass@4, ↑). Rows denote the backbone reasoning model; columns denote the refinement model.

Limitations and Future Work

  • Domain Specificity: The framework was only evaluated on mathematical reasoning tasks with easily verifiable exact-match answers. Its efficacy in more open-ended domains remains unproven, though the authors note it could naturally extend to code generation.
  • Single-Step Focus: While the multi-turn architecture natively supports arbitrary numbers of refinement turns, this study primarily focused on and evaluated a single-step refinement process. Exploring multi-step iterative refinement during RL training is left for future work.

Summary updated

BibTeX
@misc{jiao2026thinktwice,
  author = {Difan Jiao and Qianfeng Wen and Blair Yang and Zhenwei Tang and Ashton Anderson},
  title = {{ThinkTwice: Jointly Optimizing Large Language Models for Reasoning and Self-Refinement}},
  year = {2026},
  eprint = {2604.01591},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.01591},
}
Figure