Skip to main content
QUICK REVIEW

[Paper Review] Towards Better Understanding of Adaptive Gradient Algorithms in Generative Adversarial Nets

Mingrui Liu, Youssef Mroueh|arXiv (Cornell University)|Dec 26, 2019
Stochastic Gradient Optimization TechniquesComputer Science49 references21 citations
TL;DR

This paper proposes Optimistic Adagrad (OAdagrad), an adaptive variant of Optimistic Stochastic Gradient (OSG), for non-convex non-concave min-max problems in GAN training. It establishes an improved adaptive convergence complexity of $O(\epsilon^{-\frac{2}{1-\alpha}})$, where $\alpha$ measures the growth rate of cumulative stochastic gradients, explaining why adaptive methods outperform non-adaptive ones in GANs due to slow gradient growth.

ABSTRACT

Adaptive gradient algorithms perform gradient-based updates using the history of gradients and are ubiquitous in training deep neural networks. While adaptive gradient methods theory is well understood for minimization problems, the underlying factors driving their empirical success in min-max problems such as GANs remain unclear. In this paper, we aim at bridging this gap from both theoretical and empirical perspectives. First, we analyze a variant of Optimistic Stochastic Gradient (OSG) proposed in~\citep{daskalakis2017training} for solving a class of non-convex non-concave min-max problem and establish $O(ε^{-4})$ complexity for finding $ε$-first-order stationary point, in which the algorithm only requires invoking one stochastic first-order oracle while enjoying state-of-the-art iteration complexity achieved by stochastic extragradient method by~\citep{iusem2017extragradient}. Then we propose an adaptive variant of OSG named Optimistic Adagrad (OAdagrad) and reveal an \emph{improved} adaptive complexity $O\left(ε^{-\frac{2}{1-α}} ight)$, where $α$ characterizes the growth rate of the cumulative stochastic gradient and $0\leq α\leq 1/2$. To the best of our knowledge, this is the first work for establishing adaptive complexity in non-convex non-concave min-max optimization. Empirically, our experiments show that indeed adaptive gradient algorithms outperform their non-adaptive counterparts in GAN training. Moreover, this observation can be explained by the slow growth rate of the cumulative stochastic gradient, as observed empirically.

Motivation & Objective

  • To understand why adaptive gradient methods outperform non-adaptive ones in GAN training, despite limited empirical advantage in supervised learning.
  • To bridge the theoretical gap in understanding adaptive gradient algorithms for non-convex non-concave min-max optimization.
  • To establish convergence complexity bounds for adaptive and optimistic methods in stochastic min-max settings.
  • To empirically validate the link between slow cumulative gradient growth and improved convergence in GANs.

Proposed method

  • Proposes an adaptive variant of Optimistic Stochastic Gradient (OSG), named Optimistic Adagrad (OAdagrad), for non-convex non-concave min-max problems.
  • Analyzes a variant of OSG and proves an $O(\epsilon^{-4})$ iteration complexity for finding $\epsilon$-first-order stationary points.
  • Derives an adaptive convergence complexity of $O(\epsilon^{-\frac{2}{1-\alpha}})$, where $\alpha \in [0, 1/2]$ characterizes the growth rate of cumulative stochastic gradients.
  • Uses a stochastic first-order oracle and incorporates Hessian-like preconditioning via adaptive learning rates.
  • Empirically measures the growth rate of cumulative stochastic gradients in GAN training to validate theoretical predictions.
  • Applies theoretical analysis to the WGAN-GP framework on CIFAR10, comparing OAdagrad, OSG, and Alternating Adam under varying batch sizes.

Experimental results

Research questions

  • RQ1Why do adaptive gradient methods like Adam outperform non-adaptive SGD in GAN training despite poorer performance in supervised learning?
  • RQ2What is the theoretical convergence complexity of adaptive optimistic methods in non-convex non-concave min-max problems?
  • RQ3How does the growth rate of cumulative stochastic gradients affect the convergence of adaptive methods in GANs?
  • RQ4Can the empirical success of adaptive methods in GANs be explained by theoretical bounds on convergence complexity?

Key findings

  • The proposed OAdagrad achieves an adaptive convergence complexity of $O(\epsilon^{-\frac{2}{1-\alpha}})$, which improves upon the $O(\epsilon^{-4})$ complexity of non-adaptive OSG.
  • The convergence rate of OAdagrad depends on $\alpha$, the growth rate of cumulative stochastic gradients, with slower growth leading to faster convergence.
  • Empirical results show that adaptive gradient methods like OAdagrad converge faster than OSG and Alternating Adam, especially with larger minibatch sizes.
  • The cumulative stochastic gradient in GAN training grows slowly, consistent with the theoretical prediction that such behavior leads to improved convergence in OAdagrad.
  • OAdagrad outperforms Alternating Adam when minibatch size increases, indicating benefits of adaptive learning rates in large-batch training.
  • The study provides the first theoretical complexity analysis for adaptive gradient methods in non-convex non-concave min-max optimization.

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.