← Library · Core concept

Backpropagation

Backpropagation is a core algorithm used to train artificial neural networks efficiently. It calculates the gradient of the loss function with respect to each weight in the network, propagating the error backward from the output layer to the input layer. This gradient information is then used by an optimization algorithm, like gradient descent, to adjust the weights and improve the model's performance by minimizing the error.

In plain terms

Imagine a coach reviewing a team's performance, identifying where mistakes were made, and then telling each player how to adjust their specific actions to improve for the next game.

Why it matters

It's the fundamental mechanism enabling complex neural networks to learn from data and achieve impressive results in AI.

Learn one new AI thing every day.

Daily Deck sends you seven plain-English cards like this every morning. Free.

Start free