arXiv(opens in a new tab)nlin.CDOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.27321

Physics-Inspired Optimizers beyond the Edge of Stability: Period-Two Orbits and Delayed Instability

Alexander Itin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Gradient descent with momentum can be viewed as a particle that moves with friction in the loss landscape. In deep learning the learning rate is usually large, so training is a discrete dynamical system, not a smooth flow. In many full-batch experiments the sharpness of the loss grows to the stability limit of the optimizer, the edge of stability (EoS), and training continues there, oscillating along the sharpest direction. Physics-inspired optimizers change this motion: Velocity-Regularized Adam (VRAdam), for example, shrinks the step at high speed, motivated by a quartic kinetic energy. We study such methods as kinetic maps, in which the step is the gradient of a kinetic energy of the momentum, and ask what they do beyond the EoS. Our main findings are as follows. (i) In a reduced model, a kinetic map creates a symmetric period-two orbit beyond the edge, where plain momentum diverges. This orbit is strictly linearly stable if and only if the elasticity of the map at its amplitude (the log-log slope of step length versus momentum) lies between 0 and 1; on it, the step reduction exactly compensates the excess sharpness, giving an effective edge of stability. VRAdam's damper fails this test above twice the critical learning rate, where its kinetic energy is not convex. The Legendre-dual map of VRAdam's own Lagrangian is convex and passes the test at every learning rate. (ii) Our central dynamical finding is that, because the sharpness rises gradually, the loss of stability is delayed, as in Neishtadt's theory of slowly swept bifurcations. In a network with a controlled sweep, the measured dynamics match this theory without fitted parameters, including the memory of where the sweep started and its erasure by noise. (iii) Local stability does not guarantee that training reaches the orbit. With momentum, a trajectory can instead end on another attractor, such as a period-four cycle or chaos, unless the map keeps enough elasticity at large momentum; the amount needed grows with the momentum coefficient β1\beta_{1}. Maps that bound the step, such as the relativistic one, already fail at β1=0.9\beta_{1}=0.9. The cubic-Legendre map (elasticity tending to 1/2) reached the orbit from every sampled start up to β1=0.99\beta_{1}=0.99, at the price of an oscillation that grows faster with the learning rate. Experiments support the theory on an exact quadratic problem and in a full-batch MLP, where convex maps hold training near the effective edge while VRAdam's damper gets stuck at a strongly reduced step. In ResNet-32, maps that act early prevent collapse at large learning rates. On ResNet-18, however, much of the apparent benefit of the maps is reproduced by matching the effective learning rate. Code and data will be made publicly available.

1 Introduction

Gradient descent is one of the oldest algorithms of applied mathematics: Cauchy proposed it in 1847 for astronomical computations (Cauchy, 1847). A century later Polyak added momentum, the heavy ball, by

*E-mail: alx.itin2@gmail.com; website: AI4science.de

The author used large language model assistants (Claude Opus 5.5, Anthropic; GPT-6 Astra Pro, OpenAI) for programming, running and analysing numerical experiments, reviewing drafts, and editing the text. The research questions, the theoretical framework and the interpretation of the results are the author's own; the author has checked the derivations, code and reported numbers and takes full responsibility for the content.

viewing the iteration as a particle that moves with friction in the potential given by the loss (Polyak, 1964), and Nesterov's acceleration followed (Nesterov, 1983). This mechanical picture has since grown into a theory of its own. For small steps, accelerated methods are discretizations of damped second-order ODEs (Su et al., 2016) and of Bregman–Lagrangian flows (Wibisono et al., 2016), and symplectic integrators discretize such flows (Betancourt et al., 2018). Hamiltonian descent chooses the kinetic energy K to suit the loss (Maddison et al., 2018), relativistic kinetic energies bound the speed (França et al., 2020), and Lion, Adam and heavy ball can be written as Hamiltonian dynamics with descent and a general kinetic energy (Chen et al., 2024a; Liang et al., 2026). Stochastic gradients add a picture based on modified equations and diffusion (Li et al., 2017).

