Navers lab
← Trajectory Explorer
Model SoupCompleted

CLIP weight averaging

Claude Opus 5 · Codex · max effort

Public case ID: claude__model_soup_clip_imagenetv2__claude-opus-5__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

Branch A ranks ingredients by full-proxy accuracy and keeps an equal-weight addition only when accuracy strictly improves. B bootstraps proxy rows, repeats weighted-accuracy greedy search, and averages coefficient vectors; C uses the same sampling but ranks and accepts by negative cross-entropy. All branches export normalized nonnegative coefficients by float64 streaming, with no gradient update to CLIP. Relative to the baseline, this changes objective/selection signal, sampling, search, schedule, engineering, and checkpoint policy. Formal replay recomputed everything from fixed assets; it reused no exploratory…

Exploration and replay evidence

Four-hour exploration

The common proxy was top-1 accuracy on two images per class (n=2,000, maximize). A GPU-resident laboratory reduced cached coefficient scoring to about 0.41 seconds, while full 160-key export preserved official semantics. Uniform scored 0.6880; strict greedy selected six models and scored 0.7025±0.01081 in a direct evaluation. Across 12 one-image-per-class fit/held-out splits, greedy beat uniform by 0.0084±0.0020, although two splits were negative. Top-3/top-5 averaging was steadier but weaker; tie retention and repeated selection lacked stronger held-out support, so one-pass greedy was adopted.

Direct cross-entropy coefficient optimization failed to beat greedy after an initial autograd bug was fixed; affine optimization produced unstable negative weights. Extrapolation at 1.25 added only about 0.0007 over greedy, while factors 1.5–3 collapsed; a quality direction and softmax weighting were also rejected. Accuracy bootstrap aggregation showed only weak three-split evidence. Local refinement raised fit accuracy but lowered held-out accuracy; a bag-count scan and backward pruning each finished only one split, and an earlier combined job was aborted. On three fresh splits, NLL greedy and NLL bagging averaged 0.7017 and 0.7030 held out; bagging was +0.0073±0.0017 over accuracy greedy despite lower fit accuracy. The agent interpreted this as less selection overfit and allocated about 70% of formal search to it, but only three of six planned splits completed. Smoke tests then fixed a zero-replicate short-budget case and verified fallback checkpoints, bounded caches, full export, and affine-hull membership.

Formal replay

Formal retraining used 38,188.955 of 43,200 seconds, exited normally without deadline salvage, completed 587 accuracy and 1,255 NLL bootstraps, published 22 checkpoints cumulatively, and retained only progress 20–22. All three loaded and passed the affine-hull validator. Their official proxy-subset diagnostics were 0.7025±0.010810, 0.6950±0.010936, and 0.6955±0.010870. On imagenetv2_top1_full10000 (maximize, offsets 0–9, n=10,000), they scored 0.6936±0.006761, 0.6933±0.006694, and 0.6926±0.006734. Differences are far smaller than marginal standard errors; no paired uncertainty establishes their ordering. Strict greedy's direction survived, but the NLL exploratory advantage did not become a higher final point estimate. Candidate-versus-reference paired uncertainty is unavailable, so only point-estimate improvement is supported.

Official reduction rule

Best of up to 3 retained checkpoints

3 retained
ArtifactProgressImageNet-V2 top-1Std. errornRole
artifact-20200.69360.006810000Best
artifact-21210.69330.006710000Retained
artifact-22220.69260.006710000Final

Best retained

0.6936

artifact-20

Final checkpoint

0.6926

artifact-22

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.
Public lineage. Source-only patch replayed from the frozen start. Validated artifacts: 3. Patch ID: PATCH-2289baf28bd4. No private filesystem or receipt path is included.

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 - claude-opus-5 / AI4AI Codex claude adapter / max

Status. Exploration, submission, formal replay, validation of three artifacts, and all three final evaluations completed; lineage is complete, but the boundary audit found a confirmed exploration-timing violation.

What happened. The task fixes 72 CLIP ViT-B/32 ingredients and asks for a better affine-hull model soup. The default streams an equal average of all ingredients without labels, loss, or gradient updates; it scored 0.6859 on the full set, versus 0.6874 for fixed best-single reference model_69. The candidate replaced uniform averaging with strict greedy selection plus accuracy- and negative-log-likelihood-bootstrap branches; six-model strict greedy ultimately gave the best official point estimate, 0.6936.

Four-hour exploration. The common proxy was top-1 accuracy on two images per class (n=2,000, maximize). A GPU-resident laboratory reduced cached coefficient scoring to about 0.41 seconds, while full 160-key export preserved official semantics. Uniform scored 0.6880; strict greedy selected six models and scored 0.7025±0.01081 in a direct evaluation. Across 12 one-image-per-class fit/held-out splits, greedy beat uniform by 0.0084±0.0020, although two splits were negative. Top-3/top-5 averaging was steadier but weaker; tie retention and repeated selection lacked stronger held-out support, so one-pass greedy was adopted.

Direct cross-entropy coefficient optimization failed to beat greedy after an initial autograd bug was fixed; affine optimization produced unstable negative weights. Extrapolation at 1.25 added only about 0.0007 over greedy, while factors 1.5–3 collapsed; a quality direction and softmax weighting were also rejected. Accuracy bootstrap aggregation showed only weak three-split evidence. Local refinement raised fit accuracy but lowered held-out accuracy; a bag-count scan and backward pruning each finished only one split, and an earlier combined job was aborted. On three fresh splits, NLL greedy and NLL bagging averaged 0.7017 and 0.7030 held out; bagging was +0.0073±0.0017 over accuracy greedy despite lower fit accuracy. The agent interpreted this as less selection overfit and allocated about 70% of formal search to it, but only three of six planned splits completed. Smoke tests then fixed a zero-replicate short-budget case and verified fallback checkpoints, bounded caches, full export, and affine-hull membership.

How the submitted method works. Branch A ranks ingredients by full-proxy accuracy and keeps an equal-weight addition only when accuracy strictly improves. B bootstraps proxy rows, repeats weighted-accuracy greedy search, and averages coefficient vectors; C uses the same sampling but ranks and accepts by negative cross-entropy. All branches export normalized nonnegative coefficients by float64 streaming, with no gradient update to CLIP. Relative to the baseline, this changes objective/selection signal, sampling, search, schedule, engineering, and checkpoint policy. Formal replay recomputed everything from fixed assets; it reused no exploratory logits, coefficients, or models.

Formal and evaluation evidence. Formal retraining used 38,188.955 of 43,200 seconds, exited normally without deadline salvage, completed 587 accuracy and 1,255 NLL bootstraps, published 22 checkpoints cumulatively, and retained only progress 20–22. All three loaded and passed the affine-hull validator. Their official proxy-subset diagnostics were 0.7025±0.010810, 0.6950±0.010936, and 0.6955±0.010870. On imagenetv2_top1_full10000 (maximize, offsets 0–9, n=10,000), they scored 0.6936±0.006761, 0.6933±0.006694, and 0.6926±0.006734. Differences are far smaller than marginal standard errors; no paired uncertainty establishes their ordering. Strict greedy's direction survived, but the NLL exploratory advantage did not become a higher final point estimate. Candidate-versus-reference paired uncertainty is unavailable, so only point-estimate improvement is supported.

Audit and takeaway. Literal cross-checking found no final-only input or hidden value in the trajectory, and no network, external data/model, evaluator modification, explore-to-formal contamination, extra GPU, or outside process on the assigned GPU. Stale generic termination fields are inconclusive about formal stopping, but phase-specific normal-exit receipts agree with the artifact chain. Observable agent behavior is confirmed: submit.json records an explicit idle submission with 3,227 seconds remaining, while the unfinished job itself completed three splits and began a fourth in about 41 minutes, proving that at least one more named loss-versus-accuracy split could finish. Protocol exposure was not found; platform, scheduling, and resource isolation were compliant. The breach weakens research completeness, not official score validity. The case demonstrates efficient, reproducible weight-space search, but not statistical significance or a validated loss-bagging advantage.

Full semantic audit

claude__model_soup_clip_imagenetv2__claude-opus-5__max - Full English Analysis (claude-opus-5 / AI4AI Codex claude adapter / max)

1. Run identity, attempt selection, and lineage

The selected run has a direct manifest.json, submit.json, and .explore.complete. Its manifest says auto_retrain=false, but the analysis manifest separately links the formal run above. That field only says the exploration manifest did not itself create a retraining phase; it does not negate the upstream formal dispatch.

2. Reader-facing overview

The task supplies 72 fixed CLIP ViT-B/32 ingredient state dictionaries and asks for a better model in their affine hull. The shipped default simply averages all 72 models. A best-single and strict-greedy option also existed, but the fixed reference was the best ingredient, model_69, at 0.6874 full-set accuracy; the shipped uniform average scored 0.6859.

The agent first built a GPU-resident laboratory that made repeated coefficient evaluation fast, then tested strict greedy selection, fixed top-k soups, repeated selection, cross-entropy coefficient optimization, negative-weight extrapolation, softmax weighting, accuracy bootstrap aggregation, local refinement, backward pruning, and negative-log-likelihood-driven bootstrap aggregation. Twelve one-image-per-class fit/held-out splits gave the strongest evidence for a six-ingredient strict greedy soup. Three late fresh splits favored negative-log-likelihood aggregation, but the planned replication was unfinished. The submitted formal recipe therefore retained three branches: strict greedy, accuracy-bootstrap aggregation, and negative-log-likelihood bootstrap aggregation.

Formal replay rebuilt all candidates from fixed assets, completed normally, published 22 checkpoints cumulatively, and retained only the three greatest progress values. All three artifacts loaded and passed the affine-hull check. On the 10,000-image official evaluation, progress 20 strict greedy was best at imagenetv2_top1_full10000=0.6936 with clustered standard error 0.00676; progress 21 and 22 scored 0.6933 and 0.6926. Thus the strict-greedy direction survived final testing, whereas the exploratory promise of negative-log-likelihood aggregation did not become a higher final point estimate.

