The Edge of Stability Modifies Non-Euclidean Mirror Descent Geometries
Abstract
When training neural networks with large step sizes, gradient descent typically operates at the edge of stability (EoS), where the sharpness of the loss remains close to and the loss oscillates while decreasing over longer timescales. In this paper, we investigate how the edge of stability affects mirror descent. We empirically observe that, across a range of mirror maps and neural network architectures, the largest eigenvalue of the Hessian preconditioned by the mirror metric approaches the same threshold . We also characterize how the asymmetry of the Bregman divergence affects descent at large step sizes. Our main contribution is the empirical proof of an EoS and the derivation of a central flow for mirror descent, a differential equation approximating its time-averaged trajectory. Unlike in gradient descent, where the oscillations induce an implicit regularization of the loss, we find that in mirror descent they also modify the geometry of the optimizer itself. In particular, for separable mirror maps, the oscillations can either increase or decrease the effective learning rate of each coordinate, depending on the choice of mirror map. Our preliminary experiments show that the proposed central flow closely tracks the evolution of the training loss and generalized sharpness of mirror descent at the edge of stability.
Create a lesson
Metadata
- Categories
- cs.LG, math.OC
Related papers
Rescaling shapes the geometry and dynamics of learning in ReLU networks
Shared title terminologycs.LGPierrick Leroy, Marco Nurisso, Francesco Vaccarino
EvoReasoner: Geometry Guided Expert Specialization for Recursive Reasoning
Shared title terminologycs.LGHaowen Chen, Han Li, Junyu Zhong et al.
Efficient Bandit Convex Optimization on the Euclidean Ball via Shared Orthogonal Basis Maintenance
Shared title terminologycs.LGLinzhe He, Lijun Zhang
EWC-IA3: Adapter Geometry Determines Forgetting in Continual Parameter-Efficient Fine-Tuning
Shared title terminologycs.LGXiaoyan Li, Lanpei Li, Massimo Coppola et al.
What the Geometry of Good Models Tells Us
Shared title terminologycs.LGAlexis Fox, Samuel Orellana Mateo, Krish Yadav et al.