click the map to drop them somewhere new
Race step 0
Landscape
Step size
0.050
How far each step moves per unit of slope. Too small and nobody gets anywhere. Push it to the top on the narrow valley and plain SGD overshoots and blows up.
The three rules
sgd x ← x − lr·g
momentum v ← 0.9·v + g
x ← x − lr·v
x ← x − lr·v
adam m ← 0.9·m + 0.1·g
v ← 0.999·v + 0.001·g²
x ← x − lr·m̂/(√v̂+1e−8)
v ← 0.999·v + 0.001·g²
x ← x − lr·m̂/(√v̂+1e−8)
g is the exact slope at the current point — no sampling noise — so the only thing separating
the three paths is the update rule itself.