Imagine you're standing in a mountain range and need to find the lowest valley. A full gradient step tells you the steepest downhill direction in all dimensions at once — useful, but expensive when the landscape has millions of dimensions. Coordinate descent takes a simpler route: at every step it picks one coordinate axis, finds the minimum along that line, moves there, then moves to the next axis and repeats.
The path zigzags, sometimes frustratingly so. But each individual step is cheap — often just a closed-form formula — and after enough cycles the zigzag converges on the valley floor.
This approach is not a hack. For many functions the mathematics guarantees convergence to the global minimum, and for some important problems — like the Lasso regression in statistics — cycling through coordinates one by one gives the exact solution faster than any joint method. The simplicity that looks like a limitation is the source of its power.
Comments
Loading comments...