arXiv:2604.01591 · 中英对照阅读
ThinkTwice:联合优化大语言模型(LLM)的推理与自我修正
ThinkTwice: Jointly Optimizing Large Language Models for Reasoning and Self-Refinement
中文速览
让大语言模型既能解数学题,又能在没有老师批注的情况下检查并改进自己的答案,并不容易。ThinkTwice用强化学习把训练分成两步:先让模型独立解题,再让它回看自己的解答并重做,两步都只用答案对错作为奖励。实验显示,在五个数学基准和两种模型上,它的解题与自我修正能力都优于多种对照方法;在Qwen3-4B的AIME测试中,解题成绩高出GRPO 5个百分点,经过一次自我修正后高出11.5个百分点。训练早期,模型主要学着纠正错误,能力提高后则更会保留正确答案、避免改坏;这说明不依赖外部批改,也能把解题和自我修正一起有效训练起来。
摘要
We introduce ThinkTwice, a simple two-phase framework that jointly optimizes LLMs to solve reasoning problems and refine the answers, based on Group Relative Policy Optimization (GRPO). In each pair of training steps, ThinkTwice first optimizes the model on solving reasoning problems, then optimizes it on refining its own solutions to the same problems, using the same binary correctness reward in both phases without correctness signals or critique annotations. Across five mathematical reasoning benchmarks and two model families including Qwen3-4B and Olmo3-7B, ThinkTwice substantially improves both reasoning and refinement performance over competitive online policy optimization baselines. Specifically, on Qwen3-4B, ThinkTwice outperforms GRPO on AIME by 5 percentage points before refinement and by 11.5 points after one self-refinement step, measured by pass@4. Analysis of the training dynamics of ThinkTwice reveals an implicit rectify-then-fortify curriculum: refinement predominantly corrects errors early in training and naturally shifts toward preserving already-correct solutions as the model improves, yielding a more rectified reward signal. Our work establishes joint training of reasoning and self-refinement as a principled and effective methodology for RLVR. Our codebase is available at https://github.com/CSSLab/ThinkTwice.
术语表
- ThinkTwice
- ThinkTwice
- Group Relative Policy Optimization (GRPO)
- 组相对策略优化(GRPO)
- large language model (LLM)
- 大语言模型(LLM)
- reinforcement learning with verifiable rewards (RLVR)
- 可验证奖励强化学习(RLVR)
- self-refinement
- 自我修正
- reasoning
- 推理
- binary correctness reward
- 二元正确性奖励
- rectify-then-fortify curriculum
- 先纠错、后巩固课程
- pass@4
- pass@4(4次采样通过率)
- Qwen3-4B
- Qwen3-4B
- Olmo3-7B
- Olmo3-7B
- AIME
- AIME(美国数学邀请赛)
- AIME24
- AIME24
- mathematical reasoning benchmark
- 数学推理基准
- online policy optimization
- 在线策略优化
- process supervision
- 过程监督
- critique annotation
- 批评标注
- training-free method
- 免训练方法
- training-based method
- 基于训练的方法
- self-verification
- 自我验证
- self-consistency decoding
- 自洽解码
- PPO
- 近端策略优化(PPO)
- critic-free
- 无评论家模型
- outcome-only reinforcement learning
- 仅基于结果的强化学习
- chain-of-thought (CoT)
- 思维链(CoT)
- importance ratio
- 重要性比率
- clipping
- 截断
- reward signal
- 奖励信号
- external teacher model
- 外部教师模型