Anisotropic gradient descent: the zig-zag problem

A tilted bowl, steep along one axis and shallow along another. One shared learning rate fights itself; per-axis rates help, but only fully fix it when the tilt is zero.

An animated view of gradient descent on a tilted, elongated quadratic bowl, switchable between a 1D per-axis slice, a 2D contour map, and a 3D wireframe surface.
A small time series of the two gradient components, g_x and g_y, over recent steps.
a:1 20 tilt −25°
0.030
z=(x,y). L(z) = ½zTQz, Q has eigenvalues a and 1 along axes rotated by the tilt. Per-axis rates can't fully fix a nonzero tilt. Drag the 3D surface to rotate it.