# Gradient descent

Canonical page: https://www.theglitch.ai/ai-glossary/gradient-descent

The basic training loop: measure the error, nudge every parameter slightly in the direction that reduces it, repeat.

[Gradient descent, common card \#100 in The Glitch AI glossary: The basic training loop: measure the error, nudge every parameter slightly in the direction that reduces it, repeat.](https://www.theglitch.ai/images/cards/glossary/gradient-descent.png?v=f52cb643318da61e)

GLS 100 · common

For: Builders

## Why it matters

It is how almost every neural network learns, from tiny classifiers to frontier models.

## In practice

Over millions of small steps, the model’s error on its training examples keeps falling.

## Watch for

It finds good, not perfect, settings; results depend on data and setup.

## Related terms

[Backpropagation](https://www.theglitch.ai/ai-glossary/backpropagation) · [Training](https://www.theglitch.ai/ai-glossary/training) · [Parameters](https://www.theglitch.ai/ai-glossary/parameters)

## Sources

- [Wikipedia: Gradient descent](https://en.wikipedia.org/wiki/Gradient_descent)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
