The optimizer race
Five optimizers race down one loss surface with a ravine and a saddle point.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moExplain it simply
The map shows the loss L for every pair of weights. Darker means higher. Each of 8 examples tilts the surface a bit, and L is their average. Gradient descent steps downhill, times the learning rate. It zigzags across the steep walls. Then the floor is nearly flat, so it crawls past the saddle point.
A contour map of L with a saddle at (0, 0) and minima at (2, 0) and (−2, 0). GD starts at (0.02, 1.2) with learning rate 0.08. It reaches w₁ = 1 at step 53, and its loss at step 100 is < 0.0001.
Step against the gradient of the mean loss, scaled by η.
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.