Complexity Analysis of Stein Variational Gradient Descent Under Talagrand's Inequality T1

Adil Salim, Lukang Sun, Peter Richtárik

Abstract

Stein Variational Gradient Descent (SVGD) is an algorithm for sampling from a target density which is known up to a multiplicative constant. Although SVGD is a popular algorithm in practice, its theoretical study is limited to a few recent works. We study the convergence of SVGD in the population limit (i.e., with an infinite number of particles) to sample from a non-logconcave target distribution satisfying Talagrand's inequality T1. We first establish the convergence of the algorithm. Then, we establish a dimension-dependent complexity bound in terms of the Kernelized Stein Discrepancy (KSD). Unlike existing works, we do not assume that the KSD is bounded along the trajectory of the algorithm. Our approach relies on interpreting SVGD as a gradient descent over a space of probability measures.

Introduction

Sampling from complex probability distributions is a cornerstone of Bayesian Machine Learning. While the Langevin algorithm is the traditional "gold standard" with well-established convergence rates, Stein Variational Gradient Descent (SVGD) has emerged as a popular, particle-based alternative that often performs better in practice.

However, SVGD's theoretical foundations have remained relatively underdeveloped. Most existing proofs either focus on continuous-time approximations—which fail to account for discrete steps—or rely on "unverifiable" assumptions, such as assuming the algorithm's error remains bounded throughout its entire run. Furthermore, a clear understanding of how SVGD's complexity scales with the dimension ($d$) of the problem has been missing. This work fills these gaps by providing a rigorous analysis of SVGD in discrete time under realistic, verifiable conditions.

Methodology

Algorithm 1: Stein Variational Gradient Descent (SVGD) as formulated by Liu & Wang (2016).

The authors analyze SVGD in the population limit, a theoretical setting where we have an infinite number of particles. This allows them to treat the algorithm as a form of gradient descent on the space of probability measures. Key technical components include:

  • Talagrand’s Inequality (T1): Instead of requiring the target distribution to be "log-concave" (the probabilistic equivalent of a convex function), the analysis only requires it to satisfy T1. This is a much milder condition that essentially requires the distribution's "tails" to decay at a specific rate.
  • Riemannian Interpretation: SVGD is interpreted as a Riemannian gradient descent on the Kullback-Leibler (KL) divergence within the Wasserstein space, restricted to directions in a Reproducing Kernel Hilbert Space (RKHS).
  • Descent Lemma: The authors establish a "descent property" showing that the KL divergence decreases at every step, provided the step size is small enough. Crucially, this step size depends only on problem constants ($L$, $d$, $\lambda$), not on the algorithm's specific trajectory.

Key Theoretical Insights

SVGD is "Smooth" in the RKHS

Even if the target distribution is non-convex (non-logconcave), the analysis shows that SVGD behaves like a smooth optimization problem. This is because the "descent directions" are restricted to a specific function space (the RKHS), which effectively regularizes the update steps.

Sufficiency of T1

The analysis demonstrates that the strong "Log-Sobolev Inequality" (LSI) typically used for Langevin analysis is not strictly necessary for SVGD. The much weaker T1 inequality is sufficient to guarantee that SVGD will not get "stuck" far from the target distribution.

Removal of the "Bounded KSD" Assumption

Unlike previous work (e.g., Korba et al., 2020), this theory does not assume that the Kernelized Stein Discrepancy (KSD) stays bounded. Convergence is proven from any starting point with finite KL divergence, making the theory more robust and applicable to real-world scenarios.

Convergence and Complexity Results

  • Convergence Rate: The squared KSD (a measure of how far the current particles are from the target) converges at a rate of $O(1/n)$, where $n$ is the number of iterations.
  • Complexity Bound: To reach an accuracy of $\epsilon$, the algorithm requires roughly $\tilde{\Omega}\left(\frac{Ld^{3/2}}{\lambda^{1/2}\epsilon}\right)$ iterations.
  • Dimension Dependence: This provides the first explicit look at how SVGD scales with dimension $d$, showing a $d^{3/2}$ dependence under the specific initialization studied.
  • Weak Convergence: The sequence of distributions produced by SVGD is proven to converge weakly (and in 1-Wasserstein distance) to the true target distribution.

Limitations and Future Work

The primary limitation of this work is the assumption of an infinite number of particles (the population limit). In practice, SVGD uses a finite set of $N$ particles. Extending this "clean" theory to the finite-particle regime remains a difficult open problem because the KL divergence becomes infinite when dealing with discrete particles.

Additionally, the authors suggest that their framework could be extended to even weaker conditions than T1, such as Poincaré inequalities, which would cover an even broader class of target distributions. Finally, while a constant step size is provided that guarantees convergence, finding the optimal step size for the fastest possible convergence remains an open research question.

Summary updated

Abstract

Stein Variational Gradient Descent (SVGD) is an algorithm for sampling from a target density which is known up to a multiplicative constant. Although SVGD is a popular algorithm in practice, its theoretical study is limited to a few recent works. We study the convergence of SVGD in the population limit, (i.e., with an infinite number of particles) to sample from a non-logconcave target distribution satisfying Talagrand's inequality T1. We first establish the convergence of the algorithm. Then, we establish a dimension-dependent complexity bound in terms of the Kernelized Stein Discrepancy (KSD). Unlike existing works, we do not assume that the KSD is bounded along the trajectory of the algorithm. Our approach relies on interpreting SVGD as a gradient descent over a space of probability measures.
BibTeX
@inproceedings{salim2022complexity,
  author = {Adil Salim and Lukang Sun and Peter Richtárik},
  title = {{Complexity Analysis of Stein Variational Gradient Descent Under Talagrand's Inequality T1}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=6I8R2AwBJN},
}
Figure