Training Deep Learning Models with Norm-Constrained LMOs
Thomas Pethick, Wanyun Xie, Kimon Antonakopoulos, Zhenyu Zhu, Antonio Silveti-Falls, Volkan Cevher
TL;DR
The paper introduces a norm-aware optimization framework for training deep networks using an LMO over norm-balls. It unifies several non-Euclidean methods under the stochastic Conditional Gradient umbrella, proposes Constrained and Unconstrained Scion variants, and provides theoretical convergence guarantees with width-invariant hyperparameters. The main practical payoff is Scion’s memory efficiency and transferability of learning rates across model sizes, demonstrated by substantial speedups on NanoGPT and successful scaling to GPT-3B and Vision tasks. The work also introduces ALMOND as a related LMO-based method for large-batch training and develops thorough analyses to support its empirical effectiveness.
Abstract
In this work, we study optimization methods that leverage the linear minimization oracle (LMO) over a norm-ball. We propose a new stochastic family of algorithms that uses the LMO to adapt to the geometry of the problem and, perhaps surprisingly, show that they can be applied to unconstrained problems. The resulting update rule unifies several existing optimization methods under a single framework. Furthermore, we propose an explicit choice of norm for deep architectures, which, as a side benefit, leads to the transferability of hyperparameters across model sizes. Experimentally, we demonstrate significant speedups on nanoGPT training using our algorithm, Scion, without any reliance on Adam. The proposed method is memory-efficient, requiring only one set of model weights and one set of gradients, which can be stored in half-precision. The code is available at https://github.com/LIONS-EPFL/scion .
