Old Optimizer, New Norm: An Anthology
Jeremy Bernstein, Laker Newhouse
TL;DR
The paper reframes three popular deep-learning optimizers—Adam, Shampoo, and Prodigy—as fundamentally first-order steepest-descent methods under carefully chosen layerwise norms, discarding convexity or second-order assumptions. It shows Adam without EMA is equivalent to sign descent under a max-of-max norm, Shampoo without accumulation corresponds to spectral-norm steepest descent and a projection to semi-orthogonal matrices, and Prodigy without EMA behaves as sign descent with an adaptive step size that aims for escape velocity. A modular norm framework is introduced to assign different norms to different layers, enabling principled optimizer design that accounts for the role of each tensor in the network. The work also provides computational strategies for Shampoo and rigorous proofs of the core steepest-descent connections, highlighting a new design space where choosing the right norm and step size drives training stability, scalability, and speed.
Abstract
Deep learning optimizers are often motivated through a mix of convex and approximate second-order theory. We select three such methods -- Adam, Shampoo and Prodigy -- and argue that each method can instead be understood as a squarely first-order method without convexity assumptions. In fact, after switching off exponential moving averages, each method is equivalent to steepest descent under a particular norm. By generalizing this observation, we chart a new design space for training algorithms. Different operator norms should be assigned to different tensors based on the role that the tensor plays within the network. For example, while linear and embedding layers may have the same weight space of $\mathbb{R}^{m\times n}$, these layers play different roles and should be assigned different norms. We hope that this idea of carefully metrizing the neural architecture might lead to more stable, scalable and indeed faster training.
