feat: learned-frame arm and an orbit-consistency diagnostic

rp_learn_K learns K linear maps on the displacement and averages the CPPN over
them, so a set closed under the domain's group makes the kernel invariant to it
without anyone naming the group. orbit_consistency measures that invariance from
the kernel's behaviour rather than its parameters, validated against the two
kernels whose answers are known exactly.

Both false-positive modes are instrumented: fit-versus-held-out separates extra
capacity from discovery, and the spread of the learned maps catches a collapse
to K=1.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
This commit is contained in:
chrnxandClaude Opus 5 committed 2026-09-07 19:45:14 -05:00
1 parent ff8ccbc819
commit 4fc5b38be9
4 files changed
+226 -9

No files matched your search

+20 -8
View File
@@ -164,17 +164,29 @@ input rather than what the mechanism could do. It also bounds `chess_reach.md` d
`sharp.md` did: the type-conditioned kernel represents a knight's L, and a D4-conditioned one
would generalise it — a prediction for the parked chess arc, not a result.
**What is still not shown: the model is GIVEN the group, it does not find it.** Every result in
this project is a model applying structure it was handed. Discovering which invariance a domain
has is untouched, and it is what the word "understanding" in this project's framing means.
**The model is GIVEN the group, and `discovery.md` measured that it cannot find one.** A learned
frame — K linear maps on the displacement, averaged — leaves the 266x band between floor and
oracle essentially untravelled, and **training to convergence makes it worse**: `seen` improves
5x while `unseen` 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 strength.
The reason is the objective. The loss scores fit on cells the model was shown; invariance only
pays on cells it was not, and those 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.**
One thing the learned frame does buy: on a domain without the symmetry it costs nothing, where
the hardcoded invariance costs 31x. Discovering beats committing — it just does no discovering.
## What is open, in order
1. **Discovering an invariance rather than being handed one.** `invariance.md` settled that a
given group converts unseen orbit members into seen ones. Finding the group is untouched, has
no obvious cheap oracle, and is the only remaining question whose answer would justify the
word "understanding". Candidates: learning the canonicalisation, or scoring a model across a
family of domains with different groups so that discovery is the only way to win.
1. **An objective that can reward invariance at all.** `discovery.md` located the obstacle
precisely: a loss over shown relations has no term that invariance improves, whatever the
parameterisation. Gradient descent is not the thing to fix. The candidates are objectives, not
architectures — selection on held-out relations (which is what evolutionary search does by
construction, and is where this project already said it goes next), or a family of domains
sharing a group so that transfer is in the loss.
2. **Kernel capacity and interference.** How many distinct kernels fit before they collide, and
which pairs collide first. The pawn/colour result is one measured point of this curve; the
sweep makes similarity an independent variable instead of an accident of chess. Deliberately