One-shot model pruning
GPT-5.6 Luna · Codex · medium effort
Public case ID: codex__owl_wanda_opt6p7b_70pct__gpt-5.6-luna__medium
Recipe shift
What the agent changed
Shipped baseline
Use activation-scaled weight magnitude and OWL layer allocation to prune 70% of weights without reconstruction training.
Starting artifact: Dense OPT-6.7B with a mandatory 70% sparsity target
Candidate algorithm
Baseline flow is fixed C4 inputs → Wanda activation importance and OWL layer allocation → rowwise deletion → full sparse model. Candidate flow keeps OWL allocation, accumulates second-order input statistics for every linear module, then SparseGPT prunes in 128-column blocks with 1% diagonal damping and compensates surviving weights using approximate inverse curvature. This changes the objective/update rule, calibration sampling, formal schedule, OPT compatibility, and checkpoint policy; fixed inputs, the global sparsity gate, offline execution, and evaluators remain unchanged. No generated labels, external…
Exploration and replay evidence
Four-hour exploration
Proxy evaluation used 122 WikiText2 validation blocks and lower perplexity was better; final test uses 140 disjoint blocks, so the tiers are not directly subtractable. A fresh seed-0 baseline scored 57.8382. Uniform Wanda regressed to 181.7436, λ=0.04 scored 142.6910, and λ=0.12 improved to 45.2620, supporting non-uniform allocation with a wider layer-sparsity range. SparseGPT-OWL initially failed twice because OPT supplies no position_ids: capture first raised a missing-key error, then layer forwarding rejected the still-passed keyword. Conditional forwarding fixed the path, producing 24.1341 at seed 0. Seed 1 scored 25.8172, supporting a method-level gain; λ=0.16 worsened to 26.0580. Hyper_m=3.0 gave the exploration low of 24.1225, but its 0.0116 advantage over 5.0 was not replicated and is much smaller than seed variation. A 256-sample test exposed a hard-coded 128-row activation buffer; the first fix missed the active SparseGPT call site, the second run failed identically, and a loader-sized buffer finally scored 24.3269 in 450.5 seconds versus 25.8172 in 331.5 seconds at 128 samples. The wider setting was retained as a costly fallback. A formal-style one-checkpoint smoke run passed loading and proxy evaluation, but Wanda's alpha-mask variant, seeds 2–3, and λ=0.10/0.14 remained untested. Exploration ended after 3,832 seconds with 10,610 seconds left despite several experiments fitting comfortably in that time.
Formal replay
The harness forced a 42,600-second internal wall clock plus a 600-second reserve. Replay ran 41,821 seconds, published 110 checkpoints cumulatively, and retained loadable checkpoints 108–110. Because the 13-item list repeats, these map to seed 3/λ=0.12, seed 0/λ=0.10, and seed 0/λ=0.14, all with 128 samples and Hyper_m=5.0; the exploration favorite was not retained. Artifacts 108 and 109 have test summaries of 23.6864 and 22.3891 but no .complete, so they are unofficial diagnostics excluded from comparison. Artifact-110 has the required receipt and scores 24.3104 on 140 test blocks at sparsity 0.70000077; block-NLL standard deviation is 0.26932, not a confidence interval. The qualitative proxy gain survived, but official best-of-three selection did not complete.
Official reduction rule
Best of up to 3 retained checkpoints
| Artifact | Progress | WikiText-2 perplexity | Std. error | n | Role |
|---|---|---|---|---|---|
| artifact-108 | 108 | -23.686 | — | — | Retained |
| artifact-109 | 109 | -22.389 | — | — | Retained |
| artifact-110 | 110 | -24.310 | — | — | Best · final |
Best retained
-24.310
artifact-110
Final checkpoint
-24.310
artifact-110
Checkpoint rule
Best is final
Win/loss versus the recipe is unchanged.
Reference comparison
Fixed start
10.860
Best retained artifact beats it by 35.171.
Shipped recipe
53.359
Best retained artifact beats it by 77.669.
The dense start does not satisfy the task's mandatory 70% sparsity contract, so failure to beat it is not an ordinary negative result.
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
owl_wanda_opt6p7b_70pct - gpt-5.6-luna / Codex CLI / medium
Status. Exploration and submission completed; formal replay completed with three loadable sparse models; all checkpoint validations completed; final evaluation is partial because only artifact-110 has both summary.json and .complete. The boundary audit confirms an early-submission execution violation and a platform defect from two missing final receipts.
What happened. The task is to reconstruct a loadable OPT-6.7B whose decoder linear weights are 70% zero, using only a fixed dense model and C4 shard, while minimizing WikiText2 perplexity. The baseline uses outlier-weighted layer allocation (OWL) plus Wanda's weight-times-activation importance to zero low-ranked weights without fine-tuning. The agent replaced Wanda deletion with SparseGPT second-order error compensation; the sole official test result was 24.3104, versus the shipped sparse baseline mean of 53.3590.
Four-hour exploration. Proxy evaluation used 122 WikiText2 validation blocks and lower perplexity was better; final test uses 140 disjoint blocks, so the tiers are not directly subtractable. A fresh seed-0 baseline scored 57.8382. Uniform Wanda regressed to 181.7436, λ=0.04 scored 142.6910, and λ=0.12 improved to 45.2620, supporting non-uniform allocation with a wider layer-sparsity range. SparseGPT-OWL initially failed twice because OPT supplies no position_ids: capture first raised a missing-key error, then layer forwarding rejected the still-passed keyword. Conditional forwarding fixed the path, producing 24.1341 at seed 0. Seed 1 scored 25.8172, supporting a method-level gain; λ=0.16 worsened to 26.0580. Hyper_m=3.0 gave the exploration low of 24.1225, but its 0.0116 advantage over 5.0 was not replicated and is much smaller than seed variation. A 256-sample test exposed a hard-coded 128-row activation buffer; the first fix missed the active SparseGPT call site, the second run failed identically, and a loader-sized buffer finally scored 24.3269 in 450.5 seconds versus 25.8172 in 331.5 seconds at 128 samples. The wider setting was retained as a costly fallback. A formal-style one-checkpoint smoke run passed loading and proxy evaluation, but Wanda's alpha-mask variant, seeds 2–3, and λ=0.10/0.14 remained untested. Exploration ended after 3,832 seconds with 10,610 seconds left despite several experiments fitting comfortably in that time.
How the submitted method works. Baseline flow is fixed C4 inputs → Wanda activation importance and OWL layer allocation → rowwise deletion → full sparse model. Candidate flow keeps OWL allocation, accumulates second-order input statistics for every linear module, then SparseGPT prunes in 128-column blocks with 1% diagonal damping and compensates surviving weights using approximate inverse curvature. This changes the objective/update rule, calibration sampling, formal schedule, OPT compatibility, and checkpoint policy; fixed inputs, the global sparsity gate, offline execution, and evaluators remain unchanged. No generated labels, external model, test text, or exploration weights enter formal replay. The patch cycles through 13 seed/width/allocation settings, publishing every complete reconstruction and retaining three.
Formal and evaluation evidence. The harness forced a 42,600-second internal wall clock plus a 600-second reserve. Replay ran 41,821 seconds, published 110 checkpoints cumulatively, and retained loadable checkpoints 108–110. Because the 13-item list repeats, these map to seed 3/λ=0.12, seed 0/λ=0.10, and seed 0/λ=0.14, all with 128 samples and Hyper_m=5.0; the exploration favorite was not retained. Artifacts 108 and 109 have test summaries of 23.6864 and 22.3891 but no .complete, so they are unofficial diagnostics excluded from comparison. Artifact-110 has the required receipt and scores 24.3104 on 140 test blocks at sparsity 0.70000077; block-NLL standard deviation is 0.26932, not a confidence interval. The qualitative proxy gain survived, but official best-of-three selection did not complete.
Audit and takeaway. Formal lineage is closed by the matching patch hash and fixed model/C4 mounts; no test-content access, external input, explore-to-formal weight reuse, GPU sharing on the allocated device, or wall-clock overrun was found. Observable agent behavior is confirmed because submission with substantial usable budget violated an explicit rule, not because of data or evaluator cheating; protocol exposure is none found; platform/scheduling/resource isolation has a confirmed defect because GPU isolation was sound but two final completion receipts are missing. The agent demonstrated a strong algorithmic pivot and implementation repair, but the evidence cannot establish that Hyper_m=3.0 is robustly best, that 22.3891 is official, or that exploration was exhaustive.
Full semantic audit
codex__owl_wanda_opt6p7b_70pct__gpt-5.6-luna__medium - Full English Analysis
1. Run identity, attempt selection, and lineage
The exploration agent process has raw exit 137 because lifecycle management terminated it while the explicit submit command was in flight. lifecycle.json records agent_explicit_submit, phase_complete.explore=true, and a valid patch receipt, so this is not a separate failed retry. Control records contain only formal replay 1 for this job and no correction receipt.
2. Reader-facing overview
The task asks for a loadable OPT-6.7B model with approximately 70% of decoder linear weights zeroed, starting from one fixed dense model and one fixed C4 calibration shard, while minimizing WikiText2 perplexity. Lower perplexity is better. The shipped baseline performs no fine-tuning: outlier-weighted layer allocation (OWL) chooses how much to prune in each layer, and Wanda ranks weights using weight magnitude times observed input-activation scale. The agent found that uniform allocation was disastrous and that the shipped layer-allocation amplitude was too conservative on its calibration draw.
The agent replaced Wanda's independent weight deletion with SparseGPT, a second-order pruning method that estimates local curvature from calibration activations and compensates remaining weights when others are zeroed. OWL still allocates sparsity across layers. Its best exploration model scored 24.1225 perplexity on 122 validation blocks, versus a freshly measured baseline of 57.8382. It also repaired two real OPT integration faults—missing position IDs and a calibration buffer fixed at 128 samples—and submitted a formal recipe that cycles through 13 constructions while retaining only three complete models at a time.
Formal replay ran for 41,821 seconds, published 110 complete checkpoints cumulatively, and left checkpoints 108–110, all loadable. A scheduling bug matters: because the 13-item list repeats, wall-clock truncation left seed 3/128 samples/λ=0.12, seed 0/128/λ=0.10, and seed 0/128/λ=0.14—not the three evidence-backed configurations the agent said it had placed last. Only artifact-110 has an official final receipt; its test perplexity is 24.3104, 29.0486 lower than the shipped sparse mean of 53.3590. Scores 23.6864 and 22.3891 for artifacts 108 and 109 are unofficial diagnostics because their .complete receipts are absent.
The trajectory demonstrates strong diagnosis, method selection, and low-level engineering, but it also has two decisive limitations. The agent submitted after about 64 minutes with 10,610 seconds unused despite several short, meaningful experiments remaining, contrary to an explicit task rule. Separately, the evaluation pipeline did not complete receipts for two accepted artifacts, so the contractual official best-of-three result is unavailable.
3. Task, baseline, and evaluation contract
3.1 Task and fixed boundaries
``text Starting artifact / model: fixed fp16 facebook/opt-6.7b@pinned private revision Available training data and assets: English shard 0 of allenai/c4@1588ec... plus its C4 validation file; exploration also mounts WikiText2 validation Agent-editable surface: run.sh, prune.py, owl_opt.py, and the pinned OWL tree under editable workspace; pruning, search, calibration use, objectives, and training on the allowed asset may change Fixed or forbidden components: dense start, C4 shard, frozen evaluators, final test text, and the 70% sparsity window; no external data/weights, exploration access to test text, or evaluation-specific lookup Proxy evaluator: wikitext2_validation_perplexity / minimize / WikiText2 validation / 122 complete 2,048-token blocks / block NLL standard deviation only, not a standard error Final evaluator: wikitext2_test_perplexity / minimize / WikiText2 test / 140 complete 2,048-token blocks / block dispersion only, with no confidence interval Artifact contract: decoder-linear zero fraction in [0.699, 0.701] and loadable by the frozen Hugging Face loader; at most the three greatest numeric progress values are accepted, and the official run result is the best valid final score among them ``
Proxy and final evaluation use the same slow OPT tokenizer, fp16 forward pass, 2,048-token blocks, and perplexity arithmetic. Their validation and test texts are disjoint, however, so scores may be compared only within their respective protocols and must not be subtracted across splits. The reported standard deviation measures variation among blocks of one fixed text; it is not uncertainty over calibration seeds. The fixed dense reference scores 10.860456 on test but is ineligible at zero sparsity. The three shipped sparse baselines have a test mean of 53.358987.
3.2 How the baseline works
``text sample 128 sequences of 2,048 tokens from the fixed C4 shard at calibration seed 0 -> run dense OPT-6.7B and collect inputs to every decoder linear module -> compute Wanda importance, |weight| times the square root of mean-squared input-channel activation, and use Hyper_m=5.0 to measure each layer's outlier ratio -> OWL with λ=0.08 reallocates density around the global 30% target; Wanda deletes the lowest-importance target fraction in each row -> decoder linear weights are set to zero and a complete fp16 model is exported; there is no optimizer, learning rate, or gradient training ``
The baseline retains tokenizer, embeddings, configuration, and tensor shapes; unstructured sparsity writes zeros rather than compressing the file. Its default formal behavior publishes one model at progress 1. The agent initially identified two concrete bottlenecks: one deterministic construction does not use a 12-hour formal budget meaningfully, and calibration seed and layer allocation may dominate quality. Matched measurements then sharpened the diagnosis: uniform Wanda was very poor, while the default λ=0.08 did not allow enough layer-to-layer variation for seed 0.
4. Four-hour exploration and decision process
The agent spent the opening minutes reading construction, evaluation, and checkpoint contracts, then established a fresh baseline and layer-allocation controls. The middle period pivoted to SparseGPT and debugged two OPT failures before testing seed robustness. The final period built and smoke-tested a formal loop, repaired 256-sample calibration, and tested Hyper_m. Exploration ended after 3,832 seconds—about 64 minutes—with 10,610 seconds remaining, so the work was scientifically useful but did not consume most of the allotted four hours.
U-01 - Is non-uniform layer allocation the key baseline ingredient?
Motivation and hypothesis. The agent wanted to separate Wanda's within-layer ranking from OWL's cross-layer allocation and determine whether the default λ constrained layer sparsity too strongly.
Concrete change and experimental setup. All runs used the fixed model, 128 C4 calibration sequences at seed 0, and the 122-block validation evaluator. The fresh baseline was wanda_owl, λ=0.08, Hyper_m=5.0. Controls were uniform Wanda and OWL/Wanda at λ=0.04 and λ=0.12.
Observed result. The baseline scored 57.8382 at actual sparsity 0.699909, block-NLL standard deviation 0.2822, and 152.3 seconds of pruning. Uniform Wanda regressed to 181.7436; λ=0.04 scored 142.6910; λ=0.12 improved to 45.2620. Every artifact passed the sparsity window.
Agent interpretation. The agent concluded that non-uniform allocation was doing essential work and that the opposing λ results showed the shipped allocation was too conservative.
Report assessment and confounds. This is strong directional evidence under a matched seed and evaluator. Each setting has only one construction, and block dispersion is not an error bar for between-setting differences. The measured validation baseline is not directly comparable to the shipped test scores.
Decision and consequence. Uniform Wanda and λ=0.04 were rejected; λ=0.12 became the center of later comparisons.