How does mini-batch gradient descent bridge the gap between SGD and batch GD?
Asked 02 Dec 2026 · 1 views · About: Stochastic Gradient Descent: A Deep Dive for ML Practitioners
This question focuses on a common compromise in practice. It investigates how mini-batch GD balances speed and stability.
3 Answers
Mini-batch GD uses small batches of data (e.g., 32, 64 samples) to estimate the gradient. This provides a more stable gradient estimate than SGD but is faster than Batch GD.
Answered 02 Dec 2026 ·
It offers a good trade-off between computational efficiency and convergence stability. The batch size influences the noise level in the gradient estimates.
Answered 02 Dec 2026 ·
Mini-batching leverages vectorized operations for efficient computation, making it highly scalable to modern hardware.
Answered 02 Dec 2026 ·