Definition

To minimize : gradient descent uses the full gradient, . SGD picks a random and uses only its gradient.

Formula

with step size (learning rate) .

The perceptron is SGD with on the linear loss, visiting the points in order. SGD does not pick just any minimizer of the empirical risk: it has an implicit bias, which later lectures use (stability of SGD, implicit regularization).

Appears in