|
Download results/replication_report.md from fahadhafeezofficial/clsa-code: direct link, hf CLI and curl.
- Browser
- Download file 4.38 kB
-
https://huggingface.co/datasets/fahadhafeezofficial/clsa-code/resolve/main/results/replication_report.md
- Command line
-
hf download hf://datasets/fahadhafeezofficial/clsa-code/results/replication_report.md
-
curl -L -o replication_report.md https://huggingface.co/datasets/fahadhafeezofficial/clsa-code/resolve/main/results/replication_report.md
4.38 kB
| # Replication report | |
| Generated from the artefacts in this repository on 2026-11-25. This file records | |
| what was re-run, what deviated from the plan, and what is missing. It is not a | |
| summary of the paper. | |
| ## What was run | |
| | Stage | Command | Outcome | Wall clock | | |
| |---|---|---|---| | |
| | Benchmark rebuild + audit | `make bench` | 4,508 items, 120 episodes, schema valid, 40/40 fork replays | minutes | | |
| | Activation harvest (primary) | `experiments/harvest.py --model primary` | 540 states cached, `data/activations/Qwen__Qwen2.5-0.5B-Instruct/states.npz` | 2,739 s | | |
| | Training | `experiments/train_all.py --model primary` | transcoder, 3 probes, world model, risk head, thresholds | 173 s | | |
| | Secondary harvest | `experiments/harvest.py --model secondary --limit 200` | 200 states (78 train / 22 calib / 100 eval), all candidate-scored | ~1,050 s | | |
| | Secondary training | `experiments/train_all.py --model secondary` | transcoder + world model; counterfactual consistency 0.717 | 66 s | | |
| | Experiments | `experiments/run_all.py` | E1–E9 all `ok` (no blocked rows) | ~5 min | | |
| | Figures | `experiments/build_figures.py` | f1–f8 all produced | ~40 s | | |
| | Tables + traceability | `figures/tables.py`, `experiments/check_numbers.py` | 103/103 table values trace to `results/` | seconds | | |
| | Paper | `make paper` (`pdflatex` + `bibtex`, 3 passes) | `paper/main.pdf`, 11 pages, 0 errors, no undefined citations | seconds | | |
| | Tiers | `make tier1`, `make tier2`, `make tier3` | all three smoke tests pass | 13 s / 20 s / 30 s | | |
| | Tests | `make test` | 31 passed | ~90 s | | |
| ## Deviations from the pre-registration | |
| Each deviation is recorded here and in `PRE_REGISTRATION.md`. | |
| 1. **Transcoder width.** Planned 512 features, k=32; shipped 192 features, k=16 | |
| at 120 epochs. Reason: a 512-feature SAE did not finish inside the CPU budget | |
| on this machine (killed after 20+ minutes without producing a checkpoint). The | |
| consequence is visible and reported: reconstruction is weak and the dense probe | |
| wins on calibration, which is what the paper says. | |
| 2. **Harvest coverage.** 540 of 650 planned states, because each host disconnect | |
| killed the process and the remaining run time was spent on completes rather | |
| than restarts. Evaluation therefore uses 302 held-out states, not the full | |
| 380 + 1,540 split. | |
| 3. **Secondary backbone on a reduced harvest.** `SmolLM2-360M-Instruct` was | |
| harvested at 200 states (78 train, 22 calib, 100 evaluation) rather than the | |
| full set, to keep the extra CPU time to ~19 minutes. Its world model is | |
| therefore weaker (counterfactual consistency 0.717 against 0.914) and its | |
| numbers are a replication check, not an independent study. E6 reports the | |
| cross-backbone block: admission and decision-level effects replicate, the | |
| calibrated threshold does not (probe-score correlation 0.075). | |
| 4. **E3 budget frontier.** The pre-registered hypothesis that the cost–safety | |
| frontier moves with budget is **not supported**: CLSA harm is 0.000 at every | |
| budget from 0.15× to 4×. Reported as a negative result in §6. | |
| 5. **Certificate replay.** The Tier 2 quickstart does not fork the sandbox, so its | |
| certificates set `replayed.available = false`. An earlier version filled | |
| `replayed` from the same label tensor and reported consistency 1.0; that was | |
| circular and was removed. | |
| ## What would change the conclusions | |
| - A second backbone with the same protocol would test whether the admission | |
| dissociation is a property of the method or of Qwen-0.5B. | |
| - Executing the AgentDojo and τ-bench adapters (present, not executed) would test | |
| external validity. | |
| - A larger harvest would tighten the intervals, which are currently wide | |
| (E1 harm difference 95% CI [-0.247, -0.122] on 302 states). | |
| ## Known weaknesses a reader should weigh | |
| - The benchmark is synthetic, balanced by construction, and small. | |
| - The world model's one-step error is tiny in absolute terms because the latent | |
| blocks are mostly near-zero vectors; the relative modality ordering is the | |
| informative part, not the absolute MSE. | |
| - `external_verifier` and `external_ttc` have higher harm than language-first in | |
| E1, which is a property of how the verifier is simulated here, not evidence | |
| about those methods in general. Treat those two rows as sanity baselines only. | |
| - Peak memory in E9 is `tracemalloc` (Python allocations), a lower bound on RSS. | |