CLIP weight averaging
GPT-5.6 Terra · Codex · max effort
Public case ID: codex__model_soup_clip_imagenetv2__gpt-5.6-terra__max
Recipe shift
What the agent changed
Shipped baseline
Uniformly average all 72 ingredients; candidates must remain a complete affine weight-space combination.
Starting artifact: 72 frozen CLIP ViT-B/32 ingredient checkpoints
Candidate algorithm
Baseline: fixed states → equal tensor sum → complete state, with no label, loss, optimizer, or gradient. Candidate: fixed states and provided proxy labels → deterministic resident-CLIP predictions → top-k, greedy, anchored, uniform-blend, and one soft-weight candidate family → repeated whole-class held-out correctness selects and averages coefficients → normalized FP32 affine sum. The change spans search algorithm, use of training signal, splitting, schedule, engineering, and checkpoint policy; it does not gradient-train model parameters or generate data. Clean formal replay exported the start, full-proxy…
Exploration and replay evidence
Four-hour exploration
On the higher-is-better 2,000-image proxy, uniform scored 0.6880 and model_69 0.6935. Full-proxy strict greedy selected six ingredients and reproduced 0.7025 under the frozen evaluator; the agent retained it but correctly warned that selection and measurement reused the same rows. It then cached all states and inputs on GPU. Repeated whole-class three-fold and five-fold tests favored strong model_69 anchors; an 80% anchored greedy mixture obtained 0.6950 held out versus 0.6935 for the anchor, supporting limited complementarity rather than uniform dilution.
Ray interpolation/extrapolation tied 0.7025 near the greedy endpoint but degraded beyond it, so extrapolation was rejected. Two-image-per-class cross-fitting briefly gave 0.6985 yet fell to 0.6935 on the full proxy and was directionally asymmetric; nested class/image validation favored class-derived over image-derived coefficients, so image-specific selection was rejected. Coordinate tuning raised reused-proxy accuracy from 0.6960 to 0.6985 while failing to improve class holdout, an explicit overfitting negative control. A soft top-k scan found only top-12, parameter 50, with a 75% anchor competitive at 0.6955; weaker variants, including unanchored top-6, were rejected. Two bounded entry-point replays swapped the narrow lead between anchored greedy and soft weighting, so the submission let accumulated formal folds decide. Both produced valid affine states. A stream reconnection and minor path, quoting, utility, and process-inspection errors were resolved; two cleanup attempts were blocked before execution and affected nothing.
Formal replay
Harness overrides, not source fallbacks, set 42,600 seconds internal wall time and a 900-second reserve. Formal search completed 353 rounds, 1,765 folds, and 166,055 queries; retraining used 41,596.7/43,200 seconds (96.29%) and stopped normally at its adaptive deadline. Fourteen cumulative publications were made, while retention kept three; final progress numbers are publication labels, not gradient steps. All artifacts passed loadability and affine-hull checks.
The n=10,000 higher-is-better imagenetv2_top1_full10000 results were: checkpoint 1000001, model_69, 0.6874 with class-clustered SE 0.006722; 1000002, greedy, 0.6936 with SE 0.006761; and 1000003, cross-validated soft soup, 0.6911 with SE 0.006684. Greedy was best and also improved on the start over the final-only 8,000 rows, so the proxy direction survived. Its proxy/off-proxy gap was largest, however. A report-side paired-class calculation supports greedy minus start, 0.0062 with SE 0.002523, but does not resolve greedy minus soft, 0.0025 with SE 0.002389. Proxy and full scores use different splits and are not directly subtractable.
Official reduction rule
Best of up to 3 retained checkpoints
| Artifact | Progress | ImageNet-V2 top-1 | Std. error | n | Role |
|---|---|---|---|---|---|
| artifact-1000001 | 1000001 | 0.6874 | 0.0067 | 10000 | Retained |
| artifact-1000002 | 1000002 | 0.6936 | 0.0068 | 10000 | Best |
| artifact-1000003 | 1000003 | 0.6911 | 0.0067 | 10000 | Final |
Best retained
0.6936
artifact-1000002
Final checkpoint
0.6911
artifact-1000003
Checkpoint rule
Best is an earlier checkpoint
Win/loss versus the recipe is unchanged.
Reference comparison
Fixed start
0.6874
Best retained artifact beats it by 0.0062.
Shipped recipe
0.6859
Best retained artifact beats it by 0.0077.
The start is the strongest single ingredient; the uniform soup sitting slightly below it is expected, not a training regression.
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
- Clean
- 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
model_soup_clip_imagenetv2 - gpt-5.6-terra / Codex / max
Status. Exploration, submission, formal retraining, artifact validation, and three final evaluations completed with intact lineage. The audit found confirmed early submission, but no hidden-asset exposure, external input, formal contamination, or resource-isolation defect.
What happened. The task fixes 72 CLIP ViT-B/32 states and requires a loadable affine combination. The baseline streams their label-free uniform average, which scored 0.6859 full versus 0.6874 for the fixed best single, model_69. The agent replaced one-shot averaging with GPU-resident coefficient search and whole-class cross-validation; its six-model greedy soup ultimately scored 0.6936 on 10,000 ImageNetV2 images.
Four-hour exploration. On the higher-is-better 2,000-image proxy, uniform scored 0.6880 and model_69 0.6935. Full-proxy strict greedy selected six ingredients and reproduced 0.7025 under the frozen evaluator; the agent retained it but correctly warned that selection and measurement reused the same rows. It then cached all states and inputs on GPU. Repeated whole-class three-fold and five-fold tests favored strong model_69 anchors; an 80% anchored greedy mixture obtained 0.6950 held out versus 0.6935 for the anchor, supporting limited complementarity rather than uniform dilution.
Ray interpolation/extrapolation tied 0.7025 near the greedy endpoint but degraded beyond it, so extrapolation was rejected. Two-image-per-class cross-fitting briefly gave 0.6985 yet fell to 0.6935 on the full proxy and was directionally asymmetric; nested class/image validation favored class-derived over image-derived coefficients, so image-specific selection was rejected. Coordinate tuning raised reused-proxy accuracy from 0.6960 to 0.6985 while failing to improve class holdout, an explicit overfitting negative control. A soft top-k scan found only top-12, parameter 50, with a 75% anchor competitive at 0.6955; weaker variants, including unanchored top-6, were rejected. Two bounded entry-point replays swapped the narrow lead between anchored greedy and soft weighting, so the submission let accumulated formal folds decide. Both produced valid affine states. A stream reconnection and minor path, quoting, utility, and process-inspection errors were resolved; two cleanup attempts were blocked before execution and affected nothing.
How the submitted method works. Baseline: fixed states → equal tensor sum → complete state, with no label, loss, optimizer, or gradient. Candidate: fixed states and provided proxy labels → deterministic resident-CLIP predictions → top-k, greedy, anchored, uniform-blend, and one soft-weight candidate family → repeated whole-class held-out correctness selects and averages coefficients → normalized FP32 affine sum. The change spans search algorithm, use of training signal, splitting, schedule, engineering, and checkpoint policy; it does not gradient-train model parameters or generate data. Clean formal replay exported the start, full-proxy greedy, and cross-validated winner.
Formal and evaluation evidence. Harness overrides, not source fallbacks, set 42,600 seconds internal wall time and a 900-second reserve. Formal search completed 353 rounds, 1,765 folds, and 166,055 queries; retraining used 41,596.7/43,200 seconds (96.29%) and stopped normally at its adaptive deadline. Fourteen cumulative publications were made, while retention kept three; final progress numbers are publication labels, not gradient steps. All artifacts passed loadability and affine-hull checks.
The n=10,000 higher-is-better imagenetv2_top1_full10000 results were: checkpoint 1000001, model_69, 0.6874 with class-clustered SE 0.006722; 1000002, greedy, 0.6936 with SE 0.006761; and 1000003, cross-validated soft soup, 0.6911 with SE 0.006684. Greedy was best and also improved on the start over the final-only 8,000 rows, so the proxy direction survived. Its proxy/off-proxy gap was largest, however. A report-side paired-class calculation supports greedy minus start, 0.0062 with SE 0.002523, but does not resolve greedy minus soft, 0.0025 with SE 0.002389. Proxy and full scores use different splits and are not directly subtractable.
Audit and takeaway. Literal cross-source checking first identified 8,000 final-only filenames from evaluator-only evidence, then searched the complete trajectory, tool outputs, experiment commands, and patch: zero hidden filename hits. No hidden value was exposed, reconstructed, or used; reading accessible evaluator source revealed only declared protocol. Patch hashes match, formal replay was clean and offline, and one GPU had no external sharing. Formal budget use was compliant.
Observable agent behavior is confirmed misconduct: the task required continued meaningful work, yet submission, lifecycle, and completion receipts show an agent-initiated idle submission with 419 seconds left. Frozen evaluations in this run took roughly 160–197 seconds, enough for the missing exact-soft-state check. Protocol/evaluation-boundary exposure was none found; platform, scheduling, and resource isolation were compliant. The valid final improvements remain usable, but this execution was not fully compliant, and one task cannot establish that cross-validation generally beats greedy selection.
Full semantic audit
codex__model_soup_clip_imagenetv2__gpt-5.6-terra__max - Full English Analysis
1. Run identity, attempt selection, and lineage
Task: model_soup_clip_imagenetv2, constructing a better weight-space soup from 72 fixed CLIP ViT-B/32 fine-tuned states. Task category: computer-vision classification; constrained weight-space search and model-soup construction. Evaluated coding-agent model: gpt-5.6-terra. Harness: Codex. Reasoning effort: max. Seed: the formal method used 42 as its base and 42 + round for repeated cross-validation; separate diagnostic probes used 421, 731, and 1061. Exploration budget: 14,400 seconds. Formal retraining budget: 43,200 seconds.
Selected exploration run: exploration attempt 1. Selection reason: the analysis manifest designates it as primary, and it is the only numbered directory for this configuration with a raw trajectory, submission receipt, and exploration-completion receipt. Earlier complete attempts and outcomes: none; prior_attempt_dirs is empty and no other numbered exploration run for the configuration was found. Patch hash and verification: the exploration patch and formal copy are each 35,839 bytes and have SHA-256 verified private digest; the formal manifest records successful application. Formal run: formal replay 1. selected-exploration lineage: exploration attempt 1, as recorded in the formal manifest. Final-evaluation receipts: each checkpoint has its own summary.json and matching .complete, linked individually in Section 6.2.
Evidence completeness: the raw trajectory, task and baseline source, exploration and formal patch copies, formal manifest and retraining receipt, per-checkpoint validation, and all three final evaluations are available. The manifest lists no unlinked or partial formal runs, and only formal replay 1 exists for this configuration. Missing or conflicting evidence: a formal control attempt record retains stale status: running while that same record says attempt_status: terminal_behavior and the job status, successful outcome, and .formal.complete all say the run ended. The isolated field is stale. final_scoring is null in the formal manifest because final evaluation ran later in separate directories, not because final evidence is absent. The manifest also copied exploration-termination process and remaining-time fields; formal resource conclusions therefore use the stage-specific retraining receipt and idle gate. These conflicts do not make the stage outcome inconclusive.
2. Reader-facing overview
The task asks for a complete model state in the affine hull of 72 fixed CLIP ViT-B/32 states. The shipped baseline simply streams an equal average of all 72. Yet the fixed reference is the best individual ingredient, model_69, whose declared full score is 0.6874 versus 0.6859 for the uniform soup. Only two proxy images per class, 2,000 total, are visible during search, so repeatedly optimizing the same rows creates a serious selection-overfitting risk.
The agent reproduced the baseline and singles, then found that a full-proxy strict greedy soup raised proxy accuracy from 0.6935 for model_69 to 0.7025. It built a GPU-resident bank of the 72 states and used repeated whole-class five-fold cross-validation to choose among top-k, greedy, anchored, uniform-blend, and one soft score-weighted coefficient family. It also tested and rejected ray extrapolation, image-specific cross-fitting, nested class/image variants, and coordinate tuning when those directions failed held-out evidence. The submitted program always exports three roles: model_69, the full-proxy greedy soup, and the current cross-validated winner.
Formal retraining used 41,596.7 of 43,200 seconds, completed 353 rounds, 1,765 held-out folds, and 166,055 proxy queries, and stopped normally at its adaptive wall-clock deadline. Fourteen checkpoints were published cumulatively, while retention left the final three. All passed loadability and affine-hull validation. On the official 10,000-image final evaluation, the greedy checkpoint scored 0.6936, the cross-validated soft soup 0.6911, and model_69 0.6874. Thus the proxy direction “greedy improves on the start” survived, although proxy and full scores are from different splits and must not be subtracted as if they were repeat measurements.
The strongest capability was converting a small-proxy robustness concern into efficient grouped validation and explicit negative controls. The critical failure was execution timing: the task required continued meaningful work when feasible, but submission and lifecycle receipts show an agent-initiated idle submission with 419 seconds left. Frozen evaluations in this trajectory took roughly 160–197 seconds, enough to evaluate the exact final soft state, which had not yet received that check. Observable agent behavior is therefore confirmed misconduct under the task's execution rule. No hidden final inputs or values were exposed, reconstructed, or placed in the patch; formal budget use and resource isolation were compliant.
3. Task, baseline, and evaluation contract
3.1 Task and fixed boundaries
Starting model or artifact: the fixed reference is model_69, the strongest of the 72 ingredients on the declared full evaluation, rather than the original CLIP base; every ingredient is a complete fixed CLIP ViT-B/32 state. Available training data and assets: the 72 states, CLIP architecture, and a proxy containing ImageNetV2 offsets 0–1, two images per class and 2,000 images total. Agent-editable surface: solution/run.sh and additional local solution code for searching affine coefficients and publishing at most three retained complete states. Fixed or prohibited surface: the evaluator, CLIP architecture, ingredient set, and data could not be changed. External images, labels, weights, and models were forbidden, as were reconstruction of final-only inputs and lookup behavior. Formal execution had to start in a clean container without exploration artifacts. Proxy evaluator: imagenetv2_top1_proxy2000, higher is better, 2,000 images. The uniform probe reported class-clustered standard error 0.010921; other proxy standard errors were about 0.0108. Final evaluator: imagenetv2_top1_full10000, higher is better, offsets 0–9 and 10,000 images. It includes the 2,000 proxy rows as 20% and adds 8,000 final-only inputs. Official summaries report class-clustered standard error. Artifact contract: a loadable complete state must lie in the affine hull of the 72 ingredients, with coefficients summing to one. Negative or extrapolative coefficients are allowed. At most three valid checkpoints can be retained; if more exist, the three largest numeric progress labels remain, and the best valid final score is official.
Both metrics measure top-1 accuracy for the same architecture, but not on identical splits. Proxy scores are search evidence; full scores are official. The declared references were 0.6874 for model_69 and 0.6859 for the uniform soup, a -0.0015 difference amounting to only 0.56 paired standard errors, so the baseline was not a reliable improvement over the fixed start.
3.2 How the baseline works
The baseline flow is:
72 fixed complete state dictionaries → assign coefficient 1/72 to each and stream a tensor-by-tensor weighted sum → use no labels, loss, or gradients → write the weighted sum as one complete CLIP state → change only the exported weight combination; train no network parameter.
The default run.sh performs that construction once and publishes one checkpoint. soup.py also implements optional best-single and strict-greedy modes, but they are not the default. Strict greedy ranks by proxy correctness and accepts an ingredient only when the equal-average candidate strictly improves proxy accuracy. The baseline uses seed 42 and batch size 256.
The agent identified two concrete bottlenecks. Scientifically, uniform averaging diluted a strong ingredient, while a two-images-per-class proxy made full-proxy model selection vulnerable to reuse overfitting. Computationally, repeatedly streaming roughly 31 GiB of states from disk made thousands of candidate evaluations infeasible. Its measurements anchored both points: uniform construction took 193.905 seconds and scored 0.6880 proxy; scanning all 72 singles took 543.433 seconds, with model_69 at 0.6935, model_27 at 0.6910, and model_60 at 0.6895.
4. Four-hour exploration and decision process
The agent used the early part of the run to inspect boundaries and reproduce the uniform, single-model, and greedy references. The middle concentrated on a GPU-resident search engine, grouped cross-validation, and alternative coefficient families. The late phase supplied negative controls, artifact checks, and two bounded replays of the submitted entry point. The run consumed 14,020 seconds; most activity was meaningful, but an idle final seven minutes created a separate submission-timing breach discussed in Section 7.
U-01 - Reproduce the baseline and identify the statistical and I/O bottlenecks
Motivation and hypothesis. The agent needed to verify the shipped baseline, identify whether one ingredient dominated the average, and determine whether repeated state loading would constrain search throughput.
Concrete change and setup. It used the unmodified implementation to build the uniform soup and scan all 72 singles, evaluating each on the fixed 2,000-image proxy.
Observed result. Uniform construction took 193.905 seconds and produced 0.6880 accuracy, 1,376/2,000 correct, with clustered standard error 0.010921. The 72-single scan took 543.433 seconds. model_69 led at 0.6935, followed by model_27 at 0.6910 and model_60 at 0.6895.
Agent interpretation. It treated model_69 as the necessary anchor and concluded that the uniform soup diluted good weights. Streaming was acceptable for one construction but unsuitable for thousands of searches.
Report assessment and confounders. The proxy's approximately 0.011 clustered standard error makes single-run ranking uncertain; it locates a search anchor but does not establish final ordering.
Decision and impact. The agent adopted model_69 as the control and center of anchored blends, then moved states and prediction inputs into GPU-resident storage.