Training Instabilities Induce Flatness Bias in Gradient Descent
Lawrence Wang, Stephen J. Roberts
TL;DR
The paper investigates how training instabilities in gradient descent can improve generalization by biasing optimization toward flatter regions of the loss landscape. It introduces the Rotational Polarity of Eigenvectors (RPE), a geometric mechanism in which leading Hessian eigenvectors rotate during unstable training, promoting exploration and flattening; this effect extends to SGD and can be harnessed in adaptive optimizers via Clipped-Ada. By modeling higher-order curvature moments with a coupled instability-dynamics framework, the authors prove an implicit flatness bias and demonstrate empirical flattening and generalization gains on CIFAR10 and Fashion-MNIST. The work argues for embracing certain instability regimes (a Goldilocks zone) rather than avoiding them, with practical implications for learning-rate schedules and optimizer design in deep networks.
Abstract
Classical analyses of gradient descent (GD) define a stability threshold based on the largest eigenvalue of the loss Hessian, often termed sharpness. When the learning rate lies below this threshold, training is stable and the loss decreases monotonically. Yet, modern deep networks often achieve their best performance beyond this regime. We demonstrate that such instabilities induce an implicit bias in GD, driving parameters toward flatter regions of the loss landscape and thereby improving generalization. The key mechanism is the Rotational Polarity of Eigenvectors (RPE), a geometric phenomenon in which the leading eigenvectors of the Hessian rotate during training instabilities. These rotations, which increase with learning rates, promote exploration and provably lead to flatter minima. This theoretical framework extends to stochastic GD, where instability-driven flattening persists and its empirical effects outweigh minibatch noise. Finally, we show that restoring instabilities in Adam further improves generalization. Together, these results establish and understand the constructive role of training instabilities in deep learning.
