Compare commits
9
Commits
5070c4b9d3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a9f7b3119 | ||
|
|
666d14b967 | ||
|
|
fcf702ad7d | ||
|
|
3b7c2723b9 | ||
|
|
65ce33057e | ||
|
|
157601b83f | ||
|
|
65d23aa6c2 | ||
|
|
1db83b9b33 | ||
|
|
dfddd09616 |
No files matched your search
@@ -791,3 +791,403 @@ WHAT IS NEXT, in order:
|
|||||||
STILL OPEN from before: Task 11's MLP control, frozen.py's --hidden reproducibility debt,
|
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
|
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.
|
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).
|
||||||
|
|
||||||
|
Task 19 (omega): experiments/analyse_sweep.py, results/omega.md. A KNOB SET WRONG, NOT A DEFECT.
|
||||||
|
unseen.md found a 17x swing between two hand-picked omegas. Two branches were named before the
|
||||||
|
runs: broad plateau -> document and leave AffectiveCPPN alone; narrow domain-dependent optimum
|
||||||
|
-> learned or multi-scale frequency is a mechanism question. FIRST BRANCH.
|
||||||
|
omega 0.25 0.5 1 2 4 8 16 (8 seeds, kfreq=0.35)
|
||||||
|
random 0.00052 0.00016 0.00008 0.00006 0.00007 0.00112 0.00019
|
||||||
|
band 0.00087 0.00034 0.00014 0.00008 0.00007 0.00064 0.00028
|
||||||
|
Plateau [1,4], same place in both hold-outs. The project default of 10 is OUTSIDE it, 7-11x
|
||||||
|
worse. omega=1, which unseen.md ran at, is NOT the optimum -- 2 is. Recorded as luck.
|
||||||
|
omega=8 is an OPTIMISATION CLIFF, not a mis-tune: seen degrades with it (0.00024), per-seed
|
||||||
|
spread 0.00016..0.00425, and 16 recovers. A three-point sweep would have missed it.
|
||||||
|
DECIDING AXIS, domain bandwidth x model bandwidth, 6 seeds, random hold-out:
|
||||||
|
kfreq \ omega 0.5 1 2 4 8 best
|
||||||
|
0.15 0.00006 0.00003 0.00003 0.00003 0.00138 4
|
||||||
|
0.35 0.00017 0.00009 0.00006 0.00006 0.00132 2
|
||||||
|
0.70 0.00118 0.00046 0.00028 0.00020 0.00143 4
|
||||||
|
The optimum does NOT track the domain across a 4.7x range. What changes is the PENALTY for
|
||||||
|
being under-banded (6x at kfreq=0.7, 2x at 0.15). omega=8 fails for every domain.
|
||||||
|
CONTRADICTS core.py's own comment ("a calibration knob that wants tuning against the domain's
|
||||||
|
length scale") -- plausible assumption, measured false over this range. Comment corrected
|
||||||
|
in ailed 503c374. DEFAULT LEFT ALONE deliberately: chess comparisons at a fixed omega stay
|
||||||
|
fair, and one synthetic teacher family is not grounds to move a library default.
|
||||||
|
DEBT RECORDED: every chess number was produced at omega=10, outside the plateau. Nothing in
|
||||||
|
chess_reach/chess_rules/chess_dist is invalidated (fixed-omega comparisons), but their
|
||||||
|
absolute levels come from a badly calibrated kernel and how much of the gap to the
|
||||||
|
rule-knowing control was bandwidth is unknown. Re-running belongs to the parked chess arc.
|
||||||
|
|
||||||
|
Task 20 (unseen N): experiments/scale.py, analyse_scale.py, tests/test_scale.py. results/scale.md.
|
||||||
|
Row 1 second half. Run at omega=2, the MEASURED optimum, not the hand-picked value.
|
||||||
|
ratio to oracle trained on [2,32], at the same N
|
||||||
|
N 2 4 8 12 16 20 24 28 32
|
||||||
|
rp fwd/orc 0.75 0.71 0.76 0.80 0.78 0.80 0.80 0.82 0.84
|
||||||
|
rp rev/orc 2.28 1.26 0.91 0.87 0.84 0.83 0.82 0.84 0.84
|
||||||
|
table fwd/orc 0.86 0.76 0.84 0.86 0.86 0.86 0.86 0.91 0.90
|
||||||
|
table rev/orc 1.82 1.27 1.10 1.06 1.04 0.97 0.98 1.03 1.00
|
||||||
|
PROPERTY HOLDS STRONGLY: trained on N<=16, it scores 0.84 of the oracle's error at N=32 --
|
||||||
|
BETTER than the model that trained there. AND THE TABLE DOES THE SAME (0.86-0.90), so row 1
|
||||||
|
separates the RP from a perceptron and from nothing else. Measured, not argued.
|
||||||
|
Ruling: READ AGAINST AN ORACLE, NEVER DOWN THE N AXIS. y_i is a mean over neighbours, so the
|
||||||
|
target's variance falls with N and any error/floor ratio climbs for a model doing nothing
|
||||||
|
wrong. Found in the smoke run; asserted in test_floor_shrinks_as_n_grows, not left in prose.
|
||||||
|
THE ASYMMETRY IS THE FINDING. Cost in ONE direction only, large->small (2.28x at N=2, gone by
|
||||||
|
N=8), which is what the reverse control was built to distinguish from a degree-distribution
|
||||||
|
effect. Mechanism: a pair's contribution is diluted 1/deg, so training at N=32 learns the
|
||||||
|
kernel less sharply and that only shows where averaging cannot hide it. THE RP'S MEAN POOLING
|
||||||
|
IS A LOW-PASS FILTER ON THE LEARNING SIGNAL, STRENGTH 1/N. Cheap curriculum: train small,
|
||||||
|
deploy large. The table showing the same asymmetry (1.82x) confirms it is the pooling.
|
||||||
|
NOT ESTABLISHED: N and density are confounded -- 8x8 lattice, so at N=32 half the squares are
|
||||||
|
occupied. Separating them needs a board that grows with N. Largest at N=2, which is the 2.28x.
|
||||||
|
|
||||||
|
=== WHERE THE ARGUMENT STANDS ===
|
||||||
|
Rows 1 and 2 are shared with any GNN, MEASURED not assumed. Row 5 is the same statement as
|
||||||
|
indexing a lookup by type as well as offset. Row 3 is real but bounded to relation spaces that
|
||||||
|
cannot be enumerated. So the RP's remaining distinguishing claim is PARAMETER COMPRESSION WHERE
|
||||||
|
THE RELATION SPACE IS NOT ENUMERABLE, and the one genuinely continuous axis this architecture
|
||||||
|
has is PSI. A table over (offset x type x valence x arousal) has no cells to interpolate on the
|
||||||
|
last two. A2 is no longer a later chapter: it is the deciding experiment.
|
||||||
|
NEXT: (1) psi as a continuous kernel axis. (2) kernel capacity and interference, still last.
|
||||||
|
|
||||||
|
Task 21 (psi as a continuous kernel axis): experiments/psi.py, tests/test_psi.py. results/psi.md.
|
||||||
|
THE DECIDING TEST, AND IT DECIDED AGAINST. The negative branch was written into psi.py's
|
||||||
|
docstring BEFORE the run and is the one that came out.
|
||||||
|
arm steps seen unseen u/s vs rp kernel params
|
||||||
|
rp 2500 0.00032 0.00038 1.18 1.00x 720
|
||||||
|
table_1 2500 0.00091 0.00081 0.89 2.11x 3600
|
||||||
|
table_2 2500 0.00042 0.00070 1.64 1.81x 14400
|
||||||
|
table_4 2500 0.00022 0.00733 32.87 19.12x 57600
|
||||||
|
table_4_interp 2500 0.00022 0.00034 1.54 0.90x 57600
|
||||||
|
table_8 2500 0.00025 0.00746 29.52 19.47x 230400
|
||||||
|
table_8 10000 0.00009 0.00691 80.75 18.04x 230400
|
||||||
|
table_8_interp 2500 0.00025 0.00033 1.32 0.87x 230400
|
||||||
|
floor 0.00656 | table_4_interp - rp -0.00004 +/- 0.00002, table better 6/6 seeds
|
||||||
|
A BINNED TABLE PLUS INTERPOLATION MATCHES THE CPPN ON WITHHELD PSI, 6/6 seeds, with 80x the
|
||||||
|
parameters. There is no ACCURACY advantage to generating the kernel from a continuous psi.
|
||||||
|
NOT A SAMPLE-BUDGET ARTEFACT: table_8 at 4x steps fits trained psi 3x better (0.00025 ->
|
||||||
|
0.00009) and generalises not at all better (0.00746 -> 0.00691, floor 0.00656). Under-
|
||||||
|
training a baseline is the mirror of tuning one until it catches up; this rules it out.
|
||||||
|
The bare tables' 19x failure is ARITHMETIC (their bin never saw gradient) and was labelled so
|
||||||
|
before the run -- the same tautology unseen.md avoided, which is why the interp arms exist.
|
||||||
|
Ruling: THE TEACHER CHANGES KERNEL SHAPE WITH PSI, NOT GAIN (valence rotates the frequency,
|
||||||
|
arousal widens the envelope). A gain would be satisfiable by any model with a scalar on its
|
||||||
|
output and the experiment would be vacuous. Guarded by a test, checked against a teacher
|
||||||
|
deliberately reduced to a gain.
|
||||||
|
Ruling: THE HOLD-OUT BOX IS ALIGNED TO THE BIN GRID and this FAVOURS THE COARSE TABLES,
|
||||||
|
stated not corrected. A table cannot withhold anything finer than its bin: at B=1 the box is
|
||||||
|
not held out at all, at B=2 it is half a bin whose other half is trained. Correcting it
|
||||||
|
would need a different box per arm and the arms would stop answering the same question.
|
||||||
|
Observation worth keeping: RESOLUTION IN PSI AND GENERALISATION OVER PSI ARE OPPOSED IN A
|
||||||
|
TABLE. The arms that generalise unaided are blind to psi; the arms that can resolve it fail.
|
||||||
|
Only the explicit fill breaks the trade-off. The CPPN has no such trade-off -- a structural
|
||||||
|
difference that is nonetheless not an accuracy one.
|
||||||
|
|
||||||
|
=== WHERE THE RP ARGUMENT ENDS UP ===
|
||||||
|
NOTHING MEASURED IN THIS PROJECT DISTINGUISHES THE RP FROM A LOOKUP IN WHAT IT CAN REPRESENT.
|
||||||
|
Rows 1 and 2 are shared with any GNN (scale.md). Row 5 is the same statement as indexing a
|
||||||
|
lookup by type as well as offset. Row 3 is bounded to non-enumerable relation spaces (unseen.md).
|
||||||
|
psi was the last place a lookup could not be built and psi.md built it.
|
||||||
|
What is left, and it is quantified rather than assumed: the table costs
|
||||||
|
B^(continuous axes) x cells x channels and the CPPN is constant. 80-320x at two continuous axes,
|
||||||
|
exponential in the number of them. A smaller claim than the project was carrying, and the one the
|
||||||
|
evidence supports.
|
||||||
|
THE COMMON THREAD ACROSS ALL THREE: every teacher was SMOOTH, and smoothness is exactly what
|
||||||
|
lets a blur compete. The sharpest open question is now a kernel that is NOT smooth in its inputs
|
||||||
|
-- discontinuous or high-frequency, in psi or in the relation. A knight's L is eight isolated
|
||||||
|
cells and is the opposite of smooth, which is why chess_reach.md's discontinuity (0.000 -> 0.758)
|
||||||
|
sits oddly against these three nulls and is worth revisiting as a MECHANISM question rather than
|
||||||
|
a chess one. The deferred capacity sweep is the same question along the offset axis.
|
||||||
|
NEXT: (1) a non-smooth kernel. (2) capacity and interference. Chess still parked; the GRP line
|
||||||
|
still parked at chess_dist.md.
|
||||||
|
|
||||||
|
Task 22 (sharpness and hold-out structure): experiments/unseen.py --teacher/--holdout support,
|
||||||
|
psi.py --held. results/sharp.md. TASKS 18 AND 21'S HEADLINE READINGS ARE SUPERSEDED.
|
||||||
|
Every null so far was measured against a SMOOTH teacher, and smoothness is what lets a blur
|
||||||
|
compete. Four families varying that, plus a negative control, 6 seeds:
|
||||||
|
teacher omega arm seen unseen floor verdict
|
||||||
|
smooth 2 rp 0.00007 0.00007 0.01533
|
||||||
|
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
|
||||||
|
psi re-checked with a CORNER box, because if hold-out structure flipped the offset axis it
|
||||||
|
could not be left untested here:
|
||||||
|
interior rp 0.00038 | table_4_interp 0.00034 table better
|
||||||
|
CORNER rp 0.00073 | table_4_interp 0.00086 +0.00013 +/- 0.00004 5/6 rp
|
||||||
|
table_8_interp 0.00069 -0.00004 +/- 0.00004 ambiguous, at one se, 320x params
|
||||||
|
1. THE CPPN DOES HAVE A REPRESENTATIONAL ADVANTAGE and it lives where interpolation is hard.
|
||||||
|
4.4x on smooth, 3.0x on high-frequency, 6/6 both. The earlier "no accuracy advantage" was
|
||||||
|
an artefact of hold-outs that made interpolation easy.
|
||||||
|
2. ONE SENTENCE COVERS EVERY HOLD-OUT TRIED, including the band loss that looked like a
|
||||||
|
contradiction: a blur wins where the kernel is near zero, the CPPN wins where it carries
|
||||||
|
signal. unseen.md's band was measured to sit where |W*| is 4x weaker; that is why rp lost
|
||||||
|
0/8 there. Those files are not withdrawn, their headline reading is superseded.
|
||||||
|
3. MY PREDICTION ABOUT THE KNIGHT WAS FALSIFIED, and it is the more useful half. I predicted
|
||||||
|
the CPPN would win on a rule-generated sparse kernel because a neighbour average cannot
|
||||||
|
recover an isolated spike. The average cannot -- and NEITHER CAN THE CPPN. Shown six of
|
||||||
|
the eight L-squares, the symmetry group is not inferred by anything here.
|
||||||
|
CONSEQUENCE FOR chess_reach.md, and it is a real one: 0.000 -> 0.758 measures that the
|
||||||
|
type-conditioned kernel can REPRESENT a knight's L. It does NOT support "the organism
|
||||||
|
learned how a knight moves". It memorised a shape it was shown in full. Every later file
|
||||||
|
that leaned on that reading (the ESTADO ACTUAL summary, the curriculum framing) is affected.
|
||||||
|
Ruling: --holdout support, forced by the knight teacher. Most of its cells are exactly zero,
|
||||||
|
so a uniform hold-out withholds cells carrying no signal, the floor collapses and the arms
|
||||||
|
tie at a meaningless number. Caught in the smoke run. Closed under negation, since a pair
|
||||||
|
contributes r and -r; asserted rather than assumed.
|
||||||
|
Ruling: omega=8 reported for the highfreq family. A band-limited model cannot fit a high
|
||||||
|
frequency teacher and reporting only omega=2 would handicap the CPPN on the one family
|
||||||
|
built to need bandwidth. Both values run for every family, both in the json.
|
||||||
|
Caveat stated in the file: support and random hold-outs differ in more than principle
|
||||||
|
(~25% of live cells vs 56 of 225 regardless of magnitude), so the cross-file smooth
|
||||||
|
comparison is indicative. What is paired and unanimous is rp vs table_interp within a row.
|
||||||
|
102 tests pass.
|
||||||
|
|
||||||
|
NEXT: (1) rule inference on a sparse support -- the knight null is one symmetry group and one
|
||||||
|
architecture, and it is the question chess kept implying it had answered. (2) capacity and
|
||||||
|
interference. Chess still parked; GRP still parked at chess_dist.md.
|
||||||
|
|
||||||
|
Task 23 (invariance in the input): experiments/unseen.py InvariantCPPN + knight_sym teacher.
|
||||||
|
results/invariance.md. THE KNIGHT NULL WAS AN INPUT, NOT AN ARCHITECTURE. All three
|
||||||
|
predictions were recorded before the run and all three came out.
|
||||||
|
teacher arm seen unseen floor u/floor vs rp
|
||||||
|
knight_sym rp 0.00097 0.02395 0.02182 1.098
|
||||||
|
knight_sym rp_inv 0.00002 0.00009 0.02182 0.004 -0.02386 +/- 0.00154 6/6
|
||||||
|
knight_sym table_interp 0.00001 0.02205 0.02182 1.010
|
||||||
|
knight rp_inv 0.00130 0.02611 0.02228 1.172 +0.00252 +/- 0.00189 2/6
|
||||||
|
smooth rp_inv 0.00138 0.00216 0.01533 0.141 +0.00209 +/- 0.00025 0/6
|
||||||
|
SIX OF EIGHT L-SQUARES GIVES THE OTHER TWO, EXACTLY. 0.02395 -> 0.00009, 0.4% of floor, 6/6,
|
||||||
|
per-seed 0.00012 0.00008 0.00007 0.00012 0.00004 0.00012. Same architecture, same parameters,
|
||||||
|
same data -- only the parameterisation of the relation changed. Also 48x better on the cells
|
||||||
|
it DID train on (eight squares became one thing to learn): sample efficiency and
|
||||||
|
generalisation from one cause.
|
||||||
|
BOTH CONTROLS PASSED, and they are what make it mean anything. Handing a model an invariance
|
||||||
|
hands it the CLAIM that cells are equivalent, so the claim was tested in both directions:
|
||||||
|
- claim FALSE (knight, shared support but different value per square): rp_inv 0.02611 is
|
||||||
|
WORSE than plain rp and worse than the floor. Invariants do not always win.
|
||||||
|
- claim WRONG (smooth Gabor, no D4 symmetry): 31x cost, 0/6. AN INVARIANCE IS A COMMITMENT.
|
||||||
|
Ruling: the arm dispatch now RAISES on an unknown name. An edit silently failed to land and
|
||||||
|
rp_inv ran as plain rp, producing two identical columns I nearly read as "invariants change
|
||||||
|
nothing". The prefix guard was too weak (any typo starting with "rp" passed); it is exact
|
||||||
|
now and a test asserts each arm builds the kernel it claims.
|
||||||
|
VERDICT ON THE RP, reversing where sharp.md was heading: THE RP DOES NOT HAVE TO BE LET GO.
|
||||||
|
Its knight null was our input design. This is the FIFTH time in this project that a null was
|
||||||
|
what was expressible in the input rather than what the mechanism could do, and that pattern is
|
||||||
|
the paper's thread, not an embarrassment.
|
||||||
|
PREDICTION RECORDED for the parked chess arc: a kernel given D4 invariants should learn piece
|
||||||
|
movement from fewer positions and generalise to offsets it never saw. Not a result.
|
||||||
|
105 tests pass.
|
||||||
|
|
||||||
|
=== THE FRONTIER, AND IT IS NARROWER THAN THE PROJECT'S FRAMING ===
|
||||||
|
THE MODEL IS GIVEN THE GROUP. IT DOES NOT FIND IT. rp_inv is handed the exact symmetry the
|
||||||
|
teacher was built with. Every result in this project is a model applying structure it was
|
||||||
|
handed: the type in the kernel, the absolute position in attrs, own_rank, and now D4.
|
||||||
|
Discovering WHICH invariance a domain has is untouched, has no obvious cheap oracle, and is what
|
||||||
|
the word "understanding" in this project's framing actually means. That is now the only open
|
||||||
|
question whose answer would justify the word.
|
||||||
|
NEXT: (1) invariance discovery -- candidates: learn the canonicalisation, or score across a
|
||||||
|
family of domains with different groups so that finding the right one is the only way to win.
|
||||||
|
(2) capacity and interference, still last. Chess parked; GRP parked at chess_dist.md.
|
||||||
|
|
||||||
|
Task 24 (invariance discovery): experiments/unseen.py LearnedFrameCPPN + orbit_consistency.
|
||||||
|
results/discovery.md. NO DISCOVERY, AND CONVERGENCE MAKES IT WORSE -- which is what makes the
|
||||||
|
null informative rather than a budget artefact.
|
||||||
|
arm steps seen unseen orbit spread
|
||||||
|
rp 2500 0.00097 0.02395 1.121 -
|
||||||
|
rp_learn_4 2500 0.00087 0.02031 1.005 1.111
|
||||||
|
rp_learn_4 12000 0.00032 0.04258 1.129 1.236
|
||||||
|
rp_learn_8 2500 0.00065 0.02742 0.969 1.424
|
||||||
|
rp_learn_8 12000 0.00020 0.04341 1.042 1.558
|
||||||
|
rp_inv 2500 0.00002 0.00009 0.000 - floor 0.02182
|
||||||
|
The 266x band between measured floor and measured oracle is essentially untravelled.
|
||||||
|
BOTH FALSE-POSITIVE MODES APPEARED and both were instrumented BEFORE the run: seen improves
|
||||||
|
monotonically with K and with steps (0.00097 -> 0.00020) while unseen does not, so the K
|
||||||
|
maps were extra capacity; and spread rose (0.66 -> 1.56), so they did not collapse to K=1,
|
||||||
|
they diverged without finding the group.
|
||||||
|
AT K=8 THE SOLUTION EXISTS IN THE PARAMETER SPACE (T_k = the eight D4 matrices makes the
|
||||||
|
average invariant), so this is not capacity. 12000 steps makes it WORSE, so it is not
|
||||||
|
optimiser budget either. Same standard applied to the binned table in psi.md.
|
||||||
|
THE FINDING: NOTHING IN THE OBJECTIVE REWARDS INVARIANCE. The loss scores fit on shown cells;
|
||||||
|
invariance only pays on unshown ones, which are by construction absent from the loss. An
|
||||||
|
unconstrained kernel fits the shown cells better than one tied to an orbit, so gradient
|
||||||
|
descent walks AWAY from the answer, correctly by its own lights. The five earlier nulls were
|
||||||
|
about what the INPUT could express; this one is about what the OBJECTIVE could reward.
|
||||||
|
Positive worth keeping: on the smooth teacher a LEARNED frame costs nothing (0.00006 vs rp's
|
||||||
|
0.00007) where the HARDCODED invariance costs 31x (0.00216). Discovering beats committing.
|
||||||
|
It just does no discovering.
|
||||||
|
Control `knight` behaves: every arm flat at ~0.024, orbit unmoved at ~1.49.
|
||||||
|
Ruling: orbit_consistency measures the kernel's BEHAVIOUR under D4, not its parameters, so it
|
||||||
|
answers "did it find the group" without the learned maps having to look like anything.
|
||||||
|
Validated against the kernel whose answer is known exactly (rp_inv reads 0.000, rp 1.12).
|
||||||
|
Limits stated: one route (frame averaging), one objective, one optimiser, one init, one group.
|
||||||
|
A null about THIS ROUTE to discovery, not about discovery. But the mechanism it names is not
|
||||||
|
route-specific: a loss over shown relations has no term invariance improves.
|
||||||
|
NEXT PAPER GETS A NUMBER, not a hunch: floor 0.02395, ceiling 0.00009, gradient reached
|
||||||
|
0.02031. Evolutionary search selects on fitness, and a fitness including held-out relations
|
||||||
|
puts invariance IN the objective where a training loss cannot.
|
||||||
|
Infra: runs go 10-wide with OMP_NUM_THREADS=1; torch takes ~2 threads/process by default, so
|
||||||
|
pinning to one and going wide turned a 40-minute sweep into 6 minutes. No jarvis needed --
|
||||||
|
15s per seed-config, and these models are too small for a GPU to pay its launch overhead.
|
||||||
|
108 tests pass.
|
||||||
|
|
||||||
|
NEXT: (1) an OBJECTIVE that can reward invariance -- the candidates are objectives, not
|
||||||
|
architectures. (2) capacity and interference. Chess parked; GRP parked at chess_dist.md.
|
||||||
|
|
||||||
|
=== DIRECTION AGREED (owner) ===
|
||||||
|
Owner's formulation, verbatim: "aprender, pero no descubre estructura, clustering falla
|
||||||
|
precisamente por que no le dimos a aprender la estructura. HyperNEAT es el paso pero no para
|
||||||
|
ajedrez por ahora, sino para algo mas general".
|
||||||
|
Confirmed against the measurements, with one correction to the wording: the RP DOES learn -- it
|
||||||
|
fits the kernel and generalises to unseen relations when the structure is in its input. What it
|
||||||
|
does not do is DISCOVER structure it was not given. And the clustering arm (rp_learn_K, K
|
||||||
|
kernels averaged) did not fail for want of capacity: at K=8 the invariant solution is in the
|
||||||
|
parameter space and 12000 steps moved AWAY from it. It failed because the objective carried no
|
||||||
|
signal from which structure could be inferred.
|
||||||
|
WHAT "MORE GENERAL" MEANS OPERATIONALLY, so it does not stay a mood: a FAMILY of domains sharing
|
||||||
|
structure, with fitness computed over held-out domains or relations, so that discovering the
|
||||||
|
shared structure is the only way to win and cannot be ignored for free. Chess is the opposite of
|
||||||
|
that -- a single domain, enumerable relation space, floor and ceiling unmeasured -- so a
|
||||||
|
HyperNEAT result there would not be attributable. The synthetic harness already has both:
|
||||||
|
floor 0.02395, ceiling 0.00009, gradient reached 0.02031, same seeds.
|
||||||
|
Chess and the GRP both stay parked.
|
||||||
|
|
||||||
|
=== CHECKPOINT: the RP characterised, and the frontier moved to the objective ===
|
||||||
|
|
||||||
|
The session opened on the owner's correction: "creo que estamos cometiendo un error elevando
|
||||||
|
esto a ajedrez... antes de evaluar dominio debemos entender correctamente alcances y limites de
|
||||||
|
RP". He was right, and the kernel-capacity sweep first designed in response was the same error
|
||||||
|
in better clothes -- it presupposed the RP was the right tool and measured how far it stretched.
|
||||||
|
Reordered: what the RP IS came before how far it goes.
|
||||||
|
|
||||||
|
TASKS 18-24, all with the negative branch written before the run:
|
||||||
|
18 unseen relations -- the property is real and smaller than assumed
|
||||||
|
19 omega -- a knob set wrong, not a defect; core.py's own comment measured false
|
||||||
|
20 unseen N -- holds strongly, and a lookup table does it too
|
||||||
|
21 psi -- the deciding test, decided against on an interior hold-out
|
||||||
|
22 sharpness -- 18 and 21's headline readings SUPERSEDED; a smooth teacher was doing
|
||||||
|
the work. One sentence covers every hold-out tried: a blur wins where
|
||||||
|
the kernel is near zero, the CPPN wins where it carries signal.
|
||||||
|
23 invariance -- the knight null was OUR INPUT DESIGN. D4 in the input recovers the
|
||||||
|
rule from six of eight squares at 0.4% of the floor, 6/6.
|
||||||
|
24 discovery -- no discovery, and convergence makes it worse. The objective, not the
|
||||||
|
optimiser, is what forbids it.
|
||||||
|
|
||||||
|
TWO READINGS WE HAD ALREADY BANKED WERE CORRECTED BY MEASUREMENT, both in this session:
|
||||||
|
- "no accuracy advantage over a lookup" (18, 21) was an artefact of hold-outs that made
|
||||||
|
interpolation easy. Under a hold-out that withholds cells the kernel uses, 4.4x and 3.0x
|
||||||
|
on 6/6 seeds.
|
||||||
|
- chess_reach.md's knight 0.000 -> 0.758 measures REPRESENTATION, not rule acquisition. Shown
|
||||||
|
six of eight L-squares the raw-displacement kernel finds nothing. Every later file that read
|
||||||
|
it as "the organism understands how a knight moves" is affected, and D4 in the input is now
|
||||||
|
a stated PREDICTION for the parked chess arc rather than a result.
|
||||||
|
|
||||||
|
WHERE THE RP STANDS: it learns and it does not discover. Five measured properties, the
|
||||||
|
distinguishing claim bounded to compression (B^(continuous axes) vs constant) plus a real but
|
||||||
|
modest representational edge where interpolation is hard. It does not have to be let go.
|
||||||
|
|
||||||
|
WHERE THE FRONTIER IS: the objective. Five earlier nulls were about what the INPUT could
|
||||||
|
express; task 24 is about what the OBJECTIVE could reward. The next lever is a family of domains
|
||||||
|
sharing structure with fitness over held-out domains, not a bigger or clusterier architecture.
|
||||||
|
Numbers for whoever tries: floor 0.02395, ceiling 0.00009, gradient reached 0.02031, same seeds,
|
||||||
|
same harness.
|
||||||
|
|
||||||
|
INFRA: no jarvis needed and it was checked rather than assumed -- 15s per seed-config, and these
|
||||||
|
models are too small for a GPU to pay its launch overhead. OMP_NUM_THREADS=1 at 10-wide turns a
|
||||||
|
40-minute sweep into 6 minutes.
|
||||||
|
|
||||||
|
STILL PARKED: chess (AGENTS.md, since its relation space is enumerable and a chess result cannot
|
||||||
|
settle a kernel question either way), the GRP line at chess_dist.md, A1/A2 as posed, contract B
|
||||||
|
and the EQ chain. STILL OPEN from before: Task 11's MLP control, frozen.py's --hidden
|
||||||
|
reproducibility debt, and now the omega debt -- every chess number was produced outside the
|
||||||
|
measured plateau.
|
||||||
@@ -67,6 +67,15 @@ ask which unknown the result would be about — if the answer is "both", redesig
|
|||||||
been measured, not assumed, on more than one property, with the negative branch as informative
|
been measured, not assumed, on more than one property, with the negative branch as informative
|
||||||
as the positive one.
|
as the positive one.
|
||||||
|
|
||||||
|
**Chess is parked too, and for a different reason than the GRP.** Nothing is to be assumed about
|
||||||
|
the chess domain until the RP's own properties are established on a domain built to test them.
|
||||||
|
`unseen.md` is why: the CPPN's advantage over a lookup table lives in relation spaces that cannot
|
||||||
|
be enumerated, and chess's 225 integer offsets can be — so a chess result cannot settle a
|
||||||
|
question about the kernel either way. The RP's properties get measured where the measurement is
|
||||||
|
clean; chess is where they are *applied* afterwards. An experiment that would extend the chess
|
||||||
|
arc — castling, en passant, the engine that plays — is out of scope until the property card
|
||||||
|
(`results/rp_properties.md`) has no untested row carrying a claim.
|
||||||
|
|
||||||
## Rules that keep the results honest
|
## Rules that keep the results honest
|
||||||
|
|
||||||
These are not style preferences. Each one exists because violating it produced a wrong
|
These are not style preferences. Each one exists because violating it produced a wrong
|
||||||
|
|||||||
Reference in new issue
Block a user