LearnBenchStart learning →

AI Research Scientist · Deep Network Training Basics

Backpropagation through deep networks

Real lesson card · Page 1 of 4

Backpropagation through deep networks

Backpropagation

Backpropagation is the chain-rule algorithm that computes the gradient of the loss LL with respect to every parameter in a multi-layer network by propagating that gradient backward through the computation graph.
Example
To get L/w1\partial L/\partial w_1 for a weight three layers deep, backprop multiplies the local derivatives along the graph path from LL back to w1w_1.

Recall check from the same lesson

During the backward pass, if you discard the cached intermediate values from the forward pass, you can still compute correct gradients as long as you know the final loss value.

Sources

· Editorial policy

One sitting · 20–30 minutes

A focused session on your AI Research Scientist interview

LearnBench starts from what you already know — skip what you have, master what you’re missing.

Start now

More Deep Network Training Basics questions