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
yeah a hybrid is probably where this ends up. something like 1 attention layer per 4 PSSA layers makes sense to me, attention for exact recall and PSSA + the memory bank for the cheap long-context part. haven't tried it yet though. right now it's a single layer at 1.5M params, and stacking layers is slow in my code at the moment (that path still drops to CPU), so I need to fix that before a hybrid test would mean anything. it's on the list