← Lab
ssmrecall
confirmedshipPython · PyTorchModel behavior & reasoningJuly 22, 2026
the question
Where must a diagonal SSM's eigenvalues sit to recall recent inputs with the best conditioning, and do deployed initializations achieve it?
what came out
A diagonal SSM recalls exactly its last d inputs, aliasing input d+1 (error ~1e-15 jumping to order one). The d-th roots of unity uniquely minimize conditioning: cond(M)=1 and readout noise gain 1/sqrt(d), beating 200 random placements. Deployed S4D-Lin and HiPPO inits recover strictly fewer at d=64, and the recall horizon is independent of spectral radius.
method & receipts
- Result: confirmed
- Reproducible — one script re-runs the whole thing from scratch.
- Tested — a correctness/benchmark suite ships alongside the code.
→ read the code and re-run it
github.com/v-code01/ssmrecall