Stochastic Gradient Descent (SGD)

A core method for training neural networks: nudge the model toward fewer errors, using a small random batch of data at each step.

Technically: Stochastic Gradient Descent approximates the loss gradient from a randomly sampled mini-batch each step, trading accuracy for speed. The update theta <- theta - eta*grad L underlies all modern deep-learning optimizers. Adaptive methods like Adam often supersede it, but SGD with momentum stays competitive in vision, and its noise biases models toward flatter minima.

Category: Training & Optimization

Related ideas