A Minimalist Example of Edge-of-Stability and Progressive Sharpening
Liming Liu, Zixuan Zhang, Simon Du, Tuo Zhao
TL;DR
The paper builds a minimal two-layer, width-one network with a two-dimensional input to rigorously analyze Edge of Stability and Progressive Sharpening under large learning rates. It develops a nonasymptotic GD framework that exhibits three phases—progressive sharpening, edge-of-stability with PS and self-stabilization—and proves global convergence with a sharpness bound $S(\theta)\le (2+\delta)/\eta$. By decomposing the loss into oscillatory and convergent parts and introducing surrogate losses $\widehat{L}$, it provides explicit decay rates and links to gradient-flow and constrained-trajectory theories. The work also demonstrates how input-data distribution (one relevant, one irrelevant feature) and a well-behaved stable set reconcile minimalist and generalist analyses, offering insights into when large learning rates help or hinder optimization in practice. Overall, the results illuminate how EoS phenomena arise from parameter and input-distribution interactions and suggest principled ways to harness large learning rates in deep learning settings.
Abstract
Recent advances in deep learning optimization have unveiled two intriguing phenomena under large learning rates: Edge of Stability (EoS) and Progressive Sharpening (PS), challenging classical Gradient Descent (GD) analyses. Current research approaches, using either generalist frameworks or minimalist examples, face significant limitations in explaining these phenomena. This paper advances the minimalist approach by introducing a two-layer network with a two-dimensional input, where one dimension is relevant to the response and the other is irrelevant. Through this model, we rigorously prove the existence of progressive sharpening and self-stabilization under large learning rates, and establish non-asymptotic analysis of the training dynamics and sharpness along the entire GD trajectory. Besides, we connect our minimalist example to existing works by reconciling the existence of a well-behaved ``stable set" between minimalist and generalist analyses, and extending the analysis of Gradient Flow Solution sharpness to our two-dimensional input scenario. These findings provide new insights into the EoS phenomenon from both parameter and input data distribution perspectives, potentially informing more effective optimization strategies in deep learning practice.
