Why Adam Works Better with $β_1 = β_2$: The Missing Gradient Scale Invariance Principle
Alberto Fernández-Hernández, Cristian Pérez-Corral, Jose I. Mestre, Manuel F. Dolz, Enrique S. Quintana-Ortí
TL;DR
This work addresses why Adam performs better when $β_{1}=β_{2}$ by introducing gradient scale invariance as a structural principle. It derives a continuous-time Adam Flow with dynamics for the first and second moments and shows that first-order gradient scale invariance holds if and only if $β_{1}=β_{2}$, yielding a leading update form $R(t)=\operatorname{sign}(g(t))\bigl(1 + (τ_{2}-τ_{1})δ(t)\bigr)$ with $δ(t)=\frac{d}{dt}\log|g(t)|$. The authors provide theoretical proofs and corroborate them with extensive experiments across vision and language models, demonstrating smoother updates when the diagonal configuration is used. The findings unify Adam with contemporary scale-robust optimizers and offer a principled guideline for designing future adaptive methods, highlighting robustness to gradient rescaling as a core design principle.
Abstract
Adam has been at the core of large-scale training for almost a decade, yet a simple empirical fact remains unaccounted for: both validation scores and the qualitative behaviour of the training runs improve when the momentum parameters satisfy $β_{1}=β_{2}$. Some recent studies have reported this pattern, but there is still no explanation for why this choice helps. We show that this choice is closely tied to a structural property that we refer to as \textit{gradient scale invariance}. We formalize this notion and prove that Adam becomes gradient scale invariant of first order if and only if $β_{1}=β_{2}$. This perspective places the balanced regime of Adam in direct alignment with the design principles underlying several recent optimizers that explicitly enforce scale-robust updates. The theory is supported by experiments across vision and language tasks, and across different architectural families, in which rescaling the gradient has a markedly smoother effect on the update when $β_{1}=β_{2}$. Overall, our results offer a coherent explanation for an open question in the behavior of Adam and provide a simple principle that helps guide the design of future optimizers.
