Old Optimizer, New Norm: An Anthology

Jeremy Bernstein, Laker Newhouse
9/30/2024
cs.LGmath.OC

No confident code implementation found for this paper. 1 possible match can be shown below.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bernstein2024optimizer,
  title  = {Old Optimizer, New Norm: An Anthology},
  author = {Jeremy Bernstein and Laker Newhouse},
  year   = {2024},
  eprint = {2409.20325},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.20325v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.20325.svg)](https://codeofpaper.com/paper/2409.20325)

Discussion