Study maps when sparse-memory language models may have an edge

1 source

A scaling-law analysis predicts Product Key Memory performs best when capacity is abundant relative to compute. The study finds different architecture advantages as the balance shifts.

A study of language-model training predicts that Product Key Memory (PKM), a sparse memory architecture, can achieve the lowest loss when model capacity is abundant relative to compute. Mixture-of-experts models are favored in an intermediate resource range, while dense Transformers are favored when compute is abundant relative to capacity.

The analysis fits scaling laws to 421 training endpoints across 44 configurations, including dense Transformers, PKM, token-indexed memory and mixture-of-experts models. In a modeled mobile-inference setting, the researchers estimate PKM could deliver 7.6 times the token throughput of mixture-of-experts; that figure comes from a roofline analysis, not a reported deployment.