Mini-Batch Gradient Descent
Category: Foundations of ML/AI
A gradient descent variant that computes parameter updates using a small random subset (mini-batch) of the training data.
Full Explanation
Mini-batch gradient descent is a compromise between batch gradient descent and stochastic gradient descent, computing gradients on small random subsets of the training data (typically 16 to 512 examples). This approach balances the stability of batch gradient descent with the computational efficiency and regularization benefits of SGD. Mini-batches enable efficient utilization of GPU parallelism and vectorized operations. The batch size is an important hyperparameter that affects convergence speed, generalization, and memory usage. Larger batches provide more stable gradient estimates but may lead to sharper minima. Mini-batch gradient descent is the de facto standard in modern deep learning training.
Related Terms
More in Foundations of ML/AI
Explore More
- AI Tools Library — Discover AI tools related to Mini-Batch Gradient Descent
- AI Education — Courses to learn about Foundations of ML/AI
- AI News — Latest news and updates