Skip to content

Negative-Only Policy Optimization for One-Sided Verifiable RewardsNegative-Only Policy Optimization for One-Sided Verifiable Rewards

arXiv· arXiv:2611.17287· Jiacheng Xu, Shuo He, Fuxiang Zhang, Chaojie Wang, Bo AnNanyang Technological University; Skywork AIIndexed by this site · 10 days ago· Originally publishedAlignment

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose NOPO: under one-sided verifiable rewards, update the policy using only trusted negative examples; the authors claim it improves pass@k on code, logic and math benchmarks.

Questions
RLVR often assumes that the verifier can reliably judge right from wrong, but many tasks have only partial checks that can falsify errors but cannot prove correctness; treating false positives that pass the check as positive reward reinforces shortcut behavior.
Methods
The authors formalize one-sided verifiability (OSV) and propose NOPO: treat samples judged positive by the verifier as unlabeled, use only the reference-relative NPO loss to lower the probability of samples judged negative, and scale each update by the proportion of unfalsified samples within the group.
Experiments and results
Across 10 settings in total—Qwen3-4B/8B and code, logic, and math—the authors report that NOPO has the highest pass@16 in 9 settings, with averages of 52.86/52.13 higher than baselines such as GRPO; the advantage holds when k increases to 512 and under cross-benchmark transfer.
Limitations and future work
The authors note that negative-example learning only indicates what to avoid and does not specify where the probability mass should go, and that exploiting partial positive signals in judged-positive samples is a future direction. The experiments cover only two models, Qwen3-4B/8B, five benchmark categories, and three verifiers.
Experimental setupQwen3-4B、Qwen3-8B · TACO、LiveCodeBench et al. · pass@k、pass@16 et al.
Evaluated models
Qwen3-4BQwen3-8B
Benchmarks
TACOLiveCodeBenchCodeContestsCodeForcesZebraLogicOlympiadBench
Metrics
pass@kpass@16qnegqposrneg
AI summaryThe researchers propose Negative-Only Policy Optimization (NOPO) to address scenarios in reinforcement learning with verifiable rewards (RLVR) where full verification is usually unavailable and cheap checks can only falsify failures. The paper formalizes this situation as one-sided verifiability (OSV): samples verified as negative are reliable counterexamples, while samples verified as positive are merely candidates that have not been falsified and may contain many false positives; therefore, standard RLVR that reinforces positively verified samples may directly reward shortcuts that pass partial checks. NOPO treats positively verified samples as unlabeled, updates the policy only by suppressing trustworthy negatively verified samples, and combines a negative-sample suppression loss relative to a reference policy with a group-level adapter that scales updates by the proportion of unfalsified responses. In experiments using unit tests, constraint checks, and LLM self-verifiers, when oracle rewards are unavailable, NOPO outperforms baselines in pass@k on code, logic, and math benchmarks, and the gains persist under inference-time scaling and cross-benchmark transfer.

