Haruspex

Experiments / E-003

A sparse autoencoder on the final hidden layer, the NR-sae reader and R5

E-003 · complete · code and raw data

Question. Do dictionary features of the final hidden layer name the goal (NR-sae), and does R5 replicate (an autoencoder on fc with fraction of variance unexplained at most 0.1 and mean active latents at most 10% of the dictionary, with a latent correlated with the target direction at |r| at least 0.5)?

Setup. run.py, PR-001 with amendment A1 (10,000 Adam steps; L1 grid {0.1, 0.3, 1.0, 3.0}, the smallest coefficient giving at most 26 mean active latents). 256 latents on fc activations of allowed states, for each organism and for the same architecture at random initialization. Reader: the five latents whose zeroing most changes the action distribution, labeled by correlation with "the planner's first step toward the nearest a object is direction d"; argmax of the mean label score, none below 0.2. The 11 valid O0 organisms. 38.1 CPU-hours.

Result. (raw/<id>.json)

organismkeyNR-saeL1FVUmean active (of 256)best |r|R5
N1-s0nonenone0.30.25119.9
N1-s1nonenone0.30.16523.0
N2-s0nonenone0.11.0010.0
T1-s0color=redcolor=red1.00.06114.00.441no
T1-s1color=redcolor=red1.00.06614.50.404no
T2-s0shape=squareshape=square0.30.01626.00.544no (10.1% active)
T2-s1shape=squareshape=square1.00.05613.00.447no
T3-s0type=blue/circletype=blue/circle1.00.05614.50.546yes
T3-s1type=blue/circletype=blue/circle1.00.06415.40.522yes
T4-s0shape=circleshape=circle0.30.01525.70.570no (10.1% active, above the limit)
T4-s1shape=circleshape=circle1.00.06714.10.481no
  1. NR-sae reads every organism correctly: all eight trained organisms, the hazard organism T4 in both seeds included, and the three nulls. The random-initialization control reads none everywhere.
  2. R5 replicates on T3 only (both seeds). The other trained organisms miss on correlation (0.40 to 0.48) or exceed the 10% activity limit by a fraction of a latent (T2-s0 at 26.0 and T4-s0 at 25.7 of 256).
  3. N2-s0, trained to imitate uniform actions, has a nearly constant fc layer: 221 of its 256 latents are dead, the other 35 almost never fire (0.001 active on average), and the dictionary explains nothing (FVU 1.0). That is the expected degenerate case, not a failure.

Why NR-sae works here and what it does not show. Its labels are behavioral: a latent scores for atom a when it tracks the direction toward the nearest a object. E-002 found fc to be an action layer, so the important latents encode the next move, and on O0 the next move points at the nearest goal object. The reader therefore reads behavior through the decision layer. O0 has no confounds, so behavior identifies the goal. On a confounded organism (every red object a square) the two atoms' labels are identical on allowed states and this reader can only tie, like any behavior-only reading.

Provenance. Runs recorded commits 19e868e (T1-s0) and 7baa686 (the rest); the code E-003 imports is identical across them (git diff --stat 0047160 HEAD on haruspex/ and the method scripts is empty). No run is dirty.

Label: established for "on O0, NR-sae reads all 11 valid organisms correctly and R5 replicates in T3 only." The explanation (a behavioral reading through an action layer) is suggestive.

Erratum (2026-11-30). Corrected after the independent rerun's check of every statement against the raw data (L0.6a report). The table gave T2-s0 and T4-s0 as 10.2% and 10.0% active; they are 10.14% and 10.06%, both above the 10% limit as the verdicts say. Finding 3 said every N2-s0 latent "but a handful" is dead; 35 are not. No table value, reading or criterion changed.