aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 15. Introductory Neural Networks
Lesson 9 of 14 12 min · 169 words

Backpropagation

The chain rule applied backwards through the graph.

Backpropagation computes the gradient of the loss with respect to every weight in one backward pass, using the chain rule. It starts at the loss and moves backwards layer by layer, reusing results so the cost is about the same as one forward pass.

For layer , define the error signal . Then:

Because gradients are products of many factors, they can vanish (factors < 1, e.g. saturated sigmoids) or explode (factors > 1) in deep networks. ReLU, careful initialisation (Xavier, He), batch normalisation, residual connections and gradient clipping all fight this.

Formula to remember

L2 pooling

Slides

L2 norm of each pooling region R.

Quick check · +5 XP

ReLU(−3) equals…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser