2025-02-28 · 专家 · 机器学习 · 自然语言处理

Self-rewarding correction for mathematical reasoning

本文提出了一种自奖励推理框架,该框架能够使大型语言模型在推理过程中独立引导其推理过程,同时生成推理步骤并评估输出的正确性,从而提高模型的部署效率和推理能力。

更新于 2025-03-03。作者:Wei Xiong、Hanning Zhang、Chenlu Ye、Lichang Chen、Nan Jiang、Tong Zhang。

中文摘要

我们研究的是自奖励推理大型语言模型(LLMs),这些模型能够在推理过程中同时生成逐步推理并评估其输出的正确性——无需外部反馈。这种集成方法允许单个模型独立引导其推理过程,为模型部署提供计算优势。我们特别关注自纠正的代表性任务,在该任务中,模型可以自主检测其响应中的错误,修订输出,并决定何时终止迭代优化循环。为此,我们提出了一种两阶段的算法框架,用于仅使用自生成数据构建自奖励推理模型。在第一阶段,我们采用序列拒绝抽样来合成包含自奖励和自纠正机制的长时间思维轨迹。在精心挑选的数据上微调模型,使它们能够学习自奖励和自纠正的模式。在第二阶段,我们通过基于规则的信号进行强化学习,进一步增强模型评估响应准确性和优化输出的能力。在Llama-3和Qwen-2.5上的实验表明,我们的方法超越了内在的自纠正能力,并实现了与依赖于外部奖励模型的系统相当的性能。

英文摘要

We study self-rewarding reasoning large language models (LLMs), which can simultaneously generate step-by-step reasoning and evaluate the correctness of their outputs during the inference time-without external feedback. This integrated approach allows a single model to independently guide its reasoning process, offering computational advantages for model deployment. We particularly focus on the representative task of self-correction, where models autonomously detect errors in their responses, revise outputs, and decide when to terminate iterative refinement loops. To enable this, we propose a two-staged algorithmic framework for constructing self-rewarding reasoning models using only self-generated data. In the first stage, we employ sequential rejection sampling to synthesize long chain-of-thought trajectories that incorporate both self-rewarding and self-correction mechanisms. Fine-tuning models on these curated data allows them to learn the patterns of self-rewarding and self-correction. In the second stage, we further enhance the models' ability to assess response accuracy and refine outputs through reinforcement learning with rule-based signals. Experiments with Llama-3 and Qwen-2.5 demonstrate that our approach surpasses intrinsic self-correction capabilities and achieves performance comparable to systems that rely on external reward models.

解读

一句话总结

本文提出了一种自奖励推理框架,该框架能够使大型语言模型在推理过程中独立引导其推理过程,同时生成推理步骤并评估输出的正确性,从而提高模型的部署效率和推理能力。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源