exp: the gate gets the credit and the state cannot hold the regime -- (a) is dead too

Task 11. Both parts of the brief, 16 seeds each, plus a positive control. One
control is incomplete and is marked as such in results/credit.md and in
.sdd/task-11-report.md.

Part A falsifies hypothesis (a). The gradient reaching grp.gate.weight is
coherent above its own measured sign-flip null on 14/16 seeds (0.202 against
0.163, paired se 0.009), and 0.587 of it arrives through the truncated-BPTT
window rather than from the current step -- the temporal term is 1.187x the
per-step one, where (a) predicted it negligible. Every window is replayed twice
at the same parameters from the same recorded observations, carried and
detached, and pinned bit-identical against the gradient Adam actually used
(max relative difference exactly 0.0, 6400 windows).

The gate's gradient is 887x smaller than the identically-shaped candidate
layer's, and that is not the explanation: Adam is scale invariant, the
per-coordinate SNR is 0.066 against cand's 0.070, and gate.weight travelled
26.8% of its initial norm over training -- further than any other block
measured. "The weights did not move", which frozen.md §3 and a1.md both lean
on, is false. What did not move is the function: on the same inputs, trained
weights give g = 0.5008 +- 0.0270 where the initial weights give 0.5009 +-
0.0203. The displacement stayed inside the sigmoid's linear band.

Part B gives the brief's third outcome: M cannot hold the regime even under
direct supervision. The auxiliary head never leaves chance at any lambda from
1e-5 to 1.0, with no trend over 8000 steps; the frozen-phase decode moves by
-0.001 +- 0.019. The positive control -- the same head, optimiser, seeds and
probe, supervising the entity's own type instead -- installs it and raises the
regime decode by +0.073 +- 0.022 on 14/16 seeds in passing. The control that
had no business moving that number is the only one that moved it.

Incomplete: the non-linear control (2x128 head and probe) reached 10 of 16
seeds per shard and was stopped. Its section reports no numbers and the verdict
states the limitation it carries.

frozen.py gains two _train keywords (aux, extra_params), both defaulting to off
so test_train_copy_is_identical_to_regime_run still pins the loop, and one line
in _scores so an estimator may be a callable. results/*.json and the partial
sweep logs are committed past .gitignore as checkpoint data.
This commit is contained in:
chrnx committed 2026-09-02 16:56:01 -05:00
1 parent 0d682db353
commit 0beba606cb
12 files changed
+34268 -6

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
lam=0 seed=0 steady=2.388e-05 aux=nan M_regime=0.351/0.286 M_type=0.631 g=0.494
lam=0 seed=1 steady=1.666e-05 aux=nan M_regime=0.256/0.239 M_type=0.487 g=0.504
lam=0 seed=2 steady=2.110e-05 aux=nan M_regime=0.289/0.247 M_type=0.547 g=0.496
lam=0 seed=3 steady=2.716e-05 aux=nan M_regime=0.426/0.309 M_type=0.536 g=0.498
lam=0.01 seed=0 steady=2.385e-05 aux=0.270 M_regime=0.344/0.276 M_type=0.625 g=0.495
lam=0.01 seed=1 steady=1.681e-05 aux=0.292 M_regime=0.254/0.240 M_type=0.497 g=0.503
lam=0.01 seed=2 steady=2.132e-05 aux=0.213 M_regime=0.285/0.247 M_type=0.546 g=0.497
lam=0.01 seed=3 steady=2.729e-05 aux=0.266 M_regime=0.419/0.307 M_type=0.540 g=0.495
lam=0.1 seed=0 steady=6.219e-05 aux=0.210 M_regime=0.342/0.284 M_type=0.627 g=0.498
lam=0.1 seed=1 steady=2.465e-05 aux=0.308 M_regime=0.258/0.240 M_type=0.536 g=0.498