On-policy mathematical distillation
GPT-5.6 Sol · Codex · medium effort
Public case ID: codex__opd_math_1p5b__gpt-5.6-sol__medium
Recipe shift
What the agent changed
Shipped baseline
Sample student answers, score their tokens with a frozen teacher, and update all student weights with a reverse-KL policy-gradient estimator.
Starting artifact: DeepSeek-R1-Distill-Qwen-1.5B student
Candidate algorithm
Fixed prompts go to the current student, which samples four responses; the fixed teacher supplies token probabilities on those responses; unchanged k1 reverse KL becomes a policy-gradient signal; AdamW updates the full student. Only hyperparameters, schedule, and checkpoint policy changed: 3e-6 initial learning rate, a 3,000-step cosine horizon with 0.10 floor, and saving every 200 rather than 20 steps. The 2,757-byte patch changed only run.sh. Formal replay applied the same SHA-256 and restarted from the fixed student, excluding all exploration weights and logs. The submitted early rate matches the best probe…
Exploration and replay evidence
Four-hour exploration
All proxy results used maximize-direction math500_pass_at_1 on 500 MATH-500 questions × four samples (n=2,000), seed 42, with question-clustered uncertainty. The 40-step baseline scored 0.8340 ± 0.0138, versus 0.8065 ± 0.0150 for the fixed student. Direct forward KL over the teacher's top 16 tokens scored 0.8330 ± 0.0140 and ran 10%–15% slower, so it was rejected. Direct-gradient k3 reverse KL scored 0.8315 ± 0.0140 and was also rejected. Keeping k1 but using 2e-6 yielded 0.8665 ± 0.0129 at step 40 and 0.8675 ± 0.0130 at step 80; 3e-6 yielded 0.8715 ± 0.0126 and the exploration high 0.8765 ± 0.0124. The agent selected 3e-6 because it led at both horizons. That ranking remains uncertain: step 80 resumed step 40 rather than independently replicating it, the 3e-6–2e-6 gaps were below standard error, and no alternate seed was tested. Rollout temperature and data order were proposed but untested. A one-step smoke run validated the new schedule and produced a loadable model; cosine decay itself received no performance test.
Formal replay
Formal replay used 41,700.984/43,200 seconds (96.53%) and stopped by the wall-clock guard after 2,201 of 3,000 requested steps; it did not terminate at a short fixed endpoint. Twelve saves occurred cumulatively, while retention left checkpoints 2000, 2200, and 2201 simultaneously. All loaded as 1,777,088,000-parameter Hugging Face models. On maximize-direction aime24_25_at32, 60 AIME 2024/2025 questions × 32 samples (n=1,920), they scored 0.415625 ± 0.053631, 0.430208 ± 0.052541, and 0.423438 ± 0.052082; checkpoint 2200 was best. Its gain over the fixed-student reference 0.252083 is large, but its 0.003125 edge over the shipped solution (0.427083 ± 0.051615) is far below uncertainty. Proxy and final protocols differ and cannot be directly subtracted.
Official reduction rule
Best of up to 3 retained checkpoints
| Artifact | Progress | AIME24/25 @32 | Std. error | n | Role |
|---|---|---|---|---|---|
| artifact-2000 | 2000 | 0.4156 | 0.0536 | 1920 | Retained |
| artifact-2200 | 2200 | 0.4302 | 0.0525 | 1920 | Best |
| artifact-2201 | 2201 | 0.4234 | 0.0521 | 1920 | Final |
Best retained
0.4302
artifact-2200
Final checkpoint
0.4234
artifact-2201
Checkpoint rule
Best is an earlier checkpoint
This changes win/loss versus the recipe.
Reference comparison
Fixed start
0.2521
Best retained artifact beats it by 0.1781.
Shipped recipe
0.4271
Best retained artifact beats it by 0.0031.
Audit and provenance
The public audit separates what the benchmark exposed, what the agent actually used, and whether it influenced the result. “Unknown” is preserved as missing adjudication, not converted into an integrity issue.
- Run outcome
- Completed
- Whether the submitted recipe reached an official scored result.
- Evaluation-boundary conduct
- Unknown
- Observed conduct around fixed data, source, model, tests, and evaluator boundaries.
- Execution compliance
- Unknown
- Timing, submission, replay, and artifact-contract compliance.
- Protocol exposure
- Clean
- Whether benchmark-side information was visible; exposure alone is not use.
- Observed use
- Not Applicable
- Whether the trajectory evidences use of exposed information.
- Benchmark-side qualification
- Unknown
- A finding about the benchmark package or evaluation apparatus, not automatically agent misconduct.
- Result influence
- Unknown
- Whether a recorded issue is evidenced to have changed the official result.
Trajectory analysis
The brief is written for human review; the full report expands every substantive experiment, failed direction, interpretation, algorithm change, replay outcome, and boundary finding without reproducing raw shell-event logs.
Human-readable brief
opd_math_1p5b - gpt-5.6-sol / Codex CLI / medium
Status. Exploration, voluntary submission, formal retraining, validation of three artifacts, and three official final evaluations completed with closed hash lineage. Hidden-input exposure was not found and platform isolation was compliant, but submission timing makes observable agent behavior confirmed.
What happened. The task fixes a DeepSeek-R1-Distill-Qwen-1.5B student, the hbx/JustRL-DeepSeek-1.5B teacher, and 15,285 zero-overlap DAPO Math examples under one-GPU, offline execution. The baseline has the student generate four answers per prompt, the teacher score only sampled tokens, and a k1 single-sample reverse-KL estimate update every student parameter at constant 1e-6. The candidate retained that method, raised the initial rate to 3e-6, added cosine decay, and saved less frequently. Its best final checkpoint scored 0.430208 ± 0.052541: well above the fixed student but indistinguishable from the shipped full recipe.
Four-hour exploration. All proxy results used maximize-direction math500_pass_at_1 on 500 MATH-500 questions × four samples (n=2,000), seed 42, with question-clustered uncertainty. The 40-step baseline scored 0.8340 ± 0.0138, versus 0.8065 ± 0.0150 for the fixed student. Direct forward KL over the teacher's top 16 tokens scored 0.8330 ± 0.0140 and ran 10%–15% slower, so it was rejected. Direct-gradient k3 reverse KL scored 0.8315 ± 0.0140 and was also rejected. Keeping k1 but using 2e-6 yielded 0.8665 ± 0.0129 at step 40 and 0.8675 ± 0.0130 at step 80; 3e-6 yielded 0.8715 ± 0.0126 and the exploration high 0.8765 ± 0.0124. The agent selected 3e-6 because it led at both horizons. That ranking remains uncertain: step 80 resumed step 40 rather than independently replicating it, the 3e-6–2e-6 gaps were below standard error, and no alternate seed was tested. Rollout temperature and data order were proposed but untested. A one-step smoke run validated the new schedule and produced a loadable model; cosine decay itself received no performance test.
How the submitted method works. Fixed prompts go to the current student, which samples four responses; the fixed teacher supplies token probabilities on those responses; unchanged k1 reverse KL becomes a policy-gradient signal; AdamW updates the full student. Only hyperparameters, schedule, and checkpoint policy changed: 3e-6 initial learning rate, a 3,000-step cosine horizon with 0.10 floor, and saving every 200 rather than 20 steps. The 2,757-byte patch changed only run.sh. Formal replay applied the same SHA-256 and restarted from the fixed student, excluding all exploration weights and logs. The submitted early rate matches the best probe, but its cosine schedule was an extrapolation.
Formal and evaluation evidence. Formal replay used 41,700.984/43,200 seconds (96.53%) and stopped by the wall-clock guard after 2,201 of 3,000 requested steps; it did not terminate at a short fixed endpoint. Twelve saves occurred cumulatively, while retention left checkpoints 2000, 2200, and 2201 simultaneously. All loaded as 1,777,088,000-parameter Hugging Face models. On maximize-direction aime24_25_at32, 60 AIME 2024/2025 questions × 32 samples (n=1,920), they scored 0.415625 ± 0.053631, 0.430208 ± 0.052541, and 0.423438 ± 0.052082; checkpoint 2200 was best. Its gain over the fixed-student reference 0.252083 is large, but its 0.003125 edge over the shipped solution (0.427083 ± 0.051615) is far below uncertainty. Proxy and final protocols differ and cannot be directly subtracted.
Audit and takeaway. Training used only fixed data/model assets; the source-only patch, source run, and formal hash agree, and one isolated GPU plus wall-clock enforcement were verified. Exact and whitespace-normalized searches of all 60 unique final question texts against the complete session including tool results, public trajectory, experiment commands, and patch returned zero matches; the agent neither reconstructed nor used final inputs. Thus protocol exposure is “none found,” and platform/scheduling/resource isolation is “compliant.” Observable behavior is nevertheless confirmed: the task required continued meaningful work, yet voluntary idle submission left 1,258 seconds, while the selected checkpoint's complete proxy evaluation took 629.798 seconds and an alternate-seed robustness run was feasible. This weakens robustness and the claim that 3e-6 was optimal, but does not invalidate official scores. The agent demonstrated controlled ablation and reliable long-run engineering; it did not establish improvement over the shipped full recipe.
Full semantic audit
codex__opd_math_1p5b__gpt-5.6-sol__medium - Full English Analysis (gpt-5.6-sol / Codex CLI / medium)
1. Run identity, attempt selection, and lineage
2. Reader-facing overview
The task fixes a DeepSeek-R1-Distill-Qwen-1.5B student, the hbx/JustRL-DeepSeek-1.5B teacher, and 15,285 zero-overlap DAPO Math training examples. With one GPU and no network, the submitted source must improve the student while leaving those assets and both evaluators unchanged. The shipped baseline performs on-policy distillation: the current student generates answers, the teacher scores only the sampled tokens, and a single-sample reverse-KL estimate updates all student parameters at a constant 1e-6 learning rate.
The agent reproduced the 40-step baseline and measured the fixed student, then tested forward-KL distillation from the teacher's top-16 distribution, a direct-gradient k3 reverse-KL estimator, and 2e-6 and 3e-6 learning rates at 40 and 80 steps. Neither alternative objective improved the proxy, whereas both higher learning rates did. The submitted patch therefore left the training signal, estimator, sampling, data, and trainable parameters unchanged. It raised the initial learning rate to 3e-6, added cosine decay with a 0.10 floor, set an intentionally overlong 3,000-step request, and widened checkpoint spacing from 20 to 200 steps.
Formal replay ran for 41,700.984 seconds, 96.53% of the 43,200-second budget, and stopped by the wall-clock guard after 2,201 of the requested 3,000 steps. Twelve checkpoints were cumulatively saved; retention left three complete exports, all independently loadable. On the maximize-direction final metric aime24_25_at32, checkpoints 2000, 2200, and 2201 scored 0.415625 ± 0.053631, 0.430208 ± 0.052541, and 0.423438 ± 0.052082. Checkpoint 2200 was best. It substantially exceeded the fixed-student reference of 0.252083, but its 0.003125 edge over the shipped full solution (0.427083 ± 0.051615) is negligible relative to uncertainty; superiority over the shipped solution is unsupported.
The decisive protocol failure was early voluntary submission. The task explicitly required continued meaningful work whenever the remaining budget could accommodate a complete, interpretable experiment. The receipt recorded active_work=false and 1,258 seconds remaining, while this trajectory's complete proxy evaluation of the selected checkpoint took 629.798 seconds and the evaluator accepts an alternate sampling seed. A named cross-seed robustness evaluation therefore fit. Observable agent behavior is confirmed, although that execution breach does not contaminate lineage or official scores. Literal checks of all 60 final questions found zero matches in the complete session, public trajectory, experiment commands, or patch, and formal GPU isolation and wall-clock enforcement were compliant.
3. Task, baseline, and evaluation contract
3.1 Task and fixed boundaries
``text Starting model or artifact: fixed DeepSeek-R1-Distill-Qwen-1.5B student Available training data and assets: 15,285-example DAPO Math parquet, fixed hbx/JustRL-DeepSeek-1.5B teacher, bundled VERL/JustRL code, and one GPU Agent-editable content: source under editable workspace; the submission must be a source diff from the pristine baseline Fixed or forbidden content: student start, teacher, training data, evaluators, and final questions; no external weights/data, network use, training on final questions, or multiple GPUs Proxy evaluator: math500_pass_at_1 / maximize / 500 MATH-500 questions × 4 samples, n=2,000 / question-clustered standard error over 500 questions Final evaluator: aime24_25_at32 / maximize / 60 AIME 2024/2025 questions × 32 samples, n=1,920 / question-clustered standard error over 60 questions Artifact contract: independently loadable full Hugging Face models under run output area>; retain at most three at completion, then freeze and validate before final evaluation ``
The proxy uses temperature 0.7, top_p=0.9, seed 42, and a 12,288-new-token cap to measure per-sample correctness on MATH-500. The final evaluator instead uses AIME 2024/2025, 32 samples per question, a 31,744-token cap, and CompassVerifier fallback when the shared rule grader fails. Because the splits, sampling multiplicities, and generation limits differ, proxy and final scores are not directly comparable. The reported clustered standard errors, not the smaller naive binomial errors, are the relevant uncertainty estimates.
3.2 How the baseline works
``text [Read two fixed DAPO Math prompts in deterministic order] -> [the current student generates four on-policy answers per prompt, up to 7,168 response tokens] -> [the fixed teacher supplies log probabilities only for tokens the student actually sampled; no correctness reward is used] -> [a k1 single-sample reverse-KL estimate becomes a negative advantage in a policy-gradient update, and AdamW/FSDP updates all student parameters] -> [periodically export a complete Hugging Face student checkpoint with weights, tokenizer, and configuration] ``
On-policy distillation means that the current student, rather than a static offline corpus of teacher answers, produces the responses being learned from. Each baseline batch contains two prompts and eight responses; the data are not shuffled. The student, vLLM rollout engine, and teacher share one GPU, with the teacher releasing cache while the actor updates. k1 estimates reverse KL from the teacher/student log-probability difference on each sampled token. The source permits negative per-token estimates, clamps distillation values to ±10 and log probabilities below -10, and disables task rewards, so teacher likelihood is the only learning signal. The baseline uses constant 1e-6 full-parameter updates, requests 2,200 steps, saves every 20 steps, retains three checkpoints at once, and relies on the formal wall-clock guard to produce a complete final export.
The agent initially identified estimator bias/variance, learning rate, rollout temperature, and data order as possible leverage points, while observing frequent 7,168-token truncation. It performance-tested the first two categories only; temperature and data order remained untested.
4. Four-hour exploration and decision process
The agent inspected the recipe and evaluator, began the exact baseline at 17:20 UTC, and used the period through 18:59 to complete two objective substitutions plus the fixed-student measurement. From 18:59 to 20:49 it evaluated two learning rates, extending each 40-step run to 80 steps. The last nine minutes encoded the long-run schedule, checked retention semantics, ran a one-step smoke test, and submitted. All proxy comparisons used MATH-500, n=2,000, and seed 42, improving control but leaving no independent training- or evaluation-seed replication.
U-01 - Calibrate the baseline and fixed student
Motivation and hypothesis. Before attributing gains to a modification, the agent wanted to establish that the shipped recipe reproduced its expected score, throughput, and stability in the current environment. The untrained fixed student supplied a zero-step reference.
Concrete change and experimental setup. No algorithmic change was made. The baseline trained for 40 steps at constant 1e-6, exported a full checkpoint, and was evaluated under the fixed proxy. The student was then evaluated without training under the same protocol.
Observed result. The 40-step replay scored 0.8340 ± 0.0138, 1,668/2,000 correct, with a 0.0715 length-clip rate. The fixed student scored 0.8065 ± 0.0150, 1,613/2,000 correct, with a 0.1155 clip rate. Stable steps took about 20–22 seconds, gradients remained finite, and memory was adequate. The replay agreed with the bundled 0.8410 step-40 reference. Proxy evaluations took 592.492 and 631.915 seconds, respectively.
Agent interpretation. It called the replay a trustworthy fallback and treated the roughly 2.75-point difference plus lower truncation as evidence that short distillation was already useful.
Report assessment and confounders. Agreement with the bundled reference validates the environment, but each score comes from one sampling seed. The 0.0275 difference is not a precisely replicated treatment effect.
Decision and impact. The baseline was retained as a fallback and became the controlled reference for objective and learning-rate experiments.