What is backpropagation?
The algorithm that computes the gradient of the loss for every parameter by applying the chain rule backwards through the network, one operation at a time.
Where it is taught
Backpropagation by hand. Run a tiny model forwards to get its error, then send the blame backwards with the chain rule. This is how every network finds its gradient.
What the lesson leaves you with
- Forward pass: compute and store every intermediate value, ending with the loss.
- Backward pass: walk the steps in reverse, multiplying by each step's local slope.
- One forward and one backward pass give the gradient for every parameter at once.
Questions
- What is backpropagation?
- The algorithm that computes the gradient of the loss for every parameter by applying the chain rule backwards through the network, one operation at a time.
- Where is backpropagation used in AI?
- Run a tiny model forwards to get its error, then send the blame backwards with the chain rule. This is how every network finds its gradient.
- What is the key idea to remember about backpropagation?
- Forward pass: compute and store every intermediate value, ending with the loss.
- Where can I learn backpropagation step by step?
- In the lesson “Backpropagation by hand” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.