diff --git a/results/frozen.md b/results/frozen.md index e2c5a90..214e2e6 100644 --- a/results/frozen.md +++ b/results/frozen.md @@ -23,8 +23,9 @@ builds an internal regime variable.** less — and the same +0.05 appears in a state-free network, so it is a read-off of the current configuration, not a memory. 3. The mechanism is visible: the gate sits at `g = 0.500 ± 0.029`, never above 0.9, - never below 0.1, on any seed. It is at its initialisation. The GRP as trained here - is not gating anything. + never below 0.1, on any seed. Its *function* is at its initialisation — the weights + themselves moved more than any other block's, see the correction in §6 — and the GRP + as trained here is not gating anything. Environment: `experiments/`, `ailed/` unmodified, no default in `particles.py` or `regime.py` changed. 8 seeds (0-7), 8000 training steps then 4000 frozen steps, @@ -329,8 +330,10 @@ grp_k0_nostate 0.509 0.025 0.000 0.000 ``` `g = σ(W_g[h‖M] − κa)` with `κ = 0`. A mean of 0.500 with sd 0.029 and no saturation -in either direction, on every seed, means the gate's pre-activation is sitting at zero: -it is at its initialisation and 8000 training steps have not moved it. The update +in either direction, on every seed, means the gate's pre-activation is sitting at zero. +**The weights that produce it did move** — Task 11 measured a displacement of 26.8% of +their initial norm, larger than any other block's; what stayed put is the function, because +the displacement remained inside the band where the sigmoid is linear. See §6. The update `M ← (1−g)M̃ + gM` degenerates to a fixed 50/50 blend — a two-step exponential moving average of `tanh(W_c[h‖M])`, with no input dependence. **Nothing is being decided about what to keep.** @@ -371,7 +374,8 @@ What the frozen probe does establish, and it is worth having: - **The margin is not memory.** It is 4160 extra feedforward parameters. Ablating the state while keeping them preserves the entire effect (1.06x, 4/8 seeds) and leaves the recovery curve unchanged at every lag. -- **The GRP's gate is untrained.** It sits at 0.5 with no input dependence, which is a +- **The GRP's gate does not gate.** It is *not* untrained — that reading is corrected in + §6. It sits at 0.5 with no input dependence, which is a sufficient mechanistic explanation for both nulls and is a fact about this setup, not about the architecture. @@ -399,3 +403,49 @@ is the same conclusion §6(c) of `headroom.md` reached from the other direction. - **`recovery[k]` is not an adaptation measurement in this domain.** It tracks the world's post-switch transient, and a stateless frozen model reproduces its shape. Any A1 claim phrased on recovery curves needs a different observable. + +--- + +## 6. Correction (Task 11): the gate's weights moved; its function did not + +This file originally read `g = 0.500 ± 0.029` as meaning the gate was *untrained*. +`results/credit.md` measured the weights directly and that reading is wrong. + +- `grp.gate.weight` moved **26.8% of its initial norm** over training — **more than any + other block** (`cand` 19.0%, `out` 15.3%, `feat` 4.4%). The gate is among the + most-updated parameters in the model, not the least. +- What did not move is the **function**. On identical inputs the trained weights give + `g = 0.5008 ± 0.0270` and the weights at initialisation give `g = 0.5009 ± 0.0203`. The + displacement stayed inside the ±0.1 pre-activation band where the sigmoid is linear, so a + large change in the weights produces no change in behaviour. +- The gradient is **coherent, not cancelling**: 0.202 against its own measured sign-flip + null of 0.163, above null on 14/16 seeds. And **0.587 of it arrives through the + truncated-BPTT window**, making the temporal path 1.187x the per-step one. + +Two things follow for anyone quoting this file. + +**Do not lead with the gradient magnitude.** The gate's mean gradient norm is 887x smaller +than `cand`'s on identically shaped tensors, and that number is not the story: Adam is +scale-invariant, and the per-coordinate signal-to-noise ratio it actually consumes is +comparable across blocks (gate 0.066, `cand` 0.070, `out` 0.079). + +**"Untrained" was the wrong word and it pointed at the wrong hypothesis.** It suggested the +training signal never reached the gate, which Task 11 falsified. What is true is narrower: +the gate receives a coherent signal, mostly through time, moves a long way in weight space, +and lands somewhere functionally indistinguishable from where it started. + +`credit.md` Part B says why that is not merely a tuning accident: `M` cannot hold the regime +even when an auxiliary loss 5.8e4 times the main one demands it, while the same head +installs the entity *type* at 0.738 against chance 0.333. The state update can represent +per-entity properties and cannot represent this one. + +## 7. Correction (Task 11): the probe figures here are linear-probe figures + +Part B's decodes, and the "roughly a fifth of the available signal" reading they support in +`when_memory_works.md` §4, come from a linear probe. An MLP probe on the same runs reads the +regime from `M` at a gap of **+0.159** where the linear probe reads +0.064, and from the +memoryless `h` at **+0.234**. + +The relative claim is unchanged and is what this file argues from: `M` holds no more about +the regime than the `h` it is built from, and on the MLP probe it holds visibly less. The +*absolute* fraction needs the qualifier wherever it is quoted. diff --git a/results/when_memory_works.md b/results/when_memory_works.md index da3b5c2..33be455 100644 --- a/results/when_memory_works.md +++ b/results/when_memory_works.md @@ -462,6 +462,10 @@ history, using a decoder with no privileged knowledge. `M` holds roughly a fifth signal that a fair observer extracts from one step of the past, and no more than the memoryless RP's own `h` holds. +(Both figures are **linear-probe** numbers. An MLP probe reads +0.159 from `M` and +0.234 +from `h` on the same runs — see `frozen.md` §7. The relative claim is unchanged; the +absolute fraction needs the qualifier.) + **So the failure is ours, not the domain's.** That is the uncomfortable branch, and it was named in advance precisely so it could not be avoided afterwards: `T_id << T_z` was pre-registered as meaning "the domain can reward memory and the failure is ours". It came