Flatland: The Adventures of Gradient Descent with Large Step Sizes
Abstract
Lay Summary
Training a neural network depends heavily on choosing the correct learning rate. Our work studies how to safely use very large learning rates for gradient descent. We give a new practical meaning to "large" learning rates that does not rely on unrealistic assumptions about the whole loss landscape. We also design adaptive first-order methods that automatically find such large learning rates during training. These methods make training operate at the "edge of stability," where the loss no longer decreases smoothly but instead oscillates while still making progress. Surprisingly, this behavior can push the network into extremely flat regions of the loss landscape. While flatness is often thought to be good for generalization, our work shows that becoming too flat too early can actually hurt training, as the network may get stuck before it learns useful features. Finally, we show that slightly limiting these large learning rates can help avoid these overly flat saddle regions. This lets gradient descent move through somewhat sharper but more useful valleys, improving training success and test accuracy. Overall, the work gives both theory and a practical method for choosing very large learning rates safely.