[Paper Review] Accelerating Stochastic Training for Over-parametrized Learning
This paper proposes MaSS, a modified Nesterov SGD with a compensation term that ensures convergence under the same step sizes as standard SGD while achieving accelerated convergence rates across all mini-batch sizes. In the linear setting, MaSS matches the optimal Nesterov acceleration rate in the full-batch case and outperforms SGD, Nesterov SGD, and Adam in deep network experiments.
Nesterov SGD is widely used for training modern neural networks and other machine learning models. Yet, its advantages over SGD have not been theoretically clarified. Indeed, as we show in our paper, both theoretically and empirically, Nesterov SGD with any parameter selection does not in general provide acceleration over ordinary SGD. Furthermore, Nesterov SGD may diverge for step sizes that ensure convergence of ordinary SGD. This is in contrast to the classical results in the deterministic scenario, where the same step size ensures accelerated convergence of the Nesterov's method over optimal gradient descent. To address the non-acceleration issue, we introduce a compensation term to Nesterov SGD. The resulting algorithm, which we call MaSS, converges for same step sizes as SGD. We prove that MaSS obtains an accelerated convergence rates over SGD for any mini-batch size in the linear setting. For full batch, the convergence rate of MaSS matches the well-known accelerated rate of the Nesterov's method. We also analyze the practically important question of the dependence of the convergence rate and optimal hyper-parameters on the mini-batch size, demonstrating three distinct regimes: linear scaling, diminishing returns and saturation. Experimental evaluation of MaSS for several standard architectures of deep networks, including ResNet and convolutional networks, shows improved performance over SGD, Nesterov SGD and Adam.
Motivation & Objective
- To resolve the theoretical and empirical inconsistency in Nesterov SGD's performance, which fails to accelerate and may diverge despite its success in deterministic settings.
- To identify why Nesterov SGD does not provide acceleration in stochastic over-parametrized settings, contrary to classical deterministic results.
- To design a modified algorithm that retains Nesterov's momentum benefits while ensuring convergence and acceleration in stochastic training.
- To analyze the dependence of convergence rate and optimal hyper-parameters on mini-batch size, revealing three distinct scaling regimes.
- To empirically validate MaSS across standard deep learning architectures, demonstrating consistent improvements over SGD, Nesterov SGD, and Adam.
Proposed method
- Introduce a compensation term to Nesterov SGD to correct the momentum update and stabilize convergence under the same step sizes as standard SGD.
- Formulate MaSS as a modified update rule that combines Nesterov momentum with a correction term derived from the gradient difference between current and past iterates.
- Prove that MaSS achieves accelerated convergence rates in the linear model setting, matching the optimal Nesterov rate in the full-batch case.
- Analyze the convergence rate and optimal step size dependence on mini-batch size, identifying linear scaling, diminishing returns, and saturation regimes.
- Implement MaSS in standard deep learning frameworks and evaluate it on ResNet and convolutional networks with standard hyper-parameter settings.
Experimental results
Research questions
- RQ1Why does Nesterov SGD fail to provide acceleration in stochastic over-parametrized learning, despite its success in deterministic optimization?
- RQ2Can a modified version of Nesterov SGD be constructed that ensures convergence under the same step sizes as SGD while achieving acceleration?
- RQ3How does the convergence rate and optimal hyper-parameter selection of MaSS scale with mini-batch size across different regimes?
- RQ4Does MaSS outperform SGD, Nesterov SGD, and Adam in practice on standard deep learning benchmarks?
Key findings
- MaSS achieves accelerated convergence rates over SGD in the linear setting for any mini-batch size, with the full-batch rate matching the classical Nesterov acceleration rate.
- Nesterov SGD with any parameter choice does not in general accelerate over SGD and may diverge for step sizes that ensure SGD convergence.
- The proposed compensation term in MaSS stabilizes training and enables convergence under the same step sizes as standard SGD.
- The dependence of convergence rate and optimal step size on mini-batch size exhibits three distinct regimes: linear scaling, diminishing returns, and saturation.
- Empirical results on ResNet and convolutional networks show MaSS outperforms SGD, Nesterov SGD, and Adam in training accuracy and generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.