The Impact of the Mini-batch Size on the Variance of Gradients in Stochastic Gradient Descent
Not on the map. Why?
Abstract (arXiv)
The mini-batch stochastic gradient descent (SGD) algorithm is widely used in training machine learning models, in particular deep learning models. We study SGD dynamics under linear regression and two-layer linear networks, with an easy extension to deeper linear networks, by focusing on the variance of the gradients, which is the first study of this nature. In the linear regression case, we show that in each iteration the norm of the gradient is a decreasing function of the mini-batch size b and thus the variance of the stochastic gradient estimator is a decreasing function of b. For deep neural networks with L2 loss we show that the variance of the gradient is a polynomial in 1/b. The results back the important intuition that smaller batch sizes yield lower loss function values which is a common believe among the researchers. The proof techniques exhibit a relationship between stochastic gradient estimators and initial weights, which is useful for further research on the dynamics of SGD. We empirically provide further insights to our results on various datasets and commonly used deep network structures.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). First posted on arXiv 27 Apr 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 4; 2023: 4; 2024: 2; 2025: 4; 2026: 1.
16 papers.
Sort:
- 2022Green, Quantized Federated Learning over Wireless Networks: An Energy-Efficient Designcited by 15
- 2021Disparity Between Batches as a Signal for Early Stoppingcited by 9
- 2023An Automatic Learning Rate Schedule Algorithm for Achieving Faster Convergence and Steeper Descentcited by 9
- 2022Divergence Results and Convergence of a Variance Reduced Version of ADAMcited by 8
- 2023EPINN-NSE: Enhanced Physics-Informed Neural Networks for Solving Navier-Stokes Equationscited by 3
- 2024Efficient NeRF Optimization -- Not All Samples Remain Equally Hardcited by 3
- 2025Adaptive posterior distributions for uncertainty analysis of covariance matrices in Bayesian inversion problems for multioutput signalscited by 1
- 2025SIM-Shapley: A Stable and Computationally Efficient Approach to Shapley Value Approximationcited by 1
- 2025MoRel: Long-Range Flicker-Free 4D Motion Modeling via Anchor Relay-based Bidirectional Blending with Hierarchical Densificationcited by 1
- 2026Olivia: Harmonizing Time Series Foundation Models with Power Spectral Densitycited by 1
- 2022Distributed Multi-Agent Reinforcement Learning with One-hop Neighbors and Compute Straggler Mitigationcited by 0
- 2022Privacy-Preserving Wavelet Neural Network with Fully Homomorphic Encryptioncited by 0
4 more
- 2023Read the Signs: Towards Invariance to Gradient Descent's Hyperparameter Initializationcited by 0
- 2023Manifold Regularization for Memory-Efficient Training of Deep Neural Networkscited by 0
- 2024Robust Clustering on High-Dimensional Data with Stochastic Quantizationcited by 0
- 2025A Trainable Optimizercited by 0
- 2026Olivia: Harmonizing Time Series Foundation Models with Power Spectral Density17 May 2026
- 2025MoRel: Long-Range Flicker-Free 4D Motion Modeling via Anchor Relay-based Bidirectional Blending with Hierarchical Densification10 Dec 2025
- 2025A Trainable Optimizer3 Aug 2025
- 2025SIM-Shapley: A Stable and Computationally Efficient Approach to Shapley Value Approximation13 May 2025
- 2025Adaptive posterior distributions for uncertainty analysis of covariance matrices in Bayesian inversion problems for multioutput signals2 Jan 2025
- 2024Robust Clustering on High-Dimensional Data with Stochastic Quantization3 Sep 2024
- 2024Efficient NeRF Optimization -- Not All Samples Remain Equally Hard6 Aug 2024
- 2023An Automatic Learning Rate Schedule Algorithm for Achieving Faster Convergence and Steeper Descent17 Oct 2023
- 2023Manifold Regularization for Memory-Efficient Training of Deep Neural Networks26 May 2023
- 2023EPINN-NSE: Enhanced Physics-Informed Neural Networks for Solving Navier-Stokes Equations7 Apr 2023
- 2023Read the Signs: Towards Invariance to Gradient Descent's Hyperparameter Initialization24 Jan 2023
- 2022Divergence Results and Convergence of a Variance Reduced Version of ADAM11 Oct 2022
4 more
- 2022Green, Quantized Federated Learning over Wireless Networks: An Energy-Efficient Design19 Jul 2022
- 2022Privacy-Preserving Wavelet Neural Network with Fully Homomorphic Encryption26 May 2022
- 2022Distributed Multi-Agent Reinforcement Learning with One-hop Neighbors and Compute Straggler Mitigation18 Feb 2022
- 2021Disparity Between Batches as a Signal for Early Stopping14 Jul 2021
- 2022Green, Quantized Federated Learning over Wireless Networks: An Energy-Efficient Designcited by 15
- 2021Disparity Between Batches as a Signal for Early Stoppingcited by 9
- 2023An Automatic Learning Rate Schedule Algorithm for Achieving Faster Convergence and Steeper Descentcited by 9
- 2022Divergence Results and Convergence of a Variance Reduced Version of ADAMcited by 8
- 2023EPINN-NSE: Enhanced Physics-Informed Neural Networks for Solving Navier-Stokes Equationscited by 3
- 2024Efficient NeRF Optimization -- Not All Samples Remain Equally Hardcited by 3
- 2025Adaptive posterior distributions for uncertainty analysis of covariance matrices in Bayesian inversion problems for multioutput signalscited by 1
- 2025SIM-Shapley: A Stable and Computationally Efficient Approach to Shapley Value Approximationcited by 1
- 2025MoRel: Long-Range Flicker-Free 4D Motion Modeling via Anchor Relay-based Bidirectional Blending with Hierarchical Densificationcited by 1
- 2026Olivia: Harmonizing Time Series Foundation Models with Power Spectral Densitycited by 1
- 2022Distributed Multi-Agent Reinforcement Learning with One-hop Neighbors and Compute Straggler Mitigationcited by 0
- 2022Privacy-Preserving Wavelet Neural Network with Fully Homomorphic Encryptioncited by 0
12 most cited of 16 All 16 (JSON)
- 2026Olivia: Harmonizing Time Series Foundation Models with Power Spectral Density17 May 2026
- 2025MoRel: Long-Range Flicker-Free 4D Motion Modeling via Anchor Relay-based Bidirectional Blending with Hierarchical Densification10 Dec 2025
- 2025A Trainable Optimizer3 Aug 2025
- 2025SIM-Shapley: A Stable and Computationally Efficient Approach to Shapley Value Approximation13 May 2025
- 2025Adaptive posterior distributions for uncertainty analysis of covariance matrices in Bayesian inversion problems for multioutput signals2 Jan 2025
- 2024Robust Clustering on High-Dimensional Data with Stochastic Quantization3 Sep 2024
- 2024Efficient NeRF Optimization -- Not All Samples Remain Equally Hard6 Aug 2024
- 2023An Automatic Learning Rate Schedule Algorithm for Achieving Faster Convergence and Steeper Descent17 Oct 2023
- 2023Manifold Regularization for Memory-Efficient Training of Deep Neural Networks26 May 2023
- 2023EPINN-NSE: Enhanced Physics-Informed Neural Networks for Solving Navier-Stokes Equations7 Apr 2023
- 2023Read the Signs: Towards Invariance to Gradient Descent's Hyperparameter Initialization24 Jan 2023
- 2022Divergence Results and Convergence of a Variance Reduced Version of ADAM11 Oct 2022
12 newest of 16 All 16 (JSON)