The Geometry of Sign Gradient Descent
Lukas Balles, Fabian Pedregosa, Nicolas Le Roux
TL;DR
The paper analyzes sign-based optimization methods and their relationship to Adam, arguing that analysis under $\,\ell_\infty$-smoothness is the natural and weaker framework for these methods. It proves that separable smoothness implies Linf-smoothness with $L_\infty=\sum_i l_i$, and that Linf-smoothness suffices for existing sign-based convergence results, thereby unifying prior work. By linking $L_\infty$ to Hessian properties, the authors show sign-based methods benefit when the Hessian is diagonally concentrated and the largest eigenvalue far exceeds the average, a regime common in deep networks. They also experimentally demonstrate that Adam behaves similarly to signSGD with momentum, suggesting the elementwise adaptivity plays a secondary role. Overall, the work offers a geometric understanding of when sign-based methods are advantageous and provides a unified theoretical framework with practical implications for deep learning optimization.
Abstract
Sign-based optimization methods have become popular in machine learning due to their favorable communication cost in distributed optimization and their surprisingly good performance in neural network training. Furthermore, they are closely connected to so-called adaptive gradient methods like Adam. Recent works on signSGD have used a non-standard "separable smoothness" assumption, whereas some older works study sign gradient descent as steepest descent with respect to the $\ell_\infty$-norm. In this work, we unify these existing results by showing a close connection between separable smoothness and $\ell_\infty$-smoothness and argue that the latter is the weaker and more natural assumption. We then proceed to study the smoothness constant with respect to the $\ell_\infty$-norm and thereby isolate geometric properties of the objective function which affect the performance of sign-based methods. In short, we find sign-based methods to be preferable over gradient descent if (i) the Hessian is to some degree concentrated on its diagonal, and (ii) its maximal eigenvalue is much larger than the average eigenvalue. Both properties are common in deep networks.
