English

Continuous-Time Analysis of Adaptive Optimization and Normalization

Machine Learning 2024-12-23 v2 Artificial Intelligence

Abstract

Adaptive optimization algorithms, particularly Adam and its variant AdamW, are fundamental components of modern deep learning. However, their training dynamics lack comprehensive theoretical understanding, with limited insight into why common practices -- such as specific hyperparameter choices and normalization layers -- contribute to successful generalization. This work presents a continuous-time formulation of Adam and AdamW, facilitating a tractable analysis of training dynamics that can shed light on such practical questions. We theoretically derive a stable region for Adam's hyperparameters (β,γ)(\beta, \gamma) that ensures bounded updates, empirically verifying these predictions by observing unstable exponential parameter growth outside of this stable region. Furthermore, we theoretically justify the success of normalization layers by uncovering an implicit meta-adaptive effect of scale-invariant architectural components. This insight leads to an explicit optimizer, 22-Adam, which we generalize to kk-Adam -- an optimizer that applies an adaptive normalization procedure kk times, encompassing Adam (corresponding to k=1k=1) and Adam with a normalization layer (corresponding to k=2k=2). Overall, our continuous-time formulation of Adam facilitates a principled analysis, offering deeper understanding of optimal hyperparameter choices and architectural decisions in modern deep learning.

Keywords

Cite

@article{arxiv.2411.05746,
  title  = {Continuous-Time Analysis of Adaptive Optimization and Normalization},
  author = {Rhys Gould and Hidenori Tanaka},
  journal= {arXiv preprint arXiv:2411.05746},
  year   = {2024}
}
R2 v1 2026-06-28T19:53:22.985Z