In neural network training, what is backpropagation?
Show the answer and explanation
Correct answer: C, An algorithm that computes the loss gradient for every weight by propagating error signals backward through the layers.
Explanation Backpropagation
Backpropagation is the algorithm that computes the gradient of the loss with respect to every weight. After the forward pass has produced the loss, it moves backward layer by layer, applying the chain rule and reusing intermediate results, so all gradients are obtained at a cost of the same order as the forward pass.
Why the other descriptions are wrong:
- Deciding how far to move each weight is the job of the optimizer (SGD, Adam). Backprop only supplies the gradients the optimizer uses.
- Sending inputs through the layers to get predictions and the loss is the forward pass, which happens before backprop.
- Nudging each weight and re-measuring the loss is numerical (finite-difference) differentiation. It needs extra forward passes for every weight, so it is far too slow for training and is used mainly to check gradients.
Interview tip: separate the two steps clearly: backprop computes ∇L, then the optimizer uses ∇L to update the weights.