docs: what the RP is, before what it can reach
The owner's correction: every experiment so far moved a limit to see whether something worked, without first establishing what the RP is for. The kernel capacity sweep I had designed was the same error in better clothes. Property card first (results/rp_properties.md): five properties, three of which needed no experiment. Then the one row with no evidence at all -- weights generated from the relation, the only thing separating the RP from a GNN. It measures real and smaller than assumed: the CPPN answers for displacements it never saw, but against a lookup table plus neighbour diffusion it wins interpolation 2x on 6/8 seeds and loses extrapolation 0/8. And it vanishes at omega=10, the default every chess run used. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
This commit is contained in:
1 file changed
+87
@@ -791,3 +791,90 @@ WHAT IS NEXT, in order:
|
||||
STILL OPEN from before: Task 11's MLP control, frozen.py's --hidden reproducibility debt,
|
||||
A1/A2 untouched (psi neutral throughout chess; chess has no regime switch so A1 has no analogue
|
||||
as posed), contract B and the EQ chain, the other spec 6 modules.
|
||||
|
||||
=== TARJETA DE PROPIEDADES DEL RP — antes de seguir moviendo límites ===
|
||||
|
||||
Owner's correction, verbatim: "cada experimento que realizamos lo estamos haciendo ciegamente
|
||||
moviendo limites para 'ver' si funciona, me gustaria entender primero que es lo que RP hace
|
||||
mejor que el perceptron y que usos podemos darle". He is right, and the kernel-capacity sweep I
|
||||
had just designed was the same error in better clothes: it presupposes the RP is the right tool
|
||||
and measures how far it stretches. Reordered — what it IS comes before how far it goes.
|
||||
|
||||
results/rp_properties.md. Five properties, and the finding is that THREE NEED NO EXPERIMENT:
|
||||
1. One parameter set, any N -- ASSERTED (new test). ~9k params ran N=2..32 all arc. A
|
||||
fixed-weight layer is not worse here, it is UNDEFINED: input dim is N-dependent. Second
|
||||
half of the claim (still WORKS at unseen N) is separate and untested.
|
||||
2. Permutation equivariance -- ALREADY ASSERTED in test_core.py, plus a new Organism-level
|
||||
test because memory keyed by id is a second place order could leak.
|
||||
3. Weights generated from the relation -- UNTESTED, and it is the sharpest open claim in the
|
||||
project. This is what separates the RP from a GNN, not from a perceptron.
|
||||
4. Translation invariance -- asserted, AND its cost measured: absolute position unanswerable
|
||||
by construction, worth +0.020 through attrs, gap to shape 0.034 -> 0.014 (chess_rules).
|
||||
5. Kernel conditioned by identity -- measured, discontinuous (knight 0.000 -> 0.758, +1.8%
|
||||
params, 8/8 seeds), refined by type x colour (pawn 0.7835 -> 0.8689).
|
||||
Ruling: THE MLP PROHIBITION IS ON THE ERROR RACE, NOT ON THE STRUCTURAL COMPARISON. In the
|
||||
regime that matters the baseline CANNOT BE RUN, and that is the finding. Where it can be run
|
||||
(fixed N, fixed ordering) is where the distinction has already been assumed away. No MLP is
|
||||
trained in that file. Cost if wrong: a reviewer reads the card as a dodged comparison; the
|
||||
mitigation is that the card says outright which rows a plain GNN also has (1 and 2).
|
||||
Sabotage check per the repo's own rule: an index-dependent term added to the pooled message
|
||||
fails BOTH permutation tests and no others. Suite 26 pass.
|
||||
|
||||
NEXT, reordered and narrowed:
|
||||
1. UNSEEN RELATIONS. Withhold offsets from training, evaluate only there, against a
|
||||
per-edge-type weight table (the GNN arm) as control. Decides whether the generated kernel
|
||||
is a CAPABILITY or a PARAMETERISATION. If negative, rows 1-2 carry the whole claim and
|
||||
those are shared with any GNN -- the paper's framing changes. Both branches worth the run.
|
||||
2. UNSEEN N. Train <=16 entities, evaluate 17-32.
|
||||
3. Kernel capacity and interference (the sweep, designed and deliberately deferred): how many
|
||||
kernels before they collide and which pairs collide first. The pawn/colour result is one
|
||||
measured point of that curve. Last on purpose.
|
||||
|
||||
Task 18 (unseen relations): experiments/unseen.py, analyse_unseen.py, tests/test_unseen.py.
|
||||
results/unseen.md. THE PROPERTY IS REAL AND SMALLER THAN THE FRAMING ASSUMED.
|
||||
Row 3 of rp_properties.md: the only thing separating the RP from a GNN rather than from a
|
||||
perceptron. Student-teacher, analytic Gabor kernel, 15x15 integer displacement grid, held-out
|
||||
cells MASKED OUT of training, evaluation always on pairs, 8 seeds.
|
||||
RANDOM (interpolation) rp 0.00008 | table 0.00338 | table+interp 0.00016 | w=10 0.00141 | floor 0.01306
|
||||
BAND (extrapolation) rp 0.00014 | table 0.00129 | table+interp 0.00006 | w=10 0.00068 | floor 0.01187
|
||||
table+interp - rp: +0.00008 +/- 0.00003 6/8 (random)
|
||||
table+interp - rp: -0.00008 +/- 0.00002 0/8 RP WORSE (band)
|
||||
omega=10 - rp: +0.00132 +/- 0.00035 8/8 (random)
|
||||
1. REAL: rp held-out error is 1.28x its seen error, LOWER on 3/8 seeds, 0.6% of floor.
|
||||
2. THE BARE TABLE WAS NEVER THE COMPARISON and was labelled so BEFORE the runs: its held
|
||||
entries never receive gradient, so its failure is arithmetic, not evidence.
|
||||
3. AGAINST A TABLE PLUS NEIGHBOUR DIFFUSION the advantage is 2x on interpolation (6/8) and
|
||||
NEGATIVE on extrapolation (0/8). Smoothness answers for an unseen relation, and a table
|
||||
can be smoothed. This control decided what the result means; without it the finding would
|
||||
have been "the CPPN beats a broken lookup".
|
||||
4. IT DISAPPEARS AT THE PROJECT'S OWN DEFAULT. omega=1 here vs omega=10 in every chess run:
|
||||
17x worse held-out on 8/8, below the smoothed table even on interpolation. I picked
|
||||
omega=1 WITHOUT MEASURING IT and it is the only regime where the property is visible.
|
||||
Recorded as a knob the chess results were never examined against.
|
||||
Ruling: MASK, NOT REJECT. First design rejected configurations touching a held cell.
|
||||
Abandoned before any run: p(5 entities, 20 displacements all avoiding a scattered 25%)
|
||||
~= 0.3%, so training would have skewed to small N SILENTLY and that skew would have been
|
||||
read as a property of the kernel. The RP's own mask argument is what this is for.
|
||||
CONFOUND STATED, NOT BURIED: the band region has mean |W*| 0.040 against 0.172 seen -- the
|
||||
Gabor envelope has decayed, so predicting near-zero is nearly correct there. The 0/8 loss
|
||||
is real but its MAGNITUDE is not comparable to the random hold-out's. The random hold-out
|
||||
is NOT confounded (0.164 held vs 0.141 seen), which is why it carries the weight.
|
||||
BOUNDARY, and it is the useful part: the diffusion control exists only because the relation
|
||||
space was ENUMERABLE (225 integer cells). Where relations are few and discrete a lookup
|
||||
plus a blur is a serious competitor and the generated kernel buys little. CHESS IS EXACTLY
|
||||
SUCH A DOMAIN. Particles are not -- real-valued displacements, no table to smooth.
|
||||
Teacher kernel is smooth and band-limited BY DESIGN, so the claim earned is that the CPPN
|
||||
interpolates a SMOOTH kernel. A knight's L is eight isolated cells, the opposite of smooth,
|
||||
and that case is untested.
|
||||
Sabotage checks, both per the repo's rule: removing the training mask fails the two tests that
|
||||
defend it and no others; a diffusion fill sourced from untrained cells fails its test.
|
||||
84 tests pass (78 + 6 new). test_chess_domain does not collect without the optional `chess`
|
||||
extra, which is pre-existing.
|
||||
|
||||
REORDERED after this result:
|
||||
1. Unseen N (train <=16, evaluate 17-32) -- now FIRST. Row 1 is the RP's least qualified
|
||||
distinguishing property, and a plain GNN has it too, so it is what the claim rests on.
|
||||
2. Unseen relations in a CONTINUOUS space, where the table control cannot be built.
|
||||
3. omega. A free knob that moved a result 17x, and every chess number sits at one unexamined
|
||||
value of it.
|
||||
4. Kernel capacity and interference (designed, deliberately still last).
|
||||
Reference in new issue
Block a user