docs: chess arc recorded — what the organism understands, and when state has a job

This commit is contained in:
chrnx committed 2026-09-02 18:49:29 -05:00
1 parent ef1e5d595b
commit 7800dea092
1 file changed
+113
+113
View File
@@ -614,3 +614,116 @@ Task 12 (chess history probe): DONE, experiments 38a090e, pushed. results/chess_
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.