只惩罚错误答案,反而让大模型推理更准。
The Surprising Effectiveness of Negative Reinforcement in LLM Reasoning
- 用错误样本反向修正模型,不奖励正确答案
- 仅用负反馈时,准确率在k=256下仍持续提升
- 适合想优化推理能力却不想复杂调参的研究者
基于可验证奖励的强化学习(RLVR)是训练语言模型进行推理任务的有效方法,能激发长链思维(CoT)。我们将其学习信号分解为正样本强化(PSR)与负样本强化(NSR)。在数学推理数据集上对Qwen2.5-Math-7B、Qwen3-4B和Llama-3.1-8B-Instruct进行实验,发现仅使用负样本训练——不强化正确回答——依然能显著提升性能,在Pass@$k$(k最大达256)全范围内优于基线模型,常超越PPO和GRPO。而仅强化正确答案虽提升Pass@1,但在高k值下因多样性下降导致性能退化。梯度分析表明,NSR通过抑制错误生成、将概率质量重新分配给其他合理候选答案起作用,基于模型先验信念进行知识精炼。据此提出一种增强负反馈的简单改进目标,可在MATH、AIME 2025和AMC23上稳定提升整体Pass@$k$表现。
原文摘要 · Abstract (English)
Reinforcement learning with verifiable rewards (RLVR) is a promising approach for training language models (LMs) on reasoning tasks that elicit emergent long chains of thought (CoTs). Unlike supervised learning, it updates the model using both correct and incorrect samples via policy gradients. To better understand its mechanism, we decompose the learning signal into reinforcing correct responses and penalizing incorrect ones, referred to as Positive and Negative Sample Reinforcement (PSR and NSR), respectively. We train Qwen2.5-Math-7B, Qwen3-4B and Llama-3.1-8B-Instruct on a mathematical reasoning dataset and uncover a surprising result: training with only negative samples -- without reinforcing correct responses -- can be highly effective: it consistently improves performance over the base model across the entire Pass@$k$ spectrum $k$ up to 256), often matching or surpassing PPO and GRPO. In contrast, reinforcing only correct responses improves Pass@1 but degrades performance at higher $k$, due to reduced diversity. These inference-scaling trends highlight that solely penalizing incorrect responses may contribute more to performance than previously recognized. Through gradient analysis, we show that NSR works by suppressing incorrect generations and redistributing probability mass toward other plausible candidates, guided by the model's prior beliefs. It refines the model's existing knowledge rather than introducing entirely new behaviors. Building on this insight, we propose a simple variant of the RL objective that upweights NSR, and show that it consistently improves overall Pass@$k$ performance on MATH, AIME 2025, and AMC23. Our code is available at https://github.com/TianHongZXY/RLVR-Decomposed.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。