[Paper Review] Scheduled Restart Momentum for Accelerated Stochastic Gradient Descent
This paper proposes Scheduled Restart Stochastic Gradient Descent (SRSGD), a novel optimization algorithm that integrates Nesterov-accelerated momentum with periodic momentum resets to stabilize training and accelerate convergence in deep neural networks. By replacing constant momentum with increasing Nesterov momentum that resets every fixed number of iterations, SRSGD achieves faster convergence and improved generalization, reducing ImageNet error from 22.13% (baseline SGD) to 20.93% on ResNet200.
Stochastic gradient descent (SGD) with constant momentum and its variants such as Adam are the optimization algorithms of choice for training deep neural networks (DNNs). Since DNN training is incredibly computationally expensive, there is great interest in speeding up the convergence. Nesterov accelerated gradient (NAG) improves the convergence rate of gradient descent (GD) for convex optimization using a specially designed momentum; however, it accumulates error when an inexact gradient is used (such as in SGD), slowing convergence at best and diverging at worst. In this paper, we propose Scheduled Restart SGD (SRSGD), a new NAG-style scheme for training DNNs. SRSGD replaces the constant momentum in SGD by the increasing momentum in NAG but stabilizes the iterations by resetting the momentum to zero according to a schedule. Using a variety of models and benchmarks for image classification, we demonstrate that, in training DNNs, SRSGD significantly improves convergence and generalization; for instance in training ResNet200 for ImageNet classification, SRSGD achieves an error rate of 20.93% vs. the benchmark of 22.13%. These improvements become more significant as the network grows deeper. Furthermore, on both CIFAR and ImageNet, SRSGD reaches similar or even better error rates with significantly fewer training epochs compared to the SGD baseline.
Motivation & Objective
- Address the instability and error accumulation issues in Nesterov-accelerated SGD (NASGD) when using inexact gradients in deep learning.
- Overcome the limitation of constant momentum in SGD, which fails to achieve the optimal O(1/k²) convergence rate of Nesterov's method in practice.
- Develop a practical optimization algorithm that combines the fast convergence of Nesterov momentum with the stability of periodic resets.
- Demonstrate significant improvements in training speed and model accuracy across deep networks, especially in deeper architectures.
- Provide theoretical analysis of error accumulation in NASGD and convergence guarantees for SRSGD.
Proposed method
- Introduce a scheduled restart mechanism that resets the momentum to zero every fixed number of iterations, stabilizing Nesterov momentum in stochastic settings.
- Replace constant momentum in SGD with a time-varying Nesterov momentum coefficient μ_k = (k-1)/(k+2), which increases over time to accelerate convergence.
- Implement a cyclic momentum update: v^{k+1} = w^k - s_k ∇f(w^k), w^{k+1} = v^{k+1} + μ_k (v^{k+1} - v^k), with periodic reset of the momentum buffer.
- Design a learning rate and momentum schedule that adapts to training progress, with momentum reset after a user-defined number of iterations.
- Integrate the algorithm into PyTorch and Keras frameworks with modular implementation for easy deployment in deep learning pipelines.
- Use a momentum buffer to track the previous velocity, enabling efficient computation of the Nesterov-style lookahead update.
Experimental results
Research questions
- RQ1Can Nesterov-accelerated momentum be stabilized in stochastic gradient descent for deep learning, despite its tendency to accumulate error with inexact gradients?
- RQ2Does periodic momentum reset improve convergence speed and generalization in deep neural network training compared to constant momentum or Adam?
- RQ3How does SRSGD perform on standard image classification benchmarks like CIFAR-10 and ImageNet, especially for deeper networks?
- RQ4What is the impact of the restart interval on training stability and final model accuracy?
- RQ5Can SRSGD achieve faster convergence with fewer training epochs while maintaining or improving test accuracy compared to SGD and Adam?
Key findings
- SRSGD reduces the top-1 error rate on ImageNet classification using ResNet200 from 22.13% (baseline SGD) to 20.93%, demonstrating significant generalization improvement.
- On CIFAR-10 and CIFAR-100, SRSGD achieves comparable or better test accuracy than SGD and Adam with significantly fewer training epochs.
- The performance gain of SRSGD becomes more pronounced as network depth increases, indicating stronger benefits for deeper architectures.
- SRSGD stabilizes the Nesterov momentum mechanism in stochastic settings, preventing divergence and mitigating error accumulation observed in standard NASGD.
- The algorithm achieves faster convergence, with training reaching lower loss values in fewer iterations due to the adaptive momentum scheduling.
- The scheduled restart mechanism effectively balances acceleration and stability, making Nesterov momentum practical for real-world deep learning training.
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.