Stochastic Gradient Descent (SGD)
Also known as: SGD
Category: Foundations of ML/AI
A variant of gradient descent that updates parameters using the gradient computed from a single randomly selected training example.
Full Explanation
Stochastic gradient descent (SGD) updates model parameters based on the gradient of the loss computed from one training example at a time, rather than the full dataset. This introduces noise into the optimization process, which can help escape local minima and often leads to better generalization. SGD is much faster per iteration than batch gradient descent and can begin making progress before seeing the entire dataset. The noise from random sampling provides an implicit regularization effect. In practice, SGD is often enhanced with momentum, learning rate schedules, and other techniques to improve convergence. Despite the development of more sophisticated optimizers like Adam, SGD with momentum remains competitive for training many models, particularly in computer vision.
Related Terms
More in Foundations of ML/AI
Explore More
- AI Tools Library — Discover AI tools related to Stochastic Gradient Descent (SGD)
- AI Education — Courses to learn about Foundations of ML/AI
- AI News — Latest news and updates