|
Download PRE_REGISTRATION.md from fahadhafeezofficial/clsa-code: direct link, hf CLI and curl.
- Browser
- Download file 6.99 kB
-
https://huggingface.co/datasets/fahadhafeezofficial/clsa-code/resolve/main/PRE_REGISTRATION.md
- Command line
-
hf download hf://datasets/fahadhafeezofficial/clsa-code/PRE_REGISTRATION.md
-
curl -L -o PRE_REGISTRATION.md https://huggingface.co/datasets/fahadhafeezofficial/clsa-code/resolve/main/PRE_REGISTRATION.md
6.99 kB
| # Pre-registration — CLSA / PreAct-Bench | |
| **Written before any main experiment was run.** Timestamped in git; the commit | |
| hash is recorded in `results/INDEX.md`. Mirrored at `paper/preregistration.md`. | |
| ## Scope actually available (declared up front) | |
| Compute reality check (Phase 0) found: AMD Ryzen 5 7530U, 6 cores / 12 threads, | |
| 15.4 GB RAM, integrated Radeon graphics (0.5 GB shared), **no CUDA**, CPU-only | |
| PyTorch 2.5.1, 57 GB free disk. | |
| Consequences, declared before running: | |
| 1. No 7B-class backbone and no Gemma Scope SAE weights fit the time budget. Two | |
| open-weight backbones are used instead: `Qwen/Qwen2.5-0.5B-Instruct` | |
| (primary) and `HuggingFaceTB/SmolLM2-360M-Instruct` (secondary). The primary | |
| backbone is **not** 7B-class and no claim is made that it is. | |
| 2. The transcoder is trained in-repo (TopK) rather than loaded from Gemma Scope. | |
| The Gemma Scope adapter is implemented but marked not-tested. | |
| 3. The unit of analysis is the decision point. Closed-loop episode evaluation is | |
| run on a small subset only, and is reported separately. | |
| 4. Everything runs locally with no paid API. Reference compute prices are stated | |
| accounting rates, not market prices. | |
| ## Hypotheses | |
| **H1 (grounding).** A hybrid state assembling probe-aligned, behaviourally | |
| sensitive sparse features with belief and evidence state transfers better under | |
| distribution shift than a dense probe, even if the dense probe wins | |
| in-distribution. | |
| - Primary test: selective risk at the calibrated threshold on the held-out | |
| families (`web_shop`, `gui_settings`) with **no recalibration**. | |
| - Direction: hybrid selective risk ≤ dense-probe selective risk. | |
| - Honest-loss condition: the dense probe may win on the primary families | |
| (`email_payment`, `files_ops`); that outcome is reported as the in-distribution | |
| result it is, not hidden. | |
| **H2 (control).** Latent MPC dominates uncertainty-only gating, the | |
| consequence-aware rule baseline run on real data, and abort-only cascading on | |
| harm per dollar at fixed success. | |
| - Fixed success: success rate within 5 percentage points of the best baseline. | |
| - Primary metric: harm per dollar (harms per reference dollar), lower is better. | |
| - Comparisons are paired by state; cluster bootstrap over episodes. | |
| **H3 (calibration).** Folding evidence acquisition into the score is necessary | |
| for the bound to hold along a trajectory; acquire-then-refilter breaks it. | |
| - Folded acquisition: realised selective risk − promised α ≤ 2 pp. | |
| - Naive acquire-then-refilter: expected to exceed the bound by > 2 pp; if it does | |
| not, the ablation is reported as not distinguishing the two designs. | |
| ## Pre-registered falsification tests | |
| The thesis fails if any of the following holds. Each is reported whatever the | |
| outcome, in the same tables as positive results. | |
| | ID | Test | Threshold | Where | | |
| |---|---|---|---| | |
| | F1 | Language-only planner at the same budget matches CLSA on state-verified success | paired 95% CI for the success difference contains 0, and no harm advantage | E1 | | |
| | F2 | Simulated rollouts change no decision the planner alone would make | decision-change rate from extra rollouts ≤ 1% | E3 / Figure 7 | | |
| | F3 | Hallucinated-world rate too high, or certificates cite simulated evidence contradicted by forked replay | hallucinated-world rate > 25%, or certificate fork consistency < 90% | E2, certificate audit | | |
| | F4 | Foundation check: dense probe matches or beats the hybrid state on shifted selective risk | dense selective risk ≤ hybrid selective risk on held-out, no recalibration | E6 | | |
| | F5a | Foundation check: shared-feature ablation does not flip behaviour above the probe-only control | flip(shared) ≤ flip(probe-only) + 1 pp | E5 / Figure 6 | | |
| | F5b | Foundation check: calibrated gate's realised selective risk exceeds its bound | realised − promised > 2 pp on held-out | E4 / E6 | | |
| Additional registered checks: | |
| - **Feasibility check** wherever a bound is claimed: if base risk μ > α, the | |
| method must abstain on at least (μ − α)/(1 − α) of cases. Reported whether or | |
| not it passes. | |
| - **Certificate completeness**: every executed, clarified or abstained action has | |
| exactly one certificate; disabling the writer must make execution impossible. | |
| - **Tier 1 overhead**: target under 0.1% additional latency per decision versus | |
| the unmonitored agent. Measured and reported; a miss is stated in the tier | |
| README and in Table 5. | |
| ## Analysis plan (fixed now) | |
| - Splits: `train` (fits everything), `calib` (conformal thresholds only), | |
| `test` (primary families, held out), `heldout` (two whole families, never used | |
| for any fitting). Supplementary `probe_train` trajectories from disjoint seeds | |
| are used only for probe/SAE fitting and are never evaluated on. | |
| - Seeds: data seed 0 for the benchmark; bootstrap seed 0; the run seed is | |
| recorded in every results file. | |
| - Uncertainty: percentile cluster bootstrap over episodes, 2000 resamples. | |
| - Multiplicity: all policies, ablations and families are reported. No metric is | |
| dropped after seeing results; if a condition cannot be evaluated it is listed | |
| as blocked with the reason. | |
| - Model selection: hyperparameters are fixed in `configs/` before the main runs; | |
| no test-set tuning. | |
| - The language-only baseline shares the candidate set with CLSA. The comparison | |
| therefore isolates the planning substrate, not candidate generation. | |
| ## Deviations log | |
| Append-only. Each deviation records what changed, why, and when. | |
| 1. 2026-11-25 — Harvest checkpointing changed mid-build (incremental writes) after | |
| the host disconnected and lost one in-progress harvest. This affects mechanics, | |
| not hypotheses or thresholds. | |
| 2. 2026-11-25 — Probe-training data supplemented with disjoint-seed trajectories | |
| because the benchmark's own commitment contrast was too small (107 positives in | |
| train) to fit a monitor. These trajectories are excluded from every evaluation | |
| split. Thresholds unchanged. | |
| 3. 2026-11-25 — Transcoder width reduced from the planned 512 features to 192 | |
| (k=32 to k=16, 400 to 120 epochs) because the larger SAE did not finish on the | |
| CPU-only host. Reported in `LIMITATIONS.md`; no threshold changed. | |
| 4. 2026-11-25 — Primary harvest stopped at 540 states of 650, and the second | |
| backbone was harvested at 200 states rather than the full set, to keep total | |
| CPU time within the machine's budget. Evaluation therefore uses 302 held-out | |
| states on the primary backbone and 100 on the secondary. | |
| 5. 2026-11-25 — **Exploratory, not pre-registered:** a cross-backbone block was | |
| added to E6 after the main results. It asks whether the pipeline replicates on | |
| a second backbone and whether a calibrated threshold carries across backbones. | |
| It is labelled exploratory in the paper (`sec:results`, "Transfer across | |
| backbones") and its negative half (threshold transfer) is reported with the | |
| same prominence as its positive half. Adding it did not change any | |
| pre-registered analysis, threshold or split. | |