English

A Rod Flow Model for Adam at the Edge of Stability

Machine Learning 2026-05-11 v1 Artificial Intelligence Optimization and Control Machine Learning

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. 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)(w, m) and treating the second moment ν\nu 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.

Keywords

Cite

@article{arxiv.2605.06821,
  title  = {A Rod Flow Model for Adam at the Edge of Stability},
  author = {Eric Regis and Sinho Chewi},
  journal= {arXiv preprint arXiv:2605.06821},
  year   = {2026}
}