cs.LGNov 19, 2026

A new algorithmic approach for finding flat minima: critically damped Polyak stepsizes

Authors: Francesco Caporali, Jason M. Altschuler, Boris Hanin

Organizations: Department of Operations Research and Financial Engineering, School of Engineering and Applied Science, Princeton University.

Abstract

We present a new adaptive stepsize rule that biases gradient descent toward flatter minima in both theory and practice, and establish the first uniform-in-time guarantees for both sharpness and loss reduction for a broad class of locally quadratic objectives. Our critically damped Polyak (CDP) stepsizes multiply the classical Polyak rule by 44 and a mild damping factor. The factor 44 is critical in that it produces equioscillations around the manifold of minimizers M\mathcal{M} to leading order. Damping provably drives convergence to M\mathcal{M}. CDP thus operates at the edge of stability by adapting its stepsizes to local curvature. Once the loss is small, its projected iterates follow gradient descent on log⁡λ1(∇2L)\log{λ_1(\nabla^2 \mathcal{L})} along M\mathcal{M} to leading order, paralleling the flatness bias of normalized gradient descent (Arora et al., 2022). Unlike normalized gradient descent, CDP step lengths shrink with the distance to M\mathcal{M}, enabling convergence to an interpolating solution that locally minimizes sharpness at finite learning rate. We establish our theory for a broad class of non-negative losses with locally quadratic Morse-Bott structure near M\mathcal{M}, capturing regular interpolation regimes in smooth overparameterized neural networks. Empirically, CDP stepsizes produce a flattening effect similar to that of Sharpness-Aware Minimization (SAM, Foret et al., 2021), reducing sharpness even in settings beyond our theory, including nonlinear teacher-student networks and fine-tuning of pre-trained LLMs.

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Flatland: The Adventures of Gradient Descent with Large Step Sizes

    Jun 4, 2026Leonardo Galli, Curtis Fox, Wiebke Bartolomaeus +2Gradient Descent DynamicsEdge of Stability

  2. Dynamics of Gradient Descent with Large Step Size Near a Manifold of Flat Minima

    Jul 9, 2026Lachlan Ewen MacDonald, René VidalLarge-Step-Size Gradient DescentGradient Descent