Reproduce “Scaling Laws for LLM Memory Sparsity” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Maciej Stefaniak, Romain Lepert, Mart Van Baalen, Rob Hesselink, Paul N. Whatmough, Babak Ehteshami Bejnordi

The authors fit a loss model for dense Transformers, Mixture-of-Experts (MoE), and Product Key Memory (PKM), accounting for active parameters, additional capacity, and training tokens. Its predictions favor dense models when compute is plentiful, MoE in an intermediate regime, and PKM when capacity is plentiful. At expansion ratio 8, a mobile-inference model estimates PKM throughput at 7.61× MoE, not measured device performance.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.