Skip to main content
QUICK REVIEW

[Paper Review] True Asymptotic Natural Gradient Optimization

Yann Ollivier|arXiv (Cornell University)|Dec 22, 2017
Stochastic Gradient Optimization TechniquesComputer Science12 references7 citations
TL;DR

This paper proposes TANGO, a lightweight optimization algorithm that asymptotically converges to exact natural gradient descent without explicitly computing or inverting the Fisher information matrix. By using a momentum-like update with pseudo-samples from the model's predictions, TANGO implicitly approximates natural gradient flow in the limit of small learning rates, achieving invariance to parameterization and optimal asymptotic convergence for both quadratic and non-quadratic models.

ABSTRACT

We introduce a simple algorithm, True Asymptotic Natural Gradient Optimization (TANGO), that converges to a true natural gradient descent in the limit of small learning rates, without explicit Fisher matrix estimation. For quadratic models the algorithm is also an instance of averaged stochastic gradient, where the parameter is a moving average of a "fast", constant-rate gradient descent. TANGO appears as a particular de-linearization of averaged SGD, and is sometimes quite different on non-quadratic models. This further connects averaged SGD and natural gradient, both of which are arguably optimal asymptotically. In large dimension, small learning rates will be required to approximate the natural gradient well. Still, this shows it is possible to get arbitrarily close to exact natural gradient descent with a lightweight algorithm.

Motivation & Objective

  • To develop a practical optimization algorithm that asymptotically achieves the performance of natural gradient descent without the computational cost of Fisher matrix estimation.
  • To bridge the theoretical gap between averaged stochastic gradient descent and natural gradient descent by showing their equivalence in the quadratic case and a smooth interpolation in the non-quadratic case.
  • To provide a method that maintains invariance to parameterization, a key property of natural gradient, while using only first-order gradients and simple updates.
  • To establish theoretical convergence to the true natural gradient trajectory in the limit of vanishing learning rates, under mild regularity conditions.

Proposed method

  • TANGO uses a velocity variable $v_k$ updated via a momentum-like recurrence that incorporates gradients from both real and pseudo-sampled data points.
  • The algorithm generates pseudo-outputs $\tilde{y}_k \sim p_\theta(\cdot|x_k)$ and computes gradients $g_k = \partial \ell(y_k|x_k)/\partial\theta$ and $\tilde{g}_k = \partial \ell(\tilde{y}_k|x_k)/\partial\theta$.
  • The velocity update $v_k = (1 - \delta t_{k-1})v_{k-1} + \gamma g_k - \gamma(1 - \delta t_{k-1})(v_{k-1}^\top \tilde{g}_k)\tilde{g}_k$ implicitly inverts the Fisher matrix through stochastic approximation.
  • The parameter update is $\theta_k = \theta_{k-1} - \delta t_k v_k$, where $\delta t_k$ is a small learning rate, ensuring convergence to the natural gradient direction.
  • For quadratic losses, TANGO is mathematically equivalent to averaged stochastic gradient descent with a specific noise model, linking it to known optimal methods.
  • The algorithm is stable when $\gamma$ is chosen such that $\gamma \leq \mathbb{E}[\|\tilde{g}\|^2] / \mathbb{E}[\|\tilde{g}\|^4]$, with safer choices based on empirical moment estimates.

Experimental results

Research questions

  • RQ1Can a simple, lightweight algorithm approximate natural gradient descent without explicitly computing the Fisher matrix?
  • RQ2How does TANGO relate to averaged stochastic gradient descent in the quadratic case?
  • RQ3Does TANGO converge to the true natural gradient trajectory as the learning rate tends to zero?
  • RQ4What is the role of pseudo-sampling in enabling implicit Fisher matrix inversion?
  • RQ5How does TANGO maintain invariance to parameterization while avoiding explicit Hessian or Fisher matrix computation?

Key findings

  • TANGO converges to the exact natural gradient trajectory in the limit of vanishing learning rates $\delta t \to 0$, with $\gamma$ fixed, as proven in Theorem 3.
  • For $\delta t = 1$, TANGO reduces to standard gradient descent with constant learning rate $\gamma$, showing it interpolates between standard and natural gradient descent.
  • In the quadratic case, TANGO is equivalent to averaged stochastic gradient descent, where $\theta_k$ is a moving average of a fast gradient descent on $v_k$.
  • The velocity update in TANGO solves the linear system $J v = \mathbb{E}[g]$ via stochastic gradient descent on $v$, with $J = \mathbb{E}[\tilde{g} \tilde{g}^\top]$ being the Fisher matrix.
  • TANGO achieves invariance to reparameterization, a key property of natural gradient, without explicit Fisher matrix computation.
  • Theoretical stability is ensured when $\gamma$ is bounded by $\mathbb{E}[\|\tilde{g}\|^2] / \mathbb{E}[\|\tilde{g}\|^4]$, with safer choices based on moment estimates.

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.