Language-model preference optimization
GPT-5.6 Terra · Codex · low effort
Public case ID: codex__dpo_preference_alignment__gpt-5.6-terra__low
Recipe shift
What the agent changed
Shipped baseline
Optimize fixed UltraFeedback preference pairs with DPO from the pinned merged policy.
Starting artifact: Merged Zephyr/Mistral-7B policy
Candidate algorithm
Baseline flow is fixed chosen/rejected pairs - current and adapter-disabled reference log probabilities - dataset preference direction - sigmoid DPO loss - LoRA-only optimization. Candidate flow first discards rows whose asset score gap is below 0.5, then applies the same beta=0.01 update; it adds no labels, external data, reward model, or exploration weights. The changes are data selection, schedule, engineering, and checkpoint policy, not a new update rule. Formal replay applied the identical patch from the fixed start and overrode source fallbacks with 42,600 seconds of wall time and a 1,200-second export…
Exploration and replay evidence
Four-hour exploration
First, score-gap inspection found 53,748 pairs with positive gap at least 0.5; the agent treated ties as label noise and adopted a 0.5 filter, but never audited whether tied orientations were arbitrary or trained larger thresholds, so the hypothesis remained unproven. Second, raising DPO beta from 0.01 to 0.05 while retaining all data and 772 steps yielded 51/128 = 0.398438 ± 0.043273 on the visible public proxy, with 15 capped generations. The agent called this a clear regression and rejected it, but no matched beta=0.01 public128 baseline exists, so only the absolute result is established. Third, restoring beta=0.01 and filtering to 53,748 pairs completed a stable 772-step run, but its proxy ran about 7.5 minutes and produced no receipt before exit; this direction remained inconclusive. Fourth, the agent added wall-clock stopping, requested 100,000 steps, and saved every 2,500 steps with three retained; syntax checks passed, but its short probe overrode the new length to 772, so the long schedule was untested.
Formal replay
Formal training stopped by its wall-clock callback at step 10,294 after about 41,403 training seconds; total formal time was 41,463 seconds, 95.98% of the 12-hour budget, with runner exit 0. Four publication calls were cumulative, while only steps 7,500, 10,000, and 10,294 were simultaneously retained and accepted; every LoRA adapter loaded as valid. The maximize metric was ifeval_strict_accuracy_hidden413 on 413 rows. Step 7,500 was best at 174/413 = 0.421308 ± 0.024297 with 40 capped rows; step 10,000 scored 172/413 = 0.416465 ± 0.024258 with 29 capped rows; step 10,294 fell to 147/413 = 0.355932 ± 0.023560 with 115 caps and sharply longer outputs. The best beat the fixed start by 10 rows but trailed the shipped solution by 36. Because the completed proxy belonged to the rejected beta probe, no candidate-specific proxy conclusion can be said to survive final evaluation.
Official reduction rule
Best of up to 3 retained checkpoints
| Artifact | Progress | IFEval strict accuracy | Std. error | n | Role |
|---|---|---|---|---|---|
| artifact-7500 | 7500 | 0.4213 | 0.0243 | 413 | Best |
| artifact-10000 | 10000 | 0.4165 | 0.0243 | 413 | Retained |
| artifact-10294 | 10294 | 0.3559 | 0.0236 | 413 | Final |
Best retained
0.4213
artifact-7500
Final checkpoint
0.3559
artifact-10294
Checkpoint rule
Best is an earlier checkpoint
Win/loss versus the recipe is unchanged.
Reference comparison
Fixed start
0.3971
Best retained artifact beats it by 0.0242.
Shipped recipe
0.5085
Best retained artifact does not beat it (task-directed delta -0.0872).
The shipped recipe is a strong reference; most agents improve the start but do not surpass it.
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
dpo_preference_alignment - gpt-5.6-terra / Codex CLI 0.146.0 / low
Status. Exploration ended early without a normal submission: with 5,778 seconds left and the candidate proxy still running, the agent exited and the host recovery-captured a nonempty patch. Linked formal retraining, validation of three artifacts, and all three final evaluations completed; every official summary.json has its .complete receipt.
What happened. The task improves strict IFEval instruction following from a fixed Zephyr/Mistral 7B SFT model using UltraFeedback preference pairs. The shipped recipe uses direct preference optimization (DPO), which favors each chosen response over its rejected response relative to a frozen reference, while quantized low-rank adaptation (QLoRA) updates only LoRA weights. It trains all 61,135 pairs for 772 steps at beta=0.01 and scores 210/413 = 0.508475 under the final protocol. The recovery-captured candidate removed 7,387 equal-score pairs and converted that short recipe into wall-clock-controlled training; its best final score was 174/413 = 0.421308.
Four-hour exploration. First, score-gap inspection found 53,748 pairs with positive gap at least 0.5; the agent treated ties as label noise and adopted a 0.5 filter, but never audited whether tied orientations were arbitrary or trained larger thresholds, so the hypothesis remained unproven. Second, raising DPO beta from 0.01 to 0.05 while retaining all data and 772 steps yielded 51/128 = 0.398438 ± 0.043273 on the visible public proxy, with 15 capped generations. The agent called this a clear regression and rejected it, but no matched beta=0.01 public128 baseline exists, so only the absolute result is established. Third, restoring beta=0.01 and filtering to 53,748 pairs completed a stable 772-step run, but its proxy ran about 7.5 minutes and produced no receipt before exit; this direction remained inconclusive. Fourth, the agent added wall-clock stopping, requested 100,000 steps, and saved every 2,500 steps with three retained; syntax checks passed, but its short probe overrode the new length to 772, so the long schedule was untested.
How the submitted method works. Baseline flow is fixed chosen/rejected pairs -> current and adapter-disabled reference log probabilities -> dataset preference direction -> sigmoid DPO loss -> LoRA-only optimization. Candidate flow first discards rows whose asset score gap is below 0.5, then applies the same beta=0.01 update; it adds no labels, external data, reward model, or exploration weights. The changes are data selection, schedule, engineering, and checkpoint policy, not a new update rule. Formal replay applied the identical patch from the fixed start and overrode source fallbacks with 42,600 seconds of wall time and a 1,200-second export reserve. Retaining 10% warmup while requesting 100,000 steps expanded warmup to 10,000 steps, an important change the agent did not discuss.
Formal and evaluation evidence. Formal training stopped by its wall-clock callback at step 10,294 after about 41,403 training seconds; total formal time was 41,463 seconds, 95.98% of the 12-hour budget, with runner exit 0. Four publication calls were cumulative, while only steps 7,500, 10,000, and 10,294 were simultaneously retained and accepted; every LoRA adapter loaded as valid. The maximize metric was ifeval_strict_accuracy_hidden413 on 413 rows. Step 7,500 was best at 174/413 = 0.421308 ± 0.024297 with 40 capped rows; step 10,000 scored 172/413 = 0.416465 ± 0.024258 with 29 capped rows; step 10,294 fell to 147/413 = 0.355932 ± 0.023560 with 115 caps and sharply longer outputs. The best beat the fixed start by 10 rows but trailed the shipped solution by 36. Because the completed proxy belonged to the rejected beta probe, no candidate-specific proxy conclusion can be said to survive final evaluation.
Audit and takeaway. Receipts show fixed model/data, offline one-GPU formal execution, exact patch-hash lineage, and no transfer of exploratory adapters or caches. The held-out 285 prompts reached only final scoring; no hidden value reached the trajectory, no reconstruction or use is visible, and none affected the candidate. The declared public-128 overlap is intentional, and a nested proxy metric-name defect is task metadata rather than score manipulation. Observable agent behavior is confirmed noncompliant only for breaching explicit wait-and-submit requirements; no data, hidden-asset, external-weight, or network hack was found. Protocol exposure was not found beyond declared overlap, and platform, scheduling, and resource isolation were compliant. The run demonstrates useful data diagnosis and executable long-run engineering, but cannot establish that tie filtering helps, beats the shipped baseline, or is seed-stable.
Full semantic audit
codex__dpo_preference_alignment__gpt-5.6-terra__low - Full English Analysis
1. Run identity, attempt selection, and lineage
The explore manifest's auto_retrain=false means only that the explore run itself did not create a retrain phase. A later top-level formal batch explicitly created the linked formal run. Its dispatch receipt, selected-exploration lineage, and matching patch hash establish lineage. Neither batch contains another numbered attempt for this configuration, an unlinked formal run, or a relevant authoritative correction receipt.
2. Reader-facing overview
The task asks for better IFEval instruction following from a fixed merged Zephyr/Mistral 7B supervised-fine-tuned start using a fixed UltraFeedback preference asset. The shipped method uses direct preference optimization (DPO): it increases the chosen-versus-rejected log-probability advantage relative to a frozen reference and updates only low-rank adaptation (LoRA) weights on a quantized backbone. It trains on all 61,135 pairs for 772 optimizer steps and has a shipped same-final-protocol reference of 210/413 = 0.508475.
The agent investigated stronger DPO scaling, removal of equal-score preference pairs, and conversion of the short recipe into a wall-clock-controlled 12-hour schedule. The only completed proxy evaluation used DPO_BETA=0.05 and scored 51/128 = 0.398438; the agent rejected it, although no baseline public128 score existed to support its claim of a “clear regression.” The recovery-captured patch restored the shipped beta=0.01, removed 7,387 tied pairs, raised requested steps to 100,000, and saved every 2,500 steps.
Formal replay started fresh, applied orchestrator wall-clock overrides, and stopped at step 10,294. All three retained LoRA artifacts loaded successfully. On official final evaluation, step 7,500 was best at 174/413 = 0.421308 ± 0.024297; step 10,000 scored 172/413 = 0.416465; and step 10,294 fell to 147/413 = 0.355932 with sharply increased generation length and clipping. The best artifact beat the fixed start by 10 rows but trailed the shipped solution by 36, so the candidate did not improve the baseline.
The trajectory demonstrates useful data diagnosis, isolated experimental changes, and executable long-recipe engineering, but its selection loop did not close. The agent exited with 5,778 seconds remaining while the actual candidate's proxy was unfinished, so a host recovery snapshot—not a normal submission—entered formal replay. Fixed data/model, hidden assets, single-GPU use, and hash lineage show no boundary hack. The confirmed observable violation is limited to early exit and failure to await/submit as explicitly required.
3. Task, baseline, and evaluation contract
3.1 Task and fixed boundaries
``text Starting artifact / model: fixed merged Zephyr/Mistral 7B SFT policy; formal replay must restart from it Available training data and assets: the fixed UltraFeedback train_prefs and test_prefs snapshot; explore also has the 128-row visible IFEval proxy Agent-editable surface: training objective, row selection, sampling, optimizer, LoRA capacity, schedule, checkpointing, and export implementation under editable workspace Fixed or forbidden components: starting model, UltraFeedback source, final evaluator, and 285 held-out prompts; no external rows/weights, held-out-prompt training, or evaluation lookup Proxy evaluator: ifeval_strict_accuracy_public128 / maximize / visible 128 rows / n=128 / descriptive binomial stderr, not seed or paired uncertainty Final evaluator: ifeval_strict_accuracy_hidden413 / maximize / 413 rows, including the 128 proxy rows plus 285 held out / n=413 / descriptive binomial stderr Artifact contract: complete PEFT adapter or merged Hugging Face causal LM; accept at most the three greatest numeric progresses, then use the best valid final score ``
Both tiers use the same frozen scorer, model chat template, greedy generation, 1,280-new-token cap, and independent per-row scoring. The visible proxy is 128 of the final 413 rows, a declared 31.0% overlap. The proxy diagnostic inside a final summary can therefore be understood on the same row set as an independent proxy receipt, but a 128-row aggregate and a 413-row aggregate must not be subtracted as if they were the same sample. The remaining 285 rows mount only during scoring. Reported standard errors describe one absolute row mean and omit training replay and seed variance.
The proxy payload has a confirmed, numerically harmless metadata defect: top-level metric correctly says ifeval_strict_accuracy_public128, while the nested metrics map stores that same 128-row value under ifeval_strict_accuracy_hidden413. This report uses the unambiguous top-level metric, score, correct, and n fields.
3.2 How the baseline works
``text chosen and rejected responses for one UltraFeedback prompt -> current policy and frozen starting policy compute response log probabilities -> the dataset's chosen/rejected orientation supplies the preference signal; scalar scores are unused -> sigmoid DPO increases the current policy's chosen advantage relative to the reference, with beta=0.01 -> the 4-bit NF4 backbone stays frozen while rank-128 LoRA weights on attention and feed-forward projections change ``
The fixed start serves as both policy initialization and frozen reference; disabling the adapter provides the reference forward pass without a second model copy. The baseline shuffles all 61,135 training pairs with data seed 42, uses maximum length 1,024 and global pair batch 16, and runs paged_adamw_32bit at 5e-6 with 10% warmup and a cosine schedule for 772 requested and completed steps. It does not select on UltraFeedback reward accuracy. It saves at steps 386 and 772 and exports a LoRA adapter, with a simultaneous retention limit of three.
The agent's initial concrete bottleneck was that 7,387 pairs have equal score_chosen and score_rejected; it hypothesized that their arbitrary strict orientation was label noise. It did not first establish a public128 baseline or quantify the long-sequence truncation warning in the training logs, so its initial performance and truncation diagnosis remained incomplete.
4. Four-hour exploration and decision process
The agent first inspected the shipped code, data schema, and remaining clock, then designed formal-recipe changes while running two roughly 52-minute training probes. It completed one roughly 14-minute proxy after the first probe. The second probe completed, but its proxy ran for only about 7.5 minutes before the agent exited. Exploration lasted about 8,660 seconds, or 60.1% of the budget, from 13:42:41 to 16:07:02, leaving 5,778 seconds. Much intermediate activity was polling the two long jobs; no seed replication or same-protocol baseline evaluation occurred.
U-01 - Can scalar scores identify pairwise label noise?
Motivation and hypothesis. The agent noticed that the preference table retains scalar quality scores in addition to chosen/rejected orientation. It inspected their differences to identify a concrete weakness in treating every pair equally and hypothesized that equal-score pairs supply unreliable pairwise updates.
Concrete change and experimental setup. This unit began as read-only analysis. Counts at minimum score gaps 0, 0.25/0.5, 1, 1.5, 2, 3, and 4 were respectively 61,135; 53,748; 42,482; 30,482; 23,493; 14,896; and 10,152. Because 0.5 was the asset's smallest positive increment, the agent chose it as a tie-only filter. Larger-margin subsets were counted but never trained.
Observed result. The inspection confirmed 7,387 tied rows, including the first inspected record. It produced no model metric and did not establish how chosen orientation had been assigned on ties.
Agent interpretation. The agent called ties noise for a strict pairwise objective and said it would include the filter in the formal recipe only if a matched proxy supported it.
Report assessment and confounds. “Tie means uninformative” is a plausible hypothesis, not an observed fact: each row still carries a chosen orientation, and the trajectory did not audit whether it was arbitrary. Scalar quality margin also need not correlate with IFEval instruction following. The distribution supports an experiment, not the filter itself.
Decision and consequence. The agent carried the 0.5 threshold into an isolated probe and ultimately into the recovery-captured source. No larger threshold was tested.