# Task 8: Claim A1 — does affect move a gate that gradient descent left inert? ## What changed, and why A1 is now a sharper question than the plan says The implementation plan framed A1 as "arousal opens the memory gate after an unannounced regime change; recovery approaches the change-flag oracle". Three measured results have since reframed it, and this brief supersedes the plan's Task 8: - **The regime oracle is a measured null** (`results/headroom.md`). It is read and it changes nothing. There is no valid ceiling to measure A1 against, so drop the "approaches the oracle" phrasing entirely. - **The RP/GRP margin is capacity, not memory** (`results/frozen.md`). `rp_only` has 1442 parameters and `grp_k0` has 5602; the capacity-matched control `grp_k0_nostate` — same architecture, same parameters, empty memory handed in every step — reproduces the whole margin. Any comparison that omits it is confounded 3.9x. - **The gate is untrained.** `g = 0.500 ± 0.029`, zero saturation, every seed, after 8000 steps. `M ← (1−g)M̃ + gM` is a fixed 50/50 blend with no input dependence. Nothing is being decided about what to keep. That last point is what makes A1 worth running now. The gate's pre-activation is `W_g[h‖M] + b_g − κa`. Gradient never moved the learned part. The `−κa` term is an **external forcing that does not pass through the gradient at all**, so it is the only available lever on this gate. A1's real question becomes: > **Does an affective signal activate a mechanism that gradient descent left inert, and > does activating it do any measurable good?** Both answers are publishable. "Affect moves the gate but nothing improves" is a clean negative about this domain. "Affect moves the gate and error or adaptation improves" is the paper's claim, now with a visible mechanism underneath it. ## Conditions All `oracle="none"`, all `ctx="affect"`: | name | kappa | state | why it is here | |---|---|---|---| | `rp_only` | — | no memory | the 1442-parameter floor, reference only | | `grp_k0_nostate` | 0 | ablated | **capacity control** — 5602 params, no state | | `grp_k0` | 0 | live | memory with the gate left where gradient put it | | `grp_k` | κ>0 | live | memory with arousal forcing the gate | The A1 comparison is **`grp_k` vs `grp_k0`**: identical models, identical parameter count, differing only in whether arousal biases the gate. `grp_k0_nostate` and `rp_only` are context, not the claim. Never quote a `grp_k` vs `rp_only` number as an A1 result. `grp_k0_nostate` does not exist in `regime.CONDITIONS`; `frozen.py` implements the state ablation via `--ablate-state`. Reuse that mechanism rather than reimplementing it. ## Part A — does the gate actually move? Measure this before any error comparison. If the gate does not move, every downstream number is about nothing. Sweep `kappa in {0, 1, 2, 4, 8, 16}`, at least 8 seeds, 8000 steps. For each, over the second half of training: - mean and sd of `g`, and the fraction of entity-steps with `g > 0.9` and `g < 0.1` - the same statistics restricted to the 20 steps **following a switch**, against steps far from any switch. This is the claim's actual content — that the gate opens *when surprised*, not that it sits lower on average. - mean arousal at switch against steady, so the forcing signal itself is visible Report the smallest `kappa` that moves `g` meaningfully off 0.500, and the `kappa` at which the gate begins to saturate. A gate driven to a constant 0 is not "open", it is a different dead gate; say so if that is what you find. ## Part B — does moving it help? For each `kappa` and both controls, report `steady` and `recovery[k]` from `regime._metrics`, at least 8 seeds, per-seed values as well as means. Two constraints on the reporting: - **Paired per-seed comparison.** Across-seed spread here is comparable to the effects being claimed. Report the per-seed ratio `grp_k0 / grp_k` and how many seeds it wins, not only the ratio of means. Eight seeds supports a direction, not a precise ratio. - **`recovery[k]` is contaminated.** `frozen.md` §1b showed it tracks the world's post-switch configuration transient — a stateless frozen model reproduces its shape at every lag. Report it, but do not build the claim on it. The honest adaptation observable is a *difference between conditions at matched lag*, since the world's transient is common to all of them. ## Part C — the null that must be ruled out If `grp_k` beats `grp_k0`, the obvious alternative is that `−κa` acts as a generic regulariser or bias shift rather than as an affective signal. Rule it out with a **shuffled-affect control**: replay the same arousal *values* the run produced, in a random temporal order uncorrelated with the switches, same seed otherwise. If the shuffled control does as well as the real one, the effect is not about surprise timing and A1 does not hold. Report it alongside the main result whatever it shows — it is the single most likely referee objection. ## Deliverable `experiments/results/a1.md`: the gate sweep, the paired error tables, the shuffled control, and a plain-language verdict answering both halves — does affect move the gate, and does moving it help. Report a null plainly if that is what the numbers say. Commit `a1.md` plus whatever code you added, inside `experiments/`.