A guided evidence chain from delayed-cue behavior to latent observability, cross-network alignment, and causal state intervention.
Selected device: cpu. Training seeds share fixed training data, and every checkpoint is crossed with evaluation seeds (101, 211, 307).
The target is the sign of a brief cue. After a blank delay and a balanced same-channel distractor, a symmetric decision probe requests the answer without revealing it. Train delays are (12, 24, 36); evaluation delays are (12, 36, 72). Distractor amplitudes (1.0, 2.0, 4.0) form an out-of-distribution interference axis while direction remains exactly balanced.
Equal hidden width is not equal parameter count or state size. The SNN is neuron-inspired, but it is trained with backpropagation through time and a surrogate spike gradient; this experiment does not test biological learning plausibility or hardware energy efficiency.
Use this table to qualify capacity comparisons before ranking architectures.
| model | analysis_latent | state_components | parameters | state_scalars | validation_accuracy | beta | rho | beta_tau_steps | rho_tau_steps | adaptation_scale |
|---|---|---|---|---|---|---|---|---|---|---|
| Adaptive SNN | membrane potential | membrane, adaptation, spikes | 1316 | 96 | 1.000 | 0.918 | 0.982 | 11.831 | 55.783 | 0.461 |
| GRU | GRU hidden state | hidden | 3969 | 32 | 1.000 | NaN | NaN | NaN | NaN | NaN |
| MLP | current hidden activation | 289 | 0 | 0.546 | NaN | NaN | NaN | NaN | NaN | |
| MLP cue-visible control | current hidden activation | 289 | 0 | 1.000 | NaN | NaN | NaN | NaN | NaN |
Question: Did optimization produce interpretable checkpoints?
How to read: Check the cue-visible positive control first, then the stateful models, the final slope, and seed variability.
The cue-visible control should learn; GRU and SNN should exceed chance on trained delays. A flat or still-rising curve limits later claims.
If a model fails, inspect data and loss, overfit a tiny batch, then run a bounded learning-rate or epoch sweep before comparing mechanisms.
Question: Can each frozen network solve trained delays and extrapolate to a held-out longer delay?
How to read: Verify positive and stateless controls, compare trained with held-out delay 72, then inspect distractor-condition and seed effects.
The ordinary MLP should be near chance; successful recurrent models should outperform it. A held-out-delay decline means limited temporal extrapolation.
Leakage-audit an above-chance MLP; widen training delays after a generalization failure; vary distractor timing after condition-specific interference.
Question: Where does each frozen network leave its ceiling regime?
How to read: Compare the standard amplitude 1 condition with amplitudes 2 and 4. Thin lines are training-seed by evaluation-manifest replicates.
A graded decline exposes interference robustness that the basic delay task can hide. Same-direction distractors are not the stress test.
Use the failure boundary for mechanistic probes; do not retrain on the challenge before measuring out-of-distribution robustness.
Question: What large-variance geometry appears in the selected latent activity?
How to read: Follow cue separation through delay, distractor deflection, and the marked decision endpoint. Do not compare PC axes literally across models.
A successful memory model may preserve cue-separated trajectories, but overlap in two dimensions does not establish information loss.
Use cue decoding for targeted observability, more components for variance coverage, and alignment or dynamics metrics for cross-model comparison.
Question: When is cue direction linearly observable from frozen latent activity?
How to read: Compare each named state component with the permutation-null 95th percentile; folds hold out an entire evaluation manifest.
Successful stateful models should often retain decodable cue information; decoding without behavior can reveal unused or inaccessible information.
Intervene on a decoded subspace before claiming causal use; the calibrated probe establishes observability only.
Question: Can one state predict another beyond shared current input, elapsed time, and reactive activity?
How to read: Rows are source representations and columns are targets. Direction matters; compare residual scores with raw and cue-preserving shuffled controls in the table.
Residual alignment above the shuffled control supports shared trial-specific geometry, but still not identical update dynamics.
Use perturbation responses or DSA to compare temporal computation after geometry controls pass.
Question: Which carried state components are necessary shortly before decision?
How to read: Require good baseline performance and an unchanged MLP sham. Compare the SNN full reset with one-component resets across seeds.
A component-selective loss localizes necessity more narrowly than the full reset; a null can still reflect redundancy or rapid reconstruction.
Sweep intervention time and compare zero with shuffle, mean replacement, or state swaps between cue labels.
Reference-amplitude means combine training seeds, evaluation manifests, and distractor conditions. Inspect behavior.csv for the crossed factorial result.
| model | delay | accuracy_mean | cell_accuracy_min | cell_accuracy_max |
|---|---|---|---|---|
| Adaptive SNN | 12 | 1.000 | 1.000 | 1.000 |
| Adaptive SNN | 36 | 1.000 | 1.000 | 1.000 |
| Adaptive SNN | 72 | 0.846 | 0.458 | 1.000 |
| GRU | 12 | 0.989 | 0.875 | 1.000 |
| GRU | 36 | 1.000 | 1.000 | 1.000 |
| GRU | 72 | 1.000 | 1.000 | 1.000 |
| MLP | 12 | 0.517 | 0.333 | 0.708 |
| MLP | 36 | 0.483 | 0.375 | 0.625 |
| MLP | 72 | 0.517 | 0.292 | 0.667 |
| MLP cue-visible control | 12 | 1.000 | 1.000 | 1.000 |
| MLP cue-visible control | 36 | 0.998 | 0.958 | 1.000 |
| MLP cue-visible control | 72 | 1.000 | 1.000 | 1.000 |
Step 0 and final decision-step cue decoding by named state component. The null threshold and held-manifest fold range are stored in decoding.csv.
| model | representation | step | decoding_mean | decoding_min | decoding_max | null_p95 | permutation_p_max |
|---|---|---|---|---|---|---|---|
| Adaptive SNN | adaptation | 0 | 0.676 | 0.500 | 1.000 | 0.565 | 1.00 |
| Adaptive SNN | adaptation | 75 | 1.000 | 1.000 | 1.000 | 0.566 | 0.01 |
| Adaptive SNN | membrane | 0 | 1.000 | 1.000 | 1.000 | 0.574 | 0.01 |
| Adaptive SNN | membrane | 75 | 0.869 | 0.731 | 0.986 | 0.565 | 0.01 |
| Adaptive SNN | spikes | 0 | 0.676 | 0.500 | 1.000 | 0.565 | 1.00 |
| Adaptive SNN | spikes | 75 | 0.725 | 0.519 | 0.833 | 0.570 | 0.35 |
| GRU | hidden | 0 | 1.000 | 1.000 | 1.000 | 0.574 | 0.01 |
| GRU | hidden | 75 | 1.000 | 1.000 | 1.000 | 0.566 | 0.01 |
| MLP | activation | 0 | 1.000 | 1.000 | 1.000 | 0.566 | 0.01 |
| MLP | activation | 75 | 0.551 | 0.546 | 0.556 | 0.565 | 0.17 |
Raw, input/time/reactive-residualized, and cue-preserving shuffled-control values are intentionally reported separately.
| model_a | model_b | raw_a_to_b | raw_b_to_a | residual_a_to_b | residual_b_to_a | shuffled_a_to_b_p95 | shuffled_b_to_a_p95 | residual_shuffle_a_to_b_p95 | residual_shuffle_b_to_a_p95 | residual_excess_a_to_b | residual_excess_b_to_a |
|---|---|---|---|---|---|---|---|---|---|---|---|
| GRU · hidden | Adaptive SNN · adaptation | 0.951 | 0.962 | 0.973 | 0.981 | 0.953 | 0.963 | 0.974 | 0.978 | -0.001 | 0.003 |
| GRU · hidden | Adaptive SNN · membrane | 0.933 | 0.916 | 0.930 | 0.956 | 0.936 | 0.920 | 0.934 | 0.956 | -0.004 | -0.000 |
| GRU · hidden | Adaptive SNN · spikes | 0.488 | 0.650 | 0.436 | 0.696 | 0.486 | 0.653 | 0.435 | 0.697 | 0.001 | -0.001 |
Positive values mean the full reset reduced accuracy at trained delay 36. Component columns localize SNN necessity more narrowly.
| model | model_seed | adaptation reset | baseline | membrane reset | spikes reset | state reset | baseline_minus_full_reset |
|---|---|---|---|---|---|---|---|
| Adaptive SNN | 11 | 1.0 | 1.000 | 0.681 | 1.0 | 0.500 | 0.500 |
| Adaptive SNN | 23 | 1.0 | 1.000 | 0.810 | 1.0 | 0.500 | 0.500 |
| Adaptive SNN | 37 | 1.0 | 1.000 | 1.000 | 1.0 | 0.500 | 0.500 |
| GRU | 11 | NaN | 1.000 | NaN | NaN | 0.532 | 0.468 |
| GRU | 23 | NaN | 1.000 | NaN | NaN | 0.546 | 0.454 |
| GRU | 37 | NaN | 1.000 | NaN | NaN | 0.514 | 0.486 |
| MLP | 11 | NaN | 0.481 | NaN | NaN | 0.481 | 0.000 |
| MLP | 23 | NaN | 0.491 | NaN | NaN | 0.491 | 0.000 |
| MLP | 37 | NaN | 0.477 | NaN | NaN | 0.477 | 0.000 |
| Observation | Next test |
|---|---|
| Positive control fails | Debug labels/loss and overfit a tiny batch; stop mechanistic interpretation. |
| Ordinary MLP exceeds chance | Audit current-input leakage and run a label-permutation test. |
| Stateful model fails trained delays | Inspect learning curves and run a bounded seed/budget sweep. |
| Good behavior but low State R² | Test CKA or nonlinear alignment, then compare dynamics with DSA. |
| High decoding but weak reset effect | Sweep reset timing and intervene on state components or decoded subspaces. |
| Strong distractor effect | Vary distractor timing and strength to map interference. |
From the project root, rerun python scripts/run_comparing.py --config results/comparing/latest/config.json. Config, device benchmark, exact manifest, checkpoints, raw trial outcomes, analysis tables, and figure sources are stored beside this report.
Seeds and manifests are portable, but CPU, CUDA, and MPS training are not guaranteed to be bit-for-bit identical.