Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2006/iii/paper-84/2/a/solution
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 84 2 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Apply the chain rule to the squared loss, using the same pre-update weights throughout a forward and backward pass. At the output, and . ThereforeFor a gradient descent step of size , define . This gives .
A hidden activation affects all output units to which it connects. ThusandThe learning rate is already contained in and hence in ; do not multiply by it a second time. For a sigmoid function, . Thresholds can be treated as negative biases with an extra constant input and updated by the same derivative rule.
This is squared-error backpropagation. The forward pass computes activations, while the backward pass transports output-loss derivatives through the outgoing weights and the derivatives of the activation functions, yielding an error signal for every hidden unit. That reverse flow of derivatives explains the name backpropagation.
New to topics? Read the docs here!