Feature Learning Beyond the Edge of Stability
Dávid Terjék
TL;DR
The paper addresses training deep networks at learning rates beyond the Edge of Stability (EOS) by connecting sharpness and feature learning through a Taylor expansion of the minibatch loss. It introduces a homogeneous Normalized Update Parameterization (\nu) with a polynomial hidden-layer width pattern and derives closed-form expressions for the first three Taylor coefficients of the minibatch loss under SGD, expressed via low-dimensional tensors and Gram matrices. A cheap depthwise gradient-scaling rule $\xi_{k,t}$ is proposed to cancel forward/backward norms, enabling training far beyond EOS with improved feature learning and implicit sharpness regularization, supported by MNIST experiments. The combination of \nu P with quadratic width ($r=2$) yields stable descent at high learning rates and higher last-layer soft ranks, suggesting practical gains in feature extraction and implicit regularization without numerical explosions. Overall, the work provides a principled pathway to leverage large learning rates for enhanced representation learning in MLPs, with clear directions for extending the theory to broader architectures and datasets.
Abstract
We propose a homogeneous multilayer perceptron parameterization with polynomial hidden layer width pattern and analyze its training dynamics under stochastic gradient descent with depthwise gradient scaling in a general supervised learning scenario. We obtain formulas for the first three Taylor coefficients of the minibatch loss during training that illuminate the connection between sharpness and feature learning, providing in particular a soft rank variant that quantifies the quality of learned hidden layer features. Based on our theory, we design a gradient scaling scheme that in tandem with a quadratic width pattern enables training beyond the edge of stability without loss explosions or numerical errors, resulting in improved feature learning and implicit sharpness regularization as demonstrated empirically.
