Sharp Capacity Scaling of Spectral Optimizers in Learning Associative Memory
Juno Kim, Eshaan Nichani, Denny Wu, Alberto Bietti, Jason Lee
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Optimization & Federated Learning › Optimizer Design and Analysis for LLMs · Type: theory · Keywords: spectral optimizers, associative memory, capacity scaling, logistic regression, theoretical analysis, synthetic experiments
Areas: Memory › Memory mechanisms › Associative Memory; Optimization & Algorithms › Optimization Dynamics › Spectral Optimization
Summary
The paper sharply characterizes the storage capacity and recovery rates of the spectral optimizer Muon on the linear associative memory problem, showing it matches Newton's method and outperforms SGD while using only first-order information.
Explained to a 5-year-old
We have a simple game where you try to remember many facts at once. A special way of learning (the spectral optimizer) helps you remember more facts than the usual learning method. It works almost as well as a super-smart method that uses extra information, but it only uses the basic information. The researchers proved why it works and tested it on made-up examples.
Explained to a 5-year-old, longer
Imagine you have a big notebook and you want to store lots of words and their meanings. You write each word on a page and then you try to remember them later. The usual way to learn (SGD) is like trying to guess the right answer by looking at one example at a time, which is slow. There’s another way (the spectral optimizer) that looks at the whole picture and helps you remember more words faster. It’s almost as good as a super-smart method that knows extra tricks, but it only uses the simple tricks you already know. The scientists studied this game mathematically, wrote down formulas that tell you how many words you can remember, and then ran computer experiments with made-up data to check that their formulas are correct. This helps us understand why some learning methods work better than others and gives us ideas for making future learning tools even smarter.
For a technical reader
The paper analyzes the performance of a spectral preconditioner on the linear associative memory problem, comparing its one-step and multi-step dynamics to SGD and Newton's method. Using Gaussian inputs and a power-law frequency distribution, the authors derive capacity bounds that show the preconditioner matches Newton's method while using only first-order information. Synthetic experiments confirm the theoretical predictions, providing insight into why spectral optimizers can achieve faster initial recovery and larger critical batch sizes.
Problem
The source and extent of spectral optimizers' advantage in large-scale language model training remain unclear. This work seeks to quantify their performance on the linear associative memory problem relative to SGD and Newton's method.
Method
The authors study the one-step recovery rates of the spectral optimizer, SGD, and Newton's method on logistic regression loss with Gaussian inputs and outputs under a power-law frequency distribution, and extend the analysis to multi-step dynamics using a thresholded gradient approximation, validating the theory with synthetic experiments.
Results
The spectral optimizer achieves a storage capacity significantly higher than SGD and matches Newton's method while using only first-order information, and it saturates at a larger critical batch size; both the spectral optimizer and SGD converge to the information-theoretic limit at comparable speeds after an initial faster recovery for the spectral optimizer.
Contributions
Provides a sharp theoretical characterization of the capacity scaling of spectral optimizers on associative memory, revealing they match Newton's method and outperform SGD, and validates these predictions with synthetic experiments.
Limitations and assumptions
The analysis relies on Gaussian inputs and outputs, a power-law frequency distribution, and a thresholded gradient approximation; results are validated only on synthetic tasks, not on real language model training.
Practical relevance
Provides theoretical foundations for understanding and designing spectral optimizers, guiding future improvements in large-scale language model training.
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