Old Optimizer, New Norm: An Anthology

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Bernstein, Jeremy, Newhouse, Laker
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915050872111104
author Bernstein, Jeremy
Newhouse, Laker
author_facet Bernstein, Jeremy
Newhouse, Laker
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_20325
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Old Optimizer, New Norm: An Anthology
Bernstein, Jeremy
Newhouse, Laker
Machine Learning
Optimization and Control
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.
title Old Optimizer, New Norm: An Anthology
topic Machine Learning
Optimization and Control
url https://arxiv.org/abs/2409.20325