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:
chrnxandClaude Opus 5 committed 2026-09-07 18:42:15 -05:00
1 parent ac10bbca4e
commit 3feba1baac
7 files changed
+279 -34

No files matched your search

+5
View File
@@ -1,5 +1,10 @@
# psi as a continuous kernel axis — the deciding test, and it decided against
> **SUPERSEDED IN PART by `sharp.md`.** The withheld box here is interior, with trained bins on
> all four sides, which is the easy case. Re-run with a corner box the CPPN goes from losing to
> beating the same-resolution table on 5/6 seeds and tying the one with 320x its parameters.
After `unseen.md` and `scale.md` the RP's distinguishing claim against a lookup had narrowed to
one thing: **parameter compression where the relation space cannot be enumerated.** psi is the
only genuinely continuous axis this architecture has — a table over (offset × valence × arousal)
+25 -18
View File
@@ -131,31 +131,38 @@ The RP earns its cost where at least one of these is load-bearing:
And it is the wrong tool where the law is anchored to absolute position (row 4), which has to be
patched in through attributes.
## Where the argument stands, after three deciding experiments
## Where the argument stands
Rows 1 and 2 are **shared with any GNN** — measured, not assumed (`scale.md`). Row 5, identity in
the kernel, is the same statement as indexing a lookup by type as well as by offset. Row 3,
generating weights from geometry, is real but bounded: where relations are few and discrete, a
table plus a blur competes (`unseen.md`). ψ was the last place a lookup could not be built, and
`psi.md` found that it can: bin it and interpolate, and it matches the CPPN on 6 seeds of 6.
the kernel, is the same statement as indexing a lookup by type as well as by offset.
**Nothing measured in this project distinguishes the RP from a lookup in what it can represent.**
What distinguishes it is what that representation costs: 720 parameters against 57,600 and
230,400 at equal accuracy. And the shape of that cost is the part worth keeping — the table
scales as B^(continuous axes) × cells × channels while the CPPN is constant, so the advantage is
80-320× at two continuous axes and grows exponentially with the number of them.
Row 3 went through a full reversal and the reversal is the interesting part. Measured against
hold-outs that withheld cells uniformly (`unseen.md`) or a psi box with trained bins on all four
sides (`psi.md`), a lookup plus a neighbour average matched the CPPN and the conclusion was that
nothing distinguishes the RP in what it can *represent*. `sharp.md` withheld cells the kernel
actually **uses**, and the CPPN wins 4.4x on a smooth teacher and 3.0x on a high-frequency one,
6 seeds out of 6 in both; on a corner psi box it goes from losing to winning 5/6. One sentence
covers every hold-out tried: **a blur wins where the kernel is near zero, the CPPN wins where the
kernel carries signal.**
That is a smaller claim than the one the project was carrying, and it is the one the evidence
supports. It is also not nothing: a parameterisation that is exponentially smaller in the number
of continuous inputs is a real property, now quantified instead of assumed.
So the RP does have a representational advantage over a lookup, it is not large, and it lives
exactly where interpolation is hard — high-frequency content, and withheld regions that carry
signal or sit at a boundary. On top of that sits the cost argument, which is unaffected: the
table scales as B^(continuous axes) × cells × channels and the CPPN is constant, 80-320× at two
continuous axes.
**And one thing nothing here can do.** Shown six of a knight's eight L-squares, neither the CPPN
nor any control infers the other two — both sit at or above the floor (`sharp.md`). The symmetry
group is not learned. That bounds how `chess_reach.md` may be read: the type-conditioned kernel
can **represent** a knight's L, which is what its 0.000 → 0.758 measures. It did not acquire the
rule. It memorised a shape it was shown in full.
## What is open, in order
1. **A kernel that is NOT smooth in its inputs.** Every measurement here used a smooth teacher,
and smoothness is exactly what lets the table's blur compete. A dependence that is
discontinuous or high-frequency — in ψ, or in the relation, where a knight's L is eight
isolated cells — is where interpolation should fail and the CPPN should not. This is now the
sharpest open question, and the deferred capacity sweep is its sibling along the offset axis.
1. **Rule inference on a sparse support.** The knight null is one symmetry group, one sparse
family, one architecture. It says the group was not inferred here, not that none can be. This
is the sharpest open question the project has and it is the one chess kept implying it had
answered.
2. **Kernel capacity and interference.** How many distinct kernels fit before they collide, and
which pairs collide first. The pawn/colour result is one measured point of this curve; the
sweep makes similarity an independent variable instead of an accident of chess. Deliberately
+113
View File
@@ -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
```
+7
View File
@@ -1,5 +1,12 @@
# Can the kernel answer for a relation it never saw?
> **SUPERSEDED IN PART by `sharp.md`.** The hold-outs here withhold cells regardless of whether
> the kernel carries signal there, and the band hold-out was measured to sit where the kernel is
> 4x weaker. Under a hold-out that withholds cells the kernel actually uses, the CPPN beats
> table+interp 4.4x on 6/6 seeds. The numbers below stand; the reading "there is no accuracy
> advantage" does not.
The property that separates the RP from a **GNN** rather than from a perceptron, and the one
row of `rp_properties.md` that had no evidence at all. A GNN holds fixed weights per edge type
— a lookup with one entry per discrete relation. The CPPN computes weights from continuous