Backpropagation · Explore together
Follow the gradient
Follow values forward, sensitivities backward, and then make one weight update.
One person controls the experiment. The other predicts and questions. Swap roles after a trial.
One input. One weight. Follow the chain rule.
Scroll across the diagram to follow the whole calculation.
Will increasing w increase or decrease the loss at w = 1? Explain before tracing.
The weight stays fixed throughout the forward and backward passes.
Check the chain rule
dL/dw = (dL/de)(de/dŷ)(dŷ/dw) = 2e · 1 · x. With e = −4 and x = 2, the gradient is −16.
The update is separate: w ← w − η(dL/dw). The graph’s weight changes only when you choose Apply update.
Compare your evidence
What can you explain now?
Ask your partner to restate your reasoning. An experiment suggests a pattern; your explanation should say why it holds and when it applies.
- Why does each backward step multiply two derivatives?
- What stays fixed while the backward pass runs?
- Can a correct gradient still lead to a worse loss after an update?