The Surprising Effectiveness of Negative Reinforcement in LLM Reasoning

Xinyu Zhu, Mengzhou Xia, Zhepei Wei, Wei-Lin Chen, Dan-Qi Chen +1 more
6/1/2025
192 citations
rlrlhf-rlvr-dpo

Official code: TianHongZXY/RLVR-Decomposed (172 stars).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

[NeurIPS 2025] Implementation for the paper "The Surprising Effectiveness of Negative Reinforcement in LLM Reasoning"

17213

Similar Papers

Cite this paper

@article{zhu2025surprising,
  title  = {The Surprising Effectiveness of Negative Reinforcement in LLM Reasoning},
  author = {Xinyu Zhu and Mengzhou Xia and Zhepei Wei and Wei-Lin Chen and Dan-Qi Chen and Yu Meng},
  year   = {2025},
  eprint = {2506.01347},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2506.01347},
  url    = {https://doi.org/10.48550/arXiv.2506.01347},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.01347.svg)](https://codeofpaper.com/paper/2506.01347)

Discussion