SCIENTIFIC REPORT / SINGLE SOURCE OF TRUTH
Results & Reproducibility
Clean tested TEM implementation that trains stably at reference-scale and clearly beats baselines on our internal metric; grid-cell emergence not shown.
Last updated: 2026-11-02. Every number below comes from a run or file named in the source report (docs/RESULTS.md ↗). Rule: nothing goes on the site or in a PR unless it is supported by the findings with its caveat.
01 / WHAT WE BUILT
Architecture & Components
neuroSush is a PyTorch library for spiking networks, HTM / Thousand Brains models and, new, a Tolman-Eichenbaum Machine (TEM, Whittington et al. 2020 Cell). TEM separates a cognitive map into reusable structure g (where am I on the graph) and sensory identity x (what do I see). Their conjunction p is stored in a fast Hebbian memory M that is reset per world, while the slow weights (transitions shared across worlds) are trained. Result: after seeing a node once, the model predicts it when reached through a NEW route in a NEW world. Code: src/neurosush/tem/, teaching note: docs/TEM.md ↗.
The ecosystem includes the PyTorch library, Atlas plate T01 (teaching visualization of Tolman-Eichenbaum Machine with imposed structure), and the Studio backend for project persistence, simulations, and validation.
02 / RESULTS OF OUR MODEL
Internal Metric & Variants
Metric (ours, not the paper's): accuracy of predicting the observation on the first visit to an already-seen node through a new directed edge, in 4x4 and 8x8 graph worlds. 3 training seeds, 16,000 updates each. Best baseline (sensory-only / frequency) is 0.1027. Source: experiments/tem_overnight_report.py over experiments/results/overnight/*.json.
| Variant | What it is | Accuracy mean ± SD | 95% CI | Position R² (null p95) | Verdict |
|---|---|---|---|---|---|
| v0 | earlier model + reference schedules | 0.236 ± 0.150 | [-0.137, 0.608] | -0.059 (-0.045) | FAIL, unstable, max grad 3.7e6 |
| v1 | + L_p_x term, calibrated reductions, bounded attractor activation | 0.721 ± 0.038 | [0.627, 0.815] | 0.296 (-0.178) | PASS |
| v2 | v1 + reliability-weighted fusion | 0.769 ± 0.007 | [0.751, 0.787] | 0.458 (-0.045) | PASS, best learned variant |
| v3 (rotation/torus, from v0) | group structure built in | 0.832 ± 0.014 | [0.797, 0.866] | 0.264 | PASS but structure imposed |
| v3 (from v1) | group structure built in | 0.783 ± 0.048 | [0.664, 0.903] | 0.482 | PASS but structure imposed |
03 / TRAINING STABILITY
The Four Fixes (v0 -> v1/v2)
- Missing L_p_x term and mis-scaled objective: Supervise sensory-cued memory, calibrate loss reductions.
- Reliability-blind fusion ->
reliable_fusion: Weight memory correction by retrieval reliability. - Unbounded attractor activation -> bounded activation: Prevents exploding gradients.
- Compressed memory curriculum: Gradual memory use.
These are implementation choices tested together, not four independently proven causes (v1 groups 1+3, v2 adds 2).
05 / SPATIAL PROBE OF OUR MODELS
Spatial Probe of Our Own Trained Models (2026-11-02, One Seed Each)
Same metric definitions as section 4, applied to our frozen checkpoints (v2 s0 and v1 s0, 16,000 updates, 8x8 worlds, new worlds with empty memory). Source: experiments/results/tem-spatial-v2-s0.json, tem-spatial-v1-s0.json, random-init control tem-spatial-random.json.
| Stream | Model | Decoder acc (shift null p95) | Cross-world map corr | Cross-world RSA (null p95) | RSA vs grid / vs sensory |
|---|---|---|---|---|---|
| g | v2 s0 | 0.246 (0.025) | 0.217 | 0.742 (0.039) | 0.009 / 0.020 |
| g | v1 s0 | 0.322 (0.024) | -0.029 | 0.833 (0.042) | -0.045 / 0.073 |
| g | random init | 0.115 (0.021) | 0.041 | 0.072 (0.161) | 0.109 / 0.161 |
| g | authors' run (section 4) | 0.163 (0.021) | -0.008 | 0.003 (0.064) | 0.018 / 0.415 |
| p | v2 s0 | 0.766 (0.030) | 0.037 | 0.066 (0.043) | 0.082 / 0.630 |
| p | v1 s0 | 0.806 (0.030) | 0.024 | 0.035 (0.043) | 0.025 / 0.730 |
| p | random init | 0.541 (0.026) | 0.022 | 0.034 (0.074) | 0.140 / 0.621 |
| p | authors' run (section 4) | 0.266 (0.021) | 0.000 | 0.000 (0.040) | 0.018 / 0.959 |
Reading:
- Position can be decoded within a world from g and from p (well above the shift null).
- Controls added (2026-11-02, probe seeds 1e6, 2e6, 3e6; same checkpoints, one training seed each). Cross-world RSA of g is 0.779 (v2 s0) and 0.850 (v1 s0) averaged over 3 probe seeds; probe seed 1e6 reproduces the earlier 0.742 and 0.833. But coherent path integration alone reaches the same values: trained transitions without memory 0.585 (v2) / 0.638 (v1); with a random start per world 0.668 / 0.650; random non-zero transition weights at three scales 0.513, 0.613, 0.365 (v2) and 0.292, 0.798, 0.815 (v1), spread 0.18-0.89 across probe seeds; full model with a random start per world 0.781 / 0.770. Margin of the full model over the 95th percentile of those controls: -0.103 (v2), +0.010 (v1), so no evidence that training or memory adds anything on this measure. A position-label shuffle gives 0.099 / 0.030 (inside its null). About 0.88-0.92 of within-world distance variance is explained by displacement alone.
- Reading: the cross-world RSA of g is what a coherent path integrator produces, with a world-specific phase. It is not a world-independent position code and not evidence of learning, and it does not show grid cells. In the trained models it does not follow Manhattan grid distance (RSA vs grid 0.011 v2, -0.045 v1), while random-weight path integrators score 0.3-0.7 on it. Seeds 1-2 are covered below; 16x16 worlds are not run.
- p mainly follows sensory identity (RSA vs sensory 0.63 and 0.73), as in the authors' run, and its map correlation across worlds is near zero.
- Random-init p also decodes position (0.54) because the fast memory binds observations within a world: high within-world decoding alone is not evidence of learned geometry.
- Spatial information of g and g_gen is about 1e12 because the reference formula accepts signed activations: a diagnostic, not bits per spike. Only p has a usable-looking value.
- One seed per model, 8x8 worlds: gridness is not resolvable. Seeds 1-2 are in 6.2; 16x16 worlds are needed before any stronger statement about gridness.
05b / SEEDS 0-2, CONTROLS AND TRAINING TRAJECTORY
Three Training Seeds Against Path-Integration Controls (2026-11-03)
v2 and v1 with training seeds 1 and 2 were retrained from scratch (16,000 updates, 8x8 worlds) with snapshots at 500, 2000, 4000, 8000 and 16000 updates. The retrains reproduce the accuracies of the main table to all digits, so the probed models are the same models. Probe as above (3 probe seeds, new 8x8 worlds, empty memory) with the path-integration controls; seed 0 is from the previous section.
| Run (16,000 updates) | g cross-world RSA | p95 of path-integration controls | Margin | Trained transitions, no memory | Displacement share of distance variance | RSA vs grid |
|---|---|---|---|---|---|---|
| v2 s0 | 0.779 | 0.882 | -0.103 | 0.585 | 0.882 | +0.011 |
| v2 s1 | 0.642 | 0.887 | -0.244 | 0.722 | 0.767 | +0.105 |
| v2 s2 | 0.807 | 0.895 | -0.087 | 0.603 | 0.885 | +0.034 |
| v1 s0 | 0.850 | 0.840 | +0.010 | 0.638 | 0.917 | -0.045 |
| v1 s1 | 0.794 | 0.848 | -0.054 | 0.696 | 0.875 | -0.002 |
| v1 s2 | 0.930 | 0.954 | -0.024 | 0.882 | 0.945 | -0.057 |
Stop rule fixed beforehand: go to a stronger claim only if the margin is at least 0.15 in all three seeds. Not met: margins are -0.103, -0.244, -0.087 (v2) and +0.010, -0.054, -0.024 (v1).
- Trajectory (seeds 1 and 2): from 2000 to 16,000 updates the g RSA mostly rises (v2 dips at 4000), for example v2 s1: 0.23 at 2000 updates, 0.58 at 8000, 0.64 at 16000; v1 s1: 0.22, 0.62, 0.79; v1 s2: 0.11, 0.62, 0.93. At 500 updates the values are high and erratic for v2. The margin is negative at every snapshot.
- The cross-world RSA of g grows as the model learns to path-integrate, but path integrators with random transition weights reach the same range (95th percentile 0.84-0.95; individual random-weight controls spread from 0.01 to 0.89 per probe seed). So this measure does not separate learned from unlearned structure.
- The full model is above its own memory-free path integration (trained transitions, no memory) in 5 of 6 runs on the 3-seed means (by 0.05-0.21; the exception is v2 s1), but not in every single probe seed.
- RSA against the grid-distance model is near zero (-0.06 to +0.11) in the trained models. No grid-cell claim. Not a ranking against the paper.
- Caveats: one training run per seed, 8x8 worlds (gridness not resolvable); the control p95 comes from only 9 random-weight values (3 scales x 3 probe seeds), so it is close to their maximum: a negative margin means below that upper tail, not below typical controls. 16x16 worlds were not run.
06 / SCIENTIFIC SCOPE
What We May and May Not Claim
May Say
- A clean, tested TEM implementation that trains stably at reference-scale and clearly beats baselines on our internal metric.
- Better than our earlier model (v0).
- Their public-default run stayed near chance in prediction loss; ours does not (different code/worlds, one seed).
May NOT Say
- "Better than the paper" (we never scored their model on our metric; no remapping/gridness comparison).
- "Grid cells emerged" (periodicity in v3 is structure imposed; gridness is unresolved at 8x8; grid-cell emergence not shown).
- Theta phase precession as emergent (theta is imposed).
- Any number not in section 2 or 3.
07 / STATUS & SOURCES
Live Now, In Progress & Sources
Live now: TEACHING: position imposed (Plate T01) ↗, the Atlas gallery ↗, and spatial probe results of our trained models (v2 s0 and v1 s0, Section 6.1).
In progress: Spatial probe with path-integration controls done for v2 s0 / v1 s0; seeds 1-2 are done (previous section); 16x16 worlds are not run yet.
Sources: Paper DOIs (Whittington et al. 2020 Cell, doi:10.1016/j.cell.2020.10.024; Kawahara & Fujisawa 2025, bioRxiv doi:10.1101/2025.10.16.682754), docs/TEM.md ↗, and GitHub repository ↗.