Backpropagation (1986) › What is Backpropagation?

Michael BrenndoerferMarch 5, 20252 min read
History of Language AIAll chapters
Part 2 of 9The Statistical Turn
Chapter 18Backpropagation (1986) › What is Backpropagation?
Reading section 3 of 8 · What is Backpropagation? · 2 minSection 3 of 8 · 2 min

Book contents

Section 3 of 8 · 2 min read

Backpropagation (1986) › What is Backpropagation?One section · Sections in this chapter3 / 8 ↓
Reading tools Definitions & inline links

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Backpropagation solved the credit assignment problem with a surprisingly elegant idea: work backward through the network, calculating exactly how much each weight contributed to the error. The insight was that you could trace the error signal backward from the output layer through each hidden layer, decomposing the total error into contributions from individual connections. At each layer, you could determine precisely how changing a particular weight would affect the final output.

Technically speaking, backpropagation is an algorithm that efficiently computes the gradients of the loss function with respect to each weight in a neural network. The loss function measures how wrong the network's predictions are, and the gradient tells you how to adjust each weight to reduce that wrongness. In more practical terms, backpropagation figures out which weights to adjust, by how much, and in which direction to reduce errors. It transforms the opaque, seemingly intractable problem of training deep networks into a systematic, computational process that a computer can execute efficiently.

The Four Key Steps

So how does backpropagation work in practice? It boils down to four steps:

  1. Forward pass: Run your input through the network to get a prediction
  2. Compute loss: Calculate how wrong the prediction is
  3. Backward pass: Work backward through the network, figuring out how much each weight contributed to the error
  4. Update weights: Adjust each weight based on its contribution to the error

The mathematical trick that makes this possible is the chain rule from calculus, a principle you might remember from introductory calculus courses. The chain rule provides a way to decompose complicated derivatives into simpler pieces that can be computed step by step. In the context of neural networks, it lets you efficiently compute how each weight, no matter how deep in the network, affects the final output. You start with the error at the output layer and systematically work backward, using the chain rule to propagate that error signal through each layer. A calculation that might appear to require exponentially many operations can be done in linear time, making deep networks practical to train. This computational efficiency made training deep networks feasible.