Compare commits

..
18 Commits
Author SHA1 Message Date
chrnxandClaude Opus 5 9a9f7b3119 docs: checkpoint -- the RP is characterised and the frontier is the objective
Seven tasks, each with its negative branch written before the run, and two
readings this project had already banked corrected by measurement: the "no
accuracy advantage over a lookup" conclusion was an artefact of hold-outs that
made interpolation easy, and chess_reach.md's knight result measures
representation rather than rule acquisition.

The RP learns and does not discover. That is not a reason to let it go -- its
knight null was our input design, and D4 in the input recovers the rule from six
of eight squares. What it is a reason to change is the objective: five earlier
nulls were about what the input could express, and this one is about what the
objective could reward.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
2026-09-07 19:57:55 -05:00
chrnxandClaude Opus 5 666d14b967 docs: direction agreed -- objectives before architectures, general before chess
The RP learns; it does not discover structure it was not given. The clustering
arm did not fail for want of capacity -- at K=8 the invariant solution is in the
parameter space and more training moved away from it -- it failed because the
objective carried no signal from which structure could be inferred.

So the next lever is a family of domains sharing structure, with fitness over
held-out domains, where discovering the shared structure is the only way to win.
Chess is the opposite of that and stays parked.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
2026-09-07 19:55:49 -05:00
chrnxandClaude Opus 5 fcf702ad7d docs: no discovery, and the objective is why
A learned frame leaves the measured 266x band between floor and oracle
untravelled, and training to convergence makes it worse: fit improves 5x while
held-out error doubles and the invariance metric moves away from zero. At K=8
the invariant solution exists in the parameter space, so this is neither
capacity nor optimiser budget.

The reason is the objective. A loss over shown relations has no term that
invariance improves -- it only pays on cells that are by construction absent
from the loss -- 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.

That makes the next step objectives, not architectures, and hands the
evolutionary-search paper a number rather than a hunch: floor 0.02395, ceiling
0.00009, gradient reached 0.02031.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
2026-09-07 19:45:14 -05:00
chrnxandClaude Opus 5 3b7c2723b9 docs: the knight null was our input design, and the RP stays
Give the CPPN D4 invariants of the displacement instead of the raw vector and
six of a knight's eight L-squares yields the other two exactly: 0.02395 ->
0.00009, 0.4% of the floor, 6 seeds of 6, and 48x better on the training cells
too. Same architecture, same parameters, same data.

Both controls passed and they are what make it mean anything. Where the eight
squares share a support but not a rule the invariance is worse than nothing;
on a domain without that symmetry it costs 31x. An invariance is a commitment,
not a free lunch.

Fifth time in this project that a null was what the input could express rather
than what the mechanism could do. That pattern is the paper's thread.

What is still not shown is the part that matters most: the model is given the
group, it does not find it. Every result here is a model applying structure it
was handed, and discovering which invariance a domain has is what the word
"understanding" in this project's framing actually means.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
2026-09-07 19:12:03 -05:00
chrnxandClaude Opus 5 65ce33057e docs: the smooth teacher was doing the work, and the knight prediction failed
Every null so far was measured against a smooth kernel, and smoothness is what
lets a lookup plus a blur compete. Withhold cells the kernel actually uses and
the CPPN wins 4.4x on smooth and 3.0x on high-frequency, 6 seeds of 6; on a
corner psi box it goes from losing to winning 5/6. One sentence covers every
hold-out tried, including the band loss that had looked like a contradiction: a
blur wins where the kernel is near zero, the CPPN wins where it carries signal.

The prediction I recorded was that the CPPN would win on a rule-generated sparse
kernel. It does not. Shown six of a knight's eight L-squares, neither the CPPN
nor any control finds the other two.

That bounds how chess_reach.md may be read. Its 0.000 -> 0.758 measures that a
type-conditioned kernel can represent a knight's L, not that the organism
learned how a knight moves. It memorised a shape it was shown in full.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
2026-09-07 18:42:14 -05:00
chrnxandClaude Opus 5 157601b83f docs: psi decided against the RP, and the claim is now the honest smaller one
psi was the last axis where a lookup could not be built. It can: bin it, fill
the withheld bins from their neighbours, and it matches the CPPN on 6 seeds of 6
with 80x the parameters. The negative branch was written into psi.py before the
run and it is the one that came out.

So nothing measured in this project distinguishes the RP from a lookup in what
it can represent. What is left is what the representation costs -- the table
scales as B^(continuous axes) while the CPPN is constant -- and that is now
quantified instead of assumed.

Every teacher used so far was smooth, and smoothness is what lets a blur
compete. A kernel that is not smooth in its inputs is now the sharpest open
question, which also puts chess_reach.md's knight discontinuity in a new light.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
2026-09-07 18:12:53 -05:00
chrnxandClaude Opus 5 65d23aa6c2 docs: omega is a knob, N generalises for free, and psi is now the deciding test
Two steps of the three-step plan, in order, with the chess arc parked.

omega: named both branches before running. Broad plateau at [1,4] that does not
move across a 4.7x change in domain bandwidth, so no redesign is justified --
and core.py's own comment claiming otherwise is measured false. The default of
10 sits outside the plateau and every chess number was produced at it; recorded
as debt, not paid, since fixed-omega comparisons stay fair.

Unseen N: holds strongly -- trained on N<=16 it beats the oracle at N=32 -- and
a lookup table does the same, so the property separates the RP from a perceptron
and from nothing else. The asymmetry is the finding: mean pooling dilutes each
pair by 1/deg, so training large and deploying small costs 2.28x while the
reverse is free.

Which leaves parameter compression in a non-enumerable relation space as the
only distinguishing claim, and psi as the only continuous axis the architecture
has. A2 becomes the deciding experiment rather than a later chapter.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
2026-09-07 17:45:41 -05:00
chrnxandClaude Opus 5 1db83b9b33 docs: chess is parked until the property card has no untested row
Not the same reason the GRP is parked. unseen.md found that the CPPN's
advantage over a lookup 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 in either direction. The properties get measured where the
measurement is clean; chess is where they are applied afterwards.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
2026-09-07 17:13:26 -05:00
chrnxandClaude Opus 5 dfddd09616 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
2026-09-07 17:02:33 -05:00
chrnx 5070c4b9d3 docs: checkpoint — the base is taught, and the paper became the genesis story 2026-09-02 20:05:13 -05:00
chrnx 38f3a53611 docs: sequencing policy — RP first, GRP parked at its positive result 2026-09-02 18:54:41 -05:00
chrnx 7800dea092 docs: chess arc recorded — what the organism understands, and when state has a job 2026-09-02 18:49:29 -05:00
chrnx ef1e5d595b docs: chess probe result — the prediction holds 2026-09-02 17:20:57 -05:00
chrnx cf6b0e6a0b docs: correct the task 11 record — the agent did commit before it died 2026-09-02 17:06:20 -05:00
chrnx a394fe70ed docs: task 11 corrections applied to the results files 2026-09-02 17:05:32 -05:00
chrnx 7c27f30c29 docs: task 11 checkpoint — hypothesis (a) is not supported either
The measuring agent died to machine sleep before committing; its work survived and is saved
as experiments 6e2e251. Records the two corrections this task makes to earlier results
files: the gate's weights did move, and the fifth-of-the-signal figure is linear-probe only.
2026-09-02 17:01:19 -05:00
chrnx 77fed7d631 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.
2026-09-02 14:41:51 -05:00
chrnx ceed1af5b8 docs: the gain is knowledge, not performance
Makes the rule operational rather than aspirational. The test for whether an experiment
obeys it: is the negative result as informative as the positive one? An experiment that
only makes sense when it comes out positive is a performance experiment wearing a
diagnostic costume.

Also corrects the layout section, which still described the root as not a repo.
2026-09-02 14:28:28 -05:00
5 changed files with 1081 additions and 10 deletions

No files matched your search

+696
View File
@@ -495,3 +495,699 @@ DECISION (Diego, 2026-09-02): no co-authoring trailer on commits. Applied retroa
Deliberately NOT stripped: the task *reports* and this ledger. They are a record of what Deliberately NOT stripped: the task *reports* and this ledger. They are a record of what
happened, and the trailer disagreement between subagents is part of that record — editing happened, and the trailer disagreement between subagents is part of that record — editing
them would falsify it. Only forward-looking instructions were changed. them would falsify it. Only forward-looking instructions were changed.
NEXT (Diego, 2026-09-02): run test 1 (pooled-M probe) and see if it resolves the open
question; if not, go deeper. Noted for later, his words: "hacen falta tambien los demas
modulos pero eso lo vemos despues de estos pasos" — spec §6 lists Metabolism, Reflexes
S1/S2, and the Instinct/EQ policy readout as "defined, not built". They are deferred until
the memory question is settled, not forgotten.
Task 10 (pooled-M probe) design note: the decisive control is pooling h the SAME way. If
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).
PUSH PENDING (2026-09-02): Diego is away from home, so the Gitea host is unreachable — it is
on his home network. Do NOT attempt pushes or any tea command until he says so.
Unpushed at this point: docs 2 commits (ceed1af, 77fed7d), experiments 3 commits
(23058c6 + the Task 10 work b9b7929 + the rules commit). ailed and paper are up to date.
When he asks, from ia-stuff/:
git push origin main && git -C experiments push origin main
SCOPING DECISION (Diego, 2026-09-02): Task 11 is the LAST experiment on the memory line,
positive or negative. After it the project either gives per-entity memory more push through
the other organism modules (spec §6: Metabolism, Reflexes S1/S2, the Instinct/EQ policy
readout — all defined, none built), or drops the GRP and proceeds with the RP alone.
Task 11's write-up must therefore carry the consequence of each outcome for keeping vs
dropping memory, not only the verdict on hypothesis (a). Sent to the running task.
Worth holding on to for that decision: dropping the GRP does not drop the paper. The novel
contribution is the RP — relational structure with CPPN-generated weights from geometry
rather than a lookup. And claim A2 (the CPPN kernel taking psi as input) does NOT route
through memory at any point, so nothing measured in headroom.md, frozen.md,
when_memory_works.md, a1.md or pooled.md bears on it. A2 has never been run and is the only
spec claim untouched by the memory nulls. "Use the RP" is a different paper still standing —
relational perceptron with affective topology, no memory, plus four well-measured nulls
explaining why memory is not there.
Task 11 (credit-assignment ceiling): measured, commit 6e2e251. The agent was killed by machine
sleep before writing its report, but it DID commit first (0beba60, JSON and the four MLP
shard logs force-added past .gitignore). The controller wrote the checkpoint report and
applied the corrections. Checkpoint report at .sdd/task-11-report.md. 78 tests pass.
HYPOTHESIS (a) IS NOT SUPPORTED. Both candidate explanations are now dead.
Part A: the gradient reaching the gate is COHERENT, not cancelling — 0.202 against its own
measured sign-flip null of 0.163, above null on 14/16 seeds, paired se 0.009. And the
TEMPORAL PATH IS THE LARGER TERM: 1.187x the per-step one, 0.587 of the gate's gradient
arrives through the BPTT window, where (a) predicted negligible. out.weight's temporal term
is exactly 0.000 on every seed — the structural control that the split is real.
Part B: OUTCOME 3 — M cannot hold the regime even under direct supervision, at any lambda from
1e-5 to 1.0, including where the aux term is 5.8e4x the main loss and degrades the task 5.9x.
Positive control installs the entity TYPE at 0.738 vs chance 0.333 through the same head,
optimiser, seeds and probe. The instrument works; the state can hold per-entity properties;
it cannot hold this one. Side effect worth noting: type supervision raised the REGIME decode
by +0.073 on 14/16 seeds — the control that had no business moving that number is the only
thing that moved it.
So the conclusion is neither credit nor shape: THE STATE UPDATE CANNOT REPRESENT THIS VARIABLE.
TWO CORRECTIONS TO EARLIER FILES, not yet applied to them:
(1) "The weights did not move" is FALSE and frozen.md §3 and a1.md both lean on it. The
gate's weights moved 26.8% of their initial norm, MORE than any other block. What did
not move is the FUNCTION — the displacement stayed inside the sigmoid's linear band
(g = 0.5008 +/- 0.0270 trained vs 0.5009 +/- 0.0203 at init). Also: do not lead with the
887x gradient-magnitude gap, because Adam is scale-invariant and the per-coordinate SNR
is comparable (gate 0.066, cand 0.070, out 0.079). The agent caught itself about to
report the magnitude as the story — the best methodological moment in the task.
(2) "The organism holds a fifth of the available signal" is a LINEAR-PROBE figure. An MLP
probe reads +0.159 from M where linear reads +0.064, and +0.234 from h. The relative
claim survives (M holds less than the h it is built from) but the absolute number needs
the qualifier in when_memory_works.md and frozen.md.
INCOMPLETE: the MLP-head version of Part B reached ~10 of 16 runs per shard. §2d reports it as
incomplete and the verdict is stated on the linear head alone. Command in §2d.
Both corrections APPLIED (experiments 501d0b3): frozen.md's three affected passages reworded,
new §6 carrying the weight-displacement measurement and the Adam scale-invariance point, new §7
marking the probe figures as linear-probe, and a matching note in when_memory_works.md §4.
78 tests still pass.
Task 12 (chess history probe): DONE, experiments 38a090e, pushed. results/chess_history.md.
THE PREDICTION HOLDS. A piece's own past predicts its next square beyond the current board.
ridge present 0.1227 +history 0.1789 gain +0.0563 shuffled 0.1190 6/6 seeds se 0.0011
mlp 2x128 present 0.1586 +history 0.1926 gain +0.0341 shuffled 0.1489 3/3 seeds se 0.0031
The shuffled-history control is NEGATIVE in both arms (-0.0036 ridge, -0.0096 mlp), so the gain
is about the alignment between a piece's past and its future, not about feature count.
Split by game, never by position. 1500 games, 38719 moves, pieces with >=2 prior moves.
CAVEAT stated in the file, not buried: the MLP reads more from the board alone than ridge
(0.1586 vs 0.1227), so part of what history gave the linear model was recoverable from the
present non-linearly. The gain shrinks +0.056 -> +0.034 and this does NOT establish where it
stops. What it does establish is that a non-linear decoder still sees it, at 11 se.
The MLP arm exists because of Task 11's lesson — a linear decoder read 0.23 where an MLP read
0.83 on identical particle features, so a linear-only null would have been wrong by 0.6.
WHAT IT MEANS: chess has what particles lacked — information that belongs to an ENTITY, is
absent from the present, and persists. Particles' hidden variable was GLOBAL (one coupling
matrix belonging to no entity), which is why the per-entity state held less about it than the
memoryless representation it was built from. This does NOT say the GRP will work on chess; it
says the domain is not the reason it would fail, which could not be said of particles.
Composes with credit.md: the state update CAN hold per-entity properties (entity type at 0.738
vs chance 0.333) and cannot hold a global one. Chess's rememberable content is the per-entity kind.
Task 13 (chess domain, contract A): experiments/chess_domain.py + tests, commit ceb98ce.
OWNER DECISIONS: contract A ("Contrato A, para iniciar"); both arms RP and GRP ("con variantes,
RP y GRP para probar ambos lados de la moneda"); affect neutral for now ("psy despues lo podemos
aventar... por el momento temperatura neutral funciona, luego sinteticamente la movemos").
SCOPE NOTE: spec §9 lists "Chess adapter" as out of scope for this paper. The owner overrode
that deliberately after the Task 12 probe. Recorded because the paper's setup section cites §9.
Ruling: TARGET IS THE MOVER'S DISPLACEMENT, LOSS MASKED TO THE MOVER. Exactly one piece moves
per ply, so the spec's literal per-entity default is 31/32 zeros and the constant predictor
"nobody moves" wins — a task that leaves the mechanism no job, the shape of four nulls in the
predecessor project. Cost if wrong: the model is told WHICH piece moves (not where it goes),
which is information a player does not have. Mitigated by it being the same conditioning
Task 12 measured under, so chess_history.md's headroom is the ceiling on THIS task.
Ruling: AFFECT HELD NEUTRAL, psi=(0,0) and kappa=0, so memory is the only axis separating the
arms. --affect stream runs the real EMA chain. Cost if wrong: none measured here; it makes
the neutral setting a choice rather than an absence.
Ruling: THE MEMORYLESS ARM IS WIDTH-MATCHED (rp_wide, hidden=127 vs grp hidden=32, ~5.77k
params each). rp at hidden=32 is kept as the third arm for continuity with rp_only, but the
memory claim is read against rp_wide. frozen.md §1d is why.
A1 IS NOT TESTED HERE. Chess has no regime switch, so "arousal opens the gate after an
unannounced change" has no analogue. Stated in the module docstring, not left implicit.
Identity tracking is the silent-failure risk (a memory slot following the wrong piece trains
and prints fine), so plies() asserts the id map matches board.piece_map() every ply, and
tests/test_chess_domain.py sabotages advance_ids to prove that assertion fires. 3 tests pass.
Task 14 (chess move prediction, contract A): experiments 8ea61f9, 1c28987, 6e33264.
results/chess_move.md. Three configurations of the same task, all with the history oracle as
the gate: all-ones mask type-blind, attack mask type-blind, all-ones mask with type in e_ij.
ORACLE AMBIGUOUS IN ALL THREE (+0.0014 4/8, -0.0003 4/8, -0.0006 5/8), so no GRP number in
this task is a memory result. Measured floor 0.0556/0.3325 vs arms 0.0389/0.414 confirms the
models do learn from the board, so this is not a dead setup.
Ruling: the attack-mask arm KILLED MY OWN dilution hypothesis. I predicted that an entity's
own attributes were drowned by 1/deg ~= 1/30 in the mean-pooled message. Degree fell to 3.3
and accuracy fell WITH it (0.414 -> 0.381) in all four arms. Hypothesis measured false.
THE MISMATCH, which is the finding: type in the kernel improved MSE 0.03888 -> 0.03547 and
made accuracy WORSE, 0.4144 -> 0.3998. MSE fits the conditional mean of the destinations;
history shifts their distribution and barely moves the mean. Objective and question anti-
correlated. This is what pointed at the readout.
Task 15 (chess reachability): experiments f89472d. results/chess_reach.md. FIRST POSITIVE.
Owner's question, verbatim: "cual es la meta que el cppn aprenda a mover las piezas? o que las
entienda? ejemplo, este es el caballo y se mueve en L". Nothing in the project had measured
whether the model understood chess at all; every memory null assumed it.
KNIGHT precision@k, per seed, is the whole result:
rp / constant / grp_type 0.000 x8 (exactly zero, verified not a bug: put a knight on
rp_type 0.742 0.755 0.749 0.768 0.750 0.768 0.766 0.763 d5, 8 L-cells)
160 extra parameters (1.8%) flip it. NOT capacity. The type-blind kernel is ONE geometry
function scaled by a type vector, and a knight's L is not a scaling of the average shape.
Rook 0.19 -> 0.58 confirms the mechanism (second least average-like pattern, second gain).
Ruling: TARGET IN RELATIVE OFFSETS, not absolute squares. The CPPN sees only r_ij, so the
representation is translation-invariant and an absolute-square target is unanswerable by
construction. Caught when a 64-way target gave nonsense; the 15x15 offset grid is where a
knight's L is eight cells.
MEMORY DESTROYS IT: grp_type has 46% more params and lands back on the floor, knight zero on
8/8, at 146 paired se. Reachability is present-determined -- the redundant case from the
owner's poker framing -- and the readout is out(M), never out(h), so half the vector is the
previous ply. Doubles as the POSITIVE CONTROL the instrument lacked: the GRP path can
measurably destroy a signal that is present, so the earlier nulls were not an inert mechanism.
Per-type breakdown is load-bearing, not decoration: on seed 4 the AGGREGATE gain is negative
(-0.082) while the knight sits at 0.750. Pawns are half the board and carry the mean.
RULE ADDED to experiments/AGENTS.md (f49840f): verify the model can represent the domain
before asking what memory adds. Sibling of the oracle rule.
Task 16 (chess distribution readout): experiments 70ddc7a. results/chess_dist.md.
Cross-entropy over the legal offsets instead of MSE on their mean. Same target, same chance,
same conditioning -- only the readout changes. Sanctioned by the repo's own rule: when a
metric cannot tell the mechanism apart from a cheaper one, change the metric not the baseline.
rp 0.4685 | rp_oracle 0.4705 | rp_wide 0.4722 | grp_nostate 0.4616 | grp 0.4780 | chance 0.3618
grp - grp_nostate: +0.0164 +/- 0.0025 8/8 seeds
grp_nostate - rp_wide: -0.0106 +/- 0.0017 0/8 seeds
grp - rp_wide: +0.0058 +/- 0.0019 7/8 seeds
rp_oracle - rp: +0.0020 +/- 0.0015 5/8 seeds ambiguous
grp_nostate = same architecture, same 13281 params, same gate, empty memory handed in every
ply. INVERTS THE PARTICLES FINDING: there the margin was the gated nonlinearity, not the
state (frozen.md 1d). Here the gate is a COST (-0.0106) and the state repays it (+0.0164).
Ruling: match_width recomputed at target_dim=225. The version inherited from the move task
was computed at target_dim=2, and with the readout dominating it put rp_oracle at 35248
params against rp's 9121 -- the exact 3.9x confound frozen.md 1d exists to prevent. Caught
in the smoke run before the real one.
THE ORACLE BOUNDED ITS OWN ENCODING. Three past squares as displacements is 6 dims; the state
is 32 dims over a whole game. The oracle read ambiguous in four configurations and this is the
first evidence the ambiguity was the ENCODING, not the domain. Caution about how the
oracle-first method was practised here, not a refutation of it.
=== ESTADO ACTUAL — what is knowledge, not performance ===
The owner's correction, verbatim: "sigues tratando de evaluar performance, ahora sabemos que
hace subir a la memoria, y sabemos que rp ya identifica piezas y como se mueven". The accuracy
deltas are evidence, not the result. What the chess arc established:
1. THE KERNEL MUST BE CONDITIONED BY IDENTITY, NOT SCALED BY IT. A CPPN generating weights from
geometry alone learns one movement shape for six piece types. The type has to enter the
CPPN's own input (e_ij); entering through attrs only multiplies the shared kernel afterwards.
Measured as a discontinuity: knight exactly 0.000 -> 0.758 on 8/8 seeds for 1.8% more params.
This is a statement about relational architectures, not about chess.
2. PER-ENTITY STATE HAS A JOB ONLY WHEN THE READOUT MATCHES THE SHAPE OF WHAT IT CARRIES. The
same domain, same organism, same information: with MSE on a mean the state is worthless in
three configurations; with a distribution over candidates it pays on 8/8 against its own
no-state control. Memory carries distributional evidence, and a readout that collapses to a
mean discards it before the gradient ever sees it.
3. THE GATE IS A COST AND THE STATE IS THE GAIN, in that decomposition. In particles it was the
reverse. Which one dominates is a property of the domain-plus-readout, not of the mechanism.
4. THE THREE-CASE REFINEMENT IS NOW MEASURED ON BOTH SIDES. Reachability is the redundant case
(evidence already in the present): memory does not merely fail there, it destroys the result.
Move choice is the past case: memory pays. Same organism, same board, one ply apart.
WHAT IS STILL UNTOUCHED: what the state actually holds (no decode probe on chess); A1 and A2
(psi held neutral throughout, and chess has no regime switch so A1 has no analogue as posed);
contract B and the EQ chain; the other spec 6 modules. The Task 11 MLP control and the
frozen.py --hidden reproducibility debt both still stand.
=== CHECKPOINT: the base, and the paper's shape ===
Task 17 (chess movement rules on generated positions): experiments, results/chess_rules.md.
Owner's diagnosis, verbatim: "estabamos esperando mucho cuando el organismo no sabe nada...
tenemos que hacerle entender una vez tengamos una buena base, lo demas se resuelve jugando".
And: "el modelo no sabe enrocar, tampoco sabe en-passant y tampoco comer como peon... mil por
ciento seguro". He was right on all three, and it was worse than that: the target for a pawn
on e2 was d3/f3 while its moves are e3/e4 -- ZERO OVERLAP. Castling and ep never appeared.
constant 0.4075 | rp_type 0.7793 | rp 0.8161 | shape 0.8305 (random 0.0233)
RP EXCEEDS THE RULE-KNOWER on rook +0.016, queen +0.006, king +0.009 -- the pieces whose moves
are cut by occupancy. Below on pawn -0.032, bishop -0.055, knight -0.014.
Absolute position + own_rank as attributes: +0.020, gap to shape 0.034 -> 0.014.
Ruling: PREDICTION NOT VERIFIED, recorded as such. I predicted the position gain would
concentrate on rim pieces; per type it is flat and the knight (43% on the rim) gained less
than the queen. The per-type cut cannot settle a per-square hypothesis. Position pays; my
mechanism for why is undemonstrated. Cost if wrong: none taken, no claim was built on it.
Type in e_ij REVERSES SIGN with coverage: +0.10 on games, negative here, and the whole deficit
is the pawn (0.6573 vs 0.7835). e_ij carries type and not colour, so a white and a black pawn
share one kernel and their moves are mirrored. own_rank alone did not fix it.
IN FLIGHT: rp_typecol (12 kernels, type x colour). Seed 0 = 0.8330, above shape's 0.8305.
One seed. Not a result.
RULES ADDED to AGENTS.md this session:
- RP first, GRP after. The memory line is PARKED at its positive result (chess_dist.md). An
experiment that would change the GRP, tune the gate, or explore what the state holds is out
of scope until the RP question it depends on has an answer. "Enough confidence in RP" is
defined: the representation measured, not assumed, on more than one property.
- Teach the basics before measuring anything on top of them. Five things were not expressible
in the inputs, the target or the training distribution, each found by measurement: type not
in the kernel; target was attacks not moves; games never show an open board; absolute
position erased by a translation-invariant input; rank not oriented to the piece's own side.
- Verify the model can represent the domain before asking what memory adds (experiments/).
THE PAPER'S SHAPE CHANGED. Owner: "del genesis al gm seria la historia" and "la contribucion es
el RP (falle o no) - nada se tira a la basura si falla reportamos". The six memory nulls are no
longer failures: they are chapter one, the measured demonstration that an organism needs things
before a mechanism question is even askable. The contribution is the RP, reported either way.
CAVEAT PLACED ON RECORD: the word "engine" is not paid for by the evidence -- the organism has
never played. Contract A predicts, it does not choose. Closing that needs scoring every piece's
legal moves and taking the argmax, which is cheap and is the artefact that ends stage 1.
HyperNEAT is the NEXT paper, and this one's value there is that it leaves a measured starting
line: nobody has "gradient-trained CPPN, no search, N Elo". Condition recorded for that
comparison to mean anything: same architecture, same inputs, same evaluation.
The CPPN property we have and have never claimed: the SAME parameters generate weights for any
number of entities (2 to 32 pieces, ~9k params). A fixed-weight perceptron is not merely worse
at this, it is undefined. Testable as: train on <=16 pieces, evaluate on 17-32.
OWNER'S CURRICULUM, agreed order: (1) how each piece moves, (2) castling, (3) en passant,
(4) strategy and openings. Rules before preference, because 1-3 have exact ground truth and a
perfect oracle while 4 is statistical and contested -- mixing them is the error chess_move.md
records. Castling and ep are LAST among the rules on purpose: they are the only chess rules that
depend on the past rather than the board, so removing their flags is the memory experiment.
WHAT IS NEXT, in order:
a. finish rp_typecol (4 seeds) -- decides whether the pawn deficit is colour in the kernel
b. legality rate of the top-1 proposal, and the rank of the first legal destination: the
operational cost of leaning on the verifier, which the owner flagged costs clock time
c. substrate generalisation: train <=16 pieces, evaluate 17-32
d. castling and en passant as their own stages
e. the engine that plays, however badly, so "engine" is paid for
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).
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.
+172
View File
@@ -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.
+101
View File
@@ -0,0 +1,101 @@
# Task 11: the ceiling on hypothesis (a), credit assignment
Hypothesis (b) — the hidden variable is global and the state is per-entity — is measured dead
(`results/pooled.md`). The regime information is not distributed across the sixteen states; it
is absent from them. Hypothesis (a) is what remains:
> Nothing in the training signal rewards carrying the regime forward, so the state never learns
> to hold it.
This task measures the ceiling on that, before anything is built. It follows the project's
standing methodology: a mechanism ships with an oracle that is *given* what the mechanism is
supposed to infer, and if the oracle does not pay, the mechanism has no job.
**This is a knowledge task, not a repair task.** You are not fixing the GRP. Direct supervision
is used here as a measuring instrument — an oracle on the state — not as a proposed
architecture. Do not recommend one.
## What is already established, so you do not re-derive it
- The gate sits at `g = 0.500 ± 0.029` with zero saturation on every seed, and its *learned*
pre-activation `W_g[h‖M] + b_g` is unchanged across a 16-fold range of `kappa`
(`frozen.md` §3, `a1.md`). Gradient does not move it.
- Trained stateless, the M-halves of `gate.weight` and `cand.weight` are **bit-identical to
initialisation** — 2048 parameters that never receive gradient at all (`frozen.md` §1d).
- The regime is identifiable from one observed displacement at 0.958; `M` decodes it at 0.332,
no better than the memoryless `h` at 0.342 (`when_memory_works.md` §2, `frozen.md` Part B).
- Knowing the regime is worth 1.54x within the linearised family (`ceilings.py`, D→C).
- Post-switch error is dominated by the world's own configuration transient, which no state
can shorten (`frozen.md` §1b).
## Part A — is there a gradient signal at all, or is it cancelling?
Two very different failures look identical from "the weights did not move":
- **absent** — the gradient reaching the gate is ~0, so no signal exists
- **cancelling** — the gradient is substantial per step but averages to nothing across the
batch or across time, so signal exists but is inconsistent
Measure, over training, for `grp.gate.weight` and `grp.cand.weight`:
- the norm of the accumulated gradient at each optimiser step, against the same for
`rp.feat.weight` and `out.weight` as reference blocks
- the norm of the *mean* gradient against the mean of the *per-step norms*. If the ratio is
near 1 the signal is coherent; if it is near 0 the signal cancels. This ratio is the whole
of Part A.
- the same split for the **temporal path specifically**: compare the gradient the gate
receives when `M` is carried across the truncated-BPTT window against the gradient it
receives when `M` is detached every step. The difference is the credit that flows through
time, and hypothesis (a) predicts it is negligible next to the per-step term.
Report magnitudes, not just ratios, so a reader can see whether "negligible" means 10x or
10⁶x smaller.
## Part B — the ceiling: if the state were told, could it hold it, and would it matter?
Add an auxiliary loss that supervises `M` to predict the current regime — a linear head from
`M_i` to the regime id, trained jointly, weighted by `lambda`. Sweep `lambda` over at least
`{0, 0.01, 0.1, 1.0}`, at least 12 seeds given what Task 10 showed about seed counts.
Report three things, and treat all three as the deliverable:
1. **Can it?** The regime decoded from `M` at each `lambda`, against the measured chance level
and against the 0.958 an exact decoder gets from one observed displacement. This says
whether the state update is expressive enough to hold the regime at all.
2. **Does the task improve when it does?** Main-task `steady` at each `lambda`, paired per
seed against `lambda = 0`, with the count of seeds won and a paired standard error.
3. **The joint reading.** Cross the two.
The three outcomes and what each means — write your verdict against these:
| outcome | what it establishes |
|---|---|
| `M` holds the regime **and** the task improves | credit assignment is the blocker, and the prize is measured |
| `M` holds the regime **and** the task does not improve | the regime is not useful to this architecture's prediction — a larger finding that closes the line |
| `M` cannot hold it even under direct supervision | the state update is not expressive enough; a different problem from credit assignment |
None of these is good or bad news. Say which one the numbers give.
## Requirements
- Use `frozen.py`'s verified training loop; do not write another copy. The auxiliary head and
its loss are the only additions.
- Do not modify `../ailed`. If the auxiliary head needs access the library does not expose,
build it in the experiment from `org.grp` and `org.rp`, which are public.
- Do not change any default in `particles.py` or `regime.py`.
- Chance levels measured, never assumed — both the shuffle and the block-preserving shift, as
`frozen.py` does.
- At least 12 seeds. Report per-seed values, seeds won, and a paired standard error. If an
effect sits inside one se of zero, say it is ambiguous rather than reading its sign.
- **A null needs a positive control.** If Part B reports that `M` cannot hold the regime, show
the same head recovering a signal you *know* is in `M` — the entity's own type, say — or the
result cannot be told apart from a broken head.
## Deliverable
`experiments/results/credit.md`: Part A's coherence and temporal-path numbers, Part B's three
readings, and a plain verdict naming which of the three outcomes holds. Commit with whatever
code you added, inside `experiments/`. No co-authoring or session trailer.
**Do not push, and do not run any `tea` command.** The Gitea host is unreachable and the owner
has asked that it not be attempted. Commit locally only.
+64
View File
@@ -0,0 +1,64 @@
# Task 11 report — CHECKPOINT, written by the controller after the agent died
The measuring agent was killed by machine sleep before it could write this file. It *did*
commit its work first — `0beba60` in `experiments/`, with the JSON and the four MLP shard
logs force-added past `.gitignore` — so nothing needs re-running except the one control
named below. The controller wrote this report and applied the two corrections in `5ecf5d1`.
## Status
| part | state |
|---|---|
| Part A — is there a gradient signal, or is it cancelling | **complete**, 16 seeds |
| Part B — the ceiling under direct supervision, linear head | **complete**, 7 lambdas x 16 seeds, plus the positive control |
| Part B — the same with an MLP head and MLP probe | **incomplete**, ~10 of 16 runs per shard |
`results/credit.md` §2d states the incomplete control honestly, reports what was observed
without relying on it, and the §3 verdict is stated on the linear head alone with that
limitation carried explicitly. There are no placeholders in the file.
## Results on disk
- `experiments/credit.py`, `experiments/tests/test_credit.py` — the measurement and its pins
- `experiments/results/credit.md` — the write-up
- `experiments/results/credit_grad.json` — Part A, 16 seeds
- `experiments/results/credit_aux_regime.json`, `credit_aux_type.json` — Part B, 112 runs each
- `experiments/results/credit_traj.json` — the per-1000-step traces on 4 seeds
78 tests pass.
## What remains
Finish the MLP control: Part B re-run with a 2x128 ReLU auxiliary head and a 2x128
frozen-phase probe, at `lambda in {0, 0.01, 0.1, 1.0}` over the same 16 seeds. `credit.md`
§2d records the command. Expected to leave the verdict standing — the MLP head's own
accuracy sat at 0.21-0.31 against a chance of 0.25 in the partial run, the same flat reading
the linear head gave — but it is not measured and must not be reported as if it were.
## Headline
**Hypothesis (a) is not supported.** The gradient reaching the gate is coherent rather than
cancelling (0.202 against a measured null of 0.163, 14/16 seeds), and the temporal path is
the larger of the two terms (1.187x the per-step one; 0.587 of the gate's gradient arrives
through the BPTT window) where (a) predicted it would be negligible.
**Part B gives outcome 3:** `M` cannot hold the regime even under direct supervision, at any
lambda from 1e-5 to 1.0, including where the auxiliary term is 5.8e4 times the main loss and
degrades the task 5.9x. The positive control installs the entity *type* through the same
head at 0.738 against chance 0.333, so the instrument works and the state can hold per-entity
properties. It cannot hold this one.
## Two corrections this task makes to earlier files
1. **"The weights did not move" is false**, and `frozen.md` §3 and `a1.md` both lean on it.
The gate's weights moved 26.8% of their initial norm, more than any other block. What did
not move is the *function*: the displacement stayed inside the sigmoid's linear band, so
`g` reads 0.5008 +/- 0.0270 trained against 0.5009 +/- 0.0203 at initialisation. Those two
files need the distinction, and the 887x gradient-magnitude gap should not be led with,
because Adam is scale-invariant and the per-coordinate SNR is comparable across blocks
(gate 0.066, cand 0.070, out 0.079).
2. **"The organism holds a fifth of the available signal" is a linear-probe figure.** An MLP
probe reads the regime from `M` at a gap of +0.159 where the linear probe reads +0.064,
and from the memoryless `h` at +0.234. The relative claim is unchanged — `M` still holds
less than the `h` it is built from — but the absolute number needs the qualifier wherever
`when_memory_works.md` and `frozen.md` state it.
+48 -10
View File
@@ -32,19 +32,50 @@ per-entity memory let an organism *come to understand a domain* — its entities
relations, and when those relations change. It is not whether some configuration reaches a relations, and when those relations change. It is not whether some configuration reaches a
lower number. lower number.
Two consequences, both of which have already bitten this project once: Three consequences, each of which has already bitten this project once:
1. **RP vs GRP is the comparison.** They are two forms of the same unit and the question 1. **The gain is knowledge, not performance.** Experiments here exist to establish what is
missing, not to make a mechanism work. Optimising the GRP is a grave error, not a goal.
The operational test: **is the negative result as informative as the positive one?** An
experiment that only makes sense if it comes out positive is a performance experiment
wearing a diagnostic costume. Write every verdict so both branches carry equal weight,
and describe no outcome as good or bad news.
2. **RP vs GRP is the comparison.** They are two forms of the same unit and the question
between them is what memory buys in *understanding*, not in error. Do **not** introduce between them is what memory buys in *understanding*, not in error. Do **not** introduce
a standard MLP or perceptron baseline — that measures mechanical performance and is not a standard MLP or perceptron baseline — that measures mechanical performance and is not
commensurable with what is being claimed here. commensurable with what is being claimed here.
2. **Do not tune a baseline until it catches up.** In Task 7 the memory advantage measured 3. **Do not tune a baseline until it catches up.** In Task 7 the memory advantage measured
2.99x at `lr=1e-3` and 1.06x at `lr=1e-2`. The tempting move — raise the learning rate 2.99x at `lr=1e-3` and 1.06x at `lr=1e-2`. The tempting move — raise the learning rate
so the comparison is "fair" — changes the question instead of answering it. What that so the comparison is "fair" — changes the question instead of answering it. What that
ablation actually tells you is about the *domain*: relational particles do not ablation actually tells you is about the *domain*: relational particles do not
distinguish state from fast weights on mean error. When a metric cannot tell your distinguish state from fast weights on mean error. When a metric cannot tell your
mechanism apart from a cheaper one, change the metric, not the baseline. mechanism apart from a cheaper one, change the metric, not the baseline.
## Sequencing: one line at a time
**RP first, GRP after.** The front is the CPPN and the RP — whether the organism comes to
understand its domain's structure. The memory line is parked at its positive result
(`chess_dist.md`) and is not to be advanced until the RP is established. This is not a verdict
on that result; it is that pushing two unknowns at once means neither can be attributed.
The operational form: an experiment that would change the GRP, tune the gate, or explore what
the state holds is out of scope until the RP question it depends on has an answer. An
experiment on the kernel, the relation, or what the RP represents is in scope. When in doubt,
ask which unknown the result would be about — if the answer is "both", redesign it.
"Enough confidence in RP" is not a feeling. It is: the RP's representation of the domain has
been measured, not assumed, on more than one property, with the negative branch as informative
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
@@ -71,19 +102,26 @@ 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 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 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. 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.** Across-seed spread here is comparable to the effects being claimed, and it is
seeds supports a direction; it does not support a ratio. 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 ## Layout
``` ```
ia-stuff/ not a git repo — design docs and this file live here ia-stuff/ git: ailed-docs-rp — design docs, this file, and .sdd/
├── ailed/ git: the library, src/ailed/{affect,core}.py ├── ailed/ git: ailed-rp — the library, src/ailed/{affect,core}.py
├── experiments/ git: the domain and the runs; installs ../ailed editable ├── experiments/ git: ailed-experiments-rp — the domain and the runs
└── paper/ git: the manuscript └── paper/ git: ailed-paper-rp — the manuscript
``` ```
Commit inside the repo you touched. Root is deliberately not a repo. Four sibling repositories under `Ailed-AI`. The three subdirectories are git-ignored by the
root repo, so nothing is nested and each stays independent. Commit inside the repo you
touched. `experiments` installs `ailed` from `../ailed`, so the **directory** names matter
even though the repo names differ.
- `ailed/src/ailed/affect.py` — spec §5. Pure functions over floats, no torch. - `ailed/src/ailed/affect.py` — spec §5. Pure functions over floats, no torch.
- `ailed/src/ailed/core.py` — spec §3–§4. `AffectiveCPPN`, `RelationalPerceptron`, - `ailed/src/ailed/core.py` — spec §3–§4. `AffectiveCPPN`, `RelationalPerceptron`,