TL;DR
This paper extends the powerful "Tensor Programs" framework to adaptive optimizers like Adam, proving that the fundamental choice between "feature learning" and "kernel" behavior still exists in the infinite-width limit. By introducing a new mathematical language ($NE \otimes OR^\top$) and borrowing notation from quantum mechanics, the authors provide the theoretical foundation for scaling hyperparameters across model widths for virtually any modern neural architecture.
What Problem Does This Paper Address?
In recent years, the "Tensor Programs" series has revolutionized our understanding of what happens to neural networks as they get infinitely wide. Previously, researchers showed that networks trained with Stochastic Gradient Descent (SGD) fall into one of two camps: the Kernel Regime (where the network acts like a fixed linear model and doesn't learn new features) or the Feature Learning Regime (where the network internalizes the structure of the data).
However, most state-of-the-art models (like Transformers) aren't trained with SGD; they use adaptive optimizers like Adam. Adaptive optimizers are tricky because they normalize gradients entrywise (e.g., dividing by the square root of the moving average of squared gradients). Previous mathematical tools couldn't handle these nonlinear, coordinate-wise operations for the "hidden" weights of a network. This paper fills that gap, asking: Do adaptive optimizers change the fundamental nature of the infinite-width limit?
Methods
The authors introduce two major technical innovations to solve this:
- $NE \otimes OR^\top$ (Nonlinear Outer Product Tensor Programs): This is a new mathematical "language" that extends previous frameworks. Its "killer feature" is the Nonlinear Outer Product. This allows the math to describe how an optimizer like Adam looks at a gradient matrix and applies a nonlinear function (like
signor1/sqrt(v)) to every single entry simultaneously. - Bra-ket Notation: Borrowing from quantum physics (Dirac notation), the authors represent high-dimensional vectors as "kets" ($|x\rangle$) and their counterparts as "bras" ($\langle x|$). This drastically simplifies the complex nested expectations and limits that usually make Tensor Program papers look like a "wall of math," making the proofs more algebraic and readable.
- The Master Theorem: They prove a new "Master Theorem" for this $NE \otimes OR^\top$ language, which provides a recipe for calculating the exact behavior of any representable architecture (MLPs, RNNs, Transformers) at the end of training as width goes to infinity.
Datasets
As a theoretical work, the paper focuses on mathematical proofs rather than large-scale benchmarks. However, to verify their theory, they conducted numerical experiments using:
- Synthetic ReLU MLPs: Trained on $R^{10}$ Gaussian inputs.
- Monte Carlo Simulations: Used to approximate the theoretical infinite-width limits, which were then compared against actual finite-width networks (widths ranging from 64 to 7,000) to show convergence.
Key Insights and Ideas
- The Dynamical Dichotomy Persists: Surprisingly, adaptive optimizers don't "break" the rules. Even with Adam, you still face a choice: you either scale your parameters to get a (now nonlinear) "Neural Tangent" limit with no feature learning, or you use Maximal Update Parametrization ($\mu P$) to maximize feature learning.
- Nonlinear Kernels: In the kernel regime for SGD, the network evolution is linear. For Adam, the "Neural Tangent" limit still exists, but it is governed by a nonlinear operator. The network still doesn't learn features, but its function-space evolution is more complex than a standard GP or NTK.
- $\mu P$ is "Most Natural": The authors argue that $\mu P$ is the most natural way to scale a network because the infinite-width equations for $\mu P$ are essentially just a "ket-translation" of the finite-width code.
- Architectural Universality: The framework is designed to be "architecturally universal," meaning these limits aren't just for simple MLPs but apply to any "reasonable" architecture used in practice today.
Key Results
- Classification of Parametrizations: The paper provides a complete classification of how to scale learning rates and initializations ($abcd$-parametrizations). It identifies exactly which settings lead to stable training, which lead to "trivial" results where the network stays stuck at initialization, and which lead to useful feature learning.
- Hyperparameter Transfer: This work provides the rigorous proof for why hyperparameters (like learning rate) can be tuned on a small model and then "transferred" to a massive model if both use $\mu P$ scaling—a technique already being used to train large language models efficiently.
- Convergence Verification: Numerical results (Figures 5.1 and 5.2) show that as the width of an Adam-trained network increases, its training trajectory matches the theoretical $NE \otimes OR^\top$ prediction with high precision.
Limitations and Future Work
- Smoothness Assumptions: The current proofs require the activation functions and update rules to be "pseudo-Lipschitz" (smooth). This technically excludes the standard ReLU activation (which has a kink at zero), though the authors note that the theory likely applies to ReLU in practice and can be extended in future work.
- Training Time: The analysis considers training for a constant number of steps. Exploring the "infinite-time" limit alongside the infinite-width limit remains an open challenge.
- Complexity of Future Optimizers: While the framework covers Adam, Adafactor, and Lion, extremely exotic future optimizers might require even further extensions of the Tensor Program language.
Summary updated