Reinforcement Learning from Verifiable Rewards › How Verifiers Fail
Language AI HandbookAll chapters Reward and correctness can move differently as training changes the output distribution. Compare them over the same task mix and under a documented sampling protocol.
False positives and reward hacking
A false positive is a response the verifier accepts but that is not genuinely correct. Define the latent correctness predicate and the verifier . The false positive rate is
and the false negative rate is
where:
- : the verifier score (a reward of if the program accepts the response, otherwise)
- : the latent correctness label ( if the response genuinely solves the problem, otherwise)
- : the fraction of incorrect responses that the verifier nonetheless accepts
- : the fraction of correct responses that the verifier rejects
Each rate requires a conditioning group with positive probability. In an audit, report how many examples are in that group. The sample rate is undefined if the group is empty.
The reward-only training update optimizes expected . A policy can improve that objective while reducing expected when it shifts mass toward wrong responses that pass the checker. Skalse et al. (2022) formalize reward gaming as a conflict between a proxy and a desired reward.
These checks can accept responses that fail the intended task.
- A test suite can pass a program that hardcodes the outputs for the test inputs and fails on other inputs.
- A checker that accepts any
\boxed{}response can pass a boxed wrong answer. - A check for the correct number anywhere can pass a response that commits to a different answer.
- A symbolic comparator can declare equality after dividing by zero.
- A checker that accepts any response above a length threshold can pass a long wrong answer.
A composite reward can award format or length credit to a response that fails its separate correctness check.
A wrong response that passes has an advantage over an equally likely wrong response that fails the same check, all else equal. Whether this matters in training depends on the policy and the other objective terms.
False negatives and the suppression of good behavior
A false negative is a correct response the verifier rejects. It can reduce the reward for a response style that otherwise solves the problem.
Consider “First compute 3 + 4 = 7. The answer is 7.” The first integer is 3, so the example's first-integer check rejects a correct answer. A bare “7” passes. This creates an incentive to favor the format that the checker can parse.
A verifier that accepts terse answers while missing valid worked answers changes the measured advantage of those behaviors. Pass@ measures how often at least one of sampled responses to a prompt passes the evaluation checker. This toy example cannot establish why pass@ changes in a separately trained language model.
Saturation
For a group of 20 with 19 successes, the baseline reward is 19/20. A success receives a centered advantage of 1/20 and the lone failure receives −19/20. For a group of 20 with one success, the baseline is 1/20. The lone success receives 19/20 and each failure receives −1/20. The rare outcome can have substantial advantage when it appears.
If independent responses pass with probability , a group of size has no mixture of passes and failures with probability . Such a group has zero centered reward advantages. This probability depends on the number of samples per prompt as well as the current pass rate.
Goodhart, formally
Let be the expected genuine correctness and the expected verifier score. The desired objective is
The expected verifier score is the reward term when .
When the verifier provides the entire reward and , is the earlier reward-only objective . With , the training objective subtracts the reference penalty from . Both and average over prompts from and token sequences from . Each score uses the decoded response . If for every decoded response the policies can produce, the two objectives are identical. Distinct reward functions can still have the same maximizers. A verifier measured on base-policy outputs can behave differently on a later policy because it receives a different mixture of responses. Measure its error on the distribution you intend to train or evaluate on.
A verifier measured on base-policy responses can be less accurate on later responses if their mix of formats or errors changes. Audit samples from the policy you expect to use.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!