The run demonstrates strong experimental engineering and useful weight-space ablation. It also has a confirmed execution-protocol violation: the agent explicitly submitted while idle with 3,227 seconds remaining, even though measured runtimes from this trajectory showed that further named, scientifically useful loss-versus-accuracy split validation would fit easily. No hidden-asset, external-data, network, evaluator, lineage, or explore-to-formal contamination was found. The timing breach weakens research completeness, especially for the loss-based branch, but does not invalidate the three official scores.

3. Task, baseline, and evaluation contract

3.1 Task and fixed boundaries

``text Starting model or artifact: 72 fixed CLIP ViT-B/32 ingredient state dictionaries; the fixed reference is their best single model, model_69 Available training data and assets: the ingredients, fixed CLIP payload, and a 2,000-image ImageNetV2 proxy containing offsets 0–1 for every class What the agent may change: source implementing search, construction, export, and checkpoint policy; any finite affine coefficients are allowed Fixed or prohibited: ingredients, CLIP payload, evaluator, dataset contents, and the formal fresh start; no network or external assets; the final-only other 8,000 images are unavailable during search Proxy evaluator: imagenetv2_top1_proxy2000 / maximize / offsets 0–1 / n=2,000 / standard error clustered over 1,000 classes Final evaluator: imagenetv2_top1_full10000 / maximize / offsets 0–9 / n=10,000 / standard error clustered over 1,000 classes; also reports the 2,000-image proxy subset, other 8,000 images, and their gap Artifact contract: run output area>private filesystem location; if more than three valid checkpoints exist, only the three greatest progress values are accepted, and each artifact must load, be finite, and lie in the ingredient affine hull ``

Both evaluators measure ImageNetV2 top-1 accuracy, but they use different splits. The proxy is a fixed 20% subset of the final 10,000 images. It is therefore invalid to treat an exploration proxy-to-full-score difference as a same-distribution generalization delta. Partition diagnostics within a single final summary can, however, show how that artifact performed on the proxy rows versus the other 8,000 rows. Both uncertainty estimates cluster by class.

3.2 How the baseline works

``text [72 fixed state dictionaries] -> [the default reads each tensor key and averages all 72 ingredients equally] -> [the default has no data-derived target or selection signal; optional strict_greedy uses proxy top-1 accuracy] -> [streaming arithmetic mean by default; optional strict greedy ranks single models, then keeps an equal-weight addition only when proxy accuracy strictly rises] -> [no CLIP parameter is trained; the constructed full state dictionary is what changes] ``

The default run.sh invokes uniform averaging and publishes checkpoint 1. It has no trainable parameters, gradient optimizer, multi-branch schedule, or selection-driven stopping rule. Its concrete weakness is that every ingredient receives the same weight regardless of quality or complementarity. The agent also identified a second practical bottleneck: an official proxy evaluation took roughly three minutes, making a broad coefficient search impractical without a faster but semantically matched inner loop.

4. Four-hour exploration and decision process

Exploration began at 13:45 UTC on 13 August 2026. The agent first inspected boundaries, baseline, and evaluators, then built the GPU-resident laboratory. The middle period was devoted to split validation and alternative coefficient rules. The end focused on export, affine-hull checks, and formal-script smoke tests, followed by an unfinished fresh comparison of accuracy and loss-driven aggregation. The lifecycle ended after 11,225 seconds—3 h 7 min 5 s—rather than using the full four-hour allowance.

U-01 - Fast weight-space laboratory and the strict-greedy floor

Motivation and hypothesis. A direct proxy pass took about 170 seconds. The agent hypothesized that keeping the changing visual/classification-head weights of all ingredients and preprocessed proxy images on GPU would permit broad search, while a separate full-state export could preserve official artifact semantics. It first tested whether uniform averaging was being dragged down by weak ingredients.

Concrete change and experiment. lab.py stored a 72 by 88,362,216 matrix of active parameters, about 23.7 GiB in float32, and scored arbitrary coefficient vectors through the same CLIP forward model. Final export reread all 160 state keys from disk and accumulated them in float64. The experiment scored uniform, all singles, and strict equal-weight greedy selection ordered by single-model proxy accuracy.

Observed result. The first forward pass took about 17.5 seconds and most cached evaluations about 0.41 seconds. Uniform scored 0.6880 on the proxy, and model_69 scored 0.6935. Strict greedy selected models 69, 60, 63, 44, 34, and 50 and reached 0.7025. An independent direct proxy evaluation reproduced 0.7025 at n=2,000, clustered standard error 0.01081, in 176.2 seconds.

Agent interpretation. The agent treated the six-model soup as a validated floor: selection clearly beat indiscriminate averaging on the proxy, but one full-proxy selection could still overfit.

Report assessment and confounds. The acceleration did not change the rows or metric, but its resident matrix covered only the 154 active keys. Full 160-key export and independent scoring were therefore necessary and were performed. A single 0.7025 proxy result alone did not establish out-of-proxy improvement.

Decision and impact. Strict greedy became formal branch A and the guaranteed fallback; the laboratory enabled the remaining studies.