r/OpenSourceeAI • u/Sparticle62 • Sep 30 '26
PSSA: a 1.5M-param plastic state space model in Rust, beating a parameter-matched transformer on a small held-out slice
small scale, single seed, wikitext slice, so treat this as a prototype result and not an architecture claim. 1,544,704 params both sides, same corpus and sampler. held-out 3.997 vs 4.429 nats, generation 226ms vs 2735ms for 200 tokens on the same cpu. the depth-1 match is the obvious weakness and a depth-2 baseline is running next. written from scratch in rust, no pytorch. repo and eval commands: github.com/Sparticle62ops/pssa. happy to be told where the comparison is unfair.
4
Upvotes
View all comments
Show parent comment
1
u/Sparticle62 Oct 01 '26
closest relative honestly, though i haven't benchmarked against it yet so no numbers. the big difference is where the memory lives. deltanet and kda keep one matrix-valued state and rewrite it with the delta rule every token, kda adding per-channel gates on top. pssa's recurrent core is a mamba-style selective scan, and the associative part is split out into a separate fixed-size memory bank (512 slots) that it reads from every token and only writes to when something's novel, plus fast weights that get folded back into the transition by a closed-form ridge step. a gated deltanet at matched params is probably a fairer baseline than the transformer, so it's going on the list.