08
8 minute interactive lab
Backpropagation
Who gets blamed for a wrong answer?
YOU’LL LEAVE KNOWINGThe chain rule assigns each weight its share of the error.
THE EXPERIMENT
Trace responsibility through the network.
Move the controls. Watch the internal state respond. The explanation follows the behavior—not the other way around.
Runs the real small-scale equationThe displayed values are calculated from the formula shown in this lesson.
BACKWARD PASSSend the gradient backward
This uses sigmoid plus binary cross-entropy: dL/dz = prediction − target, then dL/dwᵢ = dL/dz × hᵢ.
prediction64%
→target85%
h10.9w10.70
dL/dw -0.187h20.5w2-0.25
dL/dw -0.104h30.2w30.40
dL/dw -0.042cross-entropy · dL/dz0.531 · -0.208
The chain rule assigns each weight its share of the error.
Backpropagation starts with the output error and works backward. The chain rule measures how sensitive the result was to every activation and weight, assigning larger updates to paths that mattered more.
IN DEVELOPER TERMS
gradient_w = error × local_sensitivityGO DEEPER
Check the model against the source.
Connectionism optimizes for intuition, then points you to the rigorous treatment.
How does meaning become geometry?