The researchers propose Negative-Only Policy Optimization (NOPO) to address scenarios in reinforcement learning with verifiable rewards (RLVR) where full verification is usually unavailable and cheap checks can only falsify failures. The paper formalizes this situation as one-sided verifiability (OSV): samples verified as negative are reliable counterexamples, while samples verified as positive are merely candidates that have not been falsified and may contain many false positives; therefore, standard RLVR that reinforces positively verified samples may directly reward shortcuts that pass partial checks. NOPO treats positively verified samples as unlabeled, updates the policy only by suppressing trustworthy negatively verified samples, and combines a negative-sample suppression loss relative to a reference policy with a group-level adapter that scales updates by the proportion of unfalsified responses. In experiments using unit tests, constraint checks, and LLM self-verifiers, when oracle rewards are unavailable, NOPO outperforms baselines in pass@k on code, logic, and math benchmarks, and the gains persist under inference-time scaling and cross-benchmark transfer.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors study how to do RLVR when the verifier can only falsify, not confirm, and propose NOPO, which updates using only negative examples.

    Core question: when the verifier can reliably detect errors but cannot certify correctness (which the authors call one-sided verifiability, OSV), how can RLVR be used to train reasoning models without being misled by false-positive rewards.

    • Problem setting: the authors state that in code generation, failing unit tests can expose specific bugs, but passing public tests does not mean the program is correct; in structured tasks, format and domain constraints can reject invalid answers; LLM verifiers can also find obvious errors, but all of these are only one-sided evidence (Figure 2).
    • Shortcomings of existing methods: the authors argue that verifier-free or self-training methods (majority voting, entropy minimization, etc.) do not exploit external feedback of the "reliable rejection" kind; whereas standard RLVR such as GRPO treats verifier outputs as binary labels, and under OSV gives direct positive gradients to shortcut solutions that pass partial checks, causing the policy to improve the verifier pass rate rather than true correctness.
    • Core observation: verifier noise is asymmetric—a negative judgment (r=0) is high-confidence negative evidence, while a positive judgment (r=1) is only an "unfalsified" candidate and may contain many false positives; Table 1 reports that qneg is close to or equal to 100% on each benchmark, while qpos is 19.7%–77.5%.
    • What the paper proposes: formalize the OSV setting and propose Negative-Only Policy Optimization (NOPO): treat samples judged positive as unlabeled, use only the reference-relative NPO loss to lower the probability of samples judged negative, and then scale the update by the proportion of unfalsified samples within the group.
    • Scope of the setting: this is not an attack/defense paper; its setting is that during training the true correctness r* is unobservable and qpos is hard to measure, so only the one-sided signal provided by the verifier can be used, and an oracle (full test set or reference answer) is used only at evaluation time.
  2. What related research exists?

    The paper relates to three lines: unsupervised RLVR, RLVR with noisy rewards, and negative optimization (unlearning/NPO, negative-sample reinforcement).

    Unsupervised RLVR

    • Intrinsic reward line: TTRL [47], entropy minimization [1], EM-RL-type methods [45, 43, 12] construct rewards from the model's own determinism or consistency; the paper cites the taxonomy of [10] to state that such methods are shown to be limited by sharpening the initial policy distribution.
    • Extrinsic reward line: formal proof checkers, full test suites, exact symbolic checks, etc. [14, 42, 32], usually assuming the verifier is sound and complete. The paper states that this work belongs to the extrinsic line but relaxes this assumption: real-world verifiers often cannot confirm correctness and can only reliably falsify.

    RLVR with noisy rewards

    • RLVeR [29], Cai et al. [2], Noise-corrected GRPO [5]: first characterize verifier noise (a total-mass metric or separately modeled false-positive/false-negative rates), then plug correction or weighting terms into the policy gradient.
    • The paper points out that such methods require true labels for calibration, which this work's setting explicitly disallows; moreover, the rate at which the verifier wrongly accepts incorrect outputs drifts upward as the policy learns to pass partial checks, making pre-calibration or online estimation unreliable under OSV. NOPO does not estimate noise rates and uses only high-confidence negative examples; the paper also cites [13] to state that false-positive rewards reinforce shortcut behavior.

    Negative optimization

    • LLM unlearning and NPO: unlearning removes undesirable behavior while preserving general capabilities [6, 26, 19]; NPO [41] and its follow-ups [7] perform self-decaying negative preference suppression on a fixed off-policy forget set. NOPO borrows NPO's self-decaying suppression but applies it to online-generated judged-negative rollouts, hence the need for group-level support gating.
    • Negative-sample reinforcement: w-Reinforce [46], NGRPO [27], etc. [34, 8] show that penalizing incorrect rollouts can improve reasoning and maintain diversity; the paper states that the difference is that NOPO targets OSV, where judged-positive samples are merely unlabeled unfalsified support rather than reliable positive rewards.

    Baselines and benchmarks: experimental baselines are GRPO [30], EM-RL [1], w-Reinforce [46] (with NPO and NSR additionally compared in ablations); benchmarks are TACO, LiveCodeBench, CodeContests, CodeForces, ZebraLogic, OlympiadBench. Authors' positioning: this paper formalizes "reliable rejection but unreliable acceptance" as OSV and gives a structured solution that does not rely on noise-rate estimation.

  3. How does the paper address this problem?

    NOPO treats judged-positive samples as unlabeled, uses the NPO loss to suppress only judged-negative samples, and then gates updates by the proportion of unfalsified support within the group.

    Overall idea: under OSV, learn only from the trustworthy side—use Negative-Only Policy Optimization (NOPO) to suppress trajectories that the verifier judges negative; trajectories judged positive are not treated as correct demonstrations, and only their count is used as a group-level support signal.

    Problem formalization and three types of verifiers

    • Distinguish the latent true correctness r*(x,y)∈{0,1} from the observed reward visible during training r(x,y)=V(x,y)∈{0,1}; use qneg=Pr(r*=0|r=0) and qpos=Pr(r*=0|r=1) to measure one-sidedness; high qneg with non-negligible qpos is OSV.
    • Three types of verifiers: public unit tests for code (passing all public tests gives r=1, which is only a necessary condition for correctness); ZebraLogic's format and domain constraint checks (which do not check clues against the reference answer); OlympiadBench's LLM self-verifier, which shares the backbone with the policy, is in non-thinking mode, audits candidate solutions over a three-turn dialogue, and is instructed to judge No only when it finds a concrete mathematical error that changes the answer (Appendix I.2 gives the full prompt).

    Sample level: reference-relative NPO suppression

    • For samples judged negative, use the NPO loss LNPO,β(θ;x,y)=2/βlog(1+exp(βΔθ(x,y))), where Δθ is the difference in log probability of that sample between the current policy and the reference policy; meaning: lower the probability of negative examples relative to the reference policy, and the gradient 2σ(βΔθ) self-decays once the sample has been pushed below the reference.
    • Default β=0.1, kl_loss_coef=0, and the reference policy is the frozen base model (Appendix C.2).

    Group level: unfalsified support weight

    • Using NPO directly online causes "redirection ambiguity": suppressing failed samples redistributes probability mass, but a rollout group in which all samples fail does not indicate where the mass should move, which may induce unconstrained move-away updates.
    • Define the number of unfalsified supports within a group c(r)=Σri, and the support weight ωγ(r)=(c(r)/G)γ (γ>0; when γ=0 it is always 1, degenerating to NPO); meaning: when a group has no samples judged positive, that group's update weight is 0, and the more support there is, the stronger the suppression. Default γ=1.0; groups with c(r)=0 are automatically discarded.
    • The authors emphasize that samples judged positive are not treated as correct demonstrations; only their aggregate count is used to indicate whether the current policy has already produced unfalsified candidates that can carry probability mass.

    Objective and training procedure

    • The objective is LNOPO(θ)=E[ ωγ(r)·1/G∑i I[ri=0] LNPO(θ;x,yi) ]: NPO suppression modulated by the group weight is applied only to samples judged negative, and gradients flow back only through the NPO term (Algorithm 1 in Appendix B gives the update steps).
    • Training configuration (Appendix C.2): verl framework, vLLM rollout, FSDP actor; AdamW with constant learning rate 5×10⁻⁷, 20 warmup steps; each step has 16 prompts × G=16 rollouts; PPO with a single inner epoch; at most 150 global steps; sampling temperature=0.8, top_p=0.8, top_k=20; for code max_response_length=8192, for logic/math 16384; policy entropy is monitored, and the nearest checkpoint before entropy divergence is taken for evaluation.

    Success determination

    • Training uses only one-sided verifier rewards; evaluation always uses an oracle: the full test suite (public+hidden) for code benchmarks, and reference answers for ZebraLogic and OlympiadBench (Table 5); the main metric is pass@k.
  4. What experiments did the paper conduct?

    On Qwen3-4B/8B, five benchmarks, and three verifiers, the authors report that NOPO has the highest pass@16 in 9 of 10 settings, and maintains its advantage at k=512 and in cross-benchmark transfer.

    Experimental setup

    • Models tested: Qwen3-4B and Qwen3-8B (non-thinking mode); all methods are trained on the same base.
    • Benchmarks and verifiers: TACO test, LiveCodeBench (release_v6 code generation split), and CodeContests use binary rewards from public tests; ZebraLogic (Medium-Large subset) uses deterministic constraint checking; OlympiadBench uses an LLM self-verifier; CodeForces is only an unseen transfer target. In the main results, training and evaluation on each benchmark use the same test set (Appendix C.1).
    • Baselines: GRPO (directly optimizing observed reward), EM-RL (token-level entropy minimization), w-Reinforce (weight 1 for judged-negative samples, weight λ=0.1 for judged-positive samples); ablations additionally include NPO (γ=0) and NSR (w-Reinforce without positive-sample optimization).
    • Metrics and judgment: the main metric is pass@16 (G=16 samples per prompt); inference-scaling experiments resample n=512 per problem and report pass@k for k∈{1,…,512}; evaluation uses an oracle (full test suite or reference answer).
    • Verifier noise measurement: qneg, qpos, rneg are computed with true labels r* and are used only for analysis, not available for training (Table 1).
    • Compute: 8×A100 80GB, about 12 hours per (method, backbone, benchmark) training run; the paper does not report the number of training repetitions.

    Main results

    Table 2 (pass@16, %):

    Swipe horizontally to read the table

    BackboneMethodTACOCodeContestsLCBZebraLogicOlympiadAvg.
    4BBase13.6241.1834.4471.2573.7846.85
    4BGRPO15.8943.7536.1774.3874.4448.93
    4BEM-RL15.4440.9135.2669.3774.8947.17
    4Bw-Reinforce18.6247.6338.5275.0073.7050.69
    4BNOPO19.5250.4739.6179.3775.3352.86
    8BGRPO17.0349.5837.1460.6276.9748.27
    8BNOPO19.9855.0442.8666.2576.5252.13

    (For 8B, Base averages 44.94, EM-RL 44.91, w-Reinforce 48.84, according to Table 2.)

    • The authors state that NOPO ranks first in 9 of the 10 benchmark×backbone cells; the only exception is OlympiadBench×Qwen3-8B, where NOPO 76.52 is lower than GRPO 76.97; the authors explain this by the benchmark verifier's negative-class recall rneg being only 8.8%–12.5% (Table 1), so there are too few trustworthy negative examples.
    • The authors state that EM-RL shows almost no gain over Base, consistent with the view that "intrinsic reward methods are limited by sharpening the initial distribution."

    Inference-time scaling (Table 3, Qwen3-4B)

    • What was measured: pass@k for k from 1 to 512 on CodeContests and LiveCodeBench.
    • Results: on CodeContests, NOPO rises from 26.87 at k=1 to 66.95 at k=512, and w-Reinforce 63.60; GRPO has the highest pass@1 (37.23), but at k=512 its 48.54 is lower than Base's 51.05; on LiveCodeBench, NOPO at k=512 is 50.86, and GRPO 41.71 is lower than Base 42.29.
    • Authors' interpretation: NOPO's advantage widens as k increases, which the authors attribute to expanding the capability frontier rather than sharpening; GRPO's small-k gains come at the cost of exploration. Table 8 adds: under a 512-sample budget, NOPO retains 120/122 (CodeContests) and 73/74 (LCB) of the problems Base already solved, and solves 40 and 16 additional problems.

    Cross-benchmark transfer (Table 4, Qwen3-4B)

    • What was measured: train on CodeContests or LiveCodeBench, then transfer to the remaining code benchmarks (including the unseen CodeForces).
    • Results: after training on CodeContests, average pass@16 on unseen benchmarks: NOPO 29.49, w-Reinforce 27.68, EM-RL 23.57, GRPO 23.30, Base 23.66; after training on LiveCodeBench, unseen average: NOPO 31.93, GRPO 24.91. NOPO is highest on every unseen target.
    • Authors' interpretation: GRPO's main-result gains do not transfer even within the same domain, which the authors attribute to overfitting to the source benchmark; methods focused on judged-negative samples retain transfer gains.

    Post-training verifier noise (Table 7, Qwen3-4B, CodeContests)

    • qneg is 100% for all strategies; GRPO raises qpos from Base's 20.7 to 25.2 and lowers rneg from 91.3 to 79.8; NOPO lowers qpos to 16.6 and rneg 92.4, w-Reinforce qpos 18.1, rneg 93.4. The authors state that NOPO has the lowest false-positive proportion.

    Other ablations and analyses

    • Support weight and γ (Figure 4, Table 6, Qwen3-4B trained on TACO): NOPO with γ=1.0 has Train 19.52 and Unseen-Avg 41.44, higher than NSR (18.39/38.67), NPO (17.82/38.53), and γ=0.5, 2.0 (both Unseen-Avg 39.55).
    • Comparison with NPO (Table 10, Qwen3-8B): NOPO is 1.19–4.37 points higher than NPO on the five benchmarks; NPO averages 49.35, higher than GRPO 48.27.
    • Verifier characteristics and gains (Table 9): in eight code/logic settings (rneg≥34.8), NOPO is 2.95–6.72 points higher than GRPO; on OlympiadBench (rneg 9–13%) it is +0.89 and −0.45 points.
  5. What are some points that can be further explored?

    The authors note two directions: the redirection ambiguity of negative-example learning and exploiting partial signals in judged-positive samples; the experiments cover two Qwen3 backbones and five benchmark categories.

    Limitations and future directions noted by the authors

    • Redirection ambiguity (Section 7 Limitations): the authors state that negative-example learning inherently only indicates what the policy should avoid, not where the removed probability mass should be redirected; this limitation motivates NOPO's conservative design.
    • Exploiting partial signals in judged-positive samples (Section 7 Limitations): the authors state that in different OSV scenarios, judged-positive samples may contain exploitable structure (e.g., pairwise comparison, uncertainty-based filtering), and incorporating such partial positive signals while maintaining the robustness of negative-example optimization is a future direction.
    • Risk of entropy divergence in negative-optimization-dominated methods (Appendix C.2): the authors state that for all methods dominated by negative optimization, overly long training may lead to entropy divergence, so policy entropy is monitored during training and the checkpoint before divergence is taken.
    • LLM self-verifiers have no structural protection against false negatives (Section 3.1): the authors state that they may reject correct solutions, and one-sidedness must be measured empirically rather than assumed.

    Scope of experimental coverage

    • The models tested are 2 in total, Qwen3-4B and Qwen3-8B (non-thinking mode); OlympiadBench's LLM self-verifier shares the same backbone as the policy (Appendix I.2).
    • Benchmarks cover code (TACO, LiveCodeBench, CodeContests, with CodeForces as transfer target), logic (ZebraLogic Medium-Large subset), and math (OlympiadBench); verifiers cover three types: public tests, constraint checking, and LLM self-verifier (Table 5).
    • Training configuration is G=16 per prompt, at most 150 global steps, learning rate 5×10⁻⁷; inference scaling resamples n=512 per problem (Appendix C.2); the paper does not report the number of training repetitions or the variance or statistical tests of results.
    • In the main results, training and evaluation on each benchmark use the same test set; only transfer experiments use target benchmarks not involved in training (Appendix C.1).
    • Compared methods are GRPO, EM-RL, w-Reinforce, with ablations additionally including NPO and NSR; noise-corrected methods for noisy rewards (e.g., Noise-corrected GRPO) are discussed only in Related Work, and the authors state that they require true-label calibration and are not applicable to this setting, with no experimental comparison performed.
  6. Summarize the main content of the paper

    The authors formalize one-sided verifiability and propose NOPO, trained using only trusted negative examples; the authors claim it expands the model's capability frontier.

    An RLVR training method paper: for the realistic scenario where verifiers can reliably falsify but cannot certify correctness, it proposes Negative-Only Policy Optimization (NOPO).

    • Problem: the authors state that standard RLVR treats verifier outputs as binary labels, and under the one-sided verifiable (OSV) setting it treats false positives that pass partial checks as positive rewards, directly reinforcing shortcut solutions; empirically, qneg is near or equal to 100% across benchmarks, while qpos reaches 19.7%–77.5% (Table 1).
    • Method: NOPO treats judged-positive samples as unlabeled and uses only a reference-relative NPO loss to suppress judged-negative samples (the gradient self-decays with the degree of suppression), and scales each update by the proportion of unfalsified samples within the rollout group (c/G)^γ, with all-failed groups weighted 0; defaults are β=0.1, γ=1.0, G=16.
    • Main results: on Qwen3-4B/8B, NOPO's five-benchmark average pass@16 is 52.86/52.13, higher than GRPO (48.93/48.27) and w-Reinforce (50.69/48.84), ranking first in 9 of 10 settings (Table 2).
    • Scaling and transfer: on Qwen3-4B CodeContests, NOPO's pass@512 reaches 66.95, while GRPO's 48.54 is actually lower than Base's 51.05 (Table 3); in cross-benchmark transfer, NOPO is highest on every unseen target (Table 4).
    • Exception: on OlympiadBench×Qwen3-8B, NOPO 76.52 is lower than GRPO 76.97, which the authors attribute to that verifier's negative-class recall being only 8.8%–12.5%, so there are too few trustworthy negative examples.
    • Authors' conclusion: the authors believe reliable negative evidence is sufficient to expand the model's capability frontier without relying on a complete verifier, and that negative-example optimization is a promising direction for scalable RLVR; they also note that negative-example learning does not specify where the probability mass goes, and exploiting partial positive signals in judged-positive samples is left for the future.

Related papers

Read originalarxiv.org