English

Apollo: An Adaptive Parameter-wise Diagonal Quasi-Newton Method for Nonconvex Stochastic Optimization

Machine Learning 2021-08-23 v6 Machine Learning

Abstract

In this paper, we introduce Apollo, a quasi-Newton method for nonconvex stochastic optimization, which dynamically incorporates the curvature of the loss function by approximating the Hessian via a diagonal matrix. Importantly, the update and storage of the diagonal approximation of Hessian is as efficient as adaptive first-order optimization methods with linear complexity for both time and memory. To handle nonconvexity, we replace the Hessian with its rectified absolute value, which is guaranteed to be positive-definite. Experiments on three tasks of vision and language show that Apollo achieves significant improvements over other stochastic optimization methods, including SGD and variants of Adam, in term of both convergence speed and generalization performance. The implementation of the algorithm is available at https://github.com/XuezheMax/apollo.

Keywords

Cite

@article{arxiv.2009.13586,
  title  = {Apollo: An Adaptive Parameter-wise Diagonal Quasi-Newton Method for Nonconvex Stochastic Optimization},
  author = {Xuezhe Ma},
  journal= {arXiv preprint arXiv:2009.13586},
  year   = {2021}
}

Comments

Fixed errors in convergence analysis. 29 pages (plus appendix), 6 figures, 7 tables

R2 v1 2026-06-23T18:51:33.714Z