Negative-Only Policy Optimization for One-Sided Verifiable Rewards

Jiacheng Xu, Shuo He, Fuxiang Zhang, Chaojie Wang, Bo An

TL;DR

Standard reinforcement learning for LLMs often fails when verifiers are "one-sided"—able to catch errors but unable to guarantee full correctness. This paper introduces Negative-Only Policy Optimization (NOPO), a method that improves reasoning by exclusively suppressing high-confidence failures while treating "passing" solutions as unlabeled, preventing the model from learning deceptive shortcuts that pass partial checks.

What Problem Does This Paper Address?

Reinforcement Learning with Verifiable Rewards (RLVR) has become a cornerstone for training reasoning models like DeepSeek-R1. Typically, these systems use a verifier (like a compiler or a math checker) to reward correct answers. However, the authors identify a critical flaw: in many real-world scenarios, verification is asymmetric.

They formalize this as One-Sided Verifiability (OSV). Consider a code generation task: if a program fails a unit test, it is definitely wrong (a "trusted negative"). But if it passes a few public tests, it isn't necessarily correct—it might just be a "non-falsified candidate" that still contains bugs.

Standard RL methods like GRPO treat these non-falsified candidates as ground-truth positives. This creates a "shortcut" trap: the model learns to generate solutions that satisfy the specific partial checks provided during training without actually solving the underlying problem.

Figure 2: Illustration of one-sided verifiability across executable checks, constraint checks, and LLM-as-verifier settings. A rejection provides concrete evidence of failure, whereas acceptance only means that no checked violation was found; it does not certify correctness.

Methods

To solve the OSV problem, the authors propose Negative-Only Policy Optimization (NOPO). The core philosophy is simple: trust the rejections, but stay skeptical of the acceptances.

NOPO consists of two main components:

  1. Reference-Relative Negative Suppression: Instead of rewarding positives, NOPO uses a loss function derived from Negative Preference Optimization (NPO). It penalizes the model for generating "trusted negatives" (failed solutions) relative to a frozen reference model. The gradient naturally tapers off once a negative response is sufficiently downweighted, preventing the model from collapsing.
  2. Group-Level Support Weighting: A major challenge in negative-only learning is "redistribution ambiguity"—if you only know what not to do, where should the probability mass go? NOPO addresses this by scaling updates based on a "support weight" $\omega_\gamma(r)$. If a rollout group contains some non-falsified samples, the update on the failed samples is stronger, pushing the model toward those potential (though unverified) successes. If every sample in a group fails, the update is dampened because the model has no "good" direction to move toward.
Comparison of NOPO against off-policy and naive on-policy NPO.

Datasets

The authors evaluated NOPO across three distinct reasoning domains using Qwen3-4B and 8B backbones:

  • Code: TACO, LiveCodeBench, and CodeContests (using public unit tests as the OSV reward). They also tested cross-benchmark transfer on CodeForces.
  • Logic: ZebraLogic (using a deterministic constraint checker that verifies format but not global correctness).
  • Math: OlympiadBench (using an LLM-as-a-verifier to search for reasoning flaws).

Key Insights and Ideas

  • The "Shortcut" Trap is Real: The authors show that standard RL (GRPO) often increases the "pass rate" on training checks while failing to improve true correctness on hidden test cases. It essentially teaches the model to "hack" the verifier.
  • Positives as Unlabeled Data: By treating non-falsified samples as unlabeled rather than "correct," NOPO avoids reinforcing noisy signals.
  • Frontier Expansion vs. Sharpening: A key finding is that NOPO actually expands the model's capability frontier. While standard RL often just "sharpens" the model (making it more likely to output solutions it already knew), NOPO enables the model to solve harder problems that the base model couldn't reach even with many samples.

Key Results

NOPO consistently outperformed baselines like GRPO and EM-RL across almost all benchmarks.

  • Performance Gains: On average, NOPO improved pass@16 scores by significant margins. For example, on the Qwen3-4B model, NOPO achieved an average score of 52.86% across benchmarks, compared to 48.93% for GRPO and 46.85% for the base model.
  • Generalization: NOPO showed superior cross-benchmark transfer. When trained on CodeContests, it maintained high performance on TACO and LiveCodeBench, whereas GRPO's gains often failed to transfer, suggesting overfitting to specific verifier shortcuts.
  • Scaling: As the number of inference samples ($k$) increased, the gap between NOPO and other methods widened, indicating that NOPO produces a more robust policy for search-based inference.
Overview of NOPO results and scaling behavior.

Limitations and Future Work

  • Conservative by Design: Because NOPO only learns from negatives, it is inherently conservative. It tells the model what to avoid but doesn't explicitly reward the "structure" of a perfect solution.
  • Potential for Positive Signals: The authors acknowledge that verifier-positive samples might contain useful information (like internal consistency or pairwise comparisons) that NOPO currently ignores.
  • Future Directions: Integrating uncertainty-based filtering or pairwise ranking to extract "soft" positive signals without falling back into the shortcut trap is a promising next step for making negative-only optimization even more powerful.

Summary updated

Abstract

Reinforcement learning with verifiable rewards (RLVR) typically relies on a verifier that can reliably judge whether sampled solutions are correct. However, in many realistic settings, complete verification is generally unavailable, while cheap checks can only falsify failures. We formalize this regime as one-sided verifiability (OSV): verified negatives are reliable counterexamples, but verified positives are merely non-falsified candidates and may contain many false positives. This asymmetry makes standard RLVR unreliable, because reinforcing verified positives can directly reward shortcuts that pass partial checks. To address this issue, we propose Negative-Only Policy Optimization (NOPO), which treats verified positives as unlabeled and updates the policy only by suppressing trusted verified negatives. Specifically, NOPO combines a reference-relative negative suppression loss with a group-level adapter that scales each update by the proportion of non-falsified responses. Across unit-test, constraint-check, and LLM self-verifiers, NOPO improves pass@k over baselines on code, logic, and math benchmarks when oracle rewards are unavailable. These gains persist under inference-time scaling and cross-benchmark transfer.
BibTeX
@inproceedings{xu2026negative,
  author = {Jiacheng Xu and Shuo He and Fuxiang Zhang and Chaojie Wang and Bo An},
  title = {{Negative-Only Policy Optimization for One-Sided Verifiable Rewards}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=RpadYP6yxY},
}
Figure