A Rod Flow Model for Adam at the Edge of Stability

Eric Regis, Sinho Chewi
5/7/2026
cs.LGcs.AImath.OC

No confident code implementation found for this paper.

Abstract

Cohen et al. (arXiv:2207.14484) observed that adaptive gradient methods such as Adam operate at the edge of stability. While there has been significant work on continuous-time modeling of gradient descent at the edge of stability, extending these models to momentum methods remains underdeveloped.

Show full abstract

In the gradient descent setting, Regis et al. (arXiv:2602.01480) introduced rod flow, which models consecutive iterates as an extended one-dimensional object -- a "rod." Here we extend rod flow to Adam by working in the joint phase space of parameters and first moment $(w, m)$ and treating the second moment $ν$ as a smooth auxiliary variable. We also develop rod flows for heavy ball momentum, Nesterov momentum, and scalar and per-component versions of RMSProp, Adam, and NAdam. For all eight optimizers, we empirically evaluate rod flow on representative machine learning architectures, where it tracks the discrete iterates through the edge-of-stability regime significantly more accurately than the corresponding stable flow.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{regis2026flow,
  title  = {A Rod Flow Model for Adam at the Edge of Stability},
  author = {Eric Regis and Sinho Chewi},
  year   = {2026},
  eprint = {2605.06821},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.06821v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.06821.svg)](https://codeofpaper.com/paper/2605.06821)

Discussion