Skip to main content
QUICK REVIEW

[Paper Review] PAGE: A Simple and Optimal Probabilistic Gradient Estimator for Nonconvex Optimization

Zhize Li, Hongyan Bao|arXiv (Cornell University)|Aug 25, 2020
Stochastic Gradient Optimization TechniquesComputer Science50 references22 citations
TL;DR

This paper introduces PAGE, a novel probabilistic gradient estimator for nonconvex optimization that combines vanilla SGD with gradient reuse to achieve optimal convergence rates. PAGE matches the tightest known lower bounds for both finite-sum and online nonconvex problems, achieving $O(n + rac{ar{sqrt}{n}}{ar{epsilon}^2})$ and $O(b + rac{ar{sqrt}{b}}{ar{epsilon}^2})$ gradient complexity, respectively, with automatic acceleration under the Polyak-Łojasiewicz condition.

ABSTRACT

In this paper, we propose a novel stochastic gradient estimator -- ProbAbilistic Gradient Estimator (PAGE) -- for nonconvex optimization. PAGE is easy to implement as it is designed via a small adjustment to vanilla SGD: in each iteration, PAGE uses the vanilla minibatch SGD update with probability $p_t$ or reuses the previous gradient with a small adjustment, at a much lower computational cost, with probability $1-p_t$. We give a simple formula for the optimal choice of $p_t$. Moreover, we prove the first tight lower bound $Ω(n+\frac{\sqrt{n}}{ε^2})$ for nonconvex finite-sum problems, which also leads to a tight lower bound $Ω(b+\frac{\sqrt{b}}{ε^2})$ for nonconvex online problems, where $b:= \min\{\frac{σ^2}{ε^2}, n\}$. Then, we show that PAGE obtains the optimal convergence results $O(n+\frac{\sqrt{n}}{ε^2})$ (finite-sum) and $O(b+\frac{\sqrt{b}}{ε^2})$ (online) matching our lower bounds for both nonconvex finite-sum and online problems. Besides, we also show that for nonconvex functions satisfying the Polyak-Łojasiewicz (PL) condition, PAGE can automatically switch to a faster linear convergence rate $O(\cdot\log \frac{1}ε)$. Finally, we conduct several deep learning experiments (e.g., LeNet, VGG, ResNet) on real datasets in PyTorch showing that PAGE not only converges much faster than SGD in training but also achieves the higher test accuracy, validating the optimal theoretical results and confirming the practical superiority of PAGE.

Motivation & Objective

  • To address the gap in optimal gradient complexity for nonconvex finite-sum and online optimization problems.
  • To design a simple yet optimal stochastic gradient estimator that outperforms existing methods in theory and practice.
  • To establish tight lower bounds for nonconvex finite-sum and online problems, proving optimality of the proposed method.
  • To enable automatic acceleration under the Polyak-Łojasiewicz (PL) condition without requiring prior knowledge of the condition.
  • To validate the theoretical advantages of PAGE through extensive deep learning experiments on real-world datasets.

Proposed method

  • PAGE uses a probabilistic switch: with probability $p_t$, it applies vanilla minibatch SGD; with probability $1-p_t$, it reuses the previous gradient with a small adjustment.
  • The optimal $p_t$ is derived as $p_t = \frac{b'}{b + b'}$, where $b$ is the minibatch size and $b'$ is the secondary minibatch size.
  • The method employs a Lyapunov function analysis to prove convergence, incorporating variance reduction via gradient reuse.
  • It introduces a novel analysis framework that links gradient reuse to variance control, enabling tight convergence bounds.
  • The algorithm is designed to be backward-compatible with SGD, requiring only a small modification to standard training loops.
  • For PL-regularized problems, PAGE automatically switches to linear convergence without parameter tuning.

Experimental results

Research questions

  • RQ1What is the tightest possible lower bound for gradient complexity in nonconvex finite-sum optimization?
  • RQ2Can a simple gradient estimator achieve optimal convergence rates without complex variance reduction mechanisms?
  • RQ3How can gradient reuse be optimally balanced with fresh gradient computation to minimize computational cost?
  • RQ4Does the proposed method achieve linear convergence under the Polyak-Łojasiewicz condition without explicit knowledge of the condition?
  • RQ5Can the theoretical optimality of the method be validated in practical deep learning settings?

Key findings

  • The paper establishes a tight lower bound of $\Omega(n + \frac{\sqrt{n}}{\epsilon^2})$ for nonconvex finite-sum problems, which matches the upper bound achieved by PAGE.
  • For online nonconvex problems, the tight lower bound is $\Omega(b + \frac{\sqrt{b}}{\epsilon^2})$, where $b = \min\{\frac{\sigma^2}{\epsilon^2}, n\}$, and PAGE matches this bound.
  • PAGE achieves optimal gradient complexity $O(n + \frac{\sqrt{n}}{\epsilon^2})$ for finite-sum problems and $O(b + \frac{\sqrt{b}}{\epsilon^2})$ for online problems.
  • Under the Polyak-Łojasiewicz (PL) condition, PAGE achieves linear convergence rate $O(\cdot \log \frac{1}{\epsilon})$ without requiring prior knowledge of the condition.
  • In deep learning experiments on LeNet, VGG, and ResNet, PAGE converged faster and achieved higher test accuracy than SGD across multiple real datasets.
  • The gradient complexity of PAGE is $O((b + \sqrt{b}\kappa)\log \frac{1}{\epsilon})$ under the PL condition, confirming its efficiency in favorable settings.

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.