intuitiveai

Backpropagation

Backpropagation

How neural networks learn using the chain rule.

For a small example, evaluate y = (2x + 1)^2 at the input x = 1. Run the forward values, propagate derivative 2u backward through u = 2x + 1, and verify with a small perturbation.

In practice

A two-layer classifier refuses to learn. Inspect forward activations and gradient norms, compare autodiff with a numerical check, then isolate saturation or shape errors.

Initializing Interactive Playground...

Experiment notes

Record your experiment

Predict the sign of one weight update before the backward pass starts.

Feedback & sharing

Helpful?