One-shot model pruning
Claude Sonnet 5 · Claude Code · medium effort
Public case ID: claude__owl_wanda_opt6p7b_70pct__claude-sonnet-5__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
Each trial starts from the fixed dense model and samples 512 C4-train sequences. SparseGPT forms a local Hessian approximation, removes 70% of each linear layer in 128-column blocks, and adjusts retained weights to reduce output-reconstruction error. There is no gradient loss, optimizer, fine-tuning, external label, or synthetic data. After construction, perplexity over 128 fixed C4-validation blocks only ranks independent seeds; it does not update a model. The change therefore spans algorithm, sampling, schedule, engineering, and checkpoint policy. The explored numerical best used 1,024 samples, but 512 was…
Exploration and replay evidence
Four-hour exploration
All exploration scores below are lower-is-better perplexity on 122 WikiText2 validation blocks; block-level uncertainty is not available because those files were removed. First, 128-sample, seed-0 SparseGPT+OWL scored 22.694403 versus 57.838185 for Wanda/OWL. The agent attributed the large gain to Hessian-informed reconstruction and adopted SparseGPT as the core update. Second, uniform 70%-per-layer SparseGPT scored 21.358021, beating default OWL allocation and two further OWL settings at 21.511410 and 21.719382. Uniform allocation was adopted, although the nearest gap was only 0.153389 at one seed, so the report cannot reject every nonuniform allocation. Third, changing the 128-sample seed from 0 to 1 changed perplexity by 0.939871. A first 256-sample run then failed because the calibration buffer was hard-coded to 128; after a dynamic-size fix, 128, 256, 512, and 1,024 samples scored 21.358021, 21.045419, 20.729757, and 20.687983. The agent selected 512 as a throughput/quality knee, but this single-seed sweep does not establish the tiny 512-to-1,024 difference. Fourth, it built a wall-clock multi-seed search that ranks complete models by fixed C4-validation perplexity. A four-seed reduced test found the WikiText2-best model but reversed another pair's ordering; a full-size trial reproduced the standalone 512-sample result. The engineering path was adopted, while its ability to identify the true top three remained uncertain. Submission occurred with 4,795 seconds left, although meaningful approximately 12-minute experiments still fit, violating the task's explicit early-submission condition.
Formal replay
Formal replay used 41,232.14 of 43,200 seconds and stopped normally for budget after 65 complete independent seeds, 0–64; no partial trial competed. It cumulatively published and simultaneously retained the C4 top three. All loaded as 6,658,473,984-parameter models and passed sparsity. On lower-is-better WikiText2 test, 140 blocks, checkpoint 20/seed 19 scored 19.741476 (block per-token NLL SD 0.269189), checkpoint 23/seed 22 scored 20.235305 (0.260319), and checkpoint 25/seed 24 scored 20.384910 (0.262724). These SDs are diagnostics, not score error bars. Checkpoint 20 is official best and improves on the same-protocol sparse-baseline mean 53.358987. The checkpoint numbers denote different seeds, not continued training. C4 ordering matched final ordering only among these three; the other 62 lacked final evaluation, and C4, WikiText2 validation, and WikiText2 test scores are not directly comparable.
Official reduction rule
Best of up to 3 retained checkpoints
| Artifact | Progress | WikiText-2 perplexity | Std. error | n | Role |
|---|---|---|---|---|---|
| artifact-20 | 20 | 19.741 | — | — | Best |
| artifact-23 | 23 | 20.235 | — | — | Retained |
| artifact-25 | 25 | 20.385 | — | — | Final |
Best retained
19.741
artifact-20
Final checkpoint
20.385
artifact-25
Checkpoint rule
Best is an earlier checkpoint
Win/loss versus the recipe is unchanged.
Reference comparison
Fixed start
10.860
Best retained artifact does not beat it (task-directed delta -8.881).
Shipped recipe
53.359
Best retained artifact beats it by 33.618.
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
- 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
owl_wanda_opt6p7b_70pct - claude-sonnet-5 / Claude Code / medium
Status. Exploration and submission completed; formal replay, three artifact validations, and three official final evaluations completed. First explore/formal attempts stopped only at GPU ownership gates. The audit is confirmed solely for prohibited early submission; formal lineage and scores remain valid.
What happened. The task requires a loadable OPT-6.7B model at 70% unstructured decoder-linear sparsity. The Wanda/OWL baseline deletes weights using magnitude and calibration-activation scores, with different sparsities across layers but no compensation of retained weights; it scored 57.838185 WikiText2-validation perplexity. The agent submitted an OPT-adapted SparseGPT method that uses a second-order approximation to prune and reconstruct weights, producing official best WikiText2-test perplexity 19.741476.
Four-hour exploration. All exploration scores below are lower-is-better perplexity on 122 WikiText2 validation blocks; block-level uncertainty is not available because those files were removed. First, 128-sample, seed-0 SparseGPT+OWL scored 22.694403 versus 57.838185 for Wanda/OWL. The agent attributed the large gain to Hessian-informed reconstruction and adopted SparseGPT as the core update. Second, uniform 70%-per-layer SparseGPT scored 21.358021, beating default OWL allocation and two further OWL settings at 21.511410 and 21.719382. Uniform allocation was adopted, although the nearest gap was only 0.153389 at one seed, so the report cannot reject every nonuniform allocation. Third, changing the 128-sample seed from 0 to 1 changed perplexity by 0.939871. A first 256-sample run then failed because the calibration buffer was hard-coded to 128; after a dynamic-size fix, 128, 256, 512, and 1,024 samples scored 21.358021, 21.045419, 20.729757, and 20.687983. The agent selected 512 as a throughput/quality knee, but this single-seed sweep does not establish the tiny 512-to-1,024 difference. Fourth, it built a wall-clock multi-seed search that ranks complete models by fixed C4-validation perplexity. A four-seed reduced test found the WikiText2-best model but reversed another pair's ordering; a full-size trial reproduced the standalone 512-sample result. The engineering path was adopted, while its ability to identify the true top three remained uncertain. Submission occurred with 4,795 seconds left, although meaningful approximately 12-minute experiments still fit, violating the task's explicit early-submission condition.
How the submitted method works. Each trial starts from the fixed dense model and samples 512 C4-train sequences. SparseGPT forms a local Hessian approximation, removes 70% of each linear layer in 128-column blocks, and adjusts retained weights to reduce output-reconstruction error. There is no gradient loss, optimizer, fine-tuning, external label, or synthetic data. After construction, perplexity over 128 fixed C4-validation blocks only ranks independent seeds; it does not update a model. The change therefore spans algorithm, sampling, schedule, engineering, and checkpoint policy. The explored numerical best used 1,024 samples, but 512 was submitted for throughput; no exploration weights entered formal replay.
Formal and evaluation evidence. Formal replay used 41,232.14 of 43,200 seconds and stopped normally for budget after 65 complete independent seeds, 0–64; no partial trial competed. It cumulatively published and simultaneously retained the C4 top three. All loaded as 6,658,473,984-parameter models and passed sparsity. On lower-is-better WikiText2 test, 140 blocks, checkpoint 20/seed 19 scored 19.741476 (block per-token NLL SD 0.269189), checkpoint 23/seed 22 scored 20.235305 (0.260319), and checkpoint 25/seed 24 scored 20.384910 (0.262724). These SDs are diagnostics, not score error bars. Checkpoint 20 is official best and improves on the same-protocol sparse-baseline mean 53.358987. The checkpoint numbers denote different seeds, not continued training. C4 ordering matched final ordering only among these three; the other 62 lacked final evaluation, and C4, WikiText2 validation, and WikiText2 test scores are not directly comparable.
Audit and takeaway. The patch and resolved runs use only the fixed OPT-6.7B and C4 assets; no test text or hidden value was exposed, reconstructed, or used, the evaluator was unchanged, and no external data, extra model, or network research input entered. The formal patch hash matches submission, exploration weights/caches were excluded, and valid runs used one idle GPU without external sharing. Observable agent behavior is confirmed only for early submission; no protocol/evaluation-boundary exposure was found, and platform, scheduling, and resource isolation were compliant. The work demonstrates capable OPT SparseGPT adaptation, debugging, and auditable multi-seed construction, but cannot establish that C4 selected the true best three of 65 or that uniform 512-sample pruning is globally optimal.
Full semantic audit
claude__owl_wanda_opt6p7b_70pct__claude-sonnet-5__medium - Full English Analysis
1. Run identity, attempt selection, and lineage
Explore exploration attempt 1 and formal formal replay 1 contain only resource-gate records. Both were authoritatively classified terminal_infrastructure after the assigned GPU failed the continuous idle/ownership check. Neither launched a scientific run or produced an artifact, so they are execution history rather than evidence to combine with the completed second attempts.
2. Reader-facing overview
The task asks for a loadable model derived from a fixed OPT-6.7B dense checkpoint, with global decoder-linear sparsity in [0.699, 0.701], while minimizing WikiText2 perplexity. The shipped baseline is Wanda with Outlier-Weighted Layerwise sparsity (OWL): it scores weights by their magnitude and calibration activation scale, then assigns different sparsities to different layers. It neither fine-tunes nor compensates retained weights for the output error caused by pruning. In exploration, that baseline scored 57.838185 WikiText2 validation perplexity over 122 blocks.
The agent replaced the core update with SparseGPT adapted to OPT. It approximates second-order curvature from calibration activations and adjusts retained weights while pruning 70% of weights, reducing local reconstruction error. The agent also compared uniform versus OWL layer allocation, varied calibration sample count and seed, and built a wall-clock search that independently constructs models and keeps three using perplexity on the fixed C4 validation file. The submitted default was uniform SparseGPT with 512 calibration sequences, not the slightly better but slower single-seed 1,024-sequence setting.
Formal replay independently completed 65 constructions with calibration seeds 0–64. All met the declared sparsity, and their internal C4 selection scores ranged from 22.206121 to 22.674892. It published and simultaneously retained the three best internal candidates: seeds 19, 22, and 24 as checkpoints 20, 23, and 25. All three loaded successfully. Their official WikiText2 test perplexities over 140 blocks were 19.741476, 20.235305, and 20.384910; checkpoint 20 is the official best under the task rule. Its score is 33.617511 lower than the shipped sparse-baseline mean of 53.358987 under the same final protocol.
The strongest capability evidence is the end-to-end OPT SparseGPT implementation, the diagnosis and fix of a hard-coded 128-sample buffer, and the conversion of a 12-hour budget into a reproducible multi-seed search. The main scientific uncertainty is selection: the C4 proxy and task WikiText proxy showed a partial ranking reversal in a small exploration test, while only the C4 top three of 65 were finally evaluated. The main execution-protocol failure is confirmed early submission with 4,795 seconds remaining, despite an explicit rule allowing early submission only when no meaningful experiment could still be completed and interpreted. This is not evidence of test-data, hidden-asset, or external-input exploitation, and it does not invalidate the frozen formal scores.
3. Task, baseline, and evaluation contract
3.1 Task and fixed boundaries
``text Starting artifact / model: facebook/opt-6.7b@pinned private revision, mounted formally as fixed-asset mount Available training data and assets: fixed allenai/c4 shard 0, with a train file and a C4 validation file; exploration also had the frozen fast_eval interface to WikiText2 validation Agent-editable surface: run.sh, prune.py, owl_opt.py, and the pinned OWL source under editable workspace; pruning, search, calibration use, objective, and construction schedule could be changed Fixed or forbidden components: the dense start, C4 asset identity, final evaluator, test text, and 70% sparsity gate; no external data or weights, test-text access during exploration or construction, evaluator-specific lookup, or network input Proxy evaluator: wikitext2_validation_perplexity, lower is better, WikiText2 raw validation, 122 blocks of 2,048 tokens in observed runs; uncertainty not available because block-level files were removed Final evaluator: wikitext2_test_perplexity, lower is better, WikiText2 raw test, 140 blocks of 2,048 tokens; reports per-token block NLL standard deviation as a diagnostic, not as a score error bar Artifact contract: a complete loadable model directory with decoder-linear global sparsity in [0.699, 0.701]; up to three numeric-progress checkpoints are evaluated separately, and the best valid final score is official ``
The exploration proxy and final evaluator use the same tokenizer, 2,048-token blocking, half-precision forward pass, and perplexity computation, but operate on disjoint text splits. They can support directional method comparisons, but their raw values are not paired measurements. The candidate adds a third protocol: perplexity over 128 blocks from the fixed C4 validation file, used only to rank seeds within formal replay. This is neither the declared WikiText2 exploration proxy nor the final test metric and must be reported separately.
3.2 How the baseline works
``text Fixed OPT-6.7B plus 128 seed-selected, 2,048-token calibration sequences from the C4 train shard -> layerwise forward passes collect mean-squared input activation per channel for each linear module -> Wanda scores each weight as abs(W) x sqrt(activation scale), while OWL allocates the global target into different layer sparsities using layer outlier ratios -> the lowest-scored weights in each row are zeroed so the global model is approximately 70% sparse; there is no gradient loss, optimizer, or post-deletion weight compensation -> OPT decoder-linear weights change, other parameters retain their dense values, and one complete model checkpoint is exported ``
The baseline defaults were wanda_owl, LAMBDA=0.08, HYPER_M=5.0, calibration seed 0, and USE_VARIANT=false. The observed baseline took 263.12 seconds, reached 0.699909 global sparsity with layer sparsities from 0.578125 to 0.738078, and scored 57.838185 WikiText2 validation perplexity. The agent diagnosed the main bottleneck as Wanda's importance-based zeroing without reconstruction of retained weights, and separately suspected that an OWL allocation tuned for Wanda might not benefit a second-order method.
4. Four-hour exploration and decision process
The agent inspected the baseline and existing OWL/SparseGPT source, then implemented an OPT-compatible path while the baseline ran. It completed the baseline, SparseGPT+OWL, and uniform SparseGPT comparison in roughly the first 40 minutes. The next hour examined seed and calibration width and included debugging an out-of-bounds failure beyond 128 samples. About 40 further minutes went to implementing and downsizing the multi-trial selection path, followed by a full 512-sample reproduction. The last approximately 16 minutes ran two OWL allocation ablations concurrently on the assigned GPU, checked syntax and the patch, and submitted. Total exploration time was 9,659 of 14,400 seconds.
U-01 - Can second-order reconstruction repair Wanda/OWL's quality loss?
Motivation and hypothesis. The pinned OWL source included SparseGPT, but its upstream invocation passed the LLaMA-specific position_ids argument and could not be used directly with OPT. The agent hypothesized that collecting the corresponding OPT activations and using SparseGPT's Hessian approximation and error compensation would preserve substantially more quality than direct Wanda zeroing.
Concrete change and experimental setup. It implemented an OPT-specific SparseGPT path in owl_opt.py. Every trial began from the fixed dense model and targeted approximately 0.7 global unstructured sparsity. An eight-sequence run checked executability; a 128-sequence, seed-0 sparsegpt_owl run then provided the main comparison. Both successful models were evaluated on 122 WikiText2 validation blocks, lower being better.
Observed result. The wanda_owl baseline scored 57.838185. Even the eight-sample SparseGPT+OWL smoke model exported, loaded, passed sparsity, and scored 43.727803. At 128 samples, SparseGPT+OWL took 487.35 seconds, reached 0.700001 global sparsity, and scored 22.694403. Exploration standard errors or confidence intervals are not available because only the aggregate score and block count survived.
Agent interpretation. The agent attributed the large reduction to SparseGPT's Hessian-based masking and reconstruction, treating it as evidence for changing the core pruning update rather than merely tuning Wanda.
Report assessment and confounds. The eight-sample result is primarily a smoke test. The 128-sample comparison, however, shares the seed, task proxy, and sparsity gate with the baseline, and its more-than-35-point advantage is much larger than the baseline seed spread declared by the task. It strongly supports a real method improvement.
Decision and consequence. SparseGPT became the candidate's core update. SparseGPT+OWL remained a branch to compare, while Wanda ceased to be the formal default.