There is a notable dearth of results characterizing the preconditioning effect of Adam and showing how it may alleviate the curse of ill-conditioning -- an issue plaguing gradient descent (GD). In this work, we perform a detailed analysis of Adam's preconditioning effect for quadratic functions and quantify to what extent Adam can mitigate the dependence on the condition number of the Hessian. Our key finding is that Adam can suffer less from the condition number but at the expense of suffering a dimension-dependent quantity. Specifically, for a $d$-dimensional quadratic with a diagonal Hessian having condition number $κ$, we show that the effective condition number-like quantity controlling the iteration complexity of Adam without momentum is $\mathcal{O}(\min(d, κ))$. For a diagonally dominant Hessian, we obtain a bound of $\mathcal{O}(\min(d \sqrt{d κ}, κ))$ for the corresponding quantity. Thus, when $d < \mathcal{O}(κ^p)$ where $p = 1$ for a diagonal Hessian and $p = 1/3$ for a diagonally dominant Hessian, Adam can outperform GD (which has an $\mathcal{O}(κ)$ dependence). On the negative side, our results suggest that Adam can be worse than GD for a sufficiently non-diagonal Hessian even if $d \ll \mathcal{O}(κ^{1/3})$; we corroborate this with empirical evidence. Finally, we extend our analysis to functions satisfying per-coordinate Lipschitz smoothness and a modified version of the Polyak-Łojasiewicz condition.
PC Layer: Polynomial Weight Preconditioning for Improving LLM Pre-Training
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Google LLC(谷歌公司);Shenzhen International Center for Industrial and Applied Mathematics(深圳国际工业与应用数学中心);Shenzhen Research Institute of Big Data(深圳大数据研究院);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
How do simple rotations affect the implicit bias of Adam?
Committee on Computational and Applied Mathematics, University of Chicago(计算与应用数学委员会,芝加哥大学);Department of Electrical & Computer Engineering, University of Washington(电气与计算机工程系,华盛顿大学);NSF-Simons National Institute for Theory and Mathematics in Biology(NSF-西蒙斯国家理论与生物数学研究所);Department of Statistics, Department of Computer Science, and Data Science Institute, University of Chicago(统计系、计算机科学系和数据科学研究所,芝加哥大学)
Exact Risk Curves of signSGD in High-Dimensions: Quantifying Preconditioning and Noise-Compression Effects
Department of Mathematics and Statistics, McGill University, Montreal, Canada(数学与统计学系,麦吉尔大学,蒙特利尔,加拿大);Department of Mathematics(数学系);Statistics, McGill University, Montreal, Canada(统计学,麦吉尔大学,蒙特利尔,加拿大);Google Deepmind, Mountain View, United States of America(DeepMind,谷歌,山景城,美国)
MALT: Lightweight Curvature-Aware Muon via Diagonal Preconditioning
School of Electrical Engineering and Computer Science, The Pennsylvania State University(宾夕法尼亚州立大学电气工程与计算机科学学院);Department of Computer Science, City University of Hong Kong(香港城市大学计算机科学系)
Coupling-Robust Accuracy in Multiphysics Physics Informed Neural Networks via Kronecker-Preconditioned Optimization
Dept. of Control and Instrumentation Engineering, Korea University, Sejong, South Korea(控制与仪器工程系,韩国大学,世宗,韩国);BK21 FOUR Smart Mobility Education and Research Team, Korea University, Sejong, South Korea(BK21 FOUR智能交通教育与研究团队,韩国大学,世宗,韩国)