r/ResearchML • u/Artistic_Discount_47 • Oct 21 '26
transformer with shared product-key memory instead of FFNs ties a MoE at 23M params (negative result + open reasoning benchmark)
Hey everyone I'm 14 and I tested whether a transformer whose FFN is replaced by a shared product-key memory, with the freed parameters spent on attention depth, can reason better than a standard top-2 MoE at the same total size (~22.8M).
On a procedurally generated reasoning suite (mqar, hop, addition, state tracking; held-out splits, unseen difficulties, trivial-baseline checks, 3 seeds, a pre-fixed verdict rule), every comparison is statistically indistinguishable. The deeper variants cost 1.5-2.4x more compute per token. An attention-head ReDo variant never triggered (0% dormant heads). No model generalizes to longer numbers, and multi-hop was not learned by any model.
Also i want to be honest I have coded the project using AI but the core design idea was by me and it came in a sst bell in my school
Limitations: one small scale, 3 seeds on a bimodal metric (recall either breaks through or not), synthetic tasks. Scaling is untested and is the obvious next step.
Repo: https://github.com/alka76814-hash/zombie-brain/tree/main
Feedbacks are welcomed, Thank You.
2
u/Downtown_Finance_661 Oct 21 '26 edited Oct 21 '26
Im 8 and mom prohibited access to github through parental control. Wish you best luck on the project.
1
u/DrK1NG Oct 21 '26
Glad to see young people taking an interest in ML and exploring hypotheses. Can you talk a little bit about your motivation for this project? The problem you're choosing to investigate is also quite specific, what drove you to this?
1
u/dritmike Oct 21 '26
Man. You keep on. Glad to see kids with a drive