Plays from YouTube. Watch on YouTube
How does a neural network actually learn from its mistakes?
Meet Backpropagation — Neural Networks Part 2, where we break down the mathematics behind training neural networks.
We start with computation graphs and the chain rule, then follow gradients backward through weights, biases, activation functions, and multiple hidden layers.
From there, we explore gradient descent, regularization, numerical gradient checking, automatic differentiation, and vector-Jacobian products (VJPs), the foundations of modern deep learning frameworks like PyTorch.
Finally, we build a miniature autodiff engine to see how gradients are computed automatically.
The big idea: Backpropagation isn't magic. It's the chain rule applied systematically through a computation graph.
Machine learning explained visually, one concept at a time.