feat: vary kernel sharpness and hold-out structure -- both readings change
Four teacher families on one axis (how predictable the kernel is from its neighbours): smooth, high-frequency, a rule-generated sparse knight, and iid noise as the negative control, which is asserted to have neighbour correlation below 0.2 where the smooth teacher's is above 0.8. The knight teacher forced a new hold-out: most of its cells are exactly zero, so withholding uniformly asks nothing and the floor collapses. --holdout support withholds cells the kernel uses, closed under negation since a pair contributes r and -r. Under it the CPPN beats a lookup plus blur 4.4x on smooth and 3.0x on high-frequency, 6/6 seeds, reversing the earlier headline. And on the knight nothing generalises at all -- both arms at or above the floor. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
This commit is contained in:
7 files changed
+279
-34
No files matched your search
@@ -0,0 +1,113 @@
|
||||
# Where a blur competes and where it does not — and one prediction that failed
|
||||
|
||||
Every null in `unseen.md`, `scale.md` and `psi.md` was measured against a **smooth** teacher, and
|
||||
smoothness is exactly what lets a lookup plus a neighbour average compete. Those files concluded
|
||||
that nothing distinguishes the RP from a lookup in what it can represent. This one varies the
|
||||
smoothness and the hold-out structure, and **that conclusion does not survive**: it was an
|
||||
artefact of hold-outs that made interpolation easy.
|
||||
|
||||
It also contains a prediction of mine that was falsified, which is the more useful half.
|
||||
|
||||
## Four teacher families, one axis: how predictable the kernel is from its neighbours
|
||||
|
||||
- `smooth` — band-limited Gabor. The replication.
|
||||
- `highfreq` — the same at a frequency near the grid's resolution. Structured, not smooth.
|
||||
- `knight` — 1 on the eight L-offsets, 0 elsewhere. Not smooth, and **rule-generated**. This is
|
||||
`chess_reach.md`'s knight asked as a mechanism question.
|
||||
- `noise` — iid per cell. **The negative control.** Without it, "the CPPN wins on non-smooth
|
||||
kernels" cannot be told apart from "the setup favours the CPPN". Asserted to have neighbour
|
||||
correlation < 0.2 where the smooth teacher's is > 0.8.
|
||||
|
||||
The hold-out also changed, and the change was forced by the knight teacher: most of its 225 cells
|
||||
are exactly zero, so a uniform hold-out withholds cells carrying no signal, the target's variance
|
||||
there is ~0 and the floor collapses. **`--holdout support` withholds cells the kernel actually
|
||||
uses.** For the knight that is: *having seen six of the eight L-squares, can it infer the other
|
||||
two?* The set is closed under negation, since a pair contributes r and −r.
|
||||
|
||||
## Result, 6 seeds
|
||||
|
||||
```
|
||||
teacher omega arm seen unseen floor verdict
|
||||
smooth 2 rp 0.00007 0.00007 0.01533
|
||||
smooth 2 table 0.00005 0.00563 0.01533 +0.00556 +/- 0.00079 6/6 rp
|
||||
smooth 2 table_interp 0.00005 0.00031 0.01533 +0.00024 +/- 0.00007 6/6 rp
|
||||
highfreq 8 rp 0.00057 0.00126 0.01512
|
||||
highfreq 8 table_interp 0.00015 0.00376 0.01512 +0.00251 +/- 0.00050 6/6 rp
|
||||
knight 2 rp 0.00117 0.02359 0.02228 both AT OR ABOVE the floor
|
||||
knight 2 table_interp 0.00002 0.02248 0.02228 -0.00112 +/- 0.00051 0/6 rp
|
||||
noise 2 rp 0.00087 0.00157 0.00221 control: nothing generalises
|
||||
noise 2 table_interp 0.00007 0.00150 0.00221 -0.00007 +/- 0.00007 2/6 rp
|
||||
```
|
||||
|
||||
And psi re-checked with a corner box instead of an interior one, because if the hold-out
|
||||
structure flipped the answer on the offset axis it could not be left untested on this one:
|
||||
|
||||
```
|
||||
psi hold-out arm seen unseen floor params verdict
|
||||
interior [0,0.5]^2 rp 0.00032 0.00038 0.00656 720
|
||||
interior table_4_interp 0.00022 0.00034 0.00656 57600 table better
|
||||
CORNER [0.5,1.0]^2 rp 0.00032 0.00073 0.00729 720
|
||||
CORNER table_4_interp 0.00023 0.00086 0.00729 57600 +0.00013 5/6 rp
|
||||
CORNER table_8_interp 0.00024 0.00069 0.00729 230400 -0.00004 ambiguous
|
||||
```
|
||||
|
||||
## What this changes
|
||||
|
||||
**1. The CPPN does have a representational advantage, and it appears exactly where interpolation
|
||||
is hard.** On the support hold-out it beats a lookup-plus-blur 4.4x on smooth and 3.0x on
|
||||
high-frequency kernels, 6 seeds out of 6 in both. On the corner psi box it goes from losing to
|
||||
winning 5/6 against the same-resolution table and tying the one with 320x its parameters.
|
||||
|
||||
**2. The earlier conclusion was an artefact of easy hold-outs, and this retro-explains the band
|
||||
result rather than contradicting it.** `unseen.md`'s random hold-out withheld cells uniformly,
|
||||
most of them peripheral, where the Gabor envelope has decayed and predicting ~0 is nearly
|
||||
correct; its band hold-out was measured to have a kernel 4x weaker inside it and the RP lost
|
||||
there 0/8. One sentence covers all three: **a blur wins where the kernel is near zero, the CPPN
|
||||
wins where the kernel carries signal.** `unseen.md` and `psi.md` are not withdrawn — they are
|
||||
correct for what they withheld — but their headline reading is superseded by this file.
|
||||
|
||||
**3. My prediction about the knight was wrong, and nothing generalises there.** I predicted the
|
||||
CPPN would win on a rule-generated sparse kernel because a neighbour average cannot recover an
|
||||
isolated spike. The average indeed cannot — and neither can the CPPN. Both sit at or above the
|
||||
floor (1.06 and 1.01 of it). Having seen six of the eight L-squares, **the symmetry group is not
|
||||
inferred by anything here.**
|
||||
|
||||
That has a direct consequence for a result of ours. `chess_reach.md` measured the knight going
|
||||
from exactly 0.000 to 0.758 when the piece type entered the kernel, on 8/8 seeds for 1.8% more
|
||||
parameters. That result stands as what it is — the kernel can **represent** eight cells once it
|
||||
is conditioned by identity. What it does not support is the reading that the organism learned
|
||||
*how a knight moves*. Shown six of the eight squares it does not find the other two. It
|
||||
memorised a shape it was shown in full; it did not acquire a rule.
|
||||
|
||||
**4. The negative control behaves.** On `noise` both arms sit at ~0.7 of the floor — the part of
|
||||
the target recoverable without the withheld relation at all, through the self-message and the
|
||||
readout — and neither beats the other outside noise. The setup can produce a null.
|
||||
|
||||
## What this does not establish
|
||||
|
||||
The support and random hold-outs differ in more than their principle: `support` withholds ~25% of
|
||||
the cells the kernel uses (2 of 8 for the knight, a few dozen for the smooth teacher) while
|
||||
`random` withheld 56 of 225 regardless of magnitude. The comparison between this file's smooth
|
||||
row and `unseen.md`'s is therefore indicative, not paired. What is paired, and unanimous, is
|
||||
`rp` against `table_interp` **within** each row here.
|
||||
|
||||
`omega` was fixed at 2 except for the high-frequency family, where 8 is reported because a
|
||||
band-limited model cannot fit a high-frequency teacher and reporting only omega=2 would have
|
||||
handicapped the CPPN on the one family built to need bandwidth. Both values were run for every
|
||||
family and both are in the json.
|
||||
|
||||
The knight null is one sparse family with one symmetry group. It says the group was not inferred
|
||||
here; it does not say no relational architecture can infer one.
|
||||
|
||||
## Reproduce
|
||||
|
||||
```
|
||||
for t in smooth highfreq knight noise; do
|
||||
uv run python unseen.py --teacher $t --holdout support --arms rp,table,table_interp \
|
||||
--omega 2 --steps 2500 --seeds 0,1,2,3,4,5 --out results/sharp_${t}_w2.json
|
||||
uv run python unseen.py --teacher $t --holdout support --arms rp,table_interp \
|
||||
--omega 8 --steps 2500 --seeds 0,1,2,3,4,5 --out results/sharp_${t}_w8.json
|
||||
done
|
||||
uv run python psi.py --arms rp,table_4,table_4_interp,table_8_interp --held 0.5,1.0 \
|
||||
--omega 2 --steps 2500 --seeds 0,1,2,3,4,5 --out results/psi_corner.json
|
||||
```
|
||||
Reference in new issue
Block a user