SPATIAL MEMORY KIT v0.1 / trace explorer
RECORDED REPLAY

SMALL WORLD MODELS · OPEN RESEARCH

Remembering a route.
Understanding a place?

Follow the observations, predictions, and 128 internal values of a small recurrent world model. History can help prediction while spatial understanding still fails to transfer.

276,501 parameters / model12 trained models24 recorded traces49 observed steps / trace

01 / COMPARE RECORDED TRAJECTORIES

One model. Two routes.

Loading trace…

Default model: a preselected explanation example, not the best-performing model. All four conditions and all three paired seeds are available. Trained states only; paired initial weights are available in the Python kit.

INPUT

Current observation

o(t)

MODEL OUTPUT

Predicted future

Prediction

EVALUATION TARGET

Actual future

Target

Image MSE —Current-image copy MSE —Known planned actions —

MSE values are calculated from the original float32 images at this one timestep. Display images are rounded to 8-bit grayscale. This single case is not the full evaluation score. Future actions are supplied; future observations are withheld from the model.

02 / FOLLOW THE COMPUTATION

What changes inside?

−1 0 +1

Observation state h(t)

History through the current observation.

Action prior p(t)

Based on the previous action.

Imagined state z₁(t)

Rollout from h(t) using future actions only.

These are feature values, not a map or a physical circuit. The 8×16 arrangement follows index order (0–127). A value at the same index in different models need not have the same meaning. Hover over a grid for its displayed value. States are rounded to six decimals for display. At the coupled episode start the prior is computed but unadopted; its value is masked in the saved trace and is not fabricated here.

Trace identity and provenance

All traces are case 0, with query time 48, recorded using FP32 with TF32 disabled. Trained weights are fixed throughout. Simulator coordinates are not model inputs.

03 / KEEP THE CLAIM SMALL ENOUGH TO TEST

Three questions. Three different tests.

01

Can it predict?

Compare future sensory predictions with a current-image-copy baseline. Better prediction alone does not establish spatial memory.

02

Does history help?

Remove or exchange earlier state while controlling current observations. Compare trained models with matched untrained recurrence.

03

Does it transfer?

Change the route, direction, or distance. Check both the model's predictions and external readouts, with their assumptions kept separate.

ORIGINAL FULL EVALUATION · FEATURED CHECKPOINT

A1 → A2: memory remained,
route transfer was limited.

A1 h1 / h5100 / 100%
A2 h1 / h542.19 / 37.50%

The A2 reset-eight control was 25% / 25%. These are native future-image candidate accuracies from the original multi-case evaluation, not aggregates of the displayed 24 traces. The fixed combined v33 criterion (short-task retention, long wait, movement-native prediction, and spatial readout) was unmet for all 12 candidates. Some earlier acquisition preconditions were unmet, so this does not mean every model learned and then forgot.

Across the original evaluation, failures of source-trained position readouts did not prove an absence of position information: recalibration within the target route could recover useful information. Architecture differences also changed sign across seeds. General navigation, autonomous exploration, and long-term survival were not established.

04 / RECOMPUTE THE MODEL

From a replay to a test.

The Python kit contains original-precision NPZ traces, 12 final models and 12 matched initial models, safetensors weights, portable inference, and a small training smoke run. It does not include the complete 39-candidate historical study or all original training data.

python -m pip install -e .
python -m spatial_memory_kit verify --root .
python -m spatial_memory_kit replay --root . \
  --model coupled_b7_s33101 \
  --route a_two --state initial