The Surprising Effectiveness of Negative Reinforcement in LLM Reasoning

Xinyu Zhu, Mengzhou Xia, Zhepei Wei, Wei-Lin Chen, Danqi Chen, Yu Meng

TL;DR

By decomposing Reinforcement Learning with Verifiable Rewards (RLVR) into positive and negative components, this paper reveals a striking counterintuitive truth: penalizing incorrect LLM generations (Negative Sample Reinforcement) is highly effective on its own, outperforming standard RL methods at high sample budgets by preserving model diversity. Leveraging this insight, the authors introduce Weighted-REINFORCE, a simple tweak that upweights negative reinforcement to achieve state-of-the-art reasoning performance across competitive math benchmarks.

What Problem Does This Paper Address?

Reinforcement Learning with Verifiable Rewards (RLVR)—using automated tools to give binary $+1/-1$ feedback on tasks like math and coding—has driven massive breakthroughs in LLM reasoning (powering models like DeepSeek-R1). However, the underlying mechanics of how these models learn from success versus failure have remained a black box.

Standard RL algorithms mix positive reinforcement (rewarding correct answers) and negative reinforcement (penalizing wrong ones) into a single learning signal. This paper investigates whether these two signals play distinct roles in shaping model behavior, particularly regarding inference-time scaling (the Pass@k metric), which measures how performance improves when a model is allowed to sample multiple candidate answers.

Methods

The authors mathematically decompose the standard RLVR objective into two distinct, on-policy learning paradigms:

  1. Positive Sample Reinforcement (PSR): Maximizes the likelihood of correct responses (similar to supervised fine-tuning).
  2. Negative Sample Reinforcement (NSR): Minimizes the likelihood of incorrect responses (similar to unlikelihood training).

To isolate their effects, they train models (including Qwen2.5-Math-7B, Qwen3-4B, and Llama-3.1-8B-Instruct) using only PSR or only NSR.

Conceptual overview of decomposing RLVR into Positive Sample Reinforcement (PSR) and Negative Sample Reinforcement (NSR).

Discovering that NSR excels at maintaining token diversity while PSR causes it to collapse, they propose Weighted-REINFORCE (W-REINFORCE). This simple modification scales down the positive reward weight by a factor of $\lambda$ (setting $\lambda = 0.1$), preventing the model from aggressively over-focusing on its first successful generations.

Datasets

  • Training: The MATH dataset (7,500 training problems).
  • Evaluation: The test sets of MATH, AIME 2025, and AMC23. These represent highly challenging, competitive mathematical reasoning benchmarks designed to test complex chain-of-thought capabilities.

Key Insights and Ideas

  • The Surprising Power of Negativity: Training an LLM solely on its mistakes (NSR-only), without ever explicitly reinforcing correct answers, consistently improves performance over the base model and frequently beats heavyweights like PPO and GRPO at high sample counts ($k$).
  • PSR Collapses Diversity: Reinforcing correct answers (PSR) acts as a double-edged sword. It sharpens the model's confidence, boosting greedy decoding (Pass@1), but it rapidly causes the output distribution to collapse. When allowed to sample multiple times (Pass@256), PSR-trained models perform worse than the un-tuned base model because they keep generating the same few answers.
  • Prior-Guided Probability Redistribution: Why does NSR work so well? Token-level gradient analysis shows that when NSR penalizes a wrong answer, it doesn't just blindly flatten the distribution. Instead, it dampens the incorrect tokens while softly redistributing that probability mass to alternative tokens in proportion to their existing likelihoods. It refines the model's pre-existing knowledge rather than forcing entirely new behaviors.

Key Results

Evaluated on Qwen2.5-Math-7B, the proposed W-REINFORCE consistently strikes the best balance between exploitation (Pass@1) and exploration (Pass@k for large $k$):

Figure 1: Decomposing learning signals in RLVR into positive and negative reward components. Positive Sample Reinforcement (PSR) increases the likelihood of correct responses and improves Pass@1, but reduces output diversity and hurts Pass@k for large k. Negative Sample Reinforcement (NSR) discourages wrong responses and redistributes probability mass according to the model’s prior knowledge, improving the full Pass@k spectrum.
  • On MATH: W-REINFORCE matches PPO's top Pass@1 score of 76.6% (up from the base model's 63.2%) while maintaining superior scaling up to Pass@64.
  • On AIME 2025: W-REINFORCE achieves a dominant 56.7% at Pass@256, substantially outperforming the Base Model (46.7%), PPO (43.3%), and GRPO (50.0%).
  • Entropy Retention: Throughout training, NSR and W-REINFORCE maintain high response entropy close to the base model, explaining their robust inference-time scaling behavior compared to the rapid entropy drop seen in PSR.

Limitations and Future Work

  • Long-term Instability: Extended training using only NSR (over hundreds of gradient steps) eventually leads to a decline in performance. While W-REINFORCE mitigates this by keeping a small positive weight ($\lambda=0.1$), finding more robust ways to stabilize pure negative learning remains an open challenge.
  • Bounded by Binary Rewards: This study focuses entirely on sparse, binary outcomes (right or wrong). How these insights translate to dense reward environments—such as step-by-step verification or continuous human preference scores—is still an open question.

Summary updated

Abstract

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.
BibTeX
@inproceedings{zhu2025surprising,
  author = {Xinyu Zhu and Mengzhou Xia and Zhepei Wei and Wei-Lin Chen and Danqi Chen and Yu Meng},
  title = {{The Surprising Effectiveness of Negative Reinforcement in LLM Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=ftVlLG9cks},
}
Figure