AI glossary · Machine learning

Gradient descent

Gradient descent is the method most AI models use to learn: it repeatedly nudges the model’s settings in the direction that reduces its errors.

Also called stochastic gradient descent, SGD, optimisation algorithm

In more detail

Picture walking down a foggy hill by always stepping in the steepest downward direction. The “hill” is the loss function, and each step adjusts the model’s parameters slightly.

Stochastic gradient descent (SGD) takes each step using a small random batch of examples, which is much faster on large datasets. The size of each step is the learning rate, a hyperparameter.

Browse related tools

AI tools listed on BroUseAI in these categories.

More in Machine learning · Full AI glossary