Does On-Policy Distillation Cause Less Drift and Interference Than SFT?
·
Overview
What this is. This is a Marin ablation which tests a simple hypothesis: on-policy distillation (OPD) teaches a model a new skill with less damage to its other skills than supervised fine-tuning (SFT).
Definitions. Skills here can be defined as performance on a fixed benchmark. A task set is a collection of examples of one kind, such as code-execution prediction; a task is a single example from it. The base model B is the frozen checkpoint every run starts from; the student θ is that model as SFT or OPD trains it, so θ = B at step 0. Damage is represented either as drift, how far training moves a model's behavior on things the training did not target away from the base, or interference, how much worse a model does on task set A when it is co-trained on task set B at the same time, with the counterfactual being training on task set A in isolation. Both are measured at matched progress: each run is read at the point where it has closed the same fraction of its gap to the expert on the trained task set (half, or 80%), rather than after the same number of steps, because OPD learns the trained task set in fewer steps than SFT and equal steps would compare different amounts of learning.
Why it matters. There can be a hidden cost of teaching a model something new: sometimes called catastrophic forgetting or degradation, each new skill we add to a model puts the existing ones at risk. The hope is that algorithmic refinements, like OPD, might lessen the risk under certain conditions.
Why we did this now. marin#9920 showed that OPD reached CRUXEval accuracy comparable to SFT with a smaller weight update that was closer in Frobenius norm to the expert's own update, changing fewer weights. What remained unclear was whether OPD interferes less with skills it was not trained on.
Hypothesis (H1). Compared at the same amount of learning on the trained task set, OPD causes less drift in general behavior and less interference with a second task set than SFT.
Hypothesis (H2). If OPD interferes less, MoE routing carries the difference.
Null Hypothesis (N). The null is that OPD does no better: at the same progress on the trained task set, it causes as much drift in general behavior and as much interference with a second task set as SFT does.
Outcome. We could not reject the null, nor could we find evidence for H1. H2 remains untested.
On interference, we could not reject the null primarily because we failed to produce a realistic expert pair that generated substantial task-set interference (the test had no power). If, in the future, we had such a pair, we could revisit this.
On drift, the evidence points in the other direction. At matched progress on the trained task set, OPD drifted no less than SFT on general chat and thinking probes, and at high progress it drifted more.
Other findings of interest.
OPD consistently learns its trained task set in fewer steps than SFT.
OPD exhibits much greater instability at the convergence threshold than SFT. This is why it drifts more. The evidence is in Phase 1a, stage C; at reverse progress 0.8 on math, OPD's drift on chat and thinking is about 2.3× SFT's. If we terminate OPD once it saturates, we would likely control for the extra drift (and enjoy faster convergence).
The differences are most likely attributable to the fact that our OPD implementation uses reverse KL (top 256). The evidence for this claim comes from phase 0c, where we observed that Forward KL (SFT) closes the Reverse KL gap, but Reverse KL (OPD) does not close the forward KL gap. The findings would be unlikely to shift if we switched to full-vocabulary reverse KL because we found top 256 matches exact full-vocabulary KL to within 0.06%. The findings might change if we used a combination of reverse and forward KL.
Experimental Design
Design. Let B be the base model: the frozen starting checkpoint that every run starts from and every comparison is made against. B is a chat-aligned checkpoint of Snowball 67B-A2B, Marin's mixture-of-experts model with about 67B total and 2B active parameters. B is also the reference for drift, defined formally below and informally in the earlier section.
Let task set X be code-execution prediction (CRUXEval-style) and task set R be competition math (OlympiadBench-style). Let the definition of success on a task set be a fixed, held-out "probe" set, P_X and P_R (section A). These are simply holdout validation sets, made up of tasks.
Let experts E_X and E_R be fixed teachers: implemented as copies of B fine-tuned on verified GLM 5.3 traces generated on X and R (section D). SFT trains on the traces; OPD trains on the expert scores of the student's own answers to the task set. Let θ be the student: the model SFT and OPD train, initialized at B (θ_0 = B) and updated at every step. Each method trains on X alone (θ_X), R alone (θ_R) and both together (θ_XR), with three seeds each. Seeds change only the prompt order and the sampling.
Let Fidelity F_A(θ) be θ's KL to task set A's expert on task set A's probe set (P_X or P_R), in nats/token; lower is better. The reverse form, KL(θ‖E_A) on θ's own samples, is primary. The forward form, KL(E_A‖θ) on the expert's answers, is secondary.
For scale: B's reverse fidelity on X is 0.69 nats/token, so the tokens B writes are, as a per-token geometric mean, about 2.0× more likely under B than under E_X. A run at reverse progress 0.8 on X sits at about 0.14 nats/token, so its tokens are only about 1.15× more likely under itself than under the expert.
In the forward form, B scores 0.52 nats/token on E_X's answers: E_X's tokens are about 1.7× more likely under E_X than under B. An expert scored against itself is 0.
Interference of R on X is I(X←R) = F_X(θ_XR) − F_X(θ_X). Both models are read at the step where the single-task-set run θ_X reaches the matched progress level (see Progress, below), and positive values mean joint training hurt X. I(R←X) is defined the same way.
Drift is KL(B‖θ) on B's own answers to the general chat probe set (P_chat) and the competition-math thinking probe set (P_think), which no run trains on. 0 means training left that behavior untouched.
Progress toward an expert is 1 − F_A(θ)/F_A(B), so B is at 0 and the expert at 1. Reverse progress uses the reverse form and forward progress the forward form. Runs are matched on reverse progress at levels 0.5 and 0.8, because OPD never passes 14% forward progress (section E).
Runs are compared at matched progress toward the expert, not at equal steps or at each run's best checkpoint. We observed that OPD learned the trained task set in fewer steps, so equal steps would have compared different amounts of learning.
Crossings. Each metric is interpolated linearly to the step where reverse progress reaches the level. The primary match is a run's first crossing whose next scored checkpoint (runs are scored only at fixed steps, listed per phase) is no more than 5 progress points (0.05) below the level. The last confirmed crossing is a sensitivity check. It differs from the first only when a run spikes past the level, falls back and crosses again.
Procedure-null controls train toward B itself, to separate drift from training as such from drift caused by learning the task set. SFT's null trains on B's own answers to chat prompts; OPD's null uses B as its own teacher, so it starts at its loss minimum.
Smallest effect of interest is the larger of 10% of the single-task-set reverse gain at that level (how much closer, in reverse KL, the single-task-set run got to its expert than B) and 25% of the procedure-null drift. In practice it is 0.029–0.055 nats/token (section I).
What we ran and what we learned
Phase 0 built the training and scoring code (0a), the chat-aligned base model B (0b), and the experts, learning rate and seed-noise floor (0c). Phase 1a tested H1 and H2 on code + math: Stage A validated the pipeline, Stage B ran the code-only references, and Stage C ran the main comparison. Phase 1b looked for a task-set pair that does interfere, as a positive control for the measurement.
| Stage | Question | Result |
|---|---|---|
| Phase 0a | Do the training and scoring code changes work? | Every blocking change passed its test, and the smoke runs completed. |
| Phase 0b | Can each base model get a chat-aligned starting point B? | Snowball, NemotronH, Qwen3 and Qwen3.5 were trained and released. Qwen3.5 passed every protocol check; the other three each failed at least one check and were accepted with documented shortfalls. A separate GitHub issue deepened the investigation of these bases, most of which were unused for the remainder of the experiment. It is marin#10751. |
| Phase 0c: experts | Are E_X and E_R useful targets on Snowball? | E_X is strong: 89.6% on code against B's 51.8%. E_R is weak: 50.3% on math against B's 41.7% (both at a 32k-token reply cap), but worse than B on the thinking probe, because 56% of its thinking replies never finish even at 131k tokens. The likely reason for this is discussed in section D. |
| Phase 0c: LR sweep | HPO: which LR lets both methods reach reverse progress 0.5 and 0.8 within 100 steps? | By step 100, SFT closes 70–82% of the forward KL gap to E_X. OPD closes 76–86% of the reverse gap but at most 14% of the forward gap: it matches E_X where E_X is confident and keeps its own choices elsewhere. We chose LR 2e-6 for Phase 1a because it was the lowest swept LR at which both methods reach 0.8 reverse progress within 100 steps. |
| Phase 0c: noise floor | Is seed noise small next to the effects H1 looks for (LR 5e-7, 3 seeds)? | Yes for both methods. At matched reverse progress, no metric's seed spread exceeds a quarter of its threshold. |
| Phase 1a Stage A | Do the full Phase 1a data, launches and measurements work? | All 24 run configurations passed dry runs. Four 10-step math-only and joint smokes passed training, export, generation, scoring and grading. |
| Phase 1a Stage B | Is seed noise still small at LR 2e-6, measured on the code-only runs Stage C compares against? | Every seed of both methods confirms 0.5 and 0.8, the latter after extending the runs to step 125. On aggregate metrics, SFT passes at both levels. OPD passes at 0.5, and at 0.8 it passes under the last crossing but fails thinking KL (1.17× threshold) under the first crossing, because two of its seeds match inside an early step-8 spike. Bucket-level metrics are reported separately. |
| Phase 1a Stage C | At matched reverse progress, does OPD drift less and suffer less interference than SFT (H1), and do router weights carry the effect (H2)? | No. At reverse progress 0.8 on math, OPD's drift on chat and thinking is about 2.3× SFT's. On code at 0.8, the registered first-crossing match shows no reliable difference, but it fails the noise gate because two OPD seeds match inside an early spike; the last-crossing sensitivity check gives about 2.3×. At 0.5 the methods are within the smallest effect of interest, and on code OPD's chat drift is slightly lower. On top-token flips the 0.8 gap is only about 1.2×. Code–math interference is too small to test H1's interference claim; the only difference near the smallest effect favours SFT (math at 0.8). H2 was tested only in its weaker router-graft form, which reproduced 0–2% of the joint model's change; the forced-top-k routing patch was not run. All 151 checkpoints scored. About 8.3k H100-hours. See section I. |
| Phase 1b pilot | With a strongly disjoint teacher pair (a terminal-agent expert, T1, and a math RL checkpoint, S38), can the measurement detect interference at all? | Only before the task-set weight correction. In the single-seed pilot, joint SFT cost math 32% of the single-task-set gain at reverse progress 0.5, above the 20% positive-control bar (23% on a sensitivity panel). Three-seed rate controls replicate the gap (+0.059 nats/token), but 59% of it is task-set weight dilution under token-mean loss. The corrected residual (+0.024 nats/token, about 13% of the gain) clears the 10% smallest effect of interest but not the 20% bar, and it is gone by step 30. The terminal side shows no interference. The first math teacher failed the disjointness check (gate 1) once a scorer loader bug was fixed. The full matrix was not run (see Conclusions). About 1,703 H100-hours. See section J. |
Compute. About 15.8k H100-hours in total, excluding Phase 0a's untallied smoke runs and about 0.8k CPU-hours in Stage C: about 3,960 for Phase 0, 233 for Stage A, about 1,620 for Stage B, about 8.3k for Stage C and about 1,703 for Phase 1b.
Conclusions
H1 is not supported, and the interference half of the question turned out to have little effect to compare.
Drift: OPD did not drift less than SFT, and on some matches it drifted more. At reverse progress 0.8 on math, OPD's drift on general chat and thinking probes is about 2.3× SFT's, and all three seeds agree. On top-token flips, OPD's excess at 0.8 is only about 1.2×, so most of it is shifted confidence rather than different choices.
Interference: We could not establish a realistic experiment with sufficient power. On the code + math pair, joint-training interference was too small to test H1 for either method, and the one difference near the smallest effect favored SFT. We then built a positive control from the most disjoint teacher pair we could find (the terminal-agent expert T1 and the math RL checkpoint S38). Joint SFT slowed math early, but three-seed controls show that 59% of that gap is task-set weight dilution: with token-mean loss, math gets only about 41–43% of the joint run's supervised-token weight. The residual (+0.024 nats/token, about 13% of the single-task-set gain) is above the 10% smallest effect of interest but below the 20% bar the positive control required, and it is gone by step 30. So the positive control did not establish a large interference signal. There was no interference on the terminal side.
Routing (H2): untested in its intended form. On code + math there was no interference for routing to carry. We did observer that router weights moved only a tiny amount, about 0.02%. Grafting them into the single-task-set model reproduced less than 2% of the joint model's overall change, so router weights do not explain the joint/single-task-set difference.
Why the full matrix was not run. The proposed Phase 1b matrix (5.4k–12.4k more H100-hours) would compare SFT and OPD on an interference effect that, on the strongest pair available, is about 0.024 nats/token, partly an artifact of loss weighting, and lasts about 20 optimizer steps. The most likely outcome was "both near zero", so we closed the experiment instead.
Guidance for follow-up studies. In joint SFT with token-mean loss, report or normalize each task set's share of the supervised tokens. Otherwise, unequal response lengths look like interference. Compare methods at matched progress toward the teacher, not at equal steps. OPD and SFT learn at different rates and in different KL directions: OPD closes the reverse gap but little of the forward gap.
Limitations of the study. These results come from one base model (Snowball 67B-A2B), two task-set pairs, a single LR (2e-6) shared by both methods, and at most 125 steps. OPD's drift is far more sensitive to LR than SFT's (section E), so a per-method LR could change the drift ratio. Every KL is measured against a fixed teacher. Phase 1b's SFT data is not filtered on correctness, and OPD was never measured on the terminal + math pair.
Limitations of the drift measure. Drift is forward KL from B on B's own text. It penalizes the entropy reduction that OPD's mode-seeking loss produces: on code, OPD's per-token entropy is 0.11–0.14 nats/token against SFT's 0.20–0.33 (section E.1). Reverse drift, KL(θ‖B), and per-bucket drift were not computed. On top-token flips, OPD's excess drift is about 1.2×, not 2.3×. Drift is a change in predictions, not a measured loss of capability.
Appendix
Each section below documents one stage from the table in What we ran and what we learned, in the same order. Each section gives its question, setup, result and limits. Section A defines the methods and measures that the later sections share.
A. Common methods
Model and methods. All Phase 0c and Phase 1a runs start from B, the chat-aligned Snowball 67B-A2B checkpoint from Phase 0b. Snowball is a mixture-of-experts model with about 67 billion total and about 2 billion active parameters. Two transfer methods are compared:
SFT trains on fixed, correct samples from the expert.
OPD samples answers from the student and trains on a per-token sampled reverse-KL loss scored by the expert, the same loss as #9920.
Task sets.
| Task set | Training prompts | Probe set | Grading |
|---|---|---|---|
| X, code-execution prediction | Generated Python programs in the CRUXEval style: 12 function families × 99 parameterizations, 12,000 prompts. CRUXEval's own prompts are excluded. | P_X: 1,000 prompts on about 120 functions that never appear in training | The boxed answer is checked by running the program |
| R, competition math | NuminaMath-CoT, filtered to 618,615 problems. AIME, HMMT and OlympiadBench sources, and anything sharing a 13-gram with the probes, are removed. | P_R: 1,000 held-out NuminaMath problems. P_think: 300 problems (AIME 2024, AIME 2025, HMMT Feb 2025, 210 OlympiadBench) | The boxed answer is checked symbolically with math-verify, with fixes for relation chains, clock times and units |
Only 15.7% of R's problems come from olympiad sources, below the plan's 20% target. The full mix was kept. General behavior is probed with P_chat (1,500 chat prompts) and P_think.
Training recipe. Both methods share every setting except the loss. The settings are AdamW (0.9, 0.999), weight decay 0, gradient clipping at 1.0, five warmup steps then a constant LR, and no packing. Each step uses 8 prompts with 4 answers each, so 32 sequences, and one optimizer step per batch. Responses are capped at 4,096 tokens for X and 16,384 for R.
OPD loss. OPD (objective sampled_reverse_kl) works as follows.
Estimator: a single-sample log-ratio on the token the student sampled. It is not an exact or top-k per-position KL. The student samples 4 answers per prompt at temperature 1.0. The expert scores each sampled token y_t on the student's own prefix. The per-token credit is A_t = log π_E(y_t | y_<t) − log π_θ_old(y_t | y_<t), detached from the graph. The top-256 support described under KL estimator below is used only for offline scoring, not for training.
Gradient: policy-gradient (REINFORCE-style), with the log-ratio as the per-token advantage. A positive A_t raises the token's probability; a negative A_t (the student is more confident than the expert) lowers it. A_t replaces the environment reward (
reward_mode: replace, coefficient 1.0).There is no baseline, no advantage normalization, no advantage clipping, and no KL or entropy regularizer.
The loss is SkyRL's PPO clipped surrogate (
policy_loss_type: regular, ε = 0.2). Each rollout batch gets exactly one optimizer step (one update epoch, mini-batch = whole batch), so the importance ratio π_θ / π_θ_old is 1 at the update and the clip never binds. The effective gradient is −Σ_t A_t ∇ log π_θ(y_t).No correction is applied for the mismatch between rollout-engine and learner log-probs.
Normalization: token-mean (
loss_reduction: token_mean). The loss is divided by the total number of valid response tokens in the step, across all micro-batches and data-parallel ranks; this is the same global reduction as the SFT runs.Credit across tokens: there is no discounting and no sum over future tokens. Each token gets only its own log-ratio. This is the per-token ("myopic") form of the reverse-KL gradient: it ignores how y_t changes the expert's scores on later tokens.
Code (pinned to
mainat2844da1a):the per-token credit,
teacher_advantages;where it replaces the advantages,
finalize_advantages_for_training;the policy loss,
ppo_policy_loss;the OPD recipe the Phase 1a matrix starts from,
snowball_mopd_ultra_32k.yaml;and the clip defaults,
ppo_base_config.yaml.
The Phase 1a run matrix itself (
experiments/post_training/phase1a/matrix.py) is on branchbenfeuer/opd-1aand is not merged tomain.
SFT trains on 4 expert samples per prompt. Prompts are drawn only from those where all 4 samples were graded correct (4,776 eligible for X).
OPD draws 4 student rollouts per prompt at temperature 1.0, on the same prompts in the same order.
Seeds change only the prompt order and the sampling.
Measures. All KL values are token-weighted, in nats per token. Every checkpoint is scored teacher-forced on fixed token sequences, so checkpoints are compared token by token on identical text.
Forward fidelity, KL(E ‖ θ), scores θ on the expert's fixed answers. It falls when θ puts probability on what the expert would write. SFT minimizes it, since SFT's loss is forward KL plus the expert's entropy, which does not depend on θ (Agarwal et al., ICLR 2024).
Reverse fidelity, KL(θ ‖ E), scores θ's own fresh samples under the expert. It falls when θ writes what the expert would also write, even if θ covers only part of what the expert might say. OPD's loss is a sampled estimate of it.
Drift, D_chat and D_think, is KL(B ‖ θ) on B's own answers to P_chat and P_think. 0 means training left that behavior untouched. Because it is forward KL on B's text, it rises when θ drops B's alternatives even if θ's top choices do not change; token flips (below) separate the two.
Token flips are the share of positions where θ's top next token differs from the reference model's.
Routing disagreement is the share of tokens whose selected expert set differs from B's, per layer, over all 26 MoE layers.
Answer accuracy grades each model's own sampled answers. Decoding uses temperature 0.6, top_p 0.95 and repetition penalty 1.05.
Progress toward an expert normalizes each fidelity by B's starting value:
The frozen baselines are 0.5176 (forward) and 0.6935 (reverse) for X, and 0.4232 and 0.5708 for R. Interference on X from also training R is the change in X fidelity:
KL estimator. KL is estimated from the reference model's top 256 tokens plus one bin for the remaining mass. On X it matches exact full-vocabulary KL to within 0.06%. Chat and thinking use a 1,024-token support after the Stage B precision check (section H). Rescoring B against itself is bit-identical, so engine noise is zero.
Matched-progress comparison. H1 compares methods where they have learned the same amount. For each run, each metric is interpolated linearly along its trajectory to the step where reverse progress first reaches the level. The levels are 0.5 and 0.8. A crossing counts only if the next scored checkpoint has not fallen more than 5 points below the level. This confirmation guard rejects transient spikes; continued progress past the level is fine. A crossing at the last scored checkpoint cannot be confirmed. The last confirmed crossing is reported as a sensitivity check. It differs from the first only when reverse progress spikes past the level, falls back and crosses again.
The original design also required each claim to hold at matched forward progress. OPD never passes 14% forward progress (section E), so methods are matched on reverse progress only, and forward values are reported at the matched points.
Uncertainty. Intervals over seeds are exact percentile bootstraps over three paired seeds, called seed-bootstrap ranges below. With three seeds they show how closely the seeds agree; they are not calibrated 95% intervals. Per-seed values are given where they matter.
A caveat on B's answer format. Phase 0b's terminal-agent stage left Snowball's B answering 95–99% of single-turn prompts as a JSON agent turn for Terminus-2, a terminal-agent scaffold. Our graders extract the answer from that turn, but standard harnesses do not. In a standard evaluation, B scores 0.00 on CRUXEval, 0.08 on HumanEval+ and 0.00 on MBPP+, against 51.8% from our grader on the CRUXEval-style P_X. Task-set accuracies here are therefore not comparable to standard benchmark numbers. The format also enters the KL results: part of B's distance to both experts is format, and part of any move toward an expert is leaving it. The same holds for the drift probes: 97.0% of B's P_chat answers and 98.5% of its P_think answers are agent turns, so part of any drift is leaving the format.
B. Phase 0a: code changes and smoke tests
Question. Can the training stack run both methods on a matched budget and record everything the analysis needs?
Setup. Ten work packages extended MarinSkyRL (Marin's SkyRL-based post-training trainer) and Marin. The main ones were:
a fixed-dataset runner, so SFT runs in the same trainer as OPD with matched geometry and batch (#10479);
an explicit checkpoint schedule with FP32 master-weight export, for seed-alignment measurements (#10480);
router telemetry, with the router's selection bias kept frozen (#10482);
an offline sequence-KL estimator, forward and reverse, with an exact-KL subsample check (#10483);
Stage 0 data, task generators, probe sets, weight-delta analysis and the Phase 1a run matrix.
Gate. Every blocking change must pass its tests and a GPU smoke run.
Result. Every blocking change passed, and the GPU smokes completed before Phase 0b started. The design budgeted 150 H100-hours; actual use, mostly short one-node smokes, was not tallied separately.
C. Phase 0b: chat-aligned bases
Question. Can each of four MoE base models be given a chat-aligned starting point B that follows its chat, thinking and agent protocols?
Setup. Each base received one three-stage SFT (chat, then thinking, then agentic), called Stage 0. Snowball and NemotronH used a shared template; Qwen3 and Qwen3.5 used their native templates. Each B was then checked against fixed thresholds:
≥98% of replies end their turn and close their think block;
≥95% of tool calls parse;
≥29 of 32 agentic trajectories end validly;
routing within +2 points per layer of the pretrained base.
A trajectory is valid if it completes, hits the 3,000 s agent limit of Harbor, the agent-evaluation harness, or ends with the grader failing. Timeouts are normal for small models acting as agents, and grader failures are not the model's. Any other harness error counts against the check. Decoding uses the settings in section A.
Result. Qwen3.5 passes every check. The other three bases were accepted with documented shortfalls rather than retrained. Phase 1a uses only Snowball.
| Base (template) | Turn end, chat / think | Think closure, chat / think | Agentic trajectories valid (completed) | Tool-call parse | Routing, worst layer vs base |
|---|---|---|---|---|---|
| Snowball 67B-A2B (shared) | 99.0% / 98.5% | 99.4% / 98.5% | 31/32 (28) | 93.0% | +1.95 pts |
| NemotronH 30B-A3B (shared) | 94.0% / 98.0% | 40.9% / 90.3% | 32/32 (10) | 91.1% | +5.47 pts (MoE layer 3) |
| Qwen3 30B-A3B (native) | 100% / 98.8% | 35.3% / 80.8% | 32/32 (1) | 14.9% | +2.34 pts (layer 47) |
| Qwen3.5 35B-A3B (native, agentic stage only) | 100% / 99.5% | 100% / 100% | 32/32 (24) | 96.9% | +1.56 pts |
Bold marks a failed check. Qwen3.5 was checked with thinking on, its template default.
What each shortfall means.
Snowball answers about 95% of single-turn prompts as a Terminus-2 JSON agent turn after its thinking: the agentic stage overrode the chat format (see the caveat in section A). Its one invalid trajectory is a
TmuxSessionEndedError.NemotronH usually closes its think block, then writes another
</think>and repeats the answer (107 of 182 chat replies). A label audit confirmed the training targets are correct. In agentic runs, half its turns (1,338 of 2,689) repeat the previous reply word for word. Its routing starves 7 of 128 experts in one MoE layer. Keeping the router's score-correction bias frozen, unlike in its pretraining, likely contributes.Qwen3 writes its answer inside an unclosed think block. The agentic stage caused this: closure was 89.8% / 96.9% after stage 2. Its agent turns are malformed JSON that repeats until timeout, so it passes the trajectory check but fails tool-call parse at 14.9%.
Qwen3.5 ignores
enable_thinking=False, so a no-thinking run is not a control.
All four bases are public in the Chat-Aligned Bases collection, and each model card states its shortfalls.
Cost. About 2,240 H100-hours against a budget of 1,850, mostly from rerunning Qwen3 and Qwen3.5 on their native templates. A storage write suspension cost NemotronH its stage-2 export, and the rerun took about 74 H100-hours.
D. Phase 0c: building and measuring the experts
Question. Are the experts E_X and E_R clearly better than B on their own task sets, so that moving toward them means learning the task set?
Setup. Each expert is B fine-tuned on verified traces from GLM 5.3:
GLM 5.3 answered 6,000 training prompts per task set, with thinking. Traces longer than the cap (4,096 tokens for X, 16,384 for R) were dropped, not truncated.
Each kept trace was graded, and only correct ones became training rows.
B was fine-tuned on those rows with the SFT recipe in the same trainer. The differences from Phase 1a are LR 1e-5 (the #9920 expert LR), 3 epochs and 64 sequences per step. Router weights train, and the selection bias stays frozen.
| Expert | Teacher traces kept, of 6,000 | Correct, used as rows | Training steps |
|---|---|---|---|
| E_X | 5,630 | 5,177 | 240 |
| E_R | 4,863 | 3,280 | 153 |
Each expert and B then generated one answer per probe prompt at the fixed decode, with reply caps of 32,768 and 131,072 tokens.
Result. E_X is a strong code expert. E_R is a modest math expert, and worse than B on long competition problems.
| Probe set | B, 32k | B, 131k | Expert, 32k | Expert, 131k | Notes |
|---|---|---|---|---|---|
| P_X (E_X) | 51.8% | 55.5% | 89.6% | 89.5% | 99.5% of B's answers are agent turns; none of E_X's are |
| P_R (E_R) | 41.7% | 42.9% | 50.3% | 49.5% | The same 290 E_R replies hit the cap at both limits |
| P_think (E_R) | 50.7% | 56.0% | 44.0% | 46.3% | 167 of 300 E_R replies reach the 131k cap still thinking |
Interpretation.
Part of B's distance from E_X is format, not skill. B answers in agent-turn format, so forward progress toward E_X partly measures learning E_X's plain format. The KL baselines include that format gap.
E_R is a weak target for long thinking. It was trained with a 16k cap and does not stop thinking at longer limits. Raising the limit to 131k rules out the cap as the cause: 56% of its P_think replies still run to the cap. The few replies that newly finish are mostly correct (23 of 28), but too few to close the gap. Most of B's gain at the longer limit is sampling variation.
Reference entropy. Scored on E_X's own answers, E_X's per-token entropy is 0.190 nats/token and B's is 0.358. Section E compares the trained models against these values.
Limitation. E_R was kept as is for Phase 1a. It is worse than B on P_think, and code-only students later beat it on P_R (section H), so math-anchor progress partly measures movement toward a weaker model.
E. Phase 0c: learning-rate sweep
Question. How do SFT and OPD learn task set X across learning rates, and at which LR can H1 be tested at both progress levels?
Setup. Each method trained θ_X (task set X alone, 100 steps, seed 0) at four LRs: 5e-7, 1e-6, 2e-6 and 4e-6. That gives 8 runs and 32 scored checkpoints, at steps 10, 30, 50 and 100. Weights were also saved at steps 20, 40 and 75.
Result. SFT moves toward E_X under both KL measures; OPD moves under only one. By step 100, SFT closes 70–82% of the forward gap and 65–89% of the reverse gap. OPD closes 76–86% of the reverse gap but at most 14% of the forward gap. At 2e-6 and 4e-6, OPD's forward KL rises above B's at some checkpoints. Matched forward progress is therefore unreachable for OPD at every tested LR, which is why H1 matches on reverse progress (section A).
OPD reaches most of its reverse progress in the first 10–30 steps, then adds thinking drift with little further progress. SFT's drift instead rises steadily with its progress. OPD's drift is also far more sensitive to LR than SFT's.
First step at which each run reaches the pre-registered levels:
| Method | LR | Reverse progress ≥ 0.5 | Reverse progress ≥ 0.8 | Forward progress, step 100 | Chat drift, step 100 |
|---|---|---|---|---|---|
| SFT | 5e-7 | step 50 | not reached (65%) | 70.1% | 0.056 |
| SFT | 1e-6 | step 30 | not reached (78%) | 76.5% | 0.082 |
| SFT | 2e-6 | step 30 | step 100 | 80.4% | 0.111 |
| SFT | 4e-6 | step 10 | step 10* | 82.1% | 0.157 |
| OPD | 5e-7 | step 30 | not reached (76%) | 7.7% | 0.122 |
| OPD | 1e-6 | step 30 | step 100 | 11.1% | 0.168 |
| OPD | 2e-6 | step 10 | step 100 | 14.1% | 0.253 |
| OPD | 4e-6 | step 10 | step 10 | 10.4% | 0.368 |
*SFT at 4e-6, step 10 generated 7.0M tokens on the P_X prompts, against 1.3–2.6M for other checkpoints. Its reverse progress falls back to 70% by step 30, so this crossing is likely degenerate sampling, not learning.
E.1 Why OPD's forward gap stays open
OPD learned E_X's answer format and writes answers E_X finds likely. It did not learn to put probability on the particular reasoning E_X writes, and forward KL is scored on exactly that reasoning.
OPD does pick up E_X's format. By step 30, its own samples no longer contain the Terminus-2 JSON that B writes.
The forward gap is in the reasoning tokens. OPD's forward KL on E_X's reasoning moves only 3–7% at any LR. At 2e-6 and 4e-6 it rises above B's at some checkpoints (0.60–0.65 against 0.50).
It is not collapse. OPD's answers are about as long as SFT's and E_X's (1.3–1.7M tokens per 1,000 prompts), and E_X rates their reasoning as likely: reverse KL on reasoning tokens is 0.09–0.18.
The mismatch sits where E_X itself is unsure. Token flips against E_X, split by E_X's confidence at each position of its answers:
| E_X's positions, by its confidence | SFT flip rate, step 10 → 100 | OPD flip rate, step 10 → 100 |
|---|---|---|
| Least-confident quarter | 0.44–0.51 → 0.23–0.31 | 0.48–0.51 → 0.41–0.43 |
| Second quarter | 0.04–0.07 → 0.003–0.011 | 0.05–0.07 → 0.026–0.032 |
| Most-confident half | ≤ 0.004 → 0 | ≤ 0.004 → ≤ 0.002 |
OPD agrees with E_X wherever E_X is sure, and keeps its own choices wherever E_X spreads probability over several continuations. This is the expected behavior of each objective:
Reverse KL lets the student specialize. It penalizes θ only for writing text E_X finds unlikely, not for ignoring continuations E_X also likes. θ can settle on one acceptable way of reasoning; this is mode-seeking.
Forward KL makes the student cover the teacher. It charges θ for every continuation E_X would write that θ finds unlikely.
The sampled loss reinforces this. OPD's gradient flows only through tokens θ samples, so a continuation θ rarely produces never gets pushed up.
SFT spreads toward all of E_X. Training on E_X's samples lowers forward KL, and text from something close to E_X is text E_X finds likely, so reverse KL falls too. The converse does not hold.
Two checks support this account:
OPD's answers are correct. Graded by execution, OPD's code answers at step 100 are right 86–88% of the time at LRs up to 2e-6, and 80% at 4e-6. SFT scores 86–89% and E_X 89.6%. OPD found a different but valid way to solve the tasks.
OPD is as sharp as its teacher. On its own answers, OPD's per-token entropy at step 100 is 0.11–0.14 nats/token at every LR and seed, below E_X's 0.19; SFT stays at 0.20–0.33. On a shared text, E_X's own answers, OPD scores 0.191–0.201, matching E_X's 0.190, while SFT scores 0.23–0.32 and B 0.358. So the sharpening is not an artifact of scoring each model on its own text. OPD's forward KL stays high because, at E_X's uncertain positions, it is confident about different tokens.
E.2 Drift at equal steps versus equal progress
The same runs give opposite answers to "which method drifts more?" At equal steps OPD drifts much more; at equal progress, around 0.65 here, the two drift about equally. Stage C finds the same at 0.5 but a gap at 0.8 (section I), so the gap opens only at high progress. Drift can rise without learning, as OPD at LR 5e-7 shows:
| Step | OPD reverse progress on code | OPD thinking drift |
|---|---|---|
| 30 | 64.6% | 0.095 |
| 50 | 74.3% | 0.235 |
| 100 | 76.4% | 0.266 |
Between steps 30 and 100, OPD gains about 12 points on code while its thinking drift nearly triples.
| Comparison at LR 5e-7 (thinking drift) | SFT | OPD | Verdict |
|---|---|---|---|
| Same step (100) | 65% progress, drift 0.108 | 76% progress, drift 0.266 | OPD drifts about 2.5× more |
| Same progress (~65%) | step 100, drift 0.108 | step 30, drift 0.095 | About equal |
The same pattern appears at 2e-6. There, at about 77% reverse progress, OPD at step 10 has thinking drift 0.116, against SFT's 0.15–0.21 near the same progress. At step 100, OPD's thinking drift is 2.1–2.5× SFT's at every LR.
Drift grows the further a model moves, so a same-step comparison mixes how far each method moved with how much it disturbed along the way. H1 asks about the second: is OPD a gentler way to learn the task set? A same-step comparison answers a different question, which method leaves the model in better shape for the same compute. Phase 1a matches budgets, so both comparisons come from the same runs.
Drift measures how much predictions on B's text changed, not whether behavior got worse. At step 100 at LR 5e-7, SFT changes B's top token at 10.2% of thinking positions and OPD at 12.1%: 1.2× apart, while drift is 2.5× apart. Much of OPD's extra drift is shifted confidence rather than different top choices.
E.3 Side effect on math
Training on code alone moves SFT 36–43% of the way toward E_R by step 100; OPD moves between −3% and +13%. Format tokens explain under 2% of SFT's move. It is also not SFT simply becoming E_X: E_X itself is only 24% of the way to E_R.
The two experts' weight updates are nearly orthogonal overall (cosine +0.025). The exception is the embedding and output layers (+0.59), where SFT's alignment with E_R lies entirely along E_X. Most of the move looks like a shift away from B's style that both experts share. A small residual aligned with E_R remains in attention and the shared expert. Stage B's graded answers (section H) confirm a real accuracy gain on math, though format and skill cannot be separated.
E.4 Choosing the learning rate
| LR | Can H1 be tested at 0.5 and 0.8? | Drawback |
|---|---|---|
| 5e-7 | 0.5 only; neither method reaches 0.8 | Smallest drift, so the weakest interference signal |
| 1e-6 | 0.5 only; SFT reaches 78% | — |
| 2e-6 (chosen) | Both | OPD passes 0.5 before step 10, so OPD needs checkpoints at steps 2, 4, 6 and 8 |
| 4e-6 | Both | Most drift; SFT's step-10 samples look degenerate |
Phase 1a uses LR 2e-6, the lowest swept LR at which both methods reach 0.8 within 100 steps. The noise floor measured at 5e-7 (section F) does not transfer to a new LR, so Stage B's code-only runs re-measure it at 2e-6 (section H).
Limitation. All sweep results are single-seed. Phase 1a's three seeds decide H1.
Cost. About 1,150 H100-hours, including the experts and probe continuations. OPD at 4e-6 lost its exports in a storage write suspension and recovered them from saved checkpoints without retraining.
F. Phase 0c: seed noise floor at LR 5e-7
Question. Could the random seed alone produce a difference between runs as large as the effects H1 looks for?
Setup.
Runs. Three seeds of each method's θ_X run at LR 5e-7 for 100 steps: seed 0 from the sweep, plus seeds 1 and 2. A pre-launch audit confirmed that the seeds differ only in prompt order and sampling.
Matching. Each seed's metrics are interpolated to the same reverse progress between its scored checkpoints (steps 10, 30, 50 and 100, with B as step 0).
Levels. No run reaches 0.8 at this LR: SFT ends at 65–67% and OPD at 75–77%. The gate therefore checks 0.5 plus each higher level all three seeds reach: SFT at 0.5 and 0.6, OPD at 0.5, 0.6, 0.65 and 0.7.
Threshold. The seeds' standard deviation must be below a third of the reverse gain at that level, that is level × 0.6935 / 3. That is 0.116 at 0.5 and 0.162 at 0.7. The same threshold applies to every metric.
Metrics. 11 per level: forward X KL, R fidelity, chat and thinking drift, token flips on X, chat and thinking, and routing disagreement on X, R, chat and thinking. Reverse KL is the matching axis, so it is not gated. In all, 6 levels × 11 metrics = 66 comparisons.
Result. All 66 comparisons pass. No metric's seed SD exceeds a quarter of its threshold.
| Method | Largest SD | Metric | Level | Threshold | SD / threshold |
|---|---|---|---|---|---|
| SFT | 0.0096 | Forward X KL | 0.6 | 0.139 | 7% |
| OPD | 0.0395 | Thinking drift | 0.7 | 0.162 | 24% |
Mean ± SD over three seeds at progress 0.5 (lower is better for every KL row):
| Metric | B | SFT | OPD |
|---|---|---|---|
| Forward X KL | 0.518 | 0.263 ± 0.006 | 0.478 ± 0.002 |
| Chat drift | 0 | 0.033 ± 0.002 | 0.032 ± 0.001 |
| Thinking drift | 0 | 0.053 ± 0.003 | 0.069 ± 0.003* |
| Routing disagreement on thinking, share of tokens | 0 | 0.154 ± 0.005 | 0.117 ± 0.003* |
*Interpolated across OPD's step 10–30 gap.
This table is not an H1 result. It suggests OPD drifts more on thinking at 0.5, but the measured checkpoints point the other way. OPD at step 30 (65–71% progress) has thinking drift 0.095 on every seed; SFT at its nearest point (step 100, 65–67%) has 0.106–0.108.
Why the gate is read at matched progress. The gate was first read at fixed steps, against a third of each method's forward and reverse gains. That reading failed in two places that say nothing about H1:
At step 10, progress is only 2–7%, so a third of the gain is a tiny bar, and H1 never compares at step 10.
Against OPD's forward gain: OPD barely moves forward KL, so a third of that gain is near zero (0.006 at step 50).
The gate was therefore read where H1 compares, at matched reverse progress. The fixed-step results are kept with the noise-floor artifacts.
Limitations.
OPD's 0.5–0.65 points are interpolated across a gap. OPD jumps from 5–8% progress at step 10 to 65–71% at step 30, with nothing scored in between. A straight line across that gap can understate both the value and the seed spread.
The spread grows where OPD stalls. At 0.7, OPD's thinking-drift SD is 0.040, twelve times its value at 0.5.
Flips and routing are fractions of positions, so passing a threshold of 0.116 or more is nearly automatic. Those passes carry little information.
The threshold is a placeholder for the design's smallest effect of interest: the larger of 10% of the task-set gain and 25% of procedure-null drift. The final value, set after the Phase 1a procedure nulls, is in section I.
The LR changed. Phase 1a runs at 2e-6, so this floor does not carry over. Noise depends on the step size, and OPD crosses 0.5 before step 10 at 2e-6. Section H re-measures it.
Cost. 574 H100-hours, none lost to failures.
G. Phase 1a Stage A: pipeline validation and smoke runs
Question. Do the data, launches and measurements for the full 24-run Phase 1a matrix work, before any full-length training?
Setup. The Phase 1a matrix has 24 runs: 2 methods × 3 task-set conditions (θ_X, θ_R, θ_XR) × 3 seeds, plus four single-seed batch-noise controls and one procedure null per method. Stage A built and checked the inputs, then ran four 10-step smokes (SFT and OPD, each math-only and joint).
Procedure-null data. 1,600 first-turn prompts from
lmsys/lmsys-chat-1m, screened against the Stage 0 data and the chat probes. B wrote 4 answers each. 800 prompts were selected, identical for both methods.Exposure control. Single-task-set runs see 32 answers per step and joint runs 64 (32 code plus 32 math). Each task set keeps the same 8 prompts per step, in the same order. The math pool has 2,340 all-correct prompts, enough for the 1,600 the larger math batch-noise control needs.
Early checkpoints. OPD also saves, exports and scores steps 2, 4, 6 and 8, because at 2e-6 it passes 0.5 before step 10.
New measurements. Reverse math KL on each model's own answers, math-answer grading, and the matched-progress analysis of section A, all with tests.
Result. All 24 runs passed configuration dry runs, and 131 affected tests passed. All four smokes completed training, export, generation, scoring and grading; math and joint training had never run before.
Projected cost per full 100-step run, including exports and scoring:
| Condition | SFT (H100-h) | OPD (H100-h) |
|---|---|---|
| Math only (θ_R) | 112 | 266 |
| Joint (θ_XR) | 111 | 429 |
These exclude routing, full-vocabulary checks, agentic scoring and grading. OPD's math generation has a long tail: in the joint smoke, the 90th-percentile answer was 130,876 tokens.
A single-seed observation. At step 10, math-only OPD still answers in B's agent format on 75.5% of math replies and 87.7% of code replies. Joint OPD has dropped it, at 7.9% and 0%. Accuracy follows the format:
| Step-10 smoke | Code accuracy | Math accuracy |
|---|---|---|
| SFT, math only | 56.3% | 53.8% |
| OPD, math only | 32.6% | 29.2% |
| SFT, joint | 70.9% | 52.1% |
| OPD, joint | 75.6% | 51.5% |
Pairing the same math problems across the two OPD runs accounts for all of joint OPD's net gain of 223 correct answers. Where math-only OPD answered in agent format and joint OPD answered plainly, joint OPD gets 226 more right. Where both answered plainly, correctness barely changes (143 against 145). One explanation is that the code expert pulls OPD out of B's agent mode, which changes which samples the math expert then scores. This is one seed at equal steps, with different batch sizes (32 against 64). Stage B's three-seed early checkpoints (section H) show the early transition varies widely by seed.
Cost. 233 H100-hours, of which 9.7 were lost to failed or cancelled jobs. The smoke checkpoints (9.1 TB) were deleted after scoring; their scores and audits are kept.
H. Phase 1a Stage B: code-only runs at LR 2e-6
Question. At the Phase 1a learning rate, is seed noise small enough at matched progress to resolve interference? The same runs serve as the θ_X references that Stage C's interference measure subtracts against.
Setup. Both methods trained θ_X at LR 2e-6 for 100 steps with three seeds, using the recipe in section A. Prompt order is paired across methods within each seed. SFT is scored at steps 10, 30, 50 and 100. OPD is also scored at steps 2, 4, 6 and 8, giving 36 checkpoint evaluations. All six runs were then extended to step 125 on the next prompts in the same seeded order, adding six more. The gate threshold at level l is l × 0.6935 / 3, which is 0.116 at 0.5 and 0.185 at 0.8, with the one-sided confirmation guard from section A.
Result: the 0.5 gate. All three seeds of both methods confirm a crossing.
| Method | Level | Matched optimizer steps (seeds 0, 1, 2) | Aggregate checks passing | Worst aggregate / threshold | Bucket checks passing |
|---|---|---|---|---|---|
| SFT | 0.5 | 12.2, 9.6, 14.5 | 8 of 8 | 0.14 (forward code KL) | — |
| OPD | 0.5 | 6.9, 7.5, 6.9 | 9 of 9 | 0.27 (reverse math KL) | 29 of 35 |
| SFT | 0.8 | 83.8, 75.8, 77.7 | 9 of 9 | 0.03 (reverse math KL) | 33 of 33 |
| OPD | 0.8, first crossing | 7.8, 80.2, 7.9 | 8 of 9 | 1.17 (thinking KL) | 23 of 33 |
| OPD | 0.8, last crossing | 79.6, 80.2, 62.6 | 9 of 9 | 0.10 (forward code KL) | 31 of 33 |
The gate uses aggregate metrics. The nine aggregate metrics are forward and reverse KL on code and math, chat and thinking drift, and token flips on code, chat and thinking. Unlike section F's gate, routing disagreement is reported separately (below) rather than gated. Bucket-level metrics (delimiter, final-message, reasoning and tool-argument positions) are reported separately against the same threshold and do not gate. This was decided after the step-125 extension, on the evidence below. SFT's 0.5 checks cover eight aggregate metrics: seed 1 crosses before step 10, so its lower bracket is B, which has no code-flip or per-bucket values. At 0.5, OPD passes every aggregate metric, and 6 of its 35 bucket checks fail (6 of 44 checks overall): five at delimiter positions and one at final-message positions.
These failures come from where the match lands, not from noisy aggregates. OPD crosses 0.5 between steps 6 and 8, while its reverse progress jumps from about 0.2 to 0.58–0.87. Step-8 code accuracy is 75%, 35% and 57% across the three seeds. Interpolating across that jump turns small timing differences between seeds into large differences on few-token, format-sensitive positions.
The 0.8 gate. At step 100, the 0.8 crossings of SFT's seeds and OPD seed 1 sat at the last checkpoint and could not be confirmed, so all six runs were extended to step 125. At step 125, reverse progress is 0.867, 0.850 and 0.855 for SFT and 0.855, 0.842 and 0.846 for OPD, so every seed confirms 0.8. SFT passes all 42 checks. OPD's first-crossing match mixes two seeds inside the step-8 spike (reverse progress 0.870 and 0.832 at step 8, falling back to 0.757 and 0.784 at step 10) with seed 1 near step 80. Comparing those different models fails 11 of 42 checks, including aggregate thinking KL at 1.17× threshold. With the last crossing, all three OPD seeds match between steps 63 and 80, every aggregate metric passes, and only two delimiter-bucket checks fail. The failure reflects OPD's non-monotone trajectory, not seed noise at stable points: at step 100, OPD's seed SD of forward code KL is 0.004 nats against a smallest effect of interest of about 0.04–0.06.
Math transfer, from graded answers. Code-only training raises math accuracy well above B, and above E_R.
| Step | SFT code accuracy | OPD code accuracy | SFT math accuracy | OPD math accuracy |
|---|---|---|---|---|
| B | 55.5% | 55.5% | 42.9% | 42.9% |
| 8 | — | 55.7% | — | 20.1% |
| 10 | 65.8% | 75.5% | 47.3% | 19.8% |
| 30 | 84.7% | 85.8% | 55.4% | 55.0% |
| 100 | 86.8% | 87.4% | 54.3% | 56.1% |
Means over three seeds, at the 131k-token reply cap; at the 32k cap, B scores 51.8% on code (section D). E_R scores 49.5% on the same evaluation. OPD's early math collapse recovers by step 30 in every seed. Paired against B on the same 1,000 problems, wrong-to-right against right-to-wrong counts at step 100 are 174/60, 174/58 and 176/65 for SFT, and 179/52, 181/50 and 189/51 for OPD. Format changes together with correctness: B answers 994 of 1,000 math problems in agent format, and both methods answer none in it at step 100. Only six B answers are plain, too few to separate format from skill.
Drift at equal steps. At step 100, OPD's drift is about 2.2× SFT's with slightly less reverse progress, so the direction holds against OPD even near matched progress.
| Step 100, three-seed means | SFT | OPD |
|---|---|---|
| Reverse code progress | 85.3% | 82.3% |
| Forward code progress | 80.1% | 14.0% |
| Chat drift | 0.111 | 0.248 |
| Thinking drift | 0.205 | 0.449 |
| Top-token disagreement, code (vs E_X) | 6.05% | 11.02% |
| Top-token disagreement, chat (vs B) | 9.37% | 11.34% |
| Top-token disagreement, thinking (vs B) | 13.57% | 15.71% |
Routing disagreement at step 100 is available for SFT and two OPD seeds. OPD changes routing less on code (47–48% against 50%) and math (35–36% against 39–40%). On chat and thinking it is similar to SFT (33–42%) despite its higher drift. Routing disagreement shows a change in selected experts, not its causal contribution to drift.
KL precision. On a fixed, seeded 1% sample of positions, the binned estimator was checked against full-vocabulary KL for one step-10 checkpoint per method. Top-256 and top-512 supports gave delimiter errors too large for chat and thinking. Their support was raised to 1,024; task-set KL keeps 256. At that support, all 15 checks pass for each method. The largest error is 0.0012 against an allowed 0.0017 for SFT, and 0.0018 against 0.0026 for OPD. All 11 engine self-noise checks are zero.
Seed alignment of weight updates. Cosine similarity between seeds' FP32 weight updates from B, averaged over the three seed pairs:
| Optimizer step | SFT | OPD |
|---|---|---|
| 10 | 0.785 | 0.563 |
| 50 | 0.704 | 0.412 |
| 100 | 0.641 | 0.333 |
OPD's update directions are less aligned across seeds in every parameter group at step 100, from routed experts (0.33 against 0.64) to the LM head (0.74 against 0.96). Two of SFT's three step-10 pairs use a replayed seed-0 snapshot, because the original FP32 file was missing.
Limitations. OPD's first-crossing match at 0.8 fails the thinking-KL gate. Stage C (section I) keeps it as the registered row, flagged, and reports the last crossing alongside. One OPD seed's step-10 routing capture failed twice before a rerun succeeded. No routing self-noise floor was measured. Stage C runs train 125 steps, matching the extended θ_X runs.
Cost. About 1,620 H100-hours, including the step-125 extension, the routing rerun and 40.5 H100-hours of allocations on failed or interrupted jobs.
I. Phase 1a Stage C: H1 at matched progress and H2 routing
Result: H1 is not supported, and H2 was tested only in its weaker router-weight form, which did not support it. OPD does not drift less than SFT at matched reverse progress. At math 0.8 it drifts about 2.3× more on chat and thinking. At code 0.8, the registered first-crossing match shows no reliable difference but fails the noise gate; the last-crossing sensitivity check gives about 2.3×. At 0.5 the methods are within the smallest effect of interest, and OPD's chat drift on code is slightly lower. Interference between X and R is small for both methods, so it cannot show that OPD reduces interference. The one difference near the smallest effect of interest goes the other way: at math 0.8, code training hurts OPD's math slightly more than SFT's.
Data. Stage C uses 151 scored checkpoints: 42 θ_X from Stage B and 109 from Stage C. One OPD θ_XR seed-0 checkpoint (step 50) has no score and is interpolated across. Matching follows section A: first confirmed crossing, last crossing as a sensitivity check, and seed-bootstrap ranges over three paired seeds. H2 was tested with a router-weight graft on the final checkpoints (below). The forced-top-k routing patch and the planned on-policy agentic drift probe were not run.
Smallest effect of interest (final). The procedure nulls drift KL(B ‖ θ) = 0.079 chat / 0.067 thinking for SFT and 0.006 / 0.004 for OPD at step 100, so 25% of null drift is at most 0.020 nats/token. The larger term, 10% of the single-task-set reverse gain, sets the bar: 0.035 (code) and 0.029 (math) at 0.5, 0.055 and 0.046 at 0.8.
Drift at matched reverse progress. Seed-mean KL(B ‖ θ) in nats/token, with OPD − SFT and its seed-bootstrap range (three paired seeds; section A).
| Anchor, level | SFT chat / thinking | OPD chat / thinking | OPD − SFT chat | OPD − SFT thinking |
|---|---|---|---|---|
| Code 0.5 | 0.039 / 0.060 | 0.024 / 0.048 | −0.015 [−0.023, −0.007] | −0.012 [−0.028, +0.006] |
| Code 0.8, first crossing* | 0.105 / 0.191 | 0.108 / 0.198 | +0.003 [−0.072, +0.104] | +0.008 [−0.121, +0.179] |
| Code 0.8, last crossing | 0.105 / 0.191 | 0.250 / 0.455 | +0.145 [+0.140, +0.150] | +0.265 [+0.259, +0.272] |
| Math 0.5 | 0.029 / 0.041 | 0.032 / 0.065 | +0.003 [−0.001, +0.006] | +0.024 [+0.016, +0.031] |
| Math 0.8 | 0.127 / 0.243 | 0.296 / 0.555 | +0.169 [+0.164, +0.175] | +0.312 [+0.309, +0.314] |
*OPD's code 0.8 first crossing fails the thinking-KL noise gate, as in Stage B: two seeds match inside the step-8 spike. By a user decision before Stage C, this registered row is kept, flagged, with the last crossing alongside. Its mean mixes two step-8 OPD models (chat drift 0.033 and 0.035) with one near step 80 (0.256), so it does not describe one stable model. OPD's drift is flat from about step 63 to step 100: chat drift is about 0.25 at the last crossing and at step 100 (section H). Every other cell passes the aggregate gate.
At 0.5 both methods are within the smallest effect of each other; on code, OPD's chat drift is lower (−0.015, below the 0.035 bar). At 0.8, wherever the match passes the gate, OPD's excess drift is about 3–7× the smallest effect, and the three seeds agree closely. On top-token flips the gap is much smaller: at 0.8, OPD changes B's top token at 11–12% of chat positions and 16–17% of thinking positions, against 9–10% and 13–15% for SFT, about 1.2×. OPD's procedure null starts at its loss minimum (KL(θ‖B) = 0 at θ = B), so its near-zero drift (0.006) is expected and does not separate task-set-driven from procedure-driven drift for OPD. SFT's null drifts 0.079 on chat and 0.067 on thinking by step 100, against SFT's 0.105–0.127 and 0.191–0.243 at 0.8.
Interference. I(A←B) = F_A(θ_XR) − F_A(θ_A), reverse form, in nats/token. Both models are read at the step where the single-task-set run θ_A reaches the matched level; matching the joint run separately on task set A would force reverse-form interference to zero by construction. Positive means joint training hurt task set A.
| Anchor, level | SFT seeds 0 / 1 / 2 | OPD seeds 0 / 1 / 2 | OPD − SFT |
|---|---|---|---|
| I(X←R), 0.5 | +0.010 / +0.011 / +0.015 | +0.007 / −0.138 / +0.015 | −0.051 [−0.117, −0.001] |
| I(X←R), 0.8 first | +0.006 / −0.000 / +0.014 | +0.016 / +0.003 / +0.016 | +0.005 [+0.002, +0.009] |
| I(X←R), 0.8 last | as above | −0.006 / +0.003 / +0.016 | −0.002 [−0.008, +0.003] |
| I(R←X), 0.5 | −0.028 / −0.059 / +0.007 | −0.072 / −0.043 / −0.062 | −0.033 [−0.064, +0.003] |
| I(R←X), 0.8 | −0.031 / −0.025 / −0.043 | −0.016 / +0.041 / +0.021 | +0.048 [+0.025, +0.066] |
Math training costs code at most 0.016 nats/token, below half of the smallest effect at either level, for both methods. Code training helps SFT's math at both levels. For OPD it helps at 0.5 but slightly hurts at 0.8, so OPD − SFT is +0.048 there: at the smallest effect (0.046), with an interval reaching below it. The large OPD − SFT gap on code at 0.5 rests on one OPD seed and is in the helpful direction. Forward-form interference is under 0.02 in every cell.
Interference as a share of each task set's gain. A useful way to read the interference numbers is as a fraction of what single-task-set training achieved:
Gain: how much closer the single-task-set run θ_A got to its teacher than the starting model, in reverse KL on that task set's probes.
Interference I(A←B): how much worse the joint run θ_XR is on task set A than θ_A, both read at the step where θ_A has closed a given fraction (0.5 or 0.8) of its gap to the teacher. Positive means the other task set hurt A; negative means it helped.
Share = interference ÷ gain. For example, +3.5% means the joint model gave up 3.5% of the code improvement that code-only training achieved. The smallest effect of interest is 10% of the gain, so a share below 10% is below the bar.
| Task set hurt (← other task set) | Method | 0.5 | 0.8 | Reading |
|---|---|---|---|---|
| Code (← math) | SFT | +3.5% | +1.2% | Math training costs a little code gain |
| Code (← math) | OPD | −11% | +0.8% to +2.1% | At 0.5 the joint model is better at code than the code-only model |
| Math (← code) | SFT | −9% | −7% | Code training helps math at both levels |
| Math (← code) | OPD | −21% | +3.4% | Code training helps early, slightly hurts by 0.8 |
Two caveats. OPD's −11% on code is mostly noise: it rests on one seed (seed 1 at −0.138 nats/token) and its interval runs from clearly helpful to slightly harmful (−0.106 to +0.013). The math-at-0.8 flip (SFT −7% against OPD +3.4%) is the only OPD − SFT difference that reaches the bar: +0.048 nats/token against a 0.046 bar, with an interval reaching below it. It points the opposite way from H1. No harmful share reaches 10%. Code and math share most of what they train (reasoning traces and answer formatting), so learning one mostly does not fight the other and sometimes helps. That is why this pair cannot test the interference half of H1.
Forward form. The forward-form bars differ by method. SFT's procedure null drifts far on the task-set probes (forward KL +0.175 on P_X and +0.113 on P_R by step 100), so 25% of null drift sets SFT's forward bar at 0.044 (code) and 0.028 (math). OPD's null stays at θ_0, so its forward bar is 10% of a small forward gain, about 0.004. Against that bar, OPD's forward I(R←X) at 0.5 is +0.010 [+0.010, +0.011]: about 2.7× the bar, but only 0.01 nats/token in absolute terms. Every other forward cell is negative or within its bar.
Batch-noise controls (seed 0 only). θ′ is the same single-task-set run with a doubled batch of fresh samples. Against SFT θ_X′, I(X←R) is +0.010 to +0.048 at 0.5, whose upper end exceeds the 0.035 bar, and +0.020 to +0.036 at 0.8, below the 0.055 bar. Against OPD θ_R′, I(R←X) is −0.087 to −0.068 at 0.5 and −0.004 to +0.071 at 0.8 (mean +0.041, below 0.046). SFT θ_R′ and OPD θ_X′ were not trained, so each interference claim has only one control per method.
Caveat: matched reverse progress is not matched learning. At equal reverse progress OPD has closed far less of the forward gap: 0.02–0.09 against SFT's 0.42–0.78 on code, and 0.02–0.23 against 0.29–0.64 on math.
H2: router weights do not explain the joint/single-task-set difference, and the routing patch was not run. On the step-125 finals (seed 0), Stage C built a hybrid: the single-task-set model θ_A with only the joint model's router tensors swapped in, for SFT and OPD on both anchors. On every measurable family (forward KL, top-1 flips, routing distance on P_X, P_R, P_chat and P_think), this hybrid reproduces 0–2% of the joint model's change from θ_A. For example, SFT's forward KL on P_R moves −0.119 in the joint model and −0.0002 in the hybrid. The router tensors moved only 0.017–0.018% (relative norm) over 125 steps, so the joint models' routing changes come from hidden-state drift upstream of the router. Because code + math showed no interference, this graft measures the router weights' share of the joint model's overall change, not of an interference effect. The registered routing patch, which forces the single-task-set model's top-k selections onto the joint model, was not run, so H2 is untested in its intended form. Caveats: the graft donors are fp32 upcasts of bf16 exports, because the fp32 master checkpoints had been deleted in a storage cleanup. Reverse-form families cannot be read here, because they score the donor's own rollouts.
Cost and deviations. Stage C used about 8.3k H100-hours (±10%), against a planned 5–6k: SFT training about 1.3k, OPD training about 1.75k, procedure nulls about 2.3k (mostly GPUs billed while finished jobs stayed reserved during a cluster controller stall), scoring about 2.8k and exports about 0.2k, plus about 0.8k hours of CPU generation and grading. Deviations:
The fp32 master checkpoints were deleted in an approved storage cleanup before H2 ran, so the graft donors are exact fp32 upcasts of the bf16 exports.
The SFT procedure null was exported only through step 100, so its drift is read there.
One H2 scoring job needed a third attempt after two GitHub wheel-download outages.
About 97 TB of temporary masters and attempts were deleted. The full H1 and H2 reports are kept in the experiment directory.
What this means for the design. X and R barely interfere under either method, so this pair cannot test the interference half of H1. Phase 1b (section J) therefore looked for a pair that does interfere, using two existing, strongly disjoint models as teachers: a terminal-agent expert and a math expert.
J. Phase 1b: conflict-pair pilot (positive control)
Result: the uncorrected pilot passes its positive control, but the corrected effect does not. With a strongly disjoint teacher pair, joint SFT measurably slows the math task set early in training: at matched reverse progress 0.5, I(R←J) is 32% of the single-task-set gain, above the 20% bar. The effect is transient (gone by step 125) and appears only on the math side. The three-seed rate controls in J.1 replicate it, but show that about 59% of the gap comes from task-set weight dilution under token-mean loss. The corrected residual, about 13% of the gain, clears the 10% smallest effect of interest but not the 20% bar, and it is gone by step 30. So the positive control does not establish a large interference signal.
Design. The student is the same B as in Phase 1a. Each expert is used only as a teacher, so nothing is merged in weight space. J is Terminus-2 terminal agentics, taught by T1 (marianna13/Grug-67B-A2B-Antidoom-RLVR1-Step12-SFT-mix-v4-think-step465). R is competition math. Gate 1 requires each expert to be farther from the other than from B on its own task set, and to beat both on its own task set. Gate 2 requires an achievable joint target. Gate 3 trains single-seed SFT θ_R, θ_J and θ_RJ (125 steps, LR 2e-6) and needs reverse-form interference above twice the smallest effect (10% of the single-task-set gain) at matched progress 0.5 or 0.8.
The first math teacher failed gate 1, after a scorer bug was fixed. The first gate-1 pass used open-athena/Grug-67B-A2B-Datakit-SFT-Repro-262K-Step2048 (Datakit-SFT below) as the math teacher, and it was an artifact. Datakit-SFT's config declares split routed experts, but its files store them stacked, and the Megatron bridge silently loaded the experts wrongly. On Datakit-SFT's own samples the scorer gave 3.227 nats/token against vLLM's 0.154. The fix (PR #11130) picks the layout from the actual tensor names; parity is now 0.1537 vs 0.1543, and T1 always matched (0.2326 vs 0.2328). With correct scores, KL(T1‖Datakit-SFT) on terminal probes is 0.095, below KL(T1‖B) = 0.335, so the pair was not disjoint. The likely cause is shared Datakit-SFT lineage with T1.
Replacement screen. Four same-vocabulary candidates were scored with the corrected scorer, each after a vLLM-vs-scorer parity check. Margins are in nats/token. The math-side margin is KL(M′‖T1) − KL(M′‖B); the terminal-side margin is KL(T1‖M′) − KL(T1‖B). Both must be positive.
| Candidate | Math-side margin | Terminal-side margin | Verdict |
|---|---|---|---|
| Snowball 5.7T-Mixed-RLVR-Step38 (S38) | +0.098 | +0.398 (852 of 1,000 probes) | selected |
| Snowball 10T-Mixed-RLVR-Sync-Step92 | +0.033 | +0.563 | passes, runner-up |
| Datakit-SFT-262K-2026.10.05 | −0.006 | −0.248 | fails |
| Antidoom-RLVR1-Reference-KL-Step20 | −0.094 | −0.190 | fails |
Both Datakit-lineage candidates fail; both Snowball RLVR candidates pass. S38 has the larger of the two minimum margins, better thinking-probe accuracy, and ends turns with the same token as B's template. S38's 32K context limit meant its terminal check ran on 852 probes.
| Gate | S38 | B | T1 |
|---|---|---|---|
| Math probes correct (P_R) | 545/1000 | 417 | 470 |
| Thinking probes correct (P_think) | 184/300 | 152 | 112 |
| Held-out terminal tasks solved / verified (of 100) | 13/97 | 2/96 | 34/98 |
Terminal denominators count the tasks the verifier scored. Trials that ended in harness setup or protocol errors are excluded.
Gate 2 still passes with the joint witness (laion/snowball-67b-a2b-relay-sft-allkimi-step1203), a model that does both task sets and so shows that a joint target is achievable: 557/1000 on P_R, 181/300 on P_think and 37/94 on terminal tasks. A prompt classifier separates the two task sets 100%, and no prompt is in both training sets.
Training data. Neither set is filtered on correctness, following the design's rule against rejection-sampled SFT; Phase 1a's correctness-filtered SFT data was a known deviation from that rule. Each J row is one assistant turn sampled from a T1 episode, with its prior conversation.
J: 4,000 T1 rows, 4 per task over 1,000 tasks: 2,827 failed, 1,083 solved, 90 unverified.
R: 4,000 S38 rows over the same 1,000 math tasks as before, with 1 task replaced: 3,786 correct, 214 incorrect.
RJ: the two sets combined.
Gate 3 result. All three arms trained 125 steps on 4 × 8 H100. The math comparison uses one exactly matched set of 892 probes, scored as reverse KL to S38.
| Model | KL(θ‖S38), math | Note |
|---|---|---|
B | 0.355 | baseline |
| θ_R, step 10 | 0.174 | reverse progress 0.51; first crosses 0.5 at step 9.8 |
| θ_RJ, step 10 | 0.232 | |
| θ_R, step 125 | 0.109 | progress 0.69 |
| θ_RJ, step 125 | 0.105 | joint is slightly closer |
Interference at 0.5: I(R←J) = +0.056 nats/token, 31.7% of θ_R's gain, against a 20% bar. That is 1.71 × Stage C's three-seed SD (0.033), borrowed as a stand-in noise scale.
Sensitivity check: using each model's own eligible responses, the crossing is at step 14.9 (confirmed at step 50), and I = +0.038, 23.4%. It still passes.
Terminal side: no interference. Reverse progress to T1 at step 125 is 0.802 for θ_RJ against 0.796 for θ_J.
Forward form: smaller. At step 30, math interference is 5.7% and terminal 1.4% of the single-task-set gains.
Drift at step 125, KL(B‖θ) on P_chat / P_think: θ_R 0.098 / 0.135, θ_J 0.117 / 0.129, θ_RJ 0.081 / 0.111.
Caveats.
This is a single seed, and the noise scale comes from Phase 1a, which used a different teacher and task set.
Each model's sampled responses differ, so reverse KLs compare different tokens.
The effect is transient.
θ_R reaches only about 0.69 reverse progress by step 125, so 0.8 is not reached. Extending would need an estimated 380–565 total steps and 230–310 more H100-hours, with no guarantee; it was not run.
Unlike Phase 1a, Phase 1b's SFT data is unfiltered: 71% of terminal rows (2,827 of 4,000) come from failed T1 trajectories, so θ_J imitates T1's behavior rather than verified solutions. This weakens the terminal-side null result.
Cost and incidents. The single-seed pilot used about 951 H100-hours. Of that, about 95 were lost when the cluster scheduler marked two successful θ_R training attempts as failed after they completed ('pod deleted while active') and retrained them. The pilot also found and fixed three tooling bugs:
the Datakit-SFT expert-layout loader;
a shared sampler that ignored each model's own end-of-sequence tokens;
a verified-copy failure on small files in object storage.
J.1 Rate controls: is the early math gap interference or task-set weight dilution?
Result: most of the gap is task-set weight dilution, and what remains is real but transient. Restoring math's share of the loss removes 59% of the early I(R←J). The residual, +0.024 nats/token (about 13% of the gain), is above the smallest effect worth detecting (about 0.018) but below the 20% positive-control bar, and it is gone by step 30. Any future SFT-vs-OPD interference comparison should use task-set-normalized objectives.
Why a control was needed. With token_mean loss reduction, SkyRL divides the whole step's loss by the total number of supervised tokens across R and J. The joint batch is 32 R + 32 J rows, but J rows are longer, so R supplies only 43% of the joint run's supervised tokens (41% in steps 1–10) instead of 50%. Part of the joint run's slower math progress could therefore come from a smaller math coefficient, not from J interfering. Under AdamW this is not literally a lower learning rate, but it shrinks math's share of each update.
Controls. These are all fixed-completion SFT from B at LR 2e-6 for 125 steps. Each was scored as reverse KL to S38 at steps 10, 30, 50 and 125 on exact-ID matched panels drawn from the fixed 892-prompt P_R panel.
R-restored joint (seeds 0–2): the same R+J data, with each R token's numerator scaled by (step tokens ÷ R tokens), so math gets the weight it would have alone. J's numerator and the global denominator are unchanged, so math ends up with close to two-thirds of the objective's weight rather than half. The restored run may therefore over-correct slightly, and the 59% is an upper estimate of the dilution share.
θ_R′, batch noise (seed 0): 64 math rows per step (32 original plus 32 fresh S38 samples), which tests whether a larger, noisier batch alone slows math.
Paired θ_R and original θ_RJ seeds 1 and 2: these turn the single-seed pilot into a three-seed estimate.
I(R←J) at the first confirmed reverse-progress-0.5 crossing, in nats/token, with seed-bootstrap ranges (three seeds; section A):
| Seed 0 | Seed 1 | Seed 2 | Mean [seed-bootstrap range] | |
|---|---|---|---|---|
| Original joint | +0.0564 | +0.0636 | +0.0571 | +0.0590 [0.0565, 0.0622] |
| R-restored joint | +0.0234 | +0.0260 | +0.0236 | +0.0243 [0.0235, 0.0255] |
| Reduction | 0.0329 | 0.0376 | 0.0335 | 0.0347 [0.0331, 0.0367], 59% |
The original effect replicates: all three seeds sit near +0.06, about 31–32% of θ_R's gain at the crossing.
Batch noise is not the cause. θ_R′ minus θ_R (seed 0) is −0.0018 / −0.0051 / −0.0054 / −0.0082 at steps 10 / 30 / 50 / 125, so doubling the math batch slightly helps. This control has one seed.
The residual is transient. The restored joint minus solo gap is +0.024 / −0.003 / +0.000 / −0.006 at steps 10 / 30 / 50 / 125 for seed 0. For seed 2 it is +0.025 / +0.003 / +0.0004 / +0.0005. For seed 1, the step-125 gap is −0.0008.
J still trains under the restored objective. In restored seed 2, J-tagged training NLL fell from 0.51 to 0.21. This shows training fit, not retained terminal skill.
Caveats. θ_R′ is a single seed, and S38's 32K context limit still selects which probes are eligible. The panels are exact-ID matched, but each model is scored on its own sampled responses.
Cost and deviations. The rate-control set used about 750 H100-hours, bringing Phase 1b to about 1,703 H100-hours in total. Restored seed 1 hung in S3 telemetry and resumed from its step-50 checkpoint. New outputs moved to s3://marin-us-east-08a partway through. The final seed-2 serving panel needed one exact-launcher replay after environment failures. The analysis is artifacts/rate-controls/rate-control-three-seed-analysis.json, and the scores are under s3://marin-us-east-08a/marin/users/benfeuer/opd-interference/phase1b/2026.11.11.3/matched/ (Filer).
Not run. A full matrix (SFT and OPD × θ_R/θ_J/θ_RJ × 3 seeds, batch-noise controls and the H2 forced-top-k routing patch) was costed at 5.4k–12.4k H100-hours but not run. The interference it would compare is small, partly a loss-weighting artifact, and transient; see Conclusions. Any future comparison should use task-set-normalized objectives for both methods and dense checkpoints over steps 5–40.