02
Local slopes, global consequences
At each operation, multiply the sensitivity arriving from the loss by a derivative of that operation.
What a derivative says
A derivative is a local sensitivity. Writing means that a tiny increase in , with other parameters fixed, changes loss at about −1.5 times that increase. It is neither a weight value nor a command to add −1.5.
For , the first-order estimate is . This approximation concerns sufficiently small changes in a differentiable region; it is not an exact finite-step promise. BP-C15
We use compact notation: . Read “q-bar” as the sensitivity of the loss to q. It is an intermediate derivative, often called an adjoint; it is not the forward value .
Multiply along a route
Suppose , and the loss depends on . The chain rule connects the small operation’s derivative to the loss:
Seed the calculation with : the sensitivity of to itself is one. For , the local derivative is . Thus . Since , its derivative with respect to is one, so .
| Operation | Local slope | Loss sensitivity |
|---|---|---|
| 1 for each input |
At the addition , each local derivative is one. Each branch receives the same incoming sensitivity, −0.5. The forward sum does not divide it between its inputs. At multiplication , the local derivative with respect to is ; with respect to it is .
The official autograd explanation describes reverse-mode differentiation as applying the chain rule over recorded operations. BP-C01–02
Keep the two derivatives separate
The local derivative says how changes with . The loss sensitivity contributed through that branch is . Forgetting the incoming factor confuses an operation’s behavior with its effect on the objective.
There is another issue: also changes the second branch. We have found one contribution, so we are not ready to propagate backward through ReLU yet.