Manuscript Offprint

arXiv:2609.35392

The Hidden Ratio in Adam: Stable Structure, Compression, and Sign Dynamics

Yihe Zhou, Tongtian Zhu, Yingxiao Huo, Satya Prakash Dash, Can Wang, Samuel Kaski, Mingfei Sun

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

Abstract

Adam is the default optimizer for training modern deep neural networks, yet its adaptive behavior remains poorly understood due to the complex interaction between its first- and second-moment exponential moving averages (EMAs). We study Adam in the tied- β\beta regime, where the two EMA decay rates are equal, and show that its adaptive dynamics can be expressed through a transformed ratio with approximately scale-stable behavior. Empirically, this transformed ratio exhibits a stable, heavy-tailed distribution across tasks, model scales, and training stages, in contrast to the variability of raw moment magnitudes. This empirical stability has both practical and conceptual consequences. First, we derive a recurrence for the transformed ratio, yielding a reparameterization of Adam that replaces the second moment with a compressible state. Leveraging its stable distribution, we show that a fixed 4-bit codebook is sufficient in our experiments to store this state without auxiliary scaling, achieving performance competitive with full-precision Adam. Second, the transformed ratio view clarifies Adam's connection to sign-based methods: Adam reduces to sign-based momentum modulated by the transformed ratio, and replacing it with a constant recovers Signum as a limiting case. This perspective further provides a simple rule for transferring learning rates between the two methods. Together, these results suggest that tied- β\beta Adam admits a simple and approximately stable ratio structure underlying its adaptive behavior and demonstrate its utility for both analysis and efficient implementation.

1 Introduction

Adam [22, 28] is the default optimizer for training deep neural networks, from vision models [14, 26] to large language models [10, 5, 39, 36, 32, 1]. Yet, despite its ubiquity, a fundamental question remains unresolved: what determines Adam's adaptive behavior across scales, tasks, and training regimes? In particular, the interaction between its two exponential moving averages (EMAs) remains difficult to interpret. Specifically, Adam maintains EMAs of the gradient mean mtm_t and second moment vtv_t, controlled by β1\beta_1 and β2\beta_2. The update normalizes a momentum-like direction by a scale estimate of recent gradients, producing coordinate-wise step sizes. While this mechanism is simple, its dynamics depend intricately on gradient scale and noise, obscuring a clean, invariant characterization.

Recent large-scale training increasingly uses closer decay rates, e.g., (0.9,0.95)(0.9, 0.95) [19, 21, 33, 7], motivating the tied- β\beta regime β1=β2\beta_1 = \beta_2. This regime is both practically relevant and structurally simpler, as Adam admits a clearer interpretation: its update direction resembles a smoothed sign-based momentum, while the adaptive denominator modulates the step magnitude through a noise-to-signal ratio of stochastic gradients [31]. Complementary analyses suggest that matching the two decay rates

Preprint.

introduces useful structural properties, including robustness to gradient scaling and improved stability under nonstationary noise [12, 16, 6].

In this work, we show that tied- β\beta Adam admits an unexpected simplification: its adaptive dynamics can be reparameterized through an approximately scale-stable ratio. Specifically, decomposing the second moment and factoring out the shared β\beta-dependent scale yields a natural-scale ratio yty_t (i.e., the hidden ratio) that isolates stochastic fluctuations from deterministic scaling. Our key finding is that yty_t follows a remarkably stable distribution across models, tasks, and training stages. Unlike raw moment magnitudes, which vary with gradient scale, the distribution of yty_t is concentrated with a persistent heavy right tail. This suggests a simple underlying structure: tied- β\beta Adam combines a deterministic scale with an approximately stable law governing adaptive attenuation.

This perspective has two immediate consequences. The first is representational. In the tied- β\beta regime, Adam can be equivalently parameterized by (mt,yt)(m_t, y_t) instead of (mt,vt)(m_t, v_t). Since yty_t has a stable and compressible distribution, it admits aggressive quantization. We show that a fixed 4-bit codebook (16 levels) suffices to nearly match full-precision Adam performance, without requiring additional block-wise or tensor-wise scaling factors. To our knowledge, this is the first result demonstrating that a transformed second-moment-derived state in Adam can be quantized to 4-bit precision with a fixed codebook while retaining strong performance. The second consequence is both practical and conceptual. The ratio formulation clarifies Adam's relationship to Signum (SignSGD with momentum) [38, 3]. In the tied- β\beta regime, Adam can be viewed as a sign-based momentum method whose step magnitude is attenuated by yty_t. Averaging this attenuation under the stable distribution of yty_t yields a simple prediction for the effective learning-rate ratio between Adam and its sign-dominated counterpart, which aligns with our empirical observations. Furthermore, replacing yty_t with a constant reduces Adam to a Signum-type method with fixed attenuation, showing that a constant-state approximation recovers a Signum-like limit of tied- β\beta Adam. This view provides a principled way to transfer or initialize learning rates between the two methods.

We do not claim that tied- β\beta Adam universally dominates standard Adam configurations or that the transformed-ratio law fully characterizes optimizer dynamics globally. Rather, our contributions are:

• We identify a scale-stable ratio yty_t in tied- β\beta Adam with a stable, heavy-tailed distribution across tasks and models. Truncating or coarsely discretizing yty_t incurs negligible performance loss.

• We identify and derive a recursive characterization of yty_t, enabling a (mt,yt)(m_t, y_t) parameterization and a 4-bit fixed-codebook implementation without auxiliary scaling.

• The ratio view yields a learning-rate transfer rule and recovers Signum as a constant-state limit.

References (36)