FOAM: Factored One-sided Adam-Moment for Practical and Scalable SOAP
Jaemyung Yu, Byeongho Heo, Sangdoo Yun, Dongyoon Han
NeurIPS page · OpenReview · Open on the map
Category: Optimization & Federated Learning › Hyperparameter Scaling and Optimizer Theory · Type: new method · Keywords: second-order optimizer, memory-efficient preconditioning, factored moment estimator, large language model training, AdamW, SOAP
Areas: Optimization & Algorithms › Optimization Dynamics › Optimization Algorithms
Summary
FOAM is a lightweight, input-only preconditioned optimizer that replaces SOAP's dense second moment with a factored Adam-moment estimator, achieving SOAP-level performance with AdamW-like memory usage.
Explained to a 5-year-old
Computers need to learn quickly when they practice. Some fast learning methods need a lot of memory, which is like having too many toys in a small room. This paper creates a simpler method that learns fast without using much memory. It works like a smart helper that makes learning efficient. It helps big language models get better faster.
Explained to a 5-year-old, longer
When we teach a computer something, we want it to learn quickly. Some advanced teaching tricks are fast but need a lot of space to store information, like a huge backpack. This paper designs a lighter backpack that still helps the computer learn fast. It only looks at the input side, not the output side, which saves space. Instead of using a big, heavy calculation for the second step, it uses a simpler, factored calculation that is easier to carry. This makes the learning process faster and uses less memory. The paper shows that this new method works as well as the old fast methods, even when training huge language models with hundreds of millions of parameters. It also stays stable across different learning rates, making it reliable for real-world use.
For a technical reader
The paper reduces the memory cost of second-order optimizers by applying preconditioning only to the input side, eliminating one eigendecomposition. It replaces the dense rotated second-moment estimate with a factored estimator that aggregates row-by-column statistics. Under the K-FAC Fisher assumption, the estimator is mathematically equivalent to the original SOAP update. Empirically, the approach matches SOAP and Muon performance while using memory similar to AdamW and running within Muon’s wall time. It also remains robust across a wide range of learning rates and scales to models with hundreds of millions of parameters.
Problem
Second-order optimizers that aim for faster convergence still incur high memory usage due to large optimizer state and eigendecomposition costs, limiting their practicality. The challenge is to retain the convergence benefits while reducing memory and computational overhead to match the efficiency of first-order optimizers like AdamW.
Method
The approach uses input-only preconditioning, dropping the output-side Kronecker factor to cut memory and eliminate one eigendecomposition, and replaces the dense rotated second moment with a factored estimator based on row-by-column statistics.
Results
The approach matches the performance of second-order optimizers on validation loss, uses memory comparable to AdamW, runs within the wall time of Muon, and remains robust across a wide learning-rate range, even at 760 M parameters.
Contributions
It introduces input-only preconditioning and a factored Adam-moment estimator that together reduce optimizer state and computational cost while preserving convergence speed, and provides theoretical equivalence under the K-FAC Fisher assumption.
Limitations and assumptions
The analysis assumes output curvature is approximately isotropic, and the empirical evaluation focuses on large language model pre-training.
Practical relevance
This makes second-order optimization feasible for large-scale model training on modest hardware, enabling faster convergence without the prohibitive memory overhead of existing methods.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction