Understanding Adam Requires Better Rotation Dependent Assumptions

Simon Lacoste-Julien (Mila, Université de Montréal & Samsung SAIL Montreal) · Tianyue Zhang (Mila/Université de Montréal) · Lucas Maes (Mila) · Alan Milligan (Mila/Université de Montréal) · Alexia Jolicoeur-Martineau (Samsung - SAIT AI Lab, Montreal) · Ioannis Mitliagkas (University of Montreal) · Damien Scieur (Samsung SAIL Montreal) · Charles Guille-Escuret (MBZUAI Institute of Foundation Models)
adambasis choiceempirical performanceempirical successorthogonalityparameter spacerotation-dependent assumptionsrotation-dependent propertiesrotation-invariant assumptionssensitivitystochastic gradient descentstructured rotationstheoretical frameworkstraining transformersupdate mechanism

Despite its widespread adoption, Adam's advantage over Stochastic Gradient Descent (SGD) lacks a comprehensive theoretical explanation. This paper investigates Adam's sensitivity to rotations of the parameter space. We observe that Adam's performance in training transformers degrades under random rotations of the parameter space, indicating a crucial sensitivity to the choice of basis in practice. This reveals that conventional rotation-invariant assumptions are insufficient to capture Adam's advantages theoretically. To better understand the rotation-dependent properties that benefit Adam, we also identify structured rotations that preserve or even enhance its empirical performance. We then examine the rotation-dependent assumptions in the literature and find that they fall short in explaining Adam's behavior across various rotation types. In contrast, we verify the orthogonality of the update as a promising indicator of Adam’s basis sensitivity, suggesting it may be the key quantity for developing rotation-dependent theoretical frameworks that better explain its empirical success.