OCLGNASep 29, 2022

NAG-GS: Semi-Implicit, Accelerated and Robust Stochastic Optimizer

arXiv:2209.14937v25 citationsh-index: 51
AI Analysis

This work addresses the need for robust and accelerated optimization algorithms in machine learning, offering incremental improvements over existing methods for training models across various domains.

The authors tackled the problem of training machine learning models by proposing NAG-GS, a novel stochastic optimizer based on an accelerated Nesterov-like SDE and semi-implicit discretization, which achieves competitive performance with state-of-the-art methods like momentum SGD and AdamW on tasks such as logistic regression, ResNets, Transformers, and Vision Transformers.

Classical machine learning models such as deep neural networks are usually trained by using Stochastic Gradient Descent-based (SGD) algorithms. The classical SGD can be interpreted as a discretization of the stochastic gradient flow. In this paper we propose a novel, robust and accelerated stochastic optimizer that relies on two key elements: (1) an accelerated Nesterov-like Stochastic Differential Equation (SDE) and (2) its semi-implicit Gauss-Seidel type discretization. The convergence and stability of the obtained method, referred to as NAG-GS, are first studied extensively in the case of the minimization of a quadratic function. This analysis allows us to come up with an optimal learning rate in terms of the convergence rate while ensuring the stability of NAG-GS. This is achieved by the careful analysis of the spectral radius of the iteration matrix and the covariance matrix at stationarity with respect to all hyperparameters of our method. Further, we show that NAG- GS is competitive with state-of-the-art methods such as momentum SGD with weight decay and AdamW for the training of machine learning models such as the logistic regression model, the residual networks models on standard computer vision datasets, Transformers in the frame of the GLUE benchmark and the recent Vision Transformers.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes