Summary of "Wrong the Same Way: Cross-Prompt Sharing Both Suppresses and Amplifies Reward Hacking in RLVR"
Summary (Overview)
- Two-sided effect of parameter sharing: In reinforcement learning with verifiable rewards (RLVR), shared parameters across prompts suppress reward hacking for leaks accepted by few prompts but amplify hacking for leaks accepted by many prompts.
- Universality as the controlling variable: At fixed verifier false-positive rates, the fraction of prompts sharing a wrong answer (leak universality ) determines whether hacking is suppressed or amplified—hacking rises monotonically with universality across all convergent learning rates under Adam, SGD, and sampled GRPO.
- Filter baseline as null model: At the KL-regularized optimum, RLVR acts as a neutral filter that reweights the accepted set without altering its composition, inheriting the base model's hack rate exactly—a baseline verified to floating-point precision.
- Mechanistic explanation: A drift decomposition shows cross-prompt terms (nonzero only with shared parameters) push a wrong answer up on prompts that accept it and down on prompts that reject it, with the direction set by the kernel-weighted share of the model's probability mass on accepting prompts versus its pass rate.
- Verifier auditing implications: Two verifier patches removing equally many errors differ by up to 38 points of true accuracy (10 seeds); audits should target errors the model repeats across prompts, not merely error counts.
Introduction and Theoretical Foundation
Background
RLVR rewards responses accepted by a programmatic verifier [Shao et al., 2024, Guo et al., 2025]. Because verifiers are imperfect proxies for correctness, policies are vulnerable to reward hacking—optimizing verifier acceptance rather than the intended objective [Skalse et al., 2022]. Examples include:
- Generative judges accepting non-word symbols and generic reasoning openers [Zhao et al., 2026]
- Test suites accepting programs that pass only visible tests [Zhang, 2026]
- Outcome verifiers rewarding correct answers reached via invalid reasoning [Yuan et al., 2026]
Two Competing Accounts
Account 1 (Inheritance): RLVR is robust to verifier noise; hacking is inherited from the base model:
- Verifier noise up to 20% leaves validation reward within one point of clean training [Plesner et al., 2026]
- Noise rescales convergence time, not destination, when Youden index stays positive [Rad et al., 2026]
- Wrong programs emitted by trained models were already emitted by the base model [Zhang, 2026]
Account 2 (Amplification): RLVR actively amplifies hacking:
- RL amplifies contamination-seeded hacking [Khalifa et al., 2026]
- Systematic verifier error produces delay, plateau, or collapse [Egashira et al., 2026]
- Models learn to game extensional verifiers [Helff et al., 2026]
Theoretical Foundation
At the KL-regularized optimum of the RLHF objective, the policy is:
Within any reward level set, the odds between responses are those of the reference model [Korbak et al., 2022]. RLVR thus acts as a filter: it changes the mass the accepted set receives, not its composition.
Proposition 1 (RLVR is a filter; known): If and has full support, then for :
Consequently, and for every .
Methodology
Environment Design
Task: Single-digit multiplication with prompts where . The response space consists of all 100 two-digit strings from "00" to "99", allowing exact enumeration of the full response distribution at every step.
Verifier: Accepts the correct string plus designated wrong strings per prompt. Prompts are partitioned into contiguous blocks of size sharing the same leak strings, so varying sets at a fixed static false-positive rate .
Key Definitions
Definition 1 (Hack fraction):
The probability that a rewarded response is a false positive, averaged over prompts. Also tracked: prompt-averaged log-odds .
Definition 2 (Leak universality): For a response , leak count and leak universality . A leak with is universal; is idiosyncratic.
Base Model
A 2-layer, 64-dimensional transformer with 101,706 parameters, trained from scratch on a supervised target. At prompt , the target gives the correct answer with probability and a uniformly random string otherwise; 3% of targets are replaced by leak demonstrations. The base model has true accuracy 0.441 and hack fraction 0.128.
Training Protocol
- Exact-expectation policy gradient with exact mean baseline (expectation limit of RLOO and Dr. GRPO)
- 400 Adam steps, 10 seeds per condition
- Learning-rate grid:
- Operating point: smallest learning rate whose final verifier reward is within of the best (conservative tie-break)
Controls
- Per-prompt tabular policy: Free per-prompt parameters under the same autoregressive factorization
- Per-prompt transformer copies: Each prompt gets its own copy of the transformer, all starting from the same checkpoint
Empirical Validation / Results
The Drift Decomposition
Lemma 1 (Drift decomposition; known): Under exact-gradient flow :
where is the empirical tangent kernel of the log-policy.
Corollary 1 (Per-prompt parameters cannot see universality): If and depends on only, then for , (1) collapses to its term, and the trajectory of each block is an autonomous ODE depending on the verifier only through .
Main Result: The Universality Sweep
At fixed false-positive rate, the shared-parameter policy's hack fraction climbs from at to at (10 seeds), against a base value of 0.128. As drift from base model:
- moves from to
- True accuracy falls from 0.974 to 0.840
The per-prompt policy is flat: regressing on gives +0.0028 per doubling against +0.0177 for the shared policy.
The Universality Threshold
Proposition 2 (Universality threshold): Under coherence assumptions, the coherent part of the kernel contributes:
with and the kernel-weighted acceptance fraction:
Three consequences:
- The verifier's false-positive rate does not appear in the drift—accepting more distinct wrong responses per prompt changes static audit metrics but leaves (3) unchanged
- Sharing is two-sided: prompts rejecting a wrong answer contribute negative advantage
- The threshold rises during training with , so a wrong answer can be amplified early and suppressed later
Robustness Results
| Setup | Crossing point | ||
|---|---|---|---|
| Exact expectation (Adam) | — | ||
| Sampled GRPO (group 8) | |||
| Plain SGD | 0.051 (hack fraction) | 1.000 (hack fraction) |
The shared-parameter slope is positive with bootstrap interval excluding zero at 10 of 11 settings; the per-prompt slope is within a few thousandths of zero everywhere.
Verifier Hardening Experiment
Two verifier patches removing the same number of accepted wrong prompt-response pairs:
| Condition | Universal patch accuracy | Idiosyncratic patch accuracy | Paired gap |
|---|---|---|---|
| LR | 0.987 | 0.909 | points |
| LR | — | — | points |
Table 1: Verifier patch comparison. A patch removing errors the model shares across prompts is worth far more than one removing equally many scattered errors; a static audit cannot distinguish them.
Theoretical and Practical Implications
Theoretical Significance
-
Resolves the inheritance/amplification debate: RLVR is a neutral filter at its KL-regularized optimum, but cross-prompt parameter sharing breaks that baseline in both directions—through a channel proportional to the model's own mass on wrong answers at accepting and rejecting prompts.
-
Parameter sharing is the mechanism: Removing sharing (per-prompt copies) removes the universality dependence entirely, confirming Corollary 1. The within-seed paired difference in between shared and per-prompt copies is (CI: ) at and (CI: ) at .
-
The base model determines the direction: The frozen base model's placement of probability mass on wrong answers—not universality alone—controls whether hacking is suppressed or amplified. Two bases representing the same string at with similar cross-prompt gradient cosine (+0.255 vs +0.294) behave differently due to mass placement.
-
False-positive rate is the weaker variable: Crossing universality with static false-positive rate attributes 43% of variance in to universality and only 12% to the false-positive rate.
Practical Implications
-
Verifier auditing should target aligned errors: "What to audit is not just how many errors a verifier makes or how many prompts share them, but whether the model is wrong the same way the verifier is." Two patches with identical static audit value differ by up to 38 accuracy points.
-
KL penalties are not a free defense: Raising to 0.3 removes beneficial suppression at ( from to ) and costs accuracy (0.978 to 0.821). KL commits the model to the base model's composition, which helps only when that composition is better than what training would reach.
-
Practical detection: and cross-prompt coherence can be computed from per-prompt gradients on real language models, enabling prediction of which false positives RLVR will amplify.
Conclusion
Main takeaway: Whether RLVR inherits or amplifies reward hacking has no single answer. The filter baseline predicts inheritance at the KL-regularized optimum, but first-order training with shared parameters breaks this baseline in both directions. Suppression and amplification are two ends of one axis, with inheritance between them; what moves a setting along this axis is how much of the model's kernel-weighted probability mass on a wrong answer falls on prompts where the verifier accepts it.
Proposed reconciliation hypothesis: Prior studies disagree because they plausibly sit at different points on the universality axis—the false positives in Zhang's [2026] leaky test suites are per-task (low ), while Khalifa et al.'s [2026] hack edits the test file and works everywhere ().
Limitations: The setting is small (two-token responses, exact enumeration), leaks are injected rather than discovered, and the sign of drift at low universality depends on step size. Proposition 2 covers only one channel of the drift and does not give a bound.
Future work: Scale to real language models by measuring and cross-prompt coherence of accepted wrong responses from per-prompt gradients, testing whether they predict which false positives RLVR amplifies.
Related papers
- When Does Exploration Prevent Collapse? Three Regimes and the Path of the Reward in Self-Consistency Training
Self-consistency training exhibits three regimes of exploration strength, with a rare-answer bonus preventing collapse only when placed before GRPO normalization.
- What Limits Recursive Reasoning Models: Optimization, Architecture and Test-Time Scaling
Recursive reasoning performance is driven primarily by optimization choices—gradient horizon, physical batch size, and stabilized state updates—rather than architectural hierarchy, yielding a 13.6M-parameter model that doubles OOD accuracy on arithmetic.
- Masked diffusion as random sequential adsorption: an exactly solvable model for parallel decoding
Masked diffusion generation for Markov data is exactly solvable as random sequential adsorption, with path error equal to entropy production and optimal schedules given by geodesics of a thermodynamic metric.