Skip to main content
QUICK REVIEW

[Paper Review] Sampling via Gradient Flows in the Space of Probability Measures

Yifan Chen, Daniel Zhengyu Huang|arXiv (Cornell University)|Oct 5, 2023
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper investigates gradient flows in the space of probability measures for sampling target distributions with unknown normalization constants. It establishes the KL divergence as uniquely advantageous among f-divergences due to invariance to normalization, introduces affine-invariant Wasserstein and Stein gradient flows for improved sampling of anisotropic distributions, and develops efficient Gaussian approximation methods—demonstrating superior performance for log-concave and Gaussian targets, though limitations arise for multimodal or curved manifolds.

ABSTRACT

Sampling a target probability distribution with an unknown normalization constant is a fundamental challenge in computational science and engineering. Recent work shows that algorithms derived by considering gradient flows in the space of probability measures open up new avenues for algorithm development. This paper makes three contributions to this sampling approach by scrutinizing the design components of such gradient flows. Any instantiation of a gradient flow for sampling needs an energy functional and a metric to determine the flow, as well as numerical approximations of the flow to derive algorithms. Our first contribution is to show that the Kullback-Leibler divergence, as an energy functional, has the unique property (among all f-divergences) that gradient flows resulting from it do not depend on the normalization constant of the target distribution. Our second contribution is to study the choice of metric from the perspective of invariance. The Fisher-Rao metric is known as the unique choice (up to scaling) that is diffeomorphism invariant. As a computationally tractable alternative, we introduce a relaxed, affine invariance property for the metrics and gradient flows. In particular, we construct various affine invariant Wasserstein and Stein gradient flows. Affine invariant gradient flows are shown to behave more favorably than their non-affine-invariant counterparts when sampling highly anisotropic distributions, in theory and by using particle methods. Our third contribution is to study, and develop efficient algorithms based on Gaussian approximations of the gradient flows; this leads to an alternative to particle methods. We establish connections between various Gaussian approximate gradient flows, discuss their relation to gradient methods arising from parametric variational inference, and study their convergence properties both theoretically and numerically.

Motivation & Objective

  • To understand the design principles of gradient flows in the space of probability measures for sampling.
  • To identify why the Kullback-Leibler (KL) divergence is uniquely advantageous among f-divergences for sampling.
  • To investigate the role of metric invariance in gradient flow performance, especially for anisotropic and challenging target distributions.
  • To develop computationally efficient alternatives to particle methods via Gaussian approximations of gradient flows.
  • To evaluate the convergence and accuracy of affine-invariant gradient flows and their Gaussian approximations across diverse target distributions.

Proposed method

  • Formalizing sampling as a gradient flow in the space of probability measures using an energy functional and a metric tensor.
  • Proving that the KL divergence is the only f-divergence whose gradient flow is invariant to the normalization constant of the target distribution.
  • Introducing a relaxed affine invariance property for metrics and constructing affine-invariant Wasserstein and Stein gradient flows as computationally tractable alternatives to diffeomorphism-invariant flows.
  • Developing Gaussian approximate gradient flows by projecting the continuous-time flow onto a parametric family of Gaussians, enabling efficient implementation.
  • Using particle methods to numerically approximate the full gradient flows and comparing convergence behavior across different metrics and target distributions.
  • Establishing theoretical convergence rates for the Gaussian approximate Fisher-Rao gradient flow and relating it to parametric variational inference methods.

Experimental results

Research questions

  • RQ1Why is the Kullback-Leibler divergence uniquely suited as an energy functional for sampling in the space of probability measures?
  • RQ2How do invariance properties—specifically diffeomorphism and affine invariance—affect the convergence behavior of gradient flows in sampling applications?
  • RQ3Can affine-invariant gradient flows be constructed using Wasserstein and Stein metrics, and do they outperform non-invariant counterparts in sampling highly anisotropic distributions?
  • RQ4How effective are Gaussian approximations of gradient flows as scalable alternatives to particle-based implementations?
  • RQ5What are the limitations of affine-invariant Gaussian approximations when sampling non-Gaussian, multimodal, or curved manifold-located posteriors?

Key findings

  • The KL divergence is the only f-divergence for which the resulting gradient flow is independent of the normalization constant of the target distribution, justifying its widespread use in sampling.
  • The Fisher-Rao metric is the unique (up to scaling) diffeomorphism-invariant metric, enabling uniform exponential convergence under general conditions, but its particle implementation is highly non-trivial.
  • Affine-invariant Wasserstein and Stein gradient flows are constructed and shown to outperform non-affine-invariant counterparts in sampling highly anisotropic distributions, both theoretically and numerically.
  • The Gaussian approximate Fisher-Rao gradient flow, which inherits affine invariance, demonstrates strong convergence and accuracy for Gaussian and log-concave targets, as measured by $L^2$ error and covariance error.
  • For general posteriors—especially multimodal or concentrated on curved manifolds like the Rosenbrock function—the Gaussian approximation fails to capture the true posterior, highlighting its limitations.
  • The study identifies a need for more advanced approximations such as Gaussian mixtures to handle complex posterior geometries beyond the scope of current affine-invariant Gaussian methods.

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.