Adam Exploits ℓ∞-geometry of Loss Landscape via Coordinate-wise Adaptivity

Shuo Xie, Mohamad Amin Mohamadi, Zhiyuan Li · DOI

Introduction

Adam has become the standard optimizer for training large language models (LLMs), consistently outperforming Stochastic Gradient Descent (SGD). However, traditional optimization theory often fails to explain this gap, as both algorithms share similar minimax convergence rates in non-convex settings. This paper investigates the hypothesis that Adam's advantage lies in its ability to exploit the specific coordinate-wise geometry of neural network loss landscapes—specifically, the ℓ∞-geometry—which rotation-equivariant optimizers like SGD ignore.

Theoretical Framework: ℓ∞-Smoothness

The authors propose that the loss functions of LLMs are "smoother" when moving along individual coordinate axes than in arbitrary directions. While standard analysis assumes ℓ2 (Euclidean) smoothness, this work introduces a convergence proof for Adam under coordinate-wise smoothness assumptions.

A central metric in this analysis is the (1,1)-norm of the Hessian matrix. A small (1,1)-norm indicates that the loss is well-behaved along the coordinate axes. Because Adam employs coordinate-wise adaptivity, it can adjust its step size for each parameter independently, effectively "sniping" the most efficient path through the landscape. In contrast, SGD is rotation-equivariant; it treats all directions equally and cannot capitalize on axis-aligned smoothness.

Optimization trajectories of different algorithms on a quadratic function before (left) and after (right) rotating the coordinate system. Adam fails to preserve trajectory shape under rotation.

Experimental Methodology

To validate these theoretical insights, the researchers conducted "stress-test" experiments across three scales: synthetic quadratic losses, GPT-2 (124M parameters) on OpenWebText, and ResNet-18 on CIFAR-10.

The most critical test involved "rotated" loss functions. By applying a random orthogonal transformation to the model parameters before calculating the loss, the researchers intentionally broke the alignment between the model's coordinates and the natural valleys of the loss landscape. If Adam's success depends on coordinate alignment, its performance should degrade significantly under rotation.

Key Results

The experiments confirmed that rotation is "Adam's Kryptonite." On GPT-2, "Rotated Adam" converged much more slowly than standard Adam and was even outperformed by AdaSGD, a rotation-equivariant variant of Adam.

Training and evaluation loss on GPT-2. Standard Adam significantly outperforms SGD and AdaSGD, but its performance collapses when the coordinate system is rotated (Rotated Adam).

Empirical measurements of the Hessian supported these findings. In the original GPT-2 landscape, the (1,1)-norm of the Hessian was approximately 2.35. After rotation, this value jumped to 14.37. This nearly six-fold increase in the complexity metric directly correlates with the observed slowdown in optimization, proving that Adam's "magic" is specifically tied to the natural coordinate organization of neural network weights.

Discussion and Future Work

While this work clarifies the role of coordinate-wise adaptivity, several questions remain. The current analysis primarily addresses the RMSProp-like behavior of Adam (β1 = 0), leaving the specific benefits of heavy-ball momentum (β1 > 0) for future study. Additionally, while the paper demonstrates that LLMs possess a coordinate-aligned ℓ∞ geometry, the architectural reasons for this—whether due to LayerNorm, Attention mechanisms, or other components—require further investigation. Understanding these structural properties could lead to the development of even more efficient, geometry-aware optimizers.

Summary updated

BibTeX
@inproceedings{xie2025adam,
  author = {Shuo Xie and Mohamad Amin Mohamadi and Zhiyuan Li},
  title = {{Adam Exploits ℓ∞-geometry of Loss Landscape via Coordinate-wise Adaptivity}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
}
Figure