Backpropagation

Deep Learning

Backpropagation is the learning mechanism that transforms neural networks from hopeless guessers into precise problem-solvers. The name reveals the principle: 'backward propagation of errors.' When a network makes a wrong prediction, the error travels systematically backward through all layers — backpropagation calculates how much each parameter contributed to the error. It's like a detective process: the system analyzes which weight in which layer contributed how strongly to the error. Mathematically, backpropagation uses the chain rule of calculus to compute gradients efficiently — without this technique, deep learning models would be practically untrainable. Together with gradient descent, backpropagation forms the core of machine learning: backpropagation computes the gradient (the direction of steepest error increase), gradient descent follows the negative gradient — that is, toward improvement — and executes the actual optimization step that adjusts the parameters.

Example

An image recognition model incorrectly classifies a dog as a cat. Backpropagation analyzes: which neurons led to this error? It determines that the 'ear-shape detectors' were weighted too weakly, and systematically strengthens those connections for future dog recognition.

Also known as

Backward Propagation, Error Backpropagation

Used in

Back to the glossary