# Backpropagation

- **Canonical URL:** https://getaimath.com/dictionary/backpropagation/
- **Topics:** [AI & Machine Learning Fundamentals](https://getaimath.com/dictionary/category/ai-and-machine-learning-fundamentals/)
- **Last updated:** 2026-11-25

## What is Backpropagation?

**In one sentence:** Backpropagation is the method a neural network uses to figure out which of its numbers caused a mistake, so it can fix them.

After the network makes a wrong guess, the error is sent backward through the layers, from the output to the input. Along the way, each connection learns how much it contributed to the mistake. Then gradient descent nudges each one in the right direction.

![Training vs. Inference: Studying Flashcards vs. Taking the Test — Simple cartoon diagram comparing AI Training (studying 1,000 flashcards and fixing mistakes until the brain learns the pattern) with AI Inference (answering a brand-new question in 1 second on test day).](https://getaimath.com/diagrams/ai-and-machine-learning-fundamentals.png)
*Napkin Diagram (AI & Machine Learning Fundamentals): Training is the long study session where the AI learns from examples; inference is test day when you actually use it.*

## What is an example of Backpropagation?

If a network mislabels a dog as a cat, backpropagation traces back which connections pushed it toward "cat" and weakens them.

## Why does Backpropagation matter?

Backpropagation is what makes training deep neural networks possible at all.

## Related Concepts

- [Gradient Descent](https://getaimath.com/dictionary/gradient-descent/): Gradient descent is a method for training models by repeatedly taking small steps in the direction that reduces mistakes the most.
- [Weights](https://getaimath.com/dictionary/weights/): Weights are the numbers inside a neural network that decide how much each input matters.
- [Optimization](https://getaimath.com/dictionary/optimization/): Optimization is the process of adjusting a model's numbers step by step to make its mistakes as small as possible.
- [Bias](https://getaimath.com/dictionary/bias/): "Bias" has two meanings in AI: a small extra number inside each neuron, and unfair patterns a model picks up from its data.
- [Loss Function](https://getaimath.com/dictionary/loss-function/): A loss function is a formula that measures how wrong a model's answer is, giving one number to make smaller.
- [Parameters](https://getaimath.com/dictionary/parameters/): Parameters are all the numbers a model learns during training, mainly its weights and biases.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/backpropagation/)
