Skip to main content
QUICK REVIEW

[Paper Review] A stochastic Stein Variational Newton method

Alex Leviyev, Joshua Chen|arXiv (Cornell University)|Apr 19, 2022
Markov Chains and Monte Carlo MethodsMathematics7 citations
TL;DR

This paper proposes a stochastic Stein variational Newton (sSVN) method that combines the fast convergence of Stein variational Newton (SVN) with the asymptotic correctness of stochastic SVGD (sSVGD). By incorporating a noise term derived from a stochastic differential equation and a Levenberg-like damping, sSVN achieves unbiased sampling while reducing gradient evaluations by up to three orders of magnitude compared to sSVGD on challenging posterior distributions.

ABSTRACT

Stein variational gradient descent (SVGD) is a general-purpose optimization-based sampling algorithm that has recently exploded in popularity, but is limited by two issues: it is known to produce biased samples, and it can be slow to converge on complicated distributions. A recently proposed stochastic variant of SVGD (sSVGD) addresses the first issue, producing unbiased samples by incorporating a special noise into the SVGD dynamics such that asymptotic convergence is guaranteed. Meanwhile, Stein variational Newton (SVN), a Newton-like extension of SVGD, dramatically accelerates the convergence of SVGD by incorporating Hessian information into the dynamics, but also produces biased samples. In this paper we derive, and provide a practical implementation of, a stochastic variant of SVN (sSVN) which is both asymptotically correct and converges rapidly. We demonstrate the effectiveness of our algorithm on a difficult class of test problems -- the Hybrid Rosenbrock density -- and show that sSVN converges using three orders of magnitude fewer gradient evaluations of the log likelihood than its stochastic SVGD counterpart. Our results show that sSVN is a promising approach to accelerating high-precision Bayesian inference tasks with modest-dimension, $d\sim\mathcal{O}(10)$.

Motivation & Objective

  • To address the bias in deterministic Stein variational Newton (SVN) while preserving its fast convergence.
  • To develop a stochastic variant of SVN that ensures asymptotic correctness through noise injection, similar to sSVGD.
  • To enable efficient high-precision Bayesian inference in low-to-moderate dimensional problems ($d \sim \mathcal{O}(10)$).
  • To improve convergence speed and stability using a Levenberg-like damping term in the dynamics.
  • To demonstrate that sSVN achieves accurate posterior reconstruction with orders-of-magnitude fewer log-likelihood gradient evaluations than sSVGD.

Proposed method

  • Derive a stochastic variant of SVN (sSVN) by adding a noise term derived from the discretization of a stochastic differential equation, ensuring asymptotic correctness.
  • Incorporate Hessian information into the particle dynamics to accelerate convergence, similar to Newton methods in optimization.
  • Introduce a Levenberg-like damping term to stabilize the flow and improve globalization, especially in narrow-ridge regions.
  • Use a kernelized Stein discrepancy framework to define the functional gradient and Newton update directions.
  • Implement a Markov chain with a proposal distribution centered at the Newton step plus noise, enabling asymptotically correct sampling.
  • Apply a damping schedule or Metropolis-Hastings correction to further reduce bias in the stationary distribution.

Experimental results

Research questions

  • RQ1Can a stochastic variant of Stein variational Newton (SVN) be constructed to ensure asymptotic correctness while retaining fast convergence?
  • RQ2How does the inclusion of a noise term derived from a stochastic differential equation affect the convergence and bias of SVN dynamics?
  • RQ3To what extent does sSVN reduce the number of log-likelihood gradient evaluations required for posterior convergence compared to sSVGD?
  • RQ4How does the Levenberg-like damping improve the stability and robustness of sSVN in high-curvature posterior regions?
  • RQ5Can sSVN achieve high-precision posterior reconstruction on challenging test problems like the Hybrid Rosenbrock density?

Key findings

  • sSVN achieves posterior reconstruction with approximately 1,000 times fewer gradient evaluations than sSVGD on a five-dimensional Hybrid Rosenbrock problem.
  • In a ten-dimensional Hybrid Rosenbrock test case, sSVN equilibrates in about 200 iterations, while sSVGD requires over 10,000 iterations to converge.
  • The final samples from sSVN show excellent agreement with ground truth, as confirmed by P-P plots and corner plots, even with only 100 final iterations.
  • sSVN demonstrates superior moment convergence, with all moments stabilizing within 100 iterations in the five-dimensional case, compared to over 10,000 for sSVGD.
  • The algorithm inherits the affine invariance of SVN, allowing larger, more robust stepsizes that are less sensitive to narrow ridges in the posterior.
  • The use of a damping schedule or Metropolis-Hastings correction ensures asymptotic correctness, eliminating bias in the stationary distribution.

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.