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
it's not a transformer. no attention and no kv cache, it's a recurrent state space model whose fast weights update while it reads, so memory per token stays flat however long the context gets. at 1.5m params it beat a size-matched transformer on unseen text (54 vs 84 perplexity) and generated 200 tokens about 12x faster on cpu. tiny scale and one seed though, so it's a prototype, not a claim.