Backpropagation – why it works

Once a network has more than one layer, the perceptron update rule is no longer enough. Backpropagation is the chain-rule applied to a composition of layers: the error is computed at the output and then sent backward, so every weight learns how much it contributed to the final loss. This is the same idea as gradient descent from Part II, only now the gradient is assembled layer by layer instead of being written by hand.