Relationship between Batch Size and Number of Steps Needed for Nonconvex Optimization of Stochastic Gradient Descent using Armijo Line Search
Not on the map. Why?
Abstract (arXiv)
While stochastic gradient descent (SGD) can use various learning rates, such as constant or diminishing rates, the previous numerical results showed that SGD performs better than other deep learning optimizers using when it uses learning rates given by line search methods. In this paper, we perform a convergence analysis on SGD with a learning rate given by an Armijo line search for nonconvex optimization indicating that the upper bound of the expectation of the squared norm of the full gradient becomes small when the number of steps and the batch size are large. Next, we show that, for SGD with the Armijo-line-search learning rate, the number of steps needed for nonconvex optimization is a monotone decreasing convex function of the batch size; that is, the number of steps needed for nonconvex optimization decreases as the batch size increases. Furthermore, we show that the stochastic first-order oracle (SFO) complexity, which is the stochastic gradient computation cost, is a convex function of the batch size; that is, there exists a critical batch size that minimizes the SFO complexity. Finally, we provide numerical results that support our theoretical results. The numerical results indicate that the number of steps needed for training deep neural networks decreases as the batch size increases and that there exist the critical batch sizes that can be estimated from the theoretical results.
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 13 of its 34 references that are in the map. First posted on arXiv 25 Jul 2023.
Builds on
13 of 34 references.
References · 13
- 2014Adam: A Method for Stochastic Optimizationcited by 37,093
- 2016Wide Residual Networkscited by 3,063
- 2019On the Convergence of Adam and Beyondcited by 837
- 2018Lipschitz regularity of deep neural networks: analysis and efficient estimationcited by 413
- 2018Measuring the Effects of Data Parallelism on Neural Network Trainingcited by 193
- 2020Stochastic Polyak Step-size for SGD: An Adaptive Learning Rate for Fast Convergencecited by 137
- 2019Painless Stochastic Gradient: Interpolation, Line-Search, and Convergence Ratescited by 119
- 2019Which Algorithmic Choices Matter at Which Batch Sizes? Insights From a Noisy Quadratic Modelcited by 116
- 2019Convergence rates for the stochastic gradient descent method for non-convex objective functionscited by 66
- 2023Don't be so Monotone: Relaxing Stochastic Line Search in Over-Parameterized Modelscited by 15
- 2022Existence and Estimation of Critical Batch Size for Training Generative Adversarial Networks with Two Time-Scale Update Rulecited by 8
- 2022Conjugate Gradient Method for Generative Adversarial Networkscited by 1
Built on by
Not cited yet.