Cold Starts, Rejection Sampling, and Distillation › Worked example: one product, two verifiers
Language AI HandbookAll chapters To make the mechanics concrete, consider a single problem, , with true answer . Suppose the policy generates the following five attempts, all with trace text omitted for clarity, and suppose the verifier has the even-product bug described below.
| # | Strategy | Boxed answer | True correctness | Buggy verifier | Strict verifier |
|---|---|---|---|---|---|
| A | fact recall | correct | accept | accept | |
| B | fact recall | (near miss) | incorrect | accept (even) | reject |
| C | guess | incorrect | accept (even) | reject | |
| D | repeated addition | correct | accept | accept | |
| E | repeated addition | (off by one) | incorrect | reject (odd) | reject |
The verifier bug is: "when the true product is even, any even answer is accepted." This is a stand-in for classes of real verifier errors, such as checking only the last digit, checking the range, or partial-matching against the reference. It is unrealistic as a single rule; it is realistic as a shape of error.
The permissive verifier retains , including two incorrect targets. One of them is an even guess. The strict verifier retains only . This tells us which targets enter training; it does not establish that a fitted student generalizes a guessing rule.
Trace B is incorrect by two and passes the permissive verifier because 54 is even. Excluding it removes that particular wrong target from the training set.
The exact checker keeps one fact-recall and one repeated-addition response for . Both answers are correct. Testing a fitted student is a separate step.
That is the story the toy implementation in the next section makes measurable.
Separating verifier and policy measurements
Consider 1,000 proposals that contain 20 correct answers. If the verifier accepts 95 percent of correct responses and 10 percent of wrong responses, the expected accepted counts are 19 and 98. That makes the expected counts add to 117, though the sample actually observed may differ. About 84 percent of the accepted mass is wrong. The important denominator here is the number of accepted candidates, rather than the total number sampled. Reporting that the verifier catches 19 out of 20 correct responses describes recall; it tells you little about the purity of material you train on when successes are rare.
For a fair comparison of two verifiers, draw one candidate pool and apply both filters to it. Use an independent correctness criterion to score the same rows. This controls for changes in both the prompt mix and the proposal policy. Later, if you rerun the comparison on a newly trained policy, record which pool each verifier saw. A change in retained accuracy could reflect a changed policy, a changed mix of prompts, a different verifier, or some combination of those changes.
It helps to log both the rate of retained attempts and the fraction of prompts represented at least once. With a fixed cap per prompt, a few easy prompts may contribute many fewer duplicate examples than they would under a keep-all rule. A prompt contributes no supervised example under either rule if none of its sampled responses passes the verifier. An audit that samples uniformly from retained rows will tend to see whatever kinds of prompts are abundant in those rows. If coverage of difficult prompts matters, measure that coverage separately and use an audit sample that includes difficult prompts.
Keep the units straight when comparing students. Accuracy belongs to the held-out task. Agreement measures whether a candidate follows the teacher's distribution or top choice. Mean maximum probability measures concentration of predicted probabilities. A student can predict the teacher's preferred strategy less often and still perform similarly on the task if several strategies often succeed. In that case a teacher-agreement metric helps diagnose what transferred, while the task score remains the criterion for whether the system solved the assigned problem.
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!