[Theoretical Breakthrough] Adam Converges: Solving the 7-Year Mystery of AI's Workhorse Optimizer
Adam Converges Without Any Modification On Update Rules
The paper provides the first rigorous proof that the Adam optimizer converges without any algorithmic modifications (like AMSGrad) for a fixed problem when hyperparameters are properly tuned. It establishes a phase transition in the 2D hyperparameter plane, showing that convergence is guaranteed for large regardless of most choices, while divergence occurs in a specific "danger region" of small .
TL;DR
Since 2018, the AI community has lived with a paradox: the most popular optimizer, Adam, was mathematically proven to "diverge" by the ICLR Best Paper award winners Reddi et al., yet it continued to power every major LLM breakthrough from GPT-3 to DeepSeek. This paper finally resolves the conflict. It proves that Adam doesn't need a "fix"—it just needs the right hyperparameters. By identifying a phase transition in the plane, the authors provide the first rigorous guarantee that vanilla Adam converges when is sufficiently large.
The "Divergence" Ghost
The celebrated counter-example by Reddi et al. [2018] showed that for any , one could construct a problem where Adam fails. This led to a flurry of "corrected" versions like AMSGrad and AdaBound.
The Insight: The authors of this paper noticed a subtle trick in that proof—the bad example was picked after fixing the hyperparameters. In reality, we do the opposite: we have a dataset (the problem) and then we find the best .
Figure 1: (a) The theoretical failure region from 2018 vs. (b) the actual convergence/divergence phase transition discovered in this work. Note the blue "safe" region.
Why Large is the Secret Sauce
The core mathematical challenge in proving Adam's convergence is the denominator . Because is a moving average of squared gradients, it can be extremely noisy or nearly zero, causing the update step to explode.
1. The Concentration Effect
The authors prove that when , the term concentrates around its expected value. Physical Intuition: A large acts like a heavy flywheel. It prevents from changing too rapidly, effectively "freezing" the adaptive part of the learning rate so it behaves predictably.
2. The Potential Function
To handle the momentum term , they introduce an auxiliary sequence : This math allows them to "cancel out" the historical signals in Adam's memory, proving that on average, Adam still moves in a direction that decreases the loss function (the descent direction).
Experimental Validation: From MNIST to LLMs
The paper proves that the boundary for a "safe" is problem-dependent and specifically depends on the number of mini-batches ().
- Decreasing Batch Size = Increasing
- Finding: Smaller batch sizes require a larger to remain in the "blue" convergence zone.
Figure 2: Empirical evidence on MNIST showing the "Danger Region" where gradients diverge when is too small.
This theoretically explains why LLM practitioners (who often use small per-device batch sizes) have gravitated toward values of 0.95 or 0.999. The paper's suggestions are echoed in the technical reports of models like Llama and DeepSeek, where tuning inversely with batch size is a standard "trick" for stability.
Impact & Critical Analysis
This is a "Test-of-Time" caliber paper that bridges the gap between optimization theory and deep learning practice.
- Major Achievement: It removes the "Bounded Gradient" assumption. Most previous proofs assumed gradients couldn't grow to infinity—but a proof of convergence is useless if it assumes the thing it’s trying to prove!
- Limitation: The current convergence bound includes constants of order . While mathematically sound, it suggests the convergence might be slow in extreme cases, and these constants aren't yet "tight."
Summary for Practitioners
If your model training is unstable:
- Don't panic and switch optimizers immediately.
- Check your : If you are using small batches, move closer to 0.99 or 0.999.
- The Rule of Thumb: Keep . For the standard , any is theoretically safe, provided it's at least above the batch-size threshold.
The discovery of a phase transition in the plane provides a new map for navigating the complex landscape of neural network optimization.
