docs: two rules earned by Task 10
Eight seeds reported the wrong sign in Task 10 and flipped only at sixteen, so the seed rule now says eight does not reliably support a direction and asks for a paired standard error. And a null needs a positive control, or it cannot be told apart from an instrument that sees nothing.
This commit is contained in:
3 files changed
+206
-2
No files matched your search
@@ -506,3 +506,31 @@ Task 10 (pooled-M probe) design note: the decisive control is pooling h the SAME
|
||||
pooling improves decoding from both M and h, pooling is just averaging away noise and says
|
||||
nothing about memory holding a global variable. The result only means something if pooled M
|
||||
gains what pooled h does not.
|
||||
|
||||
Task 10 (pooled-M probe): DONE, commit b9b7929. CLEAN NULL — hypothesis (b) is DEAD.
|
||||
gain = gap(pooled) - gap(single), gap = acc - measured shift null, per seed then averaged.
|
||||
16 seeds, least squares:
|
||||
mean-pooled M +0.045 (sd 0.043) h +0.048 (sd 0.060) M-h = -0.003 M ahead 8/16
|
||||
concatenated M -0.010 (sd 0.053) h -0.009 (sd 0.063) M-h = -0.001 M ahead 8/16
|
||||
Paired across-seed se on M-h is 0.015, so both sit inside one se of zero. Logistic flips the
|
||||
sign of M-h to +0.005. Pooling ITSELF is real (positive on 14/16 for M, 13/16 for h) and is
|
||||
entirely noise-averaging.
|
||||
Controller verification on seeds 16-19, which the task did not use: M +0.035, h +0.052,
|
||||
M-h = -0.017. Same picture, and if anything further against (b).
|
||||
WHY THE NULL IS TRUSTWORTHY: a positive control. A synthetic where the regime's two bits are
|
||||
genuinely split across entities (0-7 hold bit 0, 8-15 hold bit 1, no entity holds both) gains
|
||||
+0.589 through the same pooling and the same probe — 13x the measured effect. A "redundant"
|
||||
synthetic (whole code in every entity plus noise) gains +0.283 and lifts everything. The real
|
||||
data carries the REDUNDANT signature, not the distributed one. A test breaks the pooling on
|
||||
purpose and confirms the control notices.
|
||||
Concat was sample-starved at 513 params on 2800 samples; re-run at 16000 frozen steps it
|
||||
recovers to parity, not past it. Same null, tighter.
|
||||
METHODOLOGY FINDING that corrects our own rule: EIGHT SEEDS REPORTED THE WRONG SIGN.
|
||||
Seeds 0-7 alone read +0.010 in M's favour on 5/8 — faint support for (b). Seeds 8-15 flip it
|
||||
to -0.003. Nothing changed but the seed count. Both AGENTS.md files updated: eight seeds does
|
||||
not reliably support a direction, and a null needs a positive control or it is
|
||||
indistinguishable from a blind instrument.
|
||||
STATE: (b) dead. Any global read-out head, cross-entity aggregation, or shared regime slot
|
||||
would have been motivated by (b) and is now unmotivated. (a) credit assignment is the only
|
||||
remaining suspect, and frozen.md already supplies its mechanism (gate at 0.500 +/- 0.029,
|
||||
untrained) and why it had no job (post-switch error is the world's configuration transient).
|
||||
@@ -0,0 +1,172 @@
|
||||
# Task 10 — pooled probe: is the regime distributed across the per-entity states?
|
||||
|
||||
**Status: complete. Clean null. Hypothesis (b) is dead; (a) is the remaining suspect.**
|
||||
|
||||
Commit `b9b7929` in `experiments/` — `exp: pooling the 16 states buys nothing
|
||||
memory-specific -- (b) is dead`. Files: `experiments/pooled.py`,
|
||||
`experiments/tests/test_pooled.py`, `experiments/results/pooled.md`.
|
||||
|
||||
## The headline, as asked: the two gains side by side
|
||||
|
||||
Gain is `gap(pooled) − gap(single)` where `gap = acc − chance_shift`, computed per seed
|
||||
and then averaged. 16 seeds, least squares, `grp_k0`, 8000 train + 4000 frozen steps.
|
||||
|
||||
```
|
||||
M gain h gain M − h M>h seeds
|
||||
------------------------------------------------------------------------
|
||||
mean-pooled +0.045 (sd 0.043) +0.048 (sd 0.060) -0.003 8/16
|
||||
concatenated -0.010 (sd 0.053) -0.009 (sd 0.063) -0.001 8/16
|
||||
```
|
||||
|
||||
**Pooled `M` gains +0.045. Pooled `h` gains +0.048.** The difference is −0.003 with a
|
||||
paired across-seed standard error of 0.015, and `M` beats `h` on exactly 8 seeds out of
|
||||
16. Pooling is real — the gain is positive on 14/16 seeds for `M` and 13/16 for `h` —
|
||||
and it is entirely a property of averaging 16 samples, not of memory. **The result
|
||||
supports (a).**
|
||||
|
||||
## The table
|
||||
|
||||
```
|
||||
representation feat n_tr acc shuffle shift gap sd(gap) >chance
|
||||
---------------------------------------------------------------------------------
|
||||
M, single 32 44800 0.312 0.270 0.268 +0.044 0.053 13/16
|
||||
M, mean 32 2800 0.349 0.265 0.260 +0.089 0.066 15/16
|
||||
M, concat 512 2800 0.292 0.251 0.258 +0.034 0.055 10/16
|
||||
h, single 32 44800 0.313 0.272 0.268 +0.045 0.058 13/16
|
||||
h, mean 32 2800 0.354 0.267 0.261 +0.093 0.065 16/16
|
||||
h, concat 512 2800 0.291 0.251 0.256 +0.036 0.061 12/16
|
||||
```
|
||||
|
||||
Both chance levels were measured, both refitting the probe from scratch: `shuffle`
|
||||
permutes step labels keeping a step's 16 entities together, `shift` circularly shifts
|
||||
the label sequence and preserves the 40-80 step regime blocks. Concatenation's chance
|
||||
does sit lower (0.256-0.258 against 0.268), so the shift control did its job. Test
|
||||
split is the last 30% of the frozen phase, a suffix in time.
|
||||
|
||||
## What was run
|
||||
|
||||
- 16 seeds (0-15) at the published settings, two estimators (least squares and
|
||||
multinomial logistic), plus the synthetic positive control.
|
||||
- 8 seeds at a 16000-step frozen phase, to separate a fit problem from an information
|
||||
one in the concatenated view.
|
||||
- 24 training runs total. `../ailed` untouched; no default in `particles.py` or
|
||||
`regime.py` changed; no subagents.
|
||||
|
||||
## Requirements, one by one
|
||||
|
||||
**Reproduce the baseline.** Not reproduced — *reused*. `pooled.py` imports `_build`,
|
||||
`_train`, `_frozen` and `probe` from `frozen.py` unmodified. Every seed 0-7
|
||||
`M_single`/`h_single` accuracy and chance level is bit-identical to the corresponding
|
||||
entry in `results/frozen.json`, checked file against file, and pinned by
|
||||
`test_single_view_reproduces_the_frozen_probe_exactly`. Restricted to seeds 0-7 the
|
||||
table reads `M` 0.332 / 0.273 and `h` 0.338 / 0.274 — `frozen.md` Part B exactly.
|
||||
|
||||
**Chance measured, both nulls.** Above. Not skipped for the concatenated view.
|
||||
|
||||
**Time-based split.** `frozen.probe`'s suffix split, unchanged.
|
||||
|
||||
**At least 8 seeds, per-seed values and win counts.** 16 seeds; per-seed gaps and gains
|
||||
are tabulated in `results/pooled.md` §2. This mattered: **at seeds 0-7 alone the
|
||||
measurement reads +0.010 in `M`'s favour on 5/8, which reads faintly like support for
|
||||
(b). Seeds 8-15 flip it to −0.003 on 8/16.** Nothing changed but the seed count.
|
||||
|
||||
**Same estimator across representations; if a second, report both.** Least squares
|
||||
throughout, and multinomial logistic run in full alongside it: mean-pooled gains `M`
|
||||
+0.054 and `h` +0.048, difference **+0.005**, `M` ahead on 7/16. The sign of `M − h`
|
||||
flips between estimators while both stay inside one standard error of zero.
|
||||
|
||||
## The controls that decide it
|
||||
|
||||
**The `h` control.** Pooled `M` and pooled `h` rise together, by amounts that differ by
|
||||
less than a fifth of their own across-seed spread. Nothing memory-specific survives.
|
||||
|
||||
**Decision voting vs. representation pooling.** Letting 16 per-entity decoders vote —
|
||||
no pooled representation at all — gives 0.327 for `M` and 0.327 for `h`, against
|
||||
per-entity 0.312 and 0.313 and mean-pooled 0.349 and 0.354. Both routes to a per-step
|
||||
answer are indifferent to whether the representation carries memory.
|
||||
|
||||
**The concatenated view was sample-starved, and fixing it does not change the answer.**
|
||||
513 parameters on 2800 pooled samples came out *below* the single-entity probe with a
|
||||
spread as large as the effect. Re-running 8 seeds at 16000 frozen steps (11200 samples,
|
||||
22 per feature — the only change) lifts `M, concat` from +0.045 to +0.105 and `h,
|
||||
concat` from +0.046 to +0.102, i.e. to parity with the single-entity probe rather than
|
||||
past it. The gains there: mean-pooled `M` +0.063 vs `h` +0.060 (difference +0.003, 5/8);
|
||||
concatenated `M` +0.008 vs `h` +0.012 (difference −0.003, 4/8). Same null, measured
|
||||
more precisely — 8/8 seeds positive for `M`, 7/8 for `h`.
|
||||
|
||||
**The positive control — this measurement can detect (b).** `pooled.power_check` builds
|
||||
two synthetic representations over a real 4000-step regime label sequence and runs them
|
||||
through the same views and the same probe. In `distributed`, hypothesis (b) made true by
|
||||
construction, the regime's two bits are split so that entities 0-7 hold bit 0 and
|
||||
entities 8-15 hold bit 1 — no single entity holds more than one bit. In `redundant`,
|
||||
every entity holds the whole code plus independent noise, which is the confound the `h`
|
||||
control exists to catch.
|
||||
|
||||
```
|
||||
view acc shuffle shift gap pooling gain
|
||||
--------------------------------------------------------------------
|
||||
distributed single 0.421 0.281 0.328 +0.093 --
|
||||
distributed mean 1.000 0.266 0.318 +0.682 +0.589
|
||||
distributed concat 0.963 0.252 0.267 +0.696 +0.603
|
||||
redundant single 0.691 0.294 0.310 +0.381 --
|
||||
redundant mean 1.000 0.283 0.336 +0.664 +0.283
|
||||
redundant concat 0.999 0.261 0.280 +0.719 +0.338
|
||||
```
|
||||
|
||||
A genuinely distributed code produces a pooling gain of **+0.589**. The measured gain on
|
||||
`M` is +0.045, and `h` supplies +0.048 of it. Demonstrated sensitivity is thirteen times
|
||||
the effect the measurement was asked to find, and what it found has the *redundant*
|
||||
signature — present on the memoryless layer too — not the distributed one.
|
||||
|
||||
**The controls can fail** (`AGENTS.md`: a test that cannot fail is worse than no test).
|
||||
`test_the_power_check_can_fail` replaces `views` with one whose `mean` and `concat` read
|
||||
entity 0 alone — every downstream shape unchanged, only the aggregation removed — and
|
||||
asserts the `distributed` control then fails its threshold. **It does; I ran it and
|
||||
confirmed the broken version fails where the correct one passes.**
|
||||
`test_views_preserve_the_representation` separately pins that `concat` block `i` is
|
||||
always particle `i` and that `mean` is the entity average. Full suite: **70 passed**
|
||||
(66 existing, 4 new); the existing `frozen.py` and `regime.py` tests are untouched.
|
||||
|
||||
## Verdict
|
||||
|
||||
**The regime information is absent from the per-entity states, not distributed across
|
||||
them.** Pooling the 16 states does raise the decode — mean-pooled `M` reaches 0.349
|
||||
against a measured chance of 0.260, where a single state reached 0.312 against 0.268 —
|
||||
but the memoryless `h` inside the very same organism rises by the same amount at the
|
||||
same time, from +0.045 to +0.093 above its own chance, and on more seeds than `M` does.
|
||||
Across three settings (16 seeds at 4000 frozen steps, 8 seeds at 4000, 8 seeds at 16000)
|
||||
and two estimators, the difference between `M`'s pooling gain and `h`'s ranges from
|
||||
−0.003 to +0.010 with a paired standard error near 0.015 and a seed-win count that never
|
||||
leaves the 4/8-to-5/8 band, while a synthetic distributed code gains +0.589 through the
|
||||
same probe. The lift pooling delivers is what averaging 16 noisy samples of one
|
||||
instantaneous quantity delivers, and that quantity is the particle configuration the
|
||||
current coupling matrix is imposing — visible in `r` right now, in a state-free layer,
|
||||
exactly as `frozen.md` §2 concluded from the state-ablated GRP. Even pooled, the decode
|
||||
sits 0.089 above chance where an exact decoder given one observed displacement sits
|
||||
about 0.73 above its own measured chance. **(b) is not supported: the shape of the
|
||||
memory is not what is stopping it. (a) — nothing in the loss ever rewarded carrying the
|
||||
regime forward — is the remaining suspect.**
|
||||
|
||||
## Consequences for the next month
|
||||
|
||||
- **Do not spend it on the shape of the memory.** A global read-out head, a cross-entity
|
||||
aggregation, or a shared regime slot beside the per-entity states would all be
|
||||
motivated by (b). Whatever such a change bought would have to come from somewhere
|
||||
other than recovering information the 16 states already hold, because they do not
|
||||
hold it.
|
||||
- **(a) is testable the way this project already knows how.** `frozen.md` §3 supplies
|
||||
the mechanism — the gate sits at 0.500 ± 0.029, untrained, on every seed — and §1b
|
||||
supplies why it had no job: post-switch error is dominated by the world's own
|
||||
configuration transient, which no state can shorten. Measure the ceiling first: an
|
||||
oracle given the regime, in a setting where holding it is worth something, before any
|
||||
mechanism is built to hold it.
|
||||
- **Eight seeds would have reported the wrong sign here.** Worth carrying into how the
|
||||
next measurement is budgeted.
|
||||
|
||||
## Notes
|
||||
|
||||
- `results/pooled.json` and `results/pooled_long.json` are not committed —
|
||||
`experiments/.gitignore` excludes `results/*.json`, per the project's convention that
|
||||
only the `.md` audit trail is versioned.
|
||||
- The commit carries no co-authoring or session trailer, as instructed and as the
|
||||
repo's own history (`docs: drop the co-authoring trailer`) requires.
|
||||
@@ -77,8 +77,12 @@ result in this project or its predecessor.
|
||||
- **A test that cannot fail is worse than no test.** Twice now, a full suite passed against
|
||||
a deliberately broken implementation. When a test defends a central property, break the
|
||||
property on purpose and confirm the test fails. Say in your report that you did.
|
||||
- **Seeds.** Across-seed spread here is comparable to the effects being claimed. Three
|
||||
seeds supports a direction; it does not support a ratio.
|
||||
- **Seeds.** Across-seed spread here is comparable to the effects being claimed, and it is
|
||||
worse than that: in Task 10 eight seeds reported the **wrong sign** (+0.010 favouring one
|
||||
arm on 5/8, flipping to -0.003 at sixteen). Eight seeds does not reliably support a
|
||||
direction, let alone a ratio. Report per-seed values, the count of seeds won, and a paired
|
||||
standard error — and if the effect sits inside one se of zero, say so instead of reading
|
||||
its sign.
|
||||
|
||||
## Layout
|
||||
|
||||
|
||||
Reference in new issue
Block a user