Experiments / E-004
Activation patching (R4) and input-times-gradient attribution (NR-attrib)
Question. Where in the network does the "which object" signal pass, and is it carried by a few channels (R4)? Does gradient attribution at object cells name the goal (NR-attrib)?
Setup. run.py, PR-001. R4 (R-OOD): 300 pairs of states from one audit layout with a target
and a non-target object swapped, so that the planner's first step changes; for conv1 to conv3 the
effect of patching single channels and greedy channel sets from source into base, measured as
(LD_patched - LD_base) / (LD_source - LD_base), with random channel sets of the same size as the
control. NR-attrib (R-ID): input times gradient of the log-probability of the most likely action,
summed over channels at each object's cell; score of atom a = mean attribution of objects
satisfying a minus the rest; none below twice the random-initialization maximum. The 11 valid O0
organisms (patching on the 8 trained ones, which have a target). 1.1 CPU-hours.
Result. (raw/<id>.json; k70 and k50 are the smallest greedy sets reaching 70% and 50% of the
full-layer effect; "random" is a random set of k70 channels)
| organism | key | conv1 k70 / k50 / random | conv2 k70 / k50 / random | conv3 k70 / k50 / random | R4 | NR-attrib |
|---|---|---|---|---|---|---|
| T1-s0 | color=red | 9 / 5 / 0.32 | 9 / 5 / 0.33 | 14 / 9 / 0.42 | no | type=yellow/circle |
| T1-s1 | color=red | 8 / 4 / 0.22 | 8 / 4 / 0.27 | 14 / 8 / 0.42 | yes | type=red/square |
| T2-s0 | shape=square | 5 / 3 / 0.19 | 9 / 6 / 0.26 | 14 / 9 / 0.44 | yes | type=blue/triangle |
| T2-s1 | shape=square | 7 / 5 / 0.20 | 9 / 5 / 0.28 | 16 / 11 / 0.47 | yes | type=blue/diamond |
| T3-s0 | type=blue/circle | 10 / 6 / 0.31 | 10 / 6 / 0.33 | 11 / 7 / 0.31 | no | color=blue |
| T3-s1 | type=blue/circle | 9 / 6 / 0.28 | 8 / 5 / 0.22 | 13 / 8 / 0.41 | yes | type=blue/circle |
| T4-s0 | shape=circle | 10 / 6 / 0.27 | 9 / 5 / 0.26 | 10 / 6 / 0.32 | no | type=green/triangle |
| T4-s1 | shape=circle | 5 / 4 / 0.11 | 5 / 3 / 0.05 | 12 / 7 / 0.42 | yes | type=red/circle |
The nulls read none under NR-attrib.
- R4 replicates in 5 of the 8 trained organisms (T1-s1, T2 in both seeds, T3-s1, T4-s1): at most 8 of 32 channels of conv1 or conv2 carry 70% of that layer's effect, against 5% to 27% for random sets of the same size. Conv3 never localizes (10 to 16 channels). In every trained organism a quarter of the channels (8) of conv1 or conv2 carries at least half the effect.
- The first half of R4 holds by construction. Patching a whole layer from source into base reproduces the source's output exactly in a feedforward network, so the full-layer effect is 1.0 for every layer and organism. It is reported, but it is not evidence of anything.
- NR-attrib is right on 1 of 8 trained organisms (T3-s1) and on the 3 nulls. Its wrong
readings are mostly single types, some sharing the goal's attribute (
type=red/squareforcolor=red,type=red/circleforshape=circle), some unrelated. On T4-s0 it readstype=green/triangle, a hazard type: the decoy failure PR-001 anticipated for the probe reader appears here instead. Input-times-gradient at an object's cell measures how much the current action depends on that object, and an avoided hazard next to the path matters to the action as much as the goal does.
Provenance. Runs recorded commits 7baa686, 90753fa and 79a7825; none of the code E-004 imports
differs between them (git diff --stat 0047160 HEAD on haruspex/ and the method scripts is
empty). No run is dirty.
Label: established for the table. The explanation of NR-attrib's errors is suggestive.
Erratum (2026-11-30). Corrected after the independent rerun's check of every statement against the raw data (L0.6a report). Finding 1 said 5% to 33%; the 33% values are from layers that do not localize (conv2 of T1-s0 and T3-s0). No table value, reading or criterion changed.