1. Which minimum does gradient descent pick?
In an overparameterized model there are usually many parameter settings with zero training loss, and they form a continuous family: a manifold $\mathcal{M}$ of minimizers. All of them fit the training data equally well, so which one training ends up at is decided by the optimizer, a property usually called its implicit bias. One property people care about is sharpness, the largest eigenvalue $\lambda_1$ of the loss Hessian. Flat minima (small $\lambda_1$) are less sensitive to small weight perturbations, and sharpness has been linked empirically to generalization since the large-batch experiments of Keskar et al.. That link is not clean: Dinh et al. showed that reparameterizing a ReLU network can make a minimum arbitrarily sharp without changing the function it computes. The paper therefore treats sharpness as a property of the fixed parameterization being optimized, which is how it should be read here too.
Caporali, Altschuler and Hanin (arXiv:2611.26475) propose a stepsize rule that biases plain gradient descent toward flatter minima, and prove that it does so for a broad class of losses. Two existing lines of work frame it:
- Sharpness-Aware Minimization (SAM, Foret et al.) changes the objective to the worst-case loss in a small ball around the parameters, and approximates its gradient with a second gradient evaluation at a perturbed point. Analyses show that SAM reduces sharpness, but over time horizons that are fixed in advance (Wen, Ma and Li).
- Normalized gradient descent (NGD), studied by Arora, Li and Panigrahi, takes steps of fixed length
$\eta$. Near$\mathcal{M}$its iterates oscillate across the valley, and those oscillations push their projection onto$\mathcal{M}$along the gradient of$\log \lambda_1$. Because the step length is fixed, though, NGD never settles onto$\mathcal{M}$.
The new rule keeps the oscillation mechanism of NGD but lets the step length shrink, so the iterates can converge.
2. The rule, and why the constant is 4
For a loss with minimum value 0, the critically damped Polyak (CDP) update is ordinary gradient descent with the stepsize
The fraction is the classical Polyak stepsize, which is known for adaptive convergence guarantees in convex optimization (Hazan and Kakade). CDP multiplies it by 4 and by a damping factor $e^{-\kappa \mathcal{L}}$ with a single parameter $\kappa \ge 0$. Each step costs one loss value and one gradient, the same as plain gradient descent. SAM needs two gradients per step.
One dimension. Take $\mathcal{L}(n) = \tfrac{\lambda}{2} n^2$, so $\mathcal{M} = \{0\}$. The Polyak stepsize is $1/(2\lambda)$, and four times that is $2/\lambda$. Without damping the update becomes $n_{k+1} = n_k - (2/\lambda)\lambda n_k = -n_k$. The iterate jumps to the mirror point on the other side of the minimum, and its distance to $\mathcal{M}$ stays the same. A stepsize of $2/\lambda$ is exactly the stability threshold of gradient descent on a quadratic. For fixed-stepsize GD on neural networks, Cohen et al. observed that sharpness tends to rise until it hovers around $2/\eta$, the edge of stability, with the loss oscillating from step to step; Damian, Nichani and Lee explained this as a self-stabilizing mechanism. CDP reaches the same regime from the other side: the stepsize adapts to the curvature instead of the curvature adapting to the stepsize.
Many normal directions. Now take $\mathcal{L}(n) = \tfrac12 n^\top H n$ with fixed positive definite $H$. The undamped CDP step is
This is a Householder reflection of $n_k$ across the hyperplane orthogonal to $w = H n_k$ (since $w^\top n_k = n_k^\top H n_k$). Reflections preserve length, which is the paper's observation that $\lVert n_{k+1} \rVert = \lVert n_k \rVert$. The constant 4 is what makes the step an exact reflection, so the iterates neither approach nor leave the valley to leading order. The paper calls this equioscillation.
The direction does change. In the eigenbasis of $H$, each component is multiplied by $1 - 2\lambda_i/\lambda_{\text{eff}}(n_k)$, where $\lambda_{\text{eff}}(n) = \lVert Hn \rVert^2 / n^\top H n$ lies between the smallest and largest eigenvalue. The ratio of any lower component to the top one shrinks by a fixed factor $q < 1$ every step. So, as in the power method, $n_k$ lines up exponentially fast with the top eigenvector $v_1$. This also explains one of the theorem's conditions: if $n_0$ has no component along $v_1$, it never acquires one, and the dynamics then minimize $\lambda_2$ instead of $\lambda_1$. The paper gives an explicit three-dimensional example of this.
3. The drift along the valley: gradient descent on log-sharpness
Now let the curvature vary along the valley. Near $\mathcal{M}$, write each point as $\theta = p + n$, with $p$ the nearest point on $\mathcal{M}$ and $n$ the normal displacement. Take the model loss $\mathcal{L}(p, n) = \tfrac12 n^\top H(p) n$. Once $n$ is aligned with $v_1(p)$, two things hold to leading order:
- The gradient along the valley is
$\nabla_p \mathcal{L} \approx \tfrac12 \lVert n \rVert^2 \nabla_p \lambda_1(p)$, which is small, of order$\lVert n \rVert^2$. - The stepsize is
$\eta \approx 2/\lambda_1(p)$, because$\mathcal{L} \approx \tfrac12 \lambda_1 \lVert n \rVert^2$and$\lVert \nabla \mathcal{L} \rVert^2 \approx \lambda_1^2 \lVert n \rVert^2$.
Multiplying the two gives the tangential update
So the projected iterates do gradient descent on $\log \lambda_1$ along $\mathcal{M}$, with effective stepsize $\lVert n_k \rVert^2$. The logarithm appears because the stepsize itself scales like $1/\lambda_1$. The same drift appears for NGD in Arora, Li and Panigrahi's analysis. The difference is in what happens to $\lVert n_k \rVert$. NGD keeps it at order $\eta$, while CDP lets it shrink. There is a separation of time scales: the normal coordinate flips sign every step, while the base point moves only by $O(\lVert n_k \rVert^2)$ per step, slowly enough for the alignment of Section 2 to keep up.
4. Damping: converging while still drifting
Without damping ($\kappa = 0$), the quadratic model stays on a period-2 orbit forever. For general losses, cubic and quartic terms in the loss can even make the oscillation grow. The damping factor fixes this. In one dimension with $\mathcal{L} = \tfrac{\lambda}{2} n^2$,
A recursion $x_{k+1} = x_k - c\,x_k^2$ decays like $x_k \approx 1/(ck)$, so $\lVert n_k \rVert^2 \approx 1/(2\kappa\lambda k)$. A direct simulation ($\lambda = 2$, $\kappa = 5$) matches this to three digits by $k = 10^4$. In general, a sufficiently large $\kappa$ makes the damping dominate the higher-order terms, and the main theorem gives a two-step contraction $\lVert n_{k+2} \rVert^2 = \lVert n_k \rVert^2 - \Theta(\lVert n_k \rVert^4)$.
This decay rate is what makes the method work. The effective tangential stepsizes $\lVert n_k \rVert^2 \sim 1/k$ have a divergent sum, so the base point keeps moving, and summable squares, so the error terms stay under control. This is the same pair of conditions as Robbins–Monro stepsizes in stochastic approximation. The paper's main result (Theorem 3.2) states it precisely:
These estimates hold uniformly in time, with no horizon fixed in advance. That is the main technical advance over earlier SAM and NGD analyses. Under extra conditions (Theorem A.3: $\lambda_1$ has a unique critical point in the region, and it is a strict local minimum), the iterates converge to a single interpolating solution that locally minimizes sharpness. With an added Polyak–Łojasiewicz condition on $\lambda_1$, the sharpness gap decays polynomially, like $k^{-\gamma}$ (Corollary A.11).
The tradeoff. The quadratic calculation also shows the cost. The total tangential distance travelled is roughly $\sum_k \lVert n_k \rVert^2 \approx \ln k / (2\kappa\lambda_1)$. That grows only logarithmically in the number of steps, and shrinks as $\kappa$ grows. Stronger damping reaches the valley faster and slides less far. This is our back-of-the-envelope reading of the quadratic model, not a statement from the paper, but it matches its experiments and its recommendation of hybrid schedules: run CDP for a while to reduce sharpness, then switch to GD or Adam to reduce the loss. On the paper's toy loss $\tfrac12(\theta_1\theta_2 - 1)^2$ started at $(2, 1)$, where sharpness on $\mathcal{M}$ equals $\theta_1^2 + \theta_2^2$ and is minimal (value 2) at $(1,1)$, 100 steps give:
| Method | Final point | Loss | Sharpness $\theta_1^2+\theta_2^2$ |
|---|---|---|---|
GD, $\eta = 0.1$ | (1.81, 0.55) | $\approx 0$ | 3.57 |
CDP, $\kappa = 0$ | (1.26, 1.26) | 0.17 (period-2 orbit) | n/a (not on $\mathcal{M}$) |
CDP, $\kappa = 0.5$ | (1.24, 0.87) | 0.004 | 2.31 |
CDP, $\kappa = 2$ | (1.60, 0.60) | 0.001 | 2.91 |
CDP, $\kappa = 10$ | (1.78, 0.58) | 0.0003 | 3.48 |
Undamped CDP ends up on the flattest diagonal but keeps oscillating. Mild damping gets close to the flattest minimum. Heavy damping behaves almost like GD.
5. What exactly is assumed
The theorem applies to losses that are locally quadratic near their minima (Definition 3.1):
- the minimum value is 0, and the zero set
$\mathcal{M}$is a smooth manifold of positive codimension; - the loss is five times continuously differentiable;
- the Hessian restricted to directions normal to
$\mathcal{M}$is positive definite (a Morse–Bott condition); - the top normal eigenvalue is simple, so
$\lambda_1(p) > \lambda_2(p)$everywhere on$\mathcal{M}$.
On top of this, the theorem requires an initialization close to $\mathcal{M}$ with a component of at least $\delta$ along $v_1$, a damping $\kappa$ above an unspecified threshold $\kappa_0$, and deterministic full-batch gradients. It also assumes, rather than proves, that the trajectory stays in a fixed compact set. All of these are local statements.
Appendix C connects the conditions to neural networks. For a smooth network trained with mean-squared error to zero loss, the Morse–Bott structure holds near interpolating solutions whose Jacobian of residuals has full row rank. Equivalently, the empirical neural tangent kernel (Jacot et al.) must be positive definite there. The paper points out that this is not automatic (Remark C.3 gives a degenerate example), and the eigenvalue gap in condition 4 is an additional requirement.
6. Experiments: where the effect shows up
The experiments test whether sharpness reduction carries over beyond the theory's assumptions. Sharpness in the neural network experiments is estimated with the Lanczos method.
- Toy losses. CDP slides toward the flattest minima on the hyperbola, a line and a circle (Figs. 3–4). On a loss with a global and a strict local minimum of sharpness, it reaches either one depending on where it starts (Remark 1.2, Fig. 5).
- Student–teacher networks. Wide ReLU, residual ReLU and
$\tanh$students fit labels from a smaller teacher, so zero loss is attainable. In SGD-then-CDP runs, the validation loss falls in both phases, but sharpness falls only after the switch to CDP (Figs. 6, 15). Switching earlier with weaker damping costs loss progress and gains more flattening (Fig. 7). Batch sizes from 256 to 1024 change little (Fig. 17), a first sign that the effect survives minibatch noise. In a tuned comparison, CDP followed by Adam is competitive with sharpness-aware methods on both test loss and sharpness (Fig. 16). - LLM fine-tuning on WikiText-2. Cross-entropy has no finite minimizer, so the theory does not apply here, and the authors use practical modifications:
$\kappa$is divided by the first minibatch loss, and a cap$\eta_{\max}$limits each step.- Qwen2.5-1.5B: 500 CDP steps followed by 2,500 Adam steps keep
$\lambda_1$far below an Adam-only run throughout, at about 1% higher final test perplexity (Fig. 8). - GPT-2: after 400 steps, CDP lowers
$\lambda_1$from 1,475 to 27, against 486 for AdamW. Validation loss is 3.28 for CDP and 3.18 for AdamW (Table 1). - Qwen2.5-0.5B: five optimizers with the same 2,610-step budget (Table 2):
- Qwen2.5-1.5B: 500 CDP steps followed by 2,500 Adam steps keep
| Optimizer | Test perplexity | Test sharpness $\lambda_1$ |
|---|---|---|
| Adam | 12.159 | 15,819 |
| SAM (Adam base) | 12.172 | 3,238 |
| CDP, then Adam | 12.165 | 2,138 |
| NGD | 12.323 | 1,693 |
| CDAT | 12.474 | 1,718 |
CDP followed by Adam matches Adam's perplexity with about 7× lower sharpness, and is flatter than SAM at the same perplexity. NGD and CDAT (Roulet et al.) reach lower sharpness at noticeably worse perplexity. After 4-bit quantization (Table 3), CDP followed by Adam and SAM are best or close to best for most methods. The authors call this comparison exploratory (Remark D.1).
7. Where it breaks, and what is untested
- Mean-field parameterization. All the student–teacher results use the NTK parameterization. With a mean-field parameterization the authors consistently see CDP increase sharpness. They conjecture that this comes from the more degenerate Hessian spectrum in mean-field networks, which would violate the eigenvalue-gap assumption. This is the most important negative result in the paper.
- Eigenvalue crossings. When the top two eigenvalues cross along the valley, the gap closes and the noiseless dynamics can stay locked on the wrong eigenvector, sliding toward higher sharpness. Remark B.9 gives an explicit two-dimensional example. In that example a small amount of noise lets the trajectory switch and recover (Fig. 12).
- Local minima of sharpness. The drift is a local descent on
$\log \lambda_1$and can stop at a strict local minimum of sharpness. - Losses with no zero minimum. The rule uses
$\mathcal{L}$where Polyak's rule would use$\mathcal{L} - \mathcal{L}^\star$. When the minimum value is positive or not attained (cross-entropy, noisy labels), the steps are too large. The LLM runs needed a step cap. On GPT-2, with caps of 0.3 or 1, one of three seeds left the neighborhood of the pretrained weights and its sharpness grew. - Noise and scale. The theory is deterministic. The experiments cover minibatch fine-tuning of models up to 1.5B parameters, not pretraining.
- Sharpness versus generalization. The paper reduces the top Hessian eigenvalue in a fixed parameterization. It does not claim better generalization: test loss or perplexity is equal or slightly worse in its LLM runs. The quantization robustness is suggestive but preliminary.
- Loss progress. The oscillation that drives the drift also slows loss reduction, and stronger damping trades drift for speed. CDP works best as a phase in a schedule rather than as a replacement for Adam.
8. Relation to the R3 summary
The first version of the R3 card overstated two points, and it has since been revised.
- It said CDP "provably steers gradient descent into flat minima". That holds under the local, deterministic assumptions of Section 5. Convergence is to a local minimum of sharpness, and only for the top eigenvalue.
- Its take-home spoke of "better-generalizing minima", which goes beyond the paper. What the paper shows is that flatness comparable to SAM, or better, is available at the cost of plain gradient descent, with test performance roughly unchanged.
The open questions are the ones in Section 7: mean-field and other degenerate-spectrum regimes, losses whose minimum is not zero, and whether the effect persists during large-scale pretraining with Adam-style preconditioning.