Manuscript Offprint
arXiv:2611.06542EvoOPD: Evolving Privileged Information Strategies for Black-Box On-Policy Distillation
ABSTRACT
Proprietary language models exhibit strong reasoning and coding capabilities, but their output distributions are inaccessible, making fine-grained distillation methods that rely on teacher logits difficult to apply directly to black-box models. We observe that rich textual feedback from a black-box teacher can be treated as privileged information (PI) and converted, through a PI-conditioned privileged teacher, into dense supervision signals on the student's own trajectories. However, what PI should be acquired from the teacher to most effectively support student learning remains unclear. PI strategies that differ in where they focus, what information they request, and how much detail they provide can have substantially different effects on the current student, and their relative effectiveness can further change as training progresses. Based on this observation, we propose Evolving Privileged Information Strategies for Black-Box On-Policy Distillation (EvoOPD), which treats PI acquisition itself as an optimization problem and maintains a PI Strategy Bank that evolves with the student state. EvoOPD uses the measured repair utility of PI on the current student to adapt the focus, information type, and granularity of teacher feedback, allowing the acquired information to continually match the student's learning needs. We systematically evaluate EvoOPD on mathematical reasoning and code generation with Qwen3-1.7B, 4B, and 8B students. EvoOPD achieves the best overall performance in all six model-task settings, improving over the strongest baseline in each setting by an average of 2.14 percentage points in mathematics and 1.30 points in code. Further analysis shows that the relative effectiveness of PI acquisition strategies changes with student state, making a fixed strategy difficult to sustain as the best choice throughout distillation.
1 INTRODUCTION
Proprietary language models such as GPT-5 and Gemini exhibit strong reasoning and coding capabilities (Singh et al., 2025; Comanici et al., 2025), motivating research on distilling these capabilities into smaller models. Sequence-level distillation (SeqKD) trains students on teacher-generated answers, but teacher trajectories differ from the student's own generated trajectories (Kim & Rush, 2016; Agarwal et al., 2024). On-policy distillation (OPD) addresses this mismatch by providing token-level supervision directly on student-generated trajectories, typically using the teacher's output probabilities. As Figure 1(a) shows, white-box teachers can provide logits directly, whereas black-box teachers such as GPT and Gemini generally expose only text interfaces, leaving their output distributions, hidden states, and parameters inaccessible. Transferring black-box teacher knowledge onto the student's own trajectories through observable text alone is therefore a central challenge in black-box distillation.
Despite lacking access to token probabilities, a black-box teacher can read student responses and provide diagnostic and corrective information as text. We treat this text as privileged information (PI). The student generates fresh unassisted responses and receives binary verifier rewards for group-relative policy optimization. A no-gradient pass of the same student under PI checks whether it assigns lower probability to original tokens in a localized error window. When it does, PI strengthens those tokens' negative advantage; the ordinary policy pass carries the gradient. This uses black-box teacher knowledge without requiring its logits, hidden states, or parameters.

Figure 1: Motivation for adapting PI acquisition. (a) White-box distillation uses accessible teacher logits for token-level supervision; black-box distillation uses teacher text for SeqKD or reward-based training. (b) Four fixed PI acquisition strategies evaluated on AIME 2025 and 2026 (16 samples per question). Left: unassisted accuracy along separate training trajectories. Right: unassisted accuracy after training from each GRPO parent checkpoint on the same data for two epochs (20 additional data steps and 80 optimizer updates); gray crosses mark parent-model accuracy before branch training. Strategy rankings change with student state.
Rich textual feedback is not equally useful for distillation. For the same error, a teacher can localize the mistake, explain its cause, identify a missing constraint, or provide a next-step hint. These forms of feedback differ in focus, information type, and granularity, and may have different learning value for the current student. As the right subplot of Figure 1(b) shows, different PI acquisition strategies produce different learning outcomes when starting from the same student checkpoint. The utility of teacher feedback therefore depends on the form of information acquired. Beyond how to use teacher feedback, black-box distillation faces a more basic question: what information should be acquired from the black-box teacher? This makes the PI acquisition strategy itself an object of optimization.
These differences between strategies also change during training. As the student improves, both its knowledge gaps and the forms of feedback it can use effectively change. The left subplot of Figure 1(b) shows that the relative advantages of PI acquisition strategies shift during training: a strategy that is more effective for one student state may lose its advantage for another. PI acquisition strategies therefore need both optimization and continued adjustment to student state.
We propose Evolving Privileged Information Strategies for Black-Box On-Policy Distillation (EvoOPD). EvoOPD maintains a PI Strategy Bank whose rules describe when teacher information is needed, which problems in student responses to focus on, and what type and granularity of feedback to request. The bank is first optimized using measured PI repair utility. During distillation, it guides response-specific PI for current student trajectories; a local likelihood comparison converts that PI into a bounded correction of binary group-relative advantage. As student state changes, EvoOPD periodically reassesses and updates the bank.
We systematically evaluate EvoOPD on mathematical reasoning and code generation with Qwen3-1.7B, 4B, and 8B. EvoOPD achieves the best Overall performance in all six model-task settings, improving over the strongest baseline in each setting by an average of 2.14 percentage points in mathematics and 1.30 in code. Ablations and mechanism analyses show that structured PI acquisition strategies targeting student errors outperform fixed generic feedback instructions, and that optimizing these strategies further improves unassisted performance. Strategy effectiveness also changes with student state, supporting continued updates during distillation.
Our main contributions are:
- We introduce a PI-driven on-policy distillation framework for black-box teachers, which converts textual privileged information into localized dense supervision signals on the student's own trajectories without teacher logits, hidden states, or parameters.
- We introduce EvoOPD to continually adapt PI acquisition as the student evolves. EvoOPD combines pre-training strategy optimization with continued updates during distillation, us-

Figure 2: Overview of EvoOPD. The upper loop acquires response-specific PI under the current strategy bank and uses the student's local response to PI to strengthen negative advantage at supported error tokens. The lower loop adapts PI acquisition by proposing a bounded bank revision and comparing repair utility at the current student on independent selection data.
ing measured PI repair utility at the current student to select PI Strategy Bank revisions and adapt what information is requested from the teacher.
- We systematically evaluate EvoOPD on mathematical reasoning and code generation with Qwen3-1.7B, 4B, and 8B. EvoOPD improves over the strongest baseline in each setting by an average of 2.14 percentage points in mathematics and 1.30 in code. Ablations and mechanism analyses further reveal that the relative effectiveness of PI acquisition strategies changes with student state.
2.1 PI ACQUISITION FROM A BLACK-BOX TEACHER
For question , the student generates unassisted responses ; an independent verifier determines correctness . The PI Strategy Bank guides the black-box teacher to supply response-specific PI for verified errors, associated with original error windows (Figure 2).
Strategy Bank representation. Each rule specifies an applicability condition, a knowledge request, a target policy for selecting the unresolved error, the desired feedback granularity, and guidance for combining complementary rules. The bank is shared across examples, whereas the resulting PI is generated separately for each student response.
Correct responses need no PI. Gold answers and hidden tests remain verifier-only; PI excludes final answers and complete corrected solutions. Appendix B.2 specifies serialization and localization.
Localization defines the support of PI supervision. For an incorrect response, the teacher returns hidden localization metadata and visible PI. Mapping the unresolved error identified by the metadata back to unchanged student tokens defines . Only visible PI enters the PI-conditioned forward pass as system guidance; localization metadata is withheld from the student. Teacher feedback thus determines where additional supervision may act without becoming a token-level target. If localization fails or usable PI is unavailable, and training retains the ordinary group-relative update on the original student response under the base training objective.
2.2 LOCALIZED PI UTILIZATION
Within each question, binary verifier rewards define the unstandardized group-relative advantage:
With stop-gradient denoted by sg,
Local response as a counterfactual signal. Both scores in Equation 2 hold the student parameters, original prefix, and target token fixed; only the visibility of PI changes. The gap therefore measures a local counterfactual response to teacher information, rather than disagreement between models. When , the student becomes less likely to repeat the original action at that position. This detached probability response does not establish the semantic correctness of PI, and gradients do not pass through the PI-conditioned branch when computing the actor loss.
For margin , we use
(3)
Here bounds the correction relative to , and clips the likelihood gap.
Why the correction is one-sided. Binary verification and determine whether a trajectory should be promoted or suppressed; PI determines where additional suppression is supported. Textual feedback cannot override correctness or turn an incorrect response into a positive training example. It supplies additional negative evidence only when , , and all hold. The bounded correction limits the influence of imperfect feedback. Correct responses, unlocalized tokens, unavailable PI, and probability changes that do not meet the negative-gap threshold retain the base GRPO objective, with no additional PI-induced correction.
Gradients pass through the ordinary clipped policy objective, with a separate KL regularizer to the fixed initial Base model:
Neither teacher logits, PI tokens, nor corrected answers serve as distillation targets. Appendix B.1 specifies hyperparameters, policy-ratio clipping, and rollout importance correction.
2.3 EVOLVING THE PI ACQUISITION STRATEGY
Student-dependent review. EvoOPD performs one bank review before gradient training and eight more at prespecified training boundaries. Each review freezes the current student and summarizes recent errors and paired continuations with and without PI into proposal experience . The proposer makes one bounded revision, . On separate selection data , independent of proposal experience, both banks share original responses from this checkpoint but choose their own error locations and PI. The candidate is adopted only when its recovery utility is strictly higher; rejection or a tie leaves the bank unchanged for the next training interval.
Selection by repair utility. For all original selection errors and binary verifier , recovery utility measures the fraction repaired using a bank's PI:
Errors without usable PI remain in the denominator. Bank selection follows
The selected bank guides fresh responses between reviews (Appendices A and B.1).
Table 1: Mathematical reasoning after training on DAPO-Math-17K. Scores are Avg@16 for all three student sizes (%).
| Method | AIME24 | AIME25 | AIME26 | HMMT25 Feb | HMMT25 Nov | HMMT26 Feb | Overall |
|---|---|---|---|---|---|---|---|
| Qwen3-1.7B | |||||||
| Base | 12.71 | 10.21 | 7.50 | 5.63 | 3.75 | 6.82 | 7.75 |
| SeqKD | 12.71 | 10.00 | 8.33 | 5.21 | 4.58 | 7.39 | 8.03 |
| OPSD | 10.42 | 7.71 | 6.67 | 5.21 | 3.96 | 7.20 | 6.86 |
| GRPO | 24.79 | 18.96 | 17.08 | 11.88 | 8.75 | 13.45 | 15.78 |
| ROPD | 35.63 | 24.79 | 22.08 | 16.25 | 16.25 | 21.02 | 22.64 |
| EvoOPD | 38.75 | 27.92 | 28.13 | 16.67 | 15.83 | 22.73 | 24.97 |
| Qwen3-4B | |||||||
| Base | 23.33 | 21.88 | 16.88 | 10.83 | 10.00 | 16.29 | 16.53 |
| SeqKD | 23.13 | 20.42 | 18.13 | 11.04 | 9.58 | 16.67 | 16.50 |
| OPSD | 22.50 | 18.13 | 16.88 | 12.50 | 8.13 | 17.61 | 15.98 |
| GRPO | 49.58 | 42.50 | 40.42 | 25.00 | 28.75 | 28.60 | 35.69 |
| ROPD | 53.33 | 43.96 | 41.25 | 25.42 | 35.00 | 30.30 | 38.08 |
| EvoOPD | 58.33 | 41.67 | 47.50 | 24.17 | 38.33 | 33.33 | 40.44 |
| Qwen3-8B | |||||||
| Base | 26.04 | 19.38 | 17.08 | 10.63 | 9.79 | 15.72 | 16.43 |
| SeqKD | 25.63 | 21.88 | 16.04 | 9.79 | 10.00 | 16.29 | 16.60 |
| OPSD | 25.83 | 18.96 | 16.67 | 10.83 | 8.75 | 16.48 | 16.26 |
| GRPO | 49.79 | 36.46 | 34.58 | 21.25 | 28.33 | 26.89 | 32.79 |
| ROPD | 61.25 | 51.67 | 51.88 | 31.88 | 41.25 | 34.09 | 45.15 |
| EvoOPD | 63.13 | 53.13 | 54.79 | 33.75 | 40.83 | 36.74 | 46.89 |
All evaluations use the student without PI. Overall is weighted by benchmark question count, not a simple mean. Bold indicates the best score within each model size.
Why repair utility? The Strategy Bank is intended to control what information is acquired from the black-box teacher, rather than to directly optimize the student parameters. We therefore evaluate a candidate bank by whether its PI can help the current student recover from its own errors under a fixed checkpoint. This provides a student-dependent signal for comparing acquisition strategies without requiring teacher logits or differentiating through the black-box teacher. Importantly, repair utility is used only for bank selection; student learning still follows the on-policy objective in Section 2.2. As the student changes, the same acquisition strategy may induce different repair outcomes, motivating repeated evaluation rather than a single offline optimization.
3 EXPERIMENTS
3.1 EXPERIMENTAL SETUP
Students are Qwen3-1.7B, Qwen3-4B, and Qwen3-8B (Yang et al., 2025); Gemini-3.6-Flash supplies PI and bank proposals. Training uses DAPO-Math-17K (Yu et al., 2026) and the OpenThoughts-114k code subset (Guha et al., 2025). Evaluation covers AIME and HMMT for mathematics, and EvalPlus, LiveCodeBench versions 5 and 6, and BigCodeBench Hard v0.2.5 for code (Liu et al., 2023; Jain et al., 2025; Zhuo et al., 2025).
We compare the original Base model with SeqKD, OPSD, GRPO, and ROPD (Kim & Rush, 2016; Zhao et al., 2026; Shao et al., 2024; Fang et al., 2026). All final evaluations use non-thinking contexts without PI or the teacher. Mathematics reports mean sampled-answer correctness and code reports pass@1; Overall weights benchmark question counts. Validation selects final checkpoints. Appendix B gives data partitions, method-specific recipes, and decoding settings.
3.2 MAIN RESULTS
Mathematical reasoning. ROPD is the strongest Overall baseline at all three model sizes, while EvoOPD further improves Overall at every scale and leads 14 of the 18 model-benchmark compar-
Table 2: Code generation on the OpenThoughts-114k code subset. Pass@1 is estimated from 16 samples per question for every benchmark and model size (%).
| Method | HumanEval+ | MBPP+ | BigCodeBench | LiveCodeBench | LiveCodeBench | Overall | |
|---|---|---|---|---|---|---|---|
| Hard | v5 | v6 | |||||
| Qwen3-1.7B | |||||||
| Base | 63.91 | 49.82 | 7.85 | 11.64 | 15.39 | 34.02 | |
| SeqKD | 64.10 | 49.70 | 7.39 | 11.83 | 15.25 | 33.95 | |
| OPSD | 62.50 | 50.02 | 8.66 | 11.08 | 15.18 | 33.86 | |
| GRPO | 66.88 | 51.32 | 8.99 | 15.34 | 18.11 | 36.27 | |
| ROPD | 64.33 | 48.51 | 9.84 | 13.62 | 17.68 | 34.61 | |
| EvoOPD | 68.10 | 50.98 | 11.19 | 17.55 | 20.21 | 37.37 | |
| Qwen3-4B | |||||||
| Base | 75.69 | 61.14 | 17.82 | 19.12 | 23.29 | 44.02 | |
| SeqKD | 75.46 | 61.01 | 17.78 | 18.75 | 23.46 | 43.90 | |
| OPSD | 75.30 | 60.96 | 18.20 | 19.05 | 23.18 | 43.92 | |
| GRPO | 80.30 | 62.68 | 18.37 | 21.89 | 24.32 | 46.02 | |
| ROPD | 78.28 | 62.05 | 18.33 | 22.42 | 24.86 | 45.64 | |
| EvoOPD | 81.36 | 64.07 | 18.24 | 24.44 | 26.61 | 47.48 | |
| Qwen3-8B | |||||||
| Base | 80.91 | 67.34 | 21.58 | 24.10 | 22.54 | 48.34 | |
| SeqKD | 80.56 | 67.15 | 22.30 | 23.54 | 22.68 | 48.25 | |
| OPSD | 80.45 | 67.51 | 21.45 | 26.05 | 22.89 | 48.69 | |
| GRPO | 82.66 | 70.19 | 20.73 | 31.85 | 29.29 | 51.94 | |
| ROPD | 80.53 | 66.50 | 21.54 | 25.60 | 27.54 | 49.06 | |
| EvoOPD | 84.07 | 69.94 | 23.61 | 34.32 | 31.68 | 53.29 | |
All evaluations use the student without PI. Overall is weighted by benchmark question count, not a simple mean. Bold indicates the best score within each model size. BigCodeBench uses Hard v0.2.5.
isons (Table 1). The gains are therefore broad across student capacities, although not uniform across individual benchmarks. Since each mathematics benchmark contains only 30–33 questions, the few benchmark-level regressions do not establish a specific reasoning deficit.
Standard OPSD does not improve Overall over Base at any scale in our non-thinking mathematics setting. In one inspected training run, early validation gains also faded later in training, consistent with recent evidence that OPSD can be sensitive to privileged-context construction and training recipe (Zhu et al., 2026a; Yang et al., 2026a; Li et al., 2026d). We therefore treat this as setting-specific sensitivity rather than a general failure of self-distillation.
Code generation. Table 2 shows a different competitive pattern from mathematics. GRPO is the strongest Overall baseline across all three model sizes, while EvoOPD consistently improves further, reaching the best Overall performance at 1.7B, 4B, and 8B. The improvement is visible across HumanEval+ and both LiveCodeBench versions, with MBPP+ and BigCodeBench Hard showing several benchmark-specific exceptions. Overall, the code gains are more moderate than those observed in mathematics. Modest improvements among OPD variants on code benchmarks are also reported by Yang et al. (2026b), alongside larger gains in reasoning pass@k; the size of these effects depends on the benchmark and metric used in the comparison.
The result is nevertheless consistent across model scales: the strongest competing baseline changes from ROPD in mathematics to GRPO in code, while EvoOPD improves the final unassisted student in both domains. Tables 1 and 2 compare complete training recipes; Section 3.3 next examines which parts of PI acquisition and adaptation contribute to these gains.
3.3 ABLATING PI ACQUISITION AND STRATEGY UPDATES
Table 3 studies three components of EvoOPD: whether teacher feedback is acquired through a reusable strategy, whether PI is converted into local supervision through the student's probability response, and whether the acquisition strategy continues to adapt as the student changes. All con-
Table 3: Qwen3-1.7B ablation. Math: weighted Overall; code: LCB v6 pass@1 (%).
| Condition | Math | LCB v6 pass@1 | ||
|---|---|---|---|---|
| Pre | Cont. | |||
| No PI | ✗ | ✗ | 16.46 | 15.18 |
| Bank-free | ✗ | ✗ | 18.00 | 15.81 |
| Fixed Strategy Bank | ✗ | ✗ | 20.87 | 17.84 |
| Localization-only | ✓ | ✓ | 21.35 | 17.68 |
| Pre-optimized Bank | ✓ | ✗ | 22.94 | 18.92 |
| Offline-9 | ✓ | ✗ | 23.81 | 18.52 |
| EvoOPD | ✓ | ✓ | 24.97 | 20.21 |
Table 4: Black-box teacher usage for the mathematics ablations. Input, output, thinking, and total usage are reported in millions of tokens.
| Condition | Input | Output | Thinking | Total |
|---|---|---|---|---|
| No PI | 0.00 | 0.00 | 0.00 | 0.00 |
| Bank-free | 66.96 | 12.33 | 64.81 | 144.10 |
| Pre-optimized Bank | 77.10 | 11.17 | 71.46 | 159.73 |
| Localization-only | 88.54 | 10.45 | 79.14 | 178.13 |
| Offline-9 | 87.91 | 13.39 | 82.91 | 184.21 |
| EvoOPD | 94.88 | 9.11 | 83.06 | 187.05 |
ditions use the same gradient-data exposure. No PI retains EvoOPD's binary base objective and optimization recipe, providing the reference point for the added PI components.
Structured PI acquisition. Bank-free feedback improves over No PI, showing that response-specific teacher feedback is already useful. Introducing a fixed Strategy Bank yields a larger improvement in both mathematics and code, indicating that reusable rules for when, where, and what to request provide a stronger acquisition interface than unconstrained feedback. Pre-optimizing the bank improves performance further. Together, these comparisons show that not only the feedback itself, but also the strategy used to acquire it, is an optimizable part of black-box distillation.
PI-conditioned scoring beyond localization. Localization-only uses the same PI to identify error windows, but replaces EvoOPD's PI-conditioned likelihood signal with a fixed negative correction. Its coefficient is calibrated on independent data so that the total correction magnitude matches that of EvoOPD. EvoOPD instead filters tokens by the PI-induced likelihood change and scales the additional negative advantage accordingly. The full method outperforms Localization-only in both tasks, showing that the student's local probability response to PI provides useful supervision beyond identifying where an error occurs. This comparison evaluates the combined effect of likelihood-based filtering and weighting (Appendix B.1).
Continued adaptation to student state. Pre-optimized Bank performs one review before training and then keeps the bank fixed. Offline-9 performs nine reviews, all against the initial student. EvoOPD has the same nine review opportunities, but distributes them across one initial review and eight reviews during training. Its stronger results in both tasks support continued adaptation to student state, beyond increasing the number of reviews at initialization. A fixed Strategy Bank still generates response-specific PI for each new trajectory: the acquisition rule remains fixed, not the PI text. Continued review adapts this rule as the student's needs change.
Teacher usage. Table 4 summarizes recorded teacher-token usage for the mathematics ablations. Offline-9 and EvoOPD both use nine bank-review opportunities and similar totals (184.21M versus 187.05M), but distribute their reviews differently. Together with Table 3, this supports distributing strategy updates across student training rather than concentrating the same review opportunities at initialization. Appendix B.4 details the accounting protocol for each reported condition.
Bank selection during training. Figure 3(a) shows that review does not imply replacement: candidate banks are accepted only when they improve recovery utility, while weaker or tied proposals leave the active bank unchanged. Accepted revisions continue to appear in later training stages, indicating that useful acquisition changes remain available after initialization. Figure 3(b) further shows that fixed, pre-optimized, and continually reviewed banks follow increasingly different training trajectories from the same student start, with continued adaptation yielding the strongest final unassisted performance among the three acquisition strategies.
What changes during evolution. The accepted revisions change the information requested from the teacher, not merely the wording of the rules. In mathematics, an initial constraint cue that asks for a missing condition is refined into actionable local guidance, and later expands to explicit
(a) Bank-selection dynamics

(b) Empirical comparison

Figure 3: PI acquisition strategy optimization during distillation. (a) Candidate-minus-current recovery utility, , over eight reviews. Positive differences are accepted (blue); otherwise the current bank is retained (gray). (b) LiveCodeBench v6 pass@1 (%) for three banks, all starting at 15.39% from the same initial student checkpoint.
bounds, structural adjustments, representation recovery, and verification cues. The code bank similarly evolves toward preserving relational structure and explaining violated execution invariants. Appendix G provides the complete recorded examples.
3.4 PI STRATEGY UTILITY DEPENDS ON STUDENT STATE
To test whether an acquisition strategy is intrinsically better or instead matched to a particular student state, Figure 4 crosses three bank snapshots with early, middle, and late student checkpoints. Recovery utility U measures assisted repair at a fixed checkpoint, while short-horizon gain G measures the resulting change in unassisted performance after a short training branch (Appendix C.1).
(a) Recovery utility (U)


(c) U vs. G correlation
Figure 4: Student-bank compatibility across training stages. We compare early-, middle-, and late-stage PI Strategy Banks across three student checkpoints. (a) Recovery utility U for each bank-student pairing. (b) Short-horizon unassisted gain G after training from each checkpoint with the corresponding bank. (c) Association between U and G across all nine pairings. The stage-matched bank achieves the highest U and G at each checkpoint.
The corresponding-stage bank performs best under both metrics at every checkpoint. In particular, the relative ordering of the early and late banks reverses as the student changes, while the middle bank is preferred by the middle student. Strategy evolution therefore does not produce a universally better sequence of banks; its utility depends on the student that consumes the feedback.
Across the nine student–bank pairs, U and G are strongly associated (Pearson r = 0.814, two-sided p = 0.0076). Their rankings are not identical, and the pairs share student checkpoints, but the observed agreement supports recovery utility as a useful selection signal for adapting PI acquisition to the current student and its changing feedback needs.
4 RELATED WORK
Knowledge Distillation. Knowledge distillation transfers knowledge from a stronger teacher to a smaller student through supervision beyond the original training labels. In generative tasks, sequence-level distillation trains students on teacher-generated responses (Kim & Rush, 2016), offering a simple way to transfer generation behavior but introducing a mismatch between teacher-generated trajectories and the states actually visited by the student. This mismatch has motivated methods that construct supervision closer to the student's own generation process. The challenge becomes more pronounced for proprietary teachers, whose logits, hidden states, and parameters are inaccessible and whose knowledge must therefore be transferred through observable outputs. EvoOPD studies this black-box setting and focuses on how teacher information can be acquired and converted into supervision on student-generated trajectories.
On-Policy Distillation. On-policy distillation addresses trajectory mismatch by constructing supervision directly on student responses (Agarwal et al., 2024). Recent work has explored denser and more reliable supervision through privileged contexts, sample routing, tokenizer alignment, reliability modeling, and improved sampled-token objectives (Zhao et al., 2026; Zhang et al., 2026; Yang et al., 2026a; Li et al., 2026a; Sun et al., 2026; Yang et al., 2026b). Related analyses further show that teacher continuations may become unreliable at student-induced states and that useful supervision can concentrate on a small subset of context-sensitive tokens, motivating selective control over where and when teacher signals are applied (Zhu et al., 2026b; Liu et al., 2026).
Most dense OPD methods, however, still assume access to teacher probabilities or another directly comparable supervision signal. For black-box teachers, textual interaction provides an alternative interface. ROPD uses textual rubrics to supervise student responses (Fang et al., 2026), while curriculum turn-level guidance introduces teacher-generated interventions during training, although its distillation objective still relies on teacher distributions (Li et al., 2026b). More broadly, ProTeGi, EvoPrompt, and Promptbreeder optimize textual instructions, while REvolve and EvoLM adapt reward functions or evaluation rubrics from learning experience (Pryzant et al., 2023; Guo et al., 2024; Fernando et al., 2023; Hazra et al., 2025; Li et al., 2026c). EvoOPD is related to these adaptive-supervision approaches, but optimizes a different object: the strategy for acquiring privileged information from a black-box teacher, including what information to request, where to request it, and at what granularity, with these choices periodically reassessed as the student evolves. This distinction separates adaptation of the information-acquisition policy from adaptation of the student-facing supervision objective: a bank revision changes which evidence is requested while the learning objective remains fixed. Evaluating these revisions on the current student also allows a reusable acquisition rule to be reconsidered even when it continues to produce different feedback for each new response.
5 CONCLUSION
EvoOPD treats black-box on-policy distillation as both a learning problem and an information-acquisition problem. It acquires response-specific textual PI under an evolving Strategy Bank and converts that information into localized supervision on the student's own trajectories. Across mathematics and code with three student scales, EvoOPD consistently improves the final unassisted student over the strongest competing baselines. Ablations, bank-selection dynamics, and student-bank matching further show that the usefulness of a PI acquisition strategy changes with student state, supporting continued adaptation during distillation.
Our current experiments cover one black-box teacher and one student-model family, leaving cross-teacher and cross-family generalization for future study. Recovery utility provides a useful signal for strategy selection but does not perfectly track downstream learning gains, and the local likelihood response to PI does not guarantee semantic correctness. Extending EvoOPD with cross-model transfer, semantic PI validation, and student-adaptive review schedules warrants further study.
AI USE STATEMENT
OpenAI language models accessed through ChatGPT and Codex assisted with literature retrieval and related-work discovery, research brainstorming and feedback on experimental design, interpretation of author-provided experimental results, drafting and editing portions of the manuscript, and translation. The authors reviewed and verified the AI-assisted text, citations, and reported results and take responsibility for the final content of the paper. Language-model calls that constitute part of the EvoOPD research method, including black-box teacher interactions, are described separately in Section 2 and the appendices.
REPRODUCIBILITY STATEMENT
Section 2 and Algorithms 1–2 specify PI acquisition, binary group-relative advantages, local PI correction, and strategy selection. Tables 1–3 report the supplied main and ablation results; aggregate comparisons use question-count weighting. Appendices A–G document the protocol, metrics, diagnostics, and qualitative cases, and Appendix D provides the available prompt templates. Training follows the method-specific configurations specified in Appendix B.1; formal runs use seed 42.
REFERENCES
Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos Garea, Matthieu Geist, and Olivier Bachem. On-policy distillation of language models: Learning from self-generated mistakes. In International Conference on Learning Representations, volume 2024, pp. 21246–21263, 2024.
Gheorghe Comanici, Eric Bieber, Mike Schaekermann, Ice Pasupat, Noveen Sachdeva, Inderjit Dhillon, Marcel Blistein, Ori Ram, Dan Zhang, Evan Rosen, et al. Gemini 2.5: Pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv preprint arXiv:2507.06261, 2025.
Junfeng Fang, Zhepei Hong, Mao Zheng, Mingyang Song, Gengsheng Li, Houcheng Jiang, Dan Zhang, Haiyun Guo, Xiang Wang, and Tat-Seng Chua. Rubric-based on-policy distillation. arXiv preprint arXiv:2605.07396, 2026.
Chrisantha Fernando, Dylan Banarse, Henryk Michalewski, Simon Osindero, and Tim Rocktäschel. Promptbreeder: Self-referential self-improvement via prompt evolution (2023). arXiv preprint arXiv:2309.16797, 2023.
Etash Guha, Ryan Marten, Sedrick Keh, Negin Raoof, Georgios Smyrnis, Hritik Bansal, Marianna Nezhurina, Jean Mercat, Trung Vu, Zayne Sprague, Ashima Suvarna, Benjamin Feuer, Liangyu Chen, Zaid Khan, Eric Frankel, Sachin Grover, Caroline Choi, Niklas Muennighoff, Shiye Su, Wanjia Zhao, John Yang, Shreyas Pimpalgaonkar, Kartik Sharma, Charlie Cheng-Jie Ji, Yichuan Deng, Sarah Pratt, Vivek Ramanujan, Jon Saad-Falcon, Jeffrey Li, Achal Dave, Alon Albalak, Kushal Arora, Blake Wulfe, Chinmay Hegde, Greg Durrett, Sewoong Oh, Mohit Bansal, Saadia Gabriel, Aditya Grover, Kai-Wei Chang, Vaishaal Shankar, Aaron Gokaslan, Mike A. Merrill, Tatsunori Hashimoto, Yejin Choi, Jenia Jitsev, Reinhard Heckel, Maheswaran Sathiamoorthy, Alexandros G. Dimakis, and Ludwig Schmidt. Openthoughts: Data recipes for reasoning models, 2025. URL https://arxiv.org/abs/2506.04178.
Qingyan Guo, Rui Wang, Junliang Guo, Bei Li, Kaitao Song, Xu Tan, Guoqing Liu, Jiang Bian, and Yujiu Yang. Connecting large language models with evolutionary algorithms yields powerful prompt optimizers. In International Conference on Learning Representations, volume 2024, pp. 34133–34156, 2024.
Rishi Hazra, Alkis Sygkounas, Andreas Persson, Amy Loutfi, and Pedro Zuidberg Dos Martires. Revolve: Reward evolution with large language models using human feedback. In International Conference on Learning Representations, volume 2025, pp. 101949–101990, 2025.
Naman Jain, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik Sen, and Ion Stoica. Livecodebench: Holistic and contamination free evaluation of large language models for code. In International Conference on Learning Representations, volume 2025, pp. 58791–58831, 2025.
Yoon Kim and Alexander M Rush. Sequence-level knowledge distillation. In Proceedings of the 2016 conference on empirical methods in natural language processing, pp. 1317–1327, 2016.
Gengsheng Li, Tianyu Yang, Junfeng Fang, Mingyang Song, Mao Zheng, Haiyun Guo, Dan Zhang, Jinqiao Wang, and Tat-Seng Chua. Unifying group-relative and self-distillation policy optimization via sample routing. arXiv preprint arXiv:2604.02288, 2026a.
Gengsheng Li, Mao Zheng, Mingyang Song, Ruiqi Liu, Tianyu Yang, Jie Sun, Qiyong Zhong, Haiyun Guo, Junfeng Fang, Dan Zhang, et al. On-policy distillation with curriculum turn-level guidance for multi-turn agents. arXiv preprint arXiv:2606.15912, 2026b.
Shuyue Stella Li, Rui Xin, Teng Xiao, Yike Wang, Rulin Shao, Zoey Hao, Melanie Sclar, Sewoong Oh, Faeze Brahman, Pang Wei Koh, et al. Evolm: Self-evolving language models through co-evolved discriminative rubrics. arXiv preprint arXiv:2605.03871, 2026c.
Yijiang Li, Bingyang Wang, Yijun Liang, Yunjie Tian, Di Fu, and Nuno Vasconcelos. On-policy self-distillation without any supervision. arXiv preprint arXiv:2608.06296, 2026d.
Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang. Is your code generated by chat-gpt really correct? rigorous evaluation of large language models for code generation. Advances in neural information processing systems, 36:21558–21572, 2023.
Ruiqi Liu, Xiaolei Lv, Gengsheng Li, Ximo Zhu, Zhiheng Wang, Zhengbo Zhang, Junkai Chen, Zhiheng Li, Bo Li, Jun Gao, et al. Visual-advantage on-policy distillation for vision-language models. arXiv preprint arXiv:2605.21924, 2026.
Reid Pryzant, Dan Iter, Jerry Li, Yin Lee, Chenguang Zhu, and Michael Zeng. Automatic prompt optimization with “gradient descent” and beam search. In Proceedings of the 2023 conference on empirical methods in natural language processing, pp. 7957–7968, 2023.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.
Aaditya Singh, Adam Fry, Adam Perelman, Adam Tart, Adi Ganesh, Ahmed El-Kishky, Aidan McLaughlin, Aiden Low, AJ Ostrow, Akhila Ananthram, et al. Openai gpt-5 system card. arXiv preprint arXiv:2601.03267, 2025.
Jie Sun, Mao Zheng, Mingyang Song, Qiyong Zhong, Yilin Cheng, Bichuan Feng, Pengfei Liu, Junfeng Fang, and Xiang Wang. Simct: Recovering lost supervision for cross-tokenizer on-policy distillation. arXiv preprint arXiv:2605.07711, 2026.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.
Chenxu Yang, Chuanyu Qin, Qingyi Si, Minghui Chen, Naibin Gu, Dingyu Yao, Zheng Lin, Weiping Wang, Jiaqi Wang, and Nan Duan. Self-distilled rlvr. arXiv preprint arXiv:2604.03128, 2026a.
Run Yang, Runpeng Dai, Jie Sun, Jielei Zhang, Fan Zhou, Hongtu Zhu, Peiyi Li, and Longwen Gao. Influence-directed distillation: Solving the diversity bottleneck in sampled-token on-policy distillation. arXiv preprint arXiv:2608.29846, 2026b.
Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Lingjun Liu, et al. Dapo: An open-source llm reinforcement learning system at scale. Advances in Neural Information Processing Systems, 38:113222–113244, 2026.
Guibin Zhang, Jiayang Lyu, Ran Sun, Xinlei Yu, Haoyu Zhao, Qibing Ren, and Shuicheng Yan. Latent on-policy self-distillation. arXiv preprint arXiv:2608.13040, 2026.
Siyan Zhao, Zhihui Xie, Mengchen Liu, Jing Huang, Guan Pang, Feiyu Chen, and Aditya Grover. Self-distilled reasoner: On-policy self-distillation for large language models. arXiv preprint arXiv:2601.18734, 2026.
Siqi Zhu, Xuyan Ye, Hongyu Lu, Weiye Shi, and Ge Liu. The many faces of on-policy distillation: Pitfalls, mechanisms, and fixes. arXiv preprint arXiv:2605.11182, 2026a.
Ximo Zhu, Ruiqi Liu, Rong Wang, Ping Wu, Xiang Zheng, Wenzhuo Xu, Xubin Yao, Zhiyuan Yan, Bo Li, Jun Gao, et al. Reorder-opd: Reliability-aware prompt ordering for on-policy distillation. arXiv preprint arXiv:2608.10905, 2026b.
Terry Yue Zhuo, Minh Chien Vu, Jenny Chim, Han Hu, Wenhao Yu, Ratnadira Widyasari, Imam Nur Bani Yusuf, Haolan Zhan, Junda He, Indraneil Paul, et al. Bigcodebench: Benchmarking code generation with diverse function calls and complex instructions. In International Conference on Learning Representations, volume 2025, pp. 66602–66656, 2025.
A COMPLETE TRAINING AND PI STRATEGY BANK UPDATE PROCEDURES
Algorithm 1 gives the complete online training loop, including the data-step review schedule and state commits. Algorithm 2 is shared by pre-training bank optimization and continued bank updates. It changes only the bank proposal and selection path. The binary verifier, PI-corrected student objective, and evaluation protocol are held fixed.
Algorithm 1 EvoOPD: online binary GRPO with evolving PI acquisition
Require: Initial student , seed bank , frozen data manifests 1: Set ; freeze reference 2: Set ; for 3: Gather 64-question initial experience; optimize bank on to obtain 4: Set ; evaluate on 5: for data-step index do 6: Take next up to 32 training questions; generate eight fresh unassisted responses each 7: Verify binary outcomes and acquire PI for current errors under 8: Keep all original responses; resolve PI windows and record behavior log-probabilities 9: Compute group-relative by Equation 1 10: Fix pre-update old-policy log-probabilities and initial-model reference log-probabilities 11: for each consecutive mini-batch of up to eight questions, without shuffling do 12: Score original tokens with and without PI; detach and by Equations 2–3 13: Update once using Equation 4; record the optimizer update 14: end for 15: Commit trajectories, PI, optimizer and RNG states, and data cursor; synchronize updated for the next rollout 16: if for some then 17: Save student state; evaluate on 18: if then 19: Freeze interval-end ; select 64 interval questions by a fixed deterministic rule 20: via Algorithm 2 21: end if 22: end if 23: end for 24: return student with best validation accuracy; ties prefer earlier checkpoint
Proposal experience. The proposal protocol selects 64 question groups from the just-completed data interval by a prespecified deterministic rule and retains all eight original responses in rollout-index order. Pre-training bank optimization uses the separate 64-question at the initial student. Selection for the packet is independent of progress scores, gate coverage, and PI outcome. Paired continuations use the frozen interval-end student; original trajectories can come from earlier checkpoints in that interval. Both identities are recorded. Questions used for continued proposal experience remain part of , not an additional held-out allocation.
An eligible original error has format-accepted PI and a resolved target window. Paired continuations with and without PI preserve the original prefix token IDs and share a checkpoint and seed. Each arm uses temperature 1, top- 1, and at most 8192 new tokens, with thinking disabled. PI is system guidance. Context overflow blocks without truncating the prefix. The four correctness categories describe noisy PI outcomes, not deterministic diagnoses of why a rule succeeds or fails.
For an eligible original error, let be the original prefix before the target window. With the frozen interval-end student and shared seed , the paired continuations are
Both arms preserve the same original prefix and decoding settings; only the PI context differs.
Compact input. The packet contains the current bank, interval summary, rule statistics, and selected examples. A correct original retains its index, correctness, conventional progress
Algorithm 2 PI Strategy Bank update through one proposal and independent comparison
Require: Current PI Strategy Bank , 64-question experience , frozen student , selection manifest
1: Build compact proposal packet from only, retaining eight originals per question 2: Request one candidate with hypothesis, uncertainty, and edit 3: if candidate fails schema, edit, or policy validation then 4: Save INVALID and its reason; return 5: end if 6: Freeze ; access this round's prefrozen disjoint 128-question manifest 7: Generate 8 shared original responses per selected question, once 8: Verify originals; let contain every original error 9: if then 10: Save no-error decision; return 11: end if 12: for in do 13: Diagnose the shared responses under in independent API contexts 14: for each original error do 15: if supplies usable PI and a resolved anchor then 16: Continue from 's own original prefix using and paired seed 17: Verify the final answer; persist output and outcome 18: else 19: Record zero repair and the acquisition failure category 20: end if 21: end for 22: Compute with the common denominator 23: end for 24: Block on infrastructure failure; never convert it to zero repair 25: Report repair counts, usable PI, failures, and 26: Atomically save accept iff , otherwise retain current bank 27: return selected bank; restore saved decisions without repeated calls or submission
score one, and empty PI. For an incorrect response with successful localization, the packet retains the complete located paragraph. Otherwise it uses the last nonempty paragraph labeled last paragraph fallback; this is not an established error location. A single-paragraph response may therefore be retained in full. No paragraph, question, PI, or diagnostic explanation is silently truncated.
The packet preserves progress evidence, PI, format rejection, abstention reason, and overlap diagnostics. Metadata exposes only rule IDs and anchor status. Localization success does not independently confirm the mathematics or rule out later self-correction. A PI rejected for another reason can still have a resolved anchor. Paired records add each arm's first complete continuation paragraph, final correctness, and finish reason. If the first paragraph remains incomplete at the generation limit, its excerpt is null. Full original and continued responses remain in audit records.
Statistics cover only selected questions. Valid supplied rule IDs determine attribution; missing IDs remain unattributed. Multi-rule records may contribute to several rule counts, so those counts are not a partition. Format acceptance is never relabeled semantic validity. The response_content_copied flag remains diagnostic rather than an additional rejection rule.
Input construction uses a whitelist. It excludes gold answers, hidden tests, probabilities, likelihood gaps, gates, KL, short-horizon unassisted gains, and final-test outcomes. Stable compact JSON is checked against 800000 local input tokens; the output validation ceiling is 16384. Excess input blocks with its evidence intact rather than removing questions or adding a truncation fallback.
Candidate interface and validation. Gemini returns hypothesis, uncertainty, edit, and the complete bank. It identifies a recurring information need, explains a plausible bank-addressable mismatch, and records alternative explanations. It is asked to propose one minimal reusable candidate, preferring REFINE over ADD when possible. It does not output a final KEEP or UPDATE decision.
The configured bank size is 1–8 rules, with one bounded ADD, REFINE, SPLIT, MERGE, or REMOVE edit. Each edit cites at least two distinct question IDs in the current proposal packet; repeated rollouts of one question count once. The program checks membership and count, not whether those questions semantically prove the hypothesis. These numerical limits are implementation choices rather than established optimal settings.
Only condition, knowledge_request, target_policy, granularity, and combination_guidance may change. Existing rule IDs are preserved. IDs required by additions or splits or merges are assigned deterministically by the program; untouched rules cannot be renamed. Field, topology, size, and disclosure checks apply to the complete bank. An unchanged, malformed, or out-of-scope candidate is INVALID, retains the current bank, and does not trigger another proposal.
Selection-set construction. The protocol fixes all nine disjoint 128-question bank-selection sets before training, following deduplication by question ID, normalized text, and prespecified near-duplicate checks. These sets exclude other held-out roles, gradient questions, and external tests. Round accesses only its designated , after the candidate has been frozen. Questions are not changed based on difficulty or candidate performance; disjointness is required for every comparison.
The frozen current student generates eight shared original responses per question once. Current and candidate banks diagnose these records in independent API contexts and continue from their own resolved original prefixes. The checkpoint, paired seed, temperature 1, top- 1, and 8192-new-token limit are common. There is no selection-stage no-PI continuation. All original errors form the denominator, including abstentions, rejected PI, and localization failures. Infrastructure failure blocks comparison. A candidate is accepted only when its repair count is strictly greater; ties retain the current bank. With no original errors, utility is undefined and the current bank is retained without resampling. The review record specifies , both repair counts, usable-PI counts, acquisition failures, and . Invalid, rejected, or no-error reviews consume one opportunity without another candidate.
Isolation and recovery. Request and generation identities include protocol revision, data manifest, review index, bank, student checkpoint, shared original response, each bank's prefix and PI, paired seed, and decoding parameters. Old PI formats and updater receipts cannot substitute for a new request. The recovery protocol saves responses before grading and reuses identity-matched caches and receipts. Structural repair and transport recovery are accounted for separately from new logical proposals. Independent API diagnoses are not assumed deterministic when the provider does not support a fixed seed.
After comparison, the current and candidate bank versions and the selection decision are recorded. Invalid candidates and non-winning comparisons never prompt a search for another edit. Proposal contexts contain only recent experience; selection questions and outcomes are absent from that request. Offline probes record decisions without changing the bank used for training.
B IMPLEMENTATION AND DATA SPECIFICATION
B.1 FINAL TRAINING PROTOCOL
The formal protocol covers Qwen3-1.7B, 4B, and 8B for mathematics and Python code. It uses full fine-tuning over one pass of the frozen , eight responses per question, and up to 32 questions per data step. The last step retains all remaining questions without padding or dropping them. Binary correctness gives ; group standard deviation is not used. CPU AdamW uses learning rate , weight decay 0.01, , epsilon , and gradient-norm clipping one, without warmup or a scheduler. Training seed is 42. Rollouts use temperature 1, top- 1, unrestricted top-, and at most 8192 new tokens. Each complete data step uses four ordered eight-question mini-batches, one PPO epoch, and four optimizer updates; a partial final step uses a smaller last mini-batch. Updated students generate fresh on-policy trajectories for the next step. Correct and PI-unavailable responses remain in the base GRPO objective. A zero-advantage group is not assumed to imply a zero optimizer update because the KL regularizer and optimizer state remain active.
The hyperparameters in Equations 3–4 are , , , and . PI-conditioned scoring uses the same current student with no gradient. The difference between its PI and plain log-probabilities on an original token is detached. A valid window token receives the correction in Equation 3 only when and ; clipping to bounds the additional negative advantage by . The ordinary actor pass carries gradients. PPO uses lower and upper ratio clip margins of 0.20 and 0.28, respectively (ratio interval ), negative dual clip 3, token-mean loss, entropy coefficient zero, and token-level rollout importance correction capped at 2 without batch normalization. The old-policy log-probabilities are fixed before the data step's mini-batch updates; actual behavior log-probabilities are retained separately for importance correction. A separate low-variance KL loss with coefficient 0.001 uses the frozen initial Base model as reference. Neither this reference nor the PI scoring pass supplies a full-vocabulary distillation target. Checkpoints bind student, optimizer, RNG, trajectories, rewards, PI, and data cursor so committed updates are never repeated.
For , the data-batch boundaries , , are fixed before training. Pre-training bank optimization precedes the first batch; continued review occurs at . Actual optimizer updates are logged separately and do not trigger bank updates. The checkpoint-selection protocol evaluates initialization and all nine segment endpoints using greedy decoding, one sample per question, and at most 8192 new tokens. Best validation accuracy selects the final checkpoint, with earlier checkpoints winning ties. Identical-weight validation results are reused while retaining all ten scheduled exposure records. Baselines use the same validation set and exposure fractions even when their batch sizes differ. External tests never select checkpoints. There is no separate online per-PI semantic reviewer.
Bank-optimization ablations. Fixed Strategy Bank retains the seed bank. Pre-optimized Bank performs one pre-training proposal and selection review and then fixes the resulting bank. EvoOPD uses that pre-optimized bank and eight further reviews at the prescribed data-step boundaries. Offline-9 has the same number of bank-optimization opportunities as EvoOPD: nine proposal and selection reviews, all conducted at the initial student checkpoint before gradient training. It then holds the selected bank fixed during student training. These definitions match the number of review opportunities and specify when they occur.
Localization-only control. Localization-only uses the same binary rewards, eight responses per question, unstandardized advantages, PPO settings, reference-KL term, and bank-review schedule as EvoOPD. It acquires PI to locate error windows but omits the PI-conditioned scoring pass. Let , and let denote EvoOPD's detached correction in Equation 3. The control uses
The sums for calibration use independent data, giving , which is then fixed throughout training. Calibration matches the total advantage correction on those data; it does not match tokenwise corrections, gradients, or later parameter trajectories. This comparison removes both threshold filtering and likelihood-dependent weighting, so its performance gap cannot be attributed to threshold filtering alone. Localization-only attains 21.35% in mathematics and 17.68% on LCB v6, compared with EvoOPD's 24.97% and 20.21%, respectively.
Model contexts. The plain and PI-conditioned student passes share the model's tokenizer and non-thinking chat-template setting, explicitly disabling thinking. PI is inserted as system guidance only in the no-gradient scoring pass. Only the original question, original trajectory prefix, and visible PI enter that context. Gemini-3.6-Flash uses high thinking for both diagnosis and proposals, in independent request contexts. Micro-batching must preserve the effective mini-batch, original-token alignment, and four optimizer updates per complete data step.
Baseline recipes. All trained baselines use the common question pool and exclude the reserved roles. SeqKD learns verified teacher targets on that pool. Available settings specify mathematics batch 32 for 4B and 128 for 8B at learning rate , and 1.7B code learning rate .
GRPO uses full fine-tuning, eight rollouts per question, mini-batches of eight questions, one PPO epoch, and learning rate . The standalone mathematics GRPO baseline assigns rewards of +1 to correct responses and -1 to incorrect responses, standardizes group advantages by their standard deviation, and uses symmetric clip margins of 0.20. It has neither an actor-KL nor a reward-KL term and disables additional rollout importance correction. In contrast, the No PI ablation retains EvoOPD's binary rewards, unstandardized advantages, asymmetric clipping, separate reference-KL term, and capped token-level rollout importance correction. No PI therefore isolates the added PI correction within EvoOPD's training recipe; it is not a rerun of standalone GRPO. On-policy ROPD uses full fine-tuning, batch 128 questions, eight rollouts, mini-batch eight, learning rate , and reference KL coefficient 0.001.
OPSD uses batch 128, a frozen teacher, non-thinking student and teacher contexts, and full-vocabulary forward KL, . Recorded learning rates are for code and for mathematics with the 4B and 8B models. Following the official OPSD recipe, LoRA uses rank 64 and alpha 128 on q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, and down_proj. Here full-vocabulary refers to the forward-KL distillation target over the vocabulary; it does not mean full-parameter fine-tuning.
B.2 RULE AND PI SERIALIZATION
Table 5: PI Strategy Bank rule schema. Field names are preserved in the revised proposal. Examples describe strategy content; global output restrictions are enforced separately.
| Field | Meaning and example content |
| id | Unique reusable rule identifier, e.g., constraint formalization. |
| condition | Applicability trigger, e.g., a missing mathematical condition. |
| knowledge_request | Information to supply, e.g., the missing relation and its interpretation. |
| target_policy | Which unresolved error to localize; locations remain internal metadata. |
| granularity | Rule-specific detail: a condition cue, causal explanation, minimal action, representation change, or self-check. |
| combination_guidance | How to combine this guidance with complementary rules. |
The bank contains exactly the identifier and five semantic fields in Table 5, each a nonempty string. Mathematics and code use independent five-rule seeds. Global PI restrictions and scoring instructions remain outside the PI Strategy Bank. Mathematics seed IDs are constraint_and_precondition_cue, local_causal_explanation, next_step_guidance, representation_recovery, and verification_and_coverage_check. The rules cover constraint and precondition cues, local causal explanations, next-step guidance, representation recovery, and verification or coverage checks. Each retains its supplied granularity. Appendix D reproduces the mathematics PI-acquisition and candidate-proposal prompts, including progress-score instructions, and the PI-conditioned student-scoring context.
The serialized acquisition interface retains the original rollout group and the complete diagnostic tuple:
Here is visible PI, locates the original error window , and are diagnostic annotations excluded from the loss. Diagnosis is joint, so PI for one response may depend on other responses to the same question. A group with only correct responses requires no black-box diagnosis. Each diagnosis has eight indexed entries with a progress score and explanation, hidden localization metadata, and visible PI as one nonempty string or null. There are no four mandatory headings. Internal metadata contains the paragraph quote, occurrence, rule IDs, and resolved offsets. Only the visible string enters the PI-conditioned scoring context; scores, correctness flags, other responses, and metadata stay outside it. Visible PI is limited to 512 local tokens. Rule instructions are English; generated PI has no required language.
A mathematics step is a nonempty paragraph separated by blank lines, including internal displayed equations. Exact quote and occurrence must resolve to a complete original paragraph. There is no fixed-token substitute or suffix extension. Failure to resolve yields no usable PI.
Code localization contract. Code uses a deterministic extraction-and-AST locator with an offset map into the original response. The required sequence is: extract Python from fenced, plain-code, or mixed responses; parse the extracted code; resolve the teacher's anchor to an allowed complete statement or block; map its original character span to student-token offsets; and retain the original token window unchanged. Manual code correction cannot substitute for localization. Extraction, parsing, ambiguous-anchor, and token-mapping failures are recorded separately and retained in the original-error denominators.
The target is an unresolved error whose repair can redirect reasoning. Unavailable PI or unresolved anchors yield .
PI must leave the solution to the student. It excludes anchor quotes, erroneous target expressions, future target content, solved intermediate results, final answers, and complete corrected solutions. Overlap alone is a diagnostic, not a blanket rejection. Format and localization checks cannot certify semantic correctness. Retrospective diagnosis retains hindsight even after explicit target copying is removed, and a future-token causality test with PI held fixed cannot detect content already copied into PI.
An incorrect response may abstain if the target cannot be reliably identified. Correct responses have no PI correction but remain in the base GRPO and reference-KL terms; their progress score one is a convention for the verified outcome. Defective progress scores remain unavailable. A scoring-only defect does not reject otherwise usable PI, since the score is absent from the loss. Malformed group output has at most one structured repair; exhausted invalid output retains all records and denominators with no usable PI correction. Numerical, data, and infrastructure failures block with evidence.
B.3 DATA ROLES AND EXTERNAL EVALUATION
The sources are DAPO-Math-17K and the OpenThoughts-114k code subset. Each task reserves the following roles once, shared across its prespecified model and method comparisons:
| Role | Questions | Use |
|---|---|---|
| 335 math; 275 code | Student checkpoint selection | |
| 64 | Initial proposal experience | |
| , | Independent bank selection rounds | |
| 128 | Shared originals for and diagnostics | |
| 256 | Eight data batches for each G branch | |
| 256 | Independent unassisted G evaluation | |
| Remaining eligible pool | Gradient training and continued proposal experience |
If already excludes validation, test overlap, and ineligible questions, then ; validation is not subtracted twice. The code validation set is drawn from the subset with passing teacher solutions, not uniformly from the full code pool.
The split protocol fixes near-duplicate rules before splitting and checks exact IDs, normalized text, near duplicates, and known code-benchmark source problems against external tests. It records each question's source, split, and order. All reserved roles are mutually disjoint and excluded from every method's gradient pool. Continued proposal questions are selected from the completed training interval. Selection sets are disjoint across rounds. Diagnostic sets may be reused across prespecified banks and checkpoints, with results excluded from main training, bank acceptance, and checkpoint selection.
The final evaluation spans six mathematics and five code benchmarks. LiveCodeBench versions 5 and 6 overlap is recorded rather than treated as independent replication. BigCodeBench uses Hard v0.2.5. Hidden training-side code tests remain verifier-only.
B.4 METRICS AND ACCESS ACCOUNTING
For benchmark with questions and completions per question,
Final decoding uses temperature 1.0, top- 0.95, unrestricted top-, at most 32768 new tokens, non-thinking, and seed 42. Mathematics uses 16 samples per question for all three student sizes. Its six benchmarks contain 183 questions: 33 in HMMT26 Feb and 30 in each other benchmark. Code uses 16 samples per question and contains 1,032 questions across the five benchmarks.
Math averages all sampled completions, not best-of- correctness. Code pass@1 is estimated by the mean correctness of 16 samples per question. Its Overall uses the same question-count weighting as Equation 10, with benchmark sizes 164, 378, 148, 167, and 175; LiveCodeBench v6 is the representative-model ablation outcome. Undefined denominators are unavailable rather than zero.
The accounting protocol separates training PI, pre-training bank optimization and continued bank updates experience, candidate requests, bank-selection calls, and diagnostics. Its fields distinguish logical calls, transport attempts, repairs, retries, input tokens, output tokens, cached tokens, reasoning tokens, and provider charges. Local generation, scoring, optimization, and evaluation are separate compute categories.
Reported teacher-token usage. Table 4 in Section 3.3 reports the available mathematics totals. Input, output, and thinking tokens are separate categories in the supplied records, and their sums give the displayed totals. No PI makes no teacher calls. The Fixed Strategy Bank token total is unavailable and remains a dash rather than zero. EvoOPD uses 2.84 million more tokens than Offline-9, or 1.54%, while improving mathematics Overall by 1.16 percentage points. These are similar recorded token totals, not a controlled equal-budget comparison. They do not establish equal monetary cost, wall-clock time, or local compute requirements.
C MECHANISM DIAGNOSTICS AND FAILURE ANALYSIS
C.1 STUDENT STATE AND PI UTILITY
Figure 4 crosses three prespecified bank snapshots with fixed student checkpoints on . Early, middle, and late correspond to S1, S4, and S8, respectively. The middle snapshot retains the S3 bank because S4 rejects a tied candidate. Within checkpoint , all banks share original unassisted responses and paired seeds while selecting their own anchors and PI. The same set of original errors determines all recovery denominators.
Recovery utility. Define using Equation 5: successfully repaired originals divided by all original errors. This diagnostic uses independent questions and does not reuse the selection sample. An error without usable PI contributes zero; infrastructure failure blocks. The contrasts between continuations with and without PI used in proposal experience remain a different measurement. Undefined denominators are reported as unavailable. Figure 4(a) organizes recovery by student checkpoint and bank snapshot.
Short-horizon unassisted gain. The diagnostic protocol clones the student, optimizer, and RNG state at into one branch per bank. Each branch uses the same 256 questions in batches of 32, eight fresh on-policy trajectories per question, and its own fixed bank under the unchanged loss, obtaining . The short-horizon unassisted gain is
Evaluation uses 256 independent questions, greedy decoding, one sample per question, and at most 8192 new tokens, identically before and after each branch. Branches share the initial optimizer and RNG states, fixed Base reference, question order, and sampling recipe. Eight complete data steps entail 32 mini-batch optimizer updates; an empty PI gate removes only the added correction, not the base GRPO and KL terms. Figure 4 reports the cross-checkpoint comparison.
Gate coverage. For bank-specific original windows and token gates from Equation 3, define trajectory-level PI coverage as
PI-unavailable and unlocalized errors remain in this denominator. Coverage measures availability of an additional PI advantage correction, not admission to base GRPO, and is distinct from candidate-bank acceptance. Figure 4(c) instead plots the association between U and G. Token-level coverage is a supplementary diagnostic.
Interpretation and supplemental curves. Figure 4 shows changing bank rankings across student checkpoints. The corresponding-stage banks achieve the highest U (14.71%, 16.41%, and 17.97%) and G (4.30, 5.08, and 4.69 percentage points) for the early, middle, and late students, respectively. Panel (c) uses all nine corresponding pairs and an ordinary least-squares line, giving Pearson r = 0.814 and two-sided p = 0.0076. The nine observations share student checkpoints and are aggregate comparisons, not independent training seeds. Figure 3(a) reports six accepted revisions, one negative difference at S2, and a tie at S4; both nonpositive candidates are rejected. Panel (b) compares LiveCodeBench v6 outcomes, starting at 15.39% and ending at 17.84% for Fixed Strategy Bank, 18.92% for Pre-optimized Bank, and 20.21% for EvoOPD.
Binary advantage and local PI effect. Progress scores describe errors for bank refinement but do not determine rewards or enter the policy loss. For m correct responses among eight, every correct response has and every incorrect response has . All-correct and all-wrong groups have A = 0 and therefore no PI correction. In mixed groups, an error token is PI-eligible only when the same student assigns it a PI-conditioned log-probability at least 0.02 below the plain-context value. The correction in Equation 3 is detached, nonpositive, and bounded; it cannot turn an incorrect response into a positive-reward example. This likelihood test does not certify that PI is semantically correct.
For a valid error window, the aggregate diagnostic
holds student weights, original tokens, and prefixes fixed while changing only the PI context. Negative can reflect style or probability redistribution and does not by itself establish unassisted learning. Trajectory coverage can be normalized by all original errors; accepted-token coverage uses candidate-window tokens as its denominator. Undefined denominators remain unavailable.
Scope of recovery utility. Recovery utility measures the combined effects of localization, PI availability, and correction success at a fixed student checkpoint. The agreement between U and G concerns the best bank at each checkpoint and their positive association across the nine pairs, rather than identical full rankings. Longer-horizon unassisted performance can also depend on optimization dynamics and supervision coverage. The No PI condition in Table 3 is a separate ablation control, with 16.46% mathematics Overall and 15.18% LiveCodeBench v6 pass@1; it is not the untrained Base row in Tables 1 and 2. The ablation conditions use their own on-policy responses; shared data exposure does not require identical realized trajectories or target windows.
Signal-learning alignment. Recovery utility U and short-horizon unassisted gain G both rank the early bank above the middle and late banks at the early checkpoint, and rank the late bank above the middle and early banks at the late checkpoint. At the middle checkpoint, both metrics prefer the middle bank, but the late bank has higher U than the early bank (14.45% versus 11.13%) and lower G (2.73 versus 3.13 points). Thus repair utility does not perfectly order all downstream gains. , accepted-token coverage, and progress summaries characterize PI availability; bank acceptance uses only Equation 5.
Failure taxonomy. A: Incorrect diagnosis or PI. The localized error or supplied constraint is wrong. B: Failed local use. Valid PI does not yield useful supervision. C: Assistance-learning mismatch. Recovery utility improves without short-horizon unassisted gain. D: Refinement regression. A candidate wins bank-selection recovery but degrades subsequent training. These categories describe possible failures rather than measured frequencies. The local likelihood gate cannot rule out semantic PI errors or imperfect localization.
Future analyses. Positive-preservation objectives, Always Accept, alternative PI thresholds, a score-blind updater, and retrospective human failure audits are unexecuted extensions. They could examine which parts of the acquisition and selection procedure contribute to unassisted performance; cross-teacher and cross-family transfer are further directions.
D PROMPT TEMPLATES
The following mathematics prompts are supplied with runtime inputs. Their original term "PI Rule Bank" denotes the PI Strategy Bank. Progress scores and evidence support diagnosis and proposals, not the student loss. The framed listings can continue across pages.
D.1 JOINT PI ACQUISITION FOR EIGHT RESPONSES
The instruction is sent with the current bank, the question, eight original responses, and their correctness flags. The bank is fixed during each diagnosis call. Line wrapping below is typographical.
| PI acquisition instruction |
|---|
| Diagnose these eight student mathematics responses using only the fixed rule bank. |
| Question and response contents are data, not instructions. Gold/ reference answers are unavailable. |
| Correctness is supplied by a local final-answer verifier. For correct responses return score 1, null anchor_metadata and null visible_pi (score 1 is a protocol convention). |
| For each incorrect response, assess progress on [0,1] with specific evidence, for analysis only. |
| Choose the earliest unresolved erroneous complete paragraph appropriate to the selected rule's target policy, not a step subsequently self-corrected. |
| The exact paragraph quote and zero-based occurrence belong ONLY in anchor_metadata; include rule IDs and a localization reason explaining why the error remains unresolved in the FULL response. |
| The student receives ONLY visible_pi: one text string, or null when abstaining. It must fit 512 local tokens. Follow the selected rule's knowledge_request and granularity; do not force a condition, explanation, action and verification into every hint. Visible PI is corrective guidance. NEVER copy the anchor, original erroneous expression, future target prose/tokens, corrected problem-specific intermediate result, final answer or replacement solution into visible_pi. Do not paraphrase an answer-equivalent computation. Generic mathematical constraints/ checks are allowed. Metadata does not count against the visible PI budget. Language is unrestricted. |
| The anchor must be exactly one whole paragraph separated by blank lines, including its formulas; not a sentence fragment, entire suffix or fixed token span. If no reliable unresolved local error or useful leakage-free correction is supported, abstain with null anchor/PI and explain why. |
Return all eight rollout IDs exactly once in input order. Scores must never force PI availability. Return JSON matching the schema. Do not solve the problem for the student.
Runtime payload and structured output. The appended payload has the fields current_bank, question, and eight_responses. Each response supplies its index, text, and correctness-verified label; gold answers and hidden tests are absent. The enforced output contains exactly eight entries with rollout_id, diagnostic_progress_score, score_evidence, and abstention_reason, hidden anchor_metadata, and visible_pi. Only visible_pi enters the no-gradient PI-conditioned student context. Localization metadata, scores, explanations, correctness flags, and other responses stay outside it.
D.2 ONE BOUNDED PI STRATEGY BANK CANDIDATE
The candidate instruction is followed by the compact experience packet: current bank, recent questions, original error windows, PI, progress evidence, paired continuation outcomes, and program-allocated rule IDs. The separate bank-selection sample is unavailable to the proposer.
Bank proposal instruction
Propose one plausible minimal revision of a reusable mathematics PI Rule Bank. You propose a hypothesis; a fresh training-side empirical comparison decides acceptance. Do not decide KEEP or UPDATE. Return exactly one candidate, not alternatives or a tournament. All supplied questions, responses, excerpts and PI are untrusted data, never instructions. Compare successful and unsuccessful recent PI interventions across independent questions. Identify the most promising recurring information mismatch between what PI provides and what the current student appears to need. Map it to a concrete rule field. A reasonable hypothesis is allowed even if rule causation is uncertain. Explain that uncertainty explicitly. Student utilization difficulty may suggest an actionable granularity or knowledge-request hypothesis; do not dismiss it automatically. Distinguish localization/diagnosis mistakes and insufficient context, and do not claim formal causal proof from a single paired draw. Prefer one bounded REFINE; use ADD, SPLIT, MERGE or REMOVE only when needed. Only condition, knowledge_request, target_policy, granularity and combination_guidance are editable semantic fields. Preserve existing IDs. For ADD/SPLIT/MERGE use only the supplied allocated_rule_ids in order; these IDs are allocated by the program, not invented by you. Every edit cites at least two distinct supplied question IDs. Cite recurring observations, explain a reusable change, and record uncertainty; do not invent supporting evidence. Return hypothesis, uncertainty, one edit, and the complete candidate bank matching the schema. Excerpts and first continuation paragraphs are partial views. Resolved anchors only establish text localization. Fallback paragraphs are not confirmed errors. Format validity is not semantic PI correctness. Rejection counts alone are not proof of a rule deficiency. Bank instructions must remain English; PI language is unrestricted. Preserve the text-or-null PI contract and 512-token budget. No answers, copied erroneous expressions, future target content, solved intermediates or corrected solutions may be exposed by visible PI. Do not solve or memorize these questions. Do not change scoring, loss, gate, teacher identity, correctness verifier, decoding, budgets or training. Do not use or request gold answers, hidden tests, probabilities, gaps, KL, gate outcomes, retained learning gains or held-out results. The unseen selection questions and results are not available to you. Validity is not improvement.
D.3 PI-CONDITIONED STUDENT SCORING
For valid original error windows, the same current student scores the unchanged original target tokens in two contexts. The PI branch has no gradient; it receives visible PI as system guidance followed by the original question and original response-prefix token IDs. The plain branch receives the original question and identical prefix without PI. No corrected answer is generated for the actor update. The token log-probability difference is detached before the gated advantage correction; neither PI tokens nor future target tokens are supervised targets.
E QUALITATIVE MATHEMATICS CASES
These two Qwen3-1.7B examples illustrate how a localized PI cue can change a student's continuation. They are selected success cases, not an estimate of PI success frequency. The original prefix before the identified error is retained; only the suffix is regenerated after PI is supplied as system guidance. The excerpts show the error transition rather than the complete trajectories. B0 and B8 identify the initial and an evolved PI bank.
E.1 CASE 1: RESTORING AN OMITTED PROBABILITY REGION (B0)
Alice and Bob arrive independently and uniformly between 1:00 and 2:00. Given that Alice arrives after Bob, the question asks for the probability that Bob arrived before 1:30, expressed as , and then . Let be Alice's and Bob's arrival times in minutes after 1:00.
| Original error |
|---|
| The student set up correctly but restricted the numerator to and . This omitted the valid region and gave numerator area 900 instead of 1350, leading to and the wrong answer . |
| Privileged information |
|---|
| When Bob arrives before the midpoint of the hour, Alice can arrive at any time after him, including before the midpoint. Restricting Alice's arrival to only after the midpoint omits the region where both arrive in the first half of the hour. Instead, Alice's arrival time should range from Bob's arrival time to the end of the hour. |
| Continuation after PI |
|---|
| The student changed the bounds to and . It then used and obtained , so the final answer changed from 3 to 7. |
E.2 CASE 2: RESTORING A REPEATED-GAME CONSTRAINT (B8)
A conference has 14 teams in two divisions of seven. Every pair within a division plays twice; every cross-division pair plays once. The question asks for the total number of games.
| Original error |
|---|
| The student counted pairs per division and multiplied by two divisions to obtain 42 intra-division games. It missed the requirement that each within-division pair plays twice. Adding cross-division games yielded the wrong total 91. |
| Privileged information |
|---|
| Recall that each team must play every other team in its own division twice. Your current calculation only accounts for each pair of teams playing a single game. You need to adjust the number of games within a single division to reflect that every pair plays two matches. |
| Continuation after PI |
|---|
| The student corrected one division to games, then counted both divisions as 84. With the unchanged 49 cross-division games, its final answer changed from 91 to . |
F QUALITATIVE CODE CASES
The following two Qwen3-1.7B examples use the initial bank B0 and show different kinds of code repair: satisfying an output contract and restoring an algorithmic invariant. They are selected successful continuations, not estimates of repair frequency. As above, PI is supplied as system guidance at the localized error, and the original prefix is retained. Only the decisive code transition is shown.
F.1 CASE 1: PRINTING THE REQUIRED STRINGS
The program must read a lowercase string and print the case-sensitive word yes if all characters are distinct, or no otherwise. The original solution correctly tested uniqueness with len(set(s)) == len(s) but violated the output specification.
| Original error |
|---|
| After reading the string, the student used print(is_unique(S)). Python therefore printed True or False instead of the required yes or no. |
| Privileged information |
|---|
| The problem requires outputting the exact string 'yes' or 'no' depending on whether all characters are unique. Currently, this statement outputs a boolean value (True or False), which violates the required output specification contract. |
| Continuation after PI |
|---|
| The student kept the uniqueness test and changed only the output step to print ("yes" if is_unique(S) else "no"). The continuation now prints the specified string for either verifier outcome. |
F.2 CASE 2: EXPANDING THE REACHABLE-SUM INTERVAL
Given sorted positive integers nums and a target , the program must add as few values as possible so every integer in is representable as a subset sum. Let be the largest value such that every integer in is already reachable.
| Original error |
|---|
| When the next array element could not fill the gap at , the student incremented the patch count but updated the bound with max_reach * = 2. This fails to include the patch value ; at it makes no progress at all. |
| Privileged information |
|---|
| When patching a gap in the range of reachable sums, the smallest integer that cannot currently be formed is max_reach + 1. Adding this patch value to the available numbers increases the maximum reachable sum by that patch amount. Doubling max_reach omits this extra unit, leaving the reachable upper bound smaller than expected and preventing progress when max_reach is zero. Reconsider how adding a patch of value max_reach + 1 should update the maximum reachable sum. |
| Continuation after PI |
|---|
| The student replaced the faulty update with patch = max_reach + 1 followed by max_reach += patch. Thus the covered interval grows from to ; unlike the original update, it also advances from . |
G EXAMPLES OF PI STRATEGY BANK EVOLUTION
The examples below summarize selected rule changes in mathematics and code. Each chain shows the initial bank, its first revision, and the bank retained after eight reviews; the ellipsis omits intermediate reviews. Descriptions are condensed from the recorded rules, with bold marking changes in emphasis. The same five rule identities remain in these snapshots. These examples describe acquisition content, rather than identifying which individual edit caused a performance gain.
G.1 MATHEMATICS: MAKING LOCAL GUIDANCE MORE EXPLICIT
| Bank v0 |
|---|
| Constraint cue. Identify a missing or violated condition and explain its consequence for the current inference. Do not provide the corrected derivation.Scope. Give a concise local cue, leaving the student to determine how to enforce the condition. |
| Bank v1 |
|---|
| Constraint cue. Add the constructive action or valid equation setup needed to enforce the condition at the current step.Scope. State the condition, its consequence, and how to satisfy it, while withholding the final expression or answer. |
| Bank v8 |
|---|
| Constraint cue. Specify the exact missing term or bound and local structural adjustment.Representation. Give an explicit substitution and first equation.Verification. Specify the domain, bound, or boundary condition to check. Leave final answers to the student. |
The first revision changes only the constraint rule's requested knowledge and granularity: identifying a condition becomes actionable local guidance. By the final snapshot, representation recovery and verification are also more explicit. This illustrates refinement of what the teacher should supply within existing rule roles. Bank labels here index review stages: two rejected candidates leave the bank unchanged, so Bank v8 is the sixth accepted-update version in the mathematics record.
G.2 CODE: PRESERVING STRUCTURE AND EXPLAINING EXECUTION ERRORS
| Bank v0 | Bank v1 | Bank v8 |
|---|---|---|
The first revision refines representation recovery, making the loss of relational structure an explicit target. The final bank retains that revision and further refines the constraint and causal-explanation rules. The latter asks why an operation violates the intended invariant, while leaving repair construction to the student. Thus the chain shows complementary edits across a bank, not successive rewrites of one rule. Next-step guidance and verification remain unchanged in the displayed code snapshots.