Skip to main content
QUICK REVIEW

[Paper Review] Efficient Full-Matrix Adaptive Regularization

Naman Agarwal, Brian Bullins|arXiv (Cornell University)|Jun 8, 2018
Sparse and Compressive Sensing TechniquesEngineering12 citations
TL;DR

This paper proposes GGT, a scalable algorithm for efficient full-matrix adaptive regularization in non-convex optimization by computing the inverse square root of a low-rank Hessian approximation derived from a sliding window of recent gradients. The method achieves faster iteration-wise convergence than diagonal adaptive methods like Adam, especially in ill-conditioned or complex loss landscapes such as RNN training, with theoretical guarantees on convergence rate dependent on an adaptive ratio.

ABSTRACT

Adaptive regularization methods pre-multiply a descent direction by a preconditioning matrix. Due to the large number of parameters of machine learning problems, full-matrix preconditioning methods are prohibitively expensive. We show how to modify full-matrix adaptive regularization in order to make it practical and effective. We also provide a novel theoretical analysis for adaptive regularization in non-convex optimization settings. The core of our algorithm, termed GGT, consists of the efficient computation of the inverse square root of a low-rank matrix. Our preliminary experiments show improved iteration-wise convergence rates across synthetic tasks and standard deep learning benchmarks, and that the more carefully-preconditioned steps sometimes lead to a better solution.

Motivation & Objective

  • To address the computational infeasibility of full-matrix adaptive regularization in large-scale deep learning models.
  • To develop a practical, scalable method for applying full-matrix preconditioning without the prohibitive cost of matrix inversion.
  • To provide the first theoretical convergence analysis for adaptive regularization in stochastic non-convex optimization.
  • To empirically validate that full-matrix preconditioning leads to faster and more robust training than diagonal adaptive methods.
  • To demonstrate that GGT outperforms existing optimizers like Adam in complex, anisotropic loss landscapes such as RNNs.

Proposed method

  • GGT computes the inverse square root of a low-rank approximation of the gradient Gram matrix over a sliding window of recent gradients.
  • The method uses an exponentially decaying window to maintain a memory-efficient, low-rank second-moment matrix of gradients.
  • It applies a numerically stable, GPU-friendly algorithm to compute matrix-vector products with the inverse square root of this low-rank matrix.
  • The preconditioner is updated incrementally using rank-1 updates, avoiding full matrix storage and inversion.
  • The algorithm is designed as a drop-in replacement for Adam, with minimal changes to the optimization loop.
  • Theoretical analysis introduces an adaptive ratio μ that quantifies improvement over SGD, with convergence rate depending on μ.

Experimental results

Research questions

  • RQ1Can full-matrix adaptive regularization be made computationally feasible for large-scale deep learning models?
  • RQ2Does full-matrix preconditioning lead to faster convergence than diagonal adaptive methods in ill-conditioned or complex loss landscapes?
  • RQ3Can a theoretical convergence guarantee be established for adaptive regularization in stochastic non-convex optimization?
  • RQ4How does the adaptive ratio μ influence the convergence rate compared to SGD?
  • RQ5What is the impact of full-matrix preconditioning on training dynamics in RNNs and other complex models?

Key findings

  • GGT achieves faster iteration-wise convergence than Adam and other diagonal adaptive methods on standard deep learning benchmarks, especially in ill-conditioned problems.
  • In synthetic experiments, GGT significantly outperforms baselines on ill-conditioned problems, with convergence gains increasing with condition number.
  • On RNN training, GGT shows a substantial performance lead, correlating with a high condition number (~10^6), indicating better handling of anisotropic curvature.
  • Theoretical analysis shows that GGT converges to an ε-approximate first-order critical point in Õ(μ²σ²/ε⁴) stochastic gradient calls, with the adaptive ratio μ improving the rate over SGD.
  • The algorithm’s running time is comparable to state-of-the-art optimizers, making it practical for large-scale models.
  • Empirical results confirm that more carefully preconditioned steps lead to better generalization and faster training, particularly in complex, non-convex landscapes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.