FOAM keeps SOAP's LLM training gains at about half the optimizer state
Original title: Factored One-sided Adam-Moment for Practical and Scalable SOAP
It matches SOAP and Muon validation loss from 124M to 760M parameters and runs at Muon-class wall-clock time.
Factored One-sided Adam-Moment (FOAM) is a lighter SOAP variant aimed at near-AdamW cost. Input-only preconditioning drops the output-side Kronecker factor, and a factored Adam-moment estimator replaces SOAP's dense rotated second moment. The authors say FOAM matches strong SOAP and Muon baselines in LLM pre-training validation loss, uses half of SOAP's optimizer state, and stays robust across a threefold learning-rate range. Code is released at github.com/naver-ai/foam.
Unconfirmed: Exact recovery of SOAP's second moment is claimed only under the stated curvature assumptions.
- Input-only preconditioning removes one eigendecomposition and the output-side factor.
- Authors report a 15-20% K-FAC violation with negligible update effect.
- Results cover models from 124M to 760M parameters.
- FOAM uses half of SOAP's optimizer state.
- The learning-rate robustness range is threefold.
From the original article
1 min read at huggingface.coSecond-order optimizers (e. g. , Shampoo, SOAP) have emerged as compelling alternatives to Adam/AdamW and promise faster per-step convergence than AdamW in transformer training.
By Jaemyung Yu, Byeongho Heo, Sangdoo Yun · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.