arXiv:2505.18116cs.LGcs.CL2025-05被引 40

让大模型通过错误反馈自主改进,无需强化学习

NFT: Bridging Supervised Learning and Reinforcement Learning in Math Reasoning

  • 用负样本构建隐式纠错策略,让监督学习也能自我反思
  • 7B和32B模型在数学推理上超越传统监督方法,媲美甚至超过强化学习算法
  • 揭示了监督与强化学习在二元反馈下的理论等价性

强化学习(RL)通过二元验证信号推动大语言模型(LLM)在数学推理中的自提升能力。相比之下,监督学习(SL)因依赖标准答案且无法反思错误,很少被用于此类训练。本文挑战这一认知,提出负样本感知微调(NFT)——一种无需外部教师的监督学习方法,使模型能自主反思失败并改进。在线训练中,不丢弃自生成的错误答案,而是构建一个隐式负策略来建模它们。该策略使用目标正向模型参数化,实现对所有生成结果的直接策略优化。我们在7B和32B模型上进行数学推理实验,结果表明,借助负反馈的额外杠杆作用,NFT显著优于如拒绝采样微调等典型监督基线,达到或超越领先强化学习算法(如GRPO和DAPO)。进一步证明,在严格在线策略训练下,NFT与GRPO实质等价,尽管两者理论基础完全不同。实验与理论发现弥合了监督学习与强化学习在二元反馈学习系统中的差距。

原文摘要 · Abstract (English)

Reinforcement Learning (RL) has played a central role in the recent surge of LLMs' math abilities by enabling self-improvement through binary verifier signals. In contrast, Supervised Learning (SL) is rarely considered for such verification-driven training, largely due to its heavy reliance on reference answers and inability to reflect on mistakes. In this work, we challenge the prevailing notion that self-improvement is exclusive to RL and propose Negative-aware Fine-Tuning (NFT) -- a supervised approach that enables LLMs to reflect on their failures and improve autonomously with no external teachers. In online training, instead of throwing away self-generated negative answers, NFT constructs an implicit negative policy to model them. This implicit policy is parameterized with the same positive LLM we target to optimize on positive data, enabling direct policy optimization on all LLMs' generations. We conduct experiments on 7B and 32B models in math reasoning tasks. Results consistently show that through the additional leverage of negative feedback, NFT significantly improves over SL baselines like Rejection sampling Fine-Tuning, matching or even surpassing leading RL algorithms like GRPO and DAPO. Furthermore, we demonstrate that NFT and GRPO are actually equivalent in strict-on-policy training, even though they originate from entirely different theoretical foundations. Our experiments and theoretical findings bridge the gap between SL and RL methods in binary-feedback learning systems.

大模型数学推理监督学习负样本

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。