ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2402.07114
20
5

Towards Quantifying the Preconditioning Effect of Adam

11 February 2024
Rudrajit Das
Naman Agarwal
Sujay Sanghavi
Inderjit S. Dhillon
ArXivPDFHTML
Abstract

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 ddd-dimensional quadratic with a diagonal Hessian having condition number κ\kappaκ, we show that the effective condition number-like quantity controlling the iteration complexity of Adam without momentum is O(min⁡(d,κ))\mathcal{O}(\min(d, \kappa))O(min(d,κ)). For a diagonally dominant Hessian, we obtain a bound of O(min⁡(ddκ,κ))\mathcal{O}(\min(d \sqrt{d \kappa}, \kappa))O(min(ddκ​,κ)) for the corresponding quantity. Thus, when d<O(κp)d < \mathcal{O}(\kappa^p)d<O(κp) where p=1p = 1p=1 for a diagonal Hessian and p=1/3p = 1/3p=1/3 for a diagonally dominant Hessian, Adam can outperform GD (which has an O(κ)\mathcal{O}(\kappa)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≪O(κ1/3)d \ll \mathcal{O}(\kappa^{1/3})d≪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-\L ojasiewicz condition.

View on arXiv
Comments on this paper