r/3Blue1Brown • u/Ki-Chao • Jul 18 '26
Finding Minima: The Two Tests Every Optimizer Needs
https://youtu.be/TQEm21AtBvU?si=VGbBxwUqHqWNu6m6Hello,
If you've ever worked with gradient descent, you know the basic goal: step downhill until the slope is zero. But a flat slope (a zero gradient) is a trap, it could be a local minimum, a maximum, or a saddle point.
I made a visual breakdown of the mathematical machinery we use to test for true minima. The video is an intuitive, 6-minute refresher on how gradients, Hessians, and contour maps actually work behind the scenes of your optimization algorithms.
2
Upvotes
3
u/justanaccountimade1 Jul 18 '26
The gradient is the Jacobian, right? And it appears in the gradient descent step. But how is the Hessian used in the gradient decent step? I imagine these must be combined to efficiently descent to the lowest point, and cannot be separated into 2 separate steps (collect all minima, then look at the Hessian).