Deep networks, however, are trained with large steps, and at practical learning rates training is a discrete dynamical system far from its continuous limit. Gradient descent with large constant steps can show period doubling and chaos (Chen et al., 2024b; Kong & Tao, 2020), the route to chaos of the logistic map (Feigenbaum, 1978), and some variable-step variants are chaotic (van den Doel & Ascher, 2012). Large learning rates make networks catapult out of sharp regions (Lewkowycz et al., 2020), and the learning rate in the first phase of training determines the curvature and gradient noise later on (Jastrzebski et al., 2020). Cohen et al. (2021) identified a regime in which full-batch training often operates: the sharpness (the largest eigenvalue of the Hessian) rises until it reaches the stability threshold of the optimizer, 2/η2/\eta for gradient descent, and then stays there, while the iterates oscillate along the top eigenvector and the loss keeps decreasing on average. This edge of stability (EoS) also appears for adaptive methods (Cohen et al., 2022), is maintained by self-stabilization (Damian et al., 2023) and has a stochastic counterpart (Andreyev & Beneventano, 2024). In dynamical-systems terms, the minimum has lost stability through a period-doubling bifurcation, and training proceeds near the period-two orbit born there. We therefore focus on how an optimizer changes this oscillatory regime after the minimum loses stability.

Velocity-Regularized Adam (VRAdam) (Vaidhyanathan et al., 2026) is a recent physics-inspired optimizer. Adding a quartic term β3v4/4\beta_3v^4/4 to the kinetic energy of a particle makes its effective mass grow with speed, which suggests damping the learning rate as

ηt=α01+min⁡(β3∥mt∥2,α1),(1)\eta_{t}=\frac{\alpha_{0}}{1+\min(\beta_{3}\|m_{t}\|^{2},\alpha_{1})}, \tag{1}

where mtm_{t} is Adam's first moment (written vtv_{t}, a velocity, in VRAdam) and the norm is taken over all parameters. The analysis of VRAdam covers the regime below the EoS threshold, where the damper does not change the linear stability of the minimum. We ask what such kinetic modifications do above the threshold. Our contributions are:

  1. Period-two orbits, local stability and global attraction (Sections 2.2, 3 and 5). Following the terminology of Hamiltonian descent (Maddison et al., 2018), we call updates u=∇K(q)u = \nabla K(q) with a radial kinetic energy KK kinetic maps; our results concern their discrete dynamics beyond the stability threshold. With momentum, the symmetric period-two orbit beyond the edge is strictly linearly stable if and only if the elasticity of the map at the orbit lies in (0,1)(0,1) (Theorem 1), and on the orbit the effective step is exactly at the edge, ηλmax⁡g/aEoS=1\eta \lambda_{\max} g / a_{\mathrm{EoS}} = 1 (Theorem 2). VRAdam's damper is a non-convex member of the family, and its orbit loses stability at twice the threshold step; the Legendre dual of its own Lagrangian is convex and keeps the orbit stable at every step. Whether trajectories reach the orbit depends on how much elasticity the map keeps at large momentum, increasingly so as β1\beta_1 grows; an exact quadratic problem built from real data reproduces the closed forms to a relative error below 10−710^{-7}.

  2. Delayed passage through the edge (Section 4). Because the sharpness rises gradually, the bifurcation is crossed slowly, and the loss of stability is delayed as described by Neishtadt's theory of dynamical bifurcations. In a network with a controlled sweep, the deviation along the top Hessian direction follows the linear theory without fitted parameters; for slow sweeps the exit point obeys Neishtadt's entry-exit relation, and noise erases this memory as predicted.

  3. Neural-network dynamics and optimizer benchmarks (Sections 6 and 7). In a full-batch MLP the effective-edge law holds and the VR map fails as predicted; in ResNet-32 the orbit forms too late, but maps that act early prevent catapult collapse; with Adam, maps on the preconditioned direction cannot see the amplitude of the oscillation. On ResNet-18, controls with matched effective learning rates remove most of the difference for an Adam map and about half of the gain of Kinetic Muon; the remainder is not resolved by five seeds.

Section 8 discusses connections to capture into resonance, self-organized criticality, ponderomotive forces and feedback control, reports a negative result on grokking, and summarizes limitations and conclusions.

References (76)