AI Terms Dictionary

A comprehensive multilingual AI terminology dictionary

Definition

Batch size is a critical hyperparameter that determines how many samples are processed before the model’s internal parameters are updated. A larger batch size provides a more accurate estimate of the gradient, leading to stable convergence but requiring more memory and potentially generalizing poorly. Conversely, smaller batch sizes introduce noise into the gradient estimation, which can help escape local minima but may result in noisier convergence paths and longer training times due to frequent updates.

Summary

The number of training examples utilized in one iteration of the stochastic gradient descent algorithm.

Key Concepts

Use Cases