Introduction
Sampling from complex probability distributions is a fundamental challenge in Bayesian inference and machine learning. Traditional methods often struggle when the target distribution is anisotropic—characterized by "narrow ridges" or significant differences in scale across different dimensions. This paper proposes a unifying framework that views sampling as a gradient flow of the Kullback-Leibler (KL) divergence. By analyzing the geometry of probability spaces, the authors introduce affine-invariant metrics that ensure sampling efficiency regardless of the coordinate system or scaling of the target distribution.
The Gradient Flow Perspective
The core idea is to treat sampling as an optimization problem: evolving an initial distribution $\rho_t$ toward a target distribution $\pi$ by minimizing the KL divergence $D_{KL}(\rho || \pi)$.
The Uniqueness of KL Divergence
A significant theoretical contribution of this work is the proof that the KL divergence is the unique choice among $f$-divergences that allows for gradient flows without requiring the normalization constant of the target distribution. This property is crucial for Bayesian applications where the evidence (the denominator in Bayes' rule) is typically unknown.
Metrics and Geometries
The paper explores three primary geometries for the space of probability measures:
- Fisher-Rao Metric: This metric is invariant under any smooth coordinate transformation (diffeomorphism). While theoretically ideal, it is difficult to implement for particle-based methods as it requires birth-death processes.
- Wasserstein Metric: This leads to the well-known Fokker-Planck equations and Langevin-type Stochastic Differential Equations (SDEs).
- Stein Metric: This underlies Stein Variational Gradient Descent (SVGD), resulting in deterministic particle flows.
Affine Invariance and Preconditioning
Standard Wasserstein and Stein flows are not affine-invariant; their performance degrades if the target distribution is highly stretched. The authors propose a "relaxed" invariance property. By incorporating the covariance matrix of the current particle ensemble into the metric, they derive affine-invariant versions of these flows.
In these modified frameworks, the algorithm's behavior remains identical under any linear rescaling or rotation of the parameters. For Gaussian targets, this ensures that the convergence rate is entirely independent of the distribution's condition number, effectively "whitening" the problem dynamically.
Gaussian Approximations and Moment Closure
To reduce the computational burden of tracking full probability densities, the authors investigate flows restricted to the manifold of Gaussian distributions. They demonstrate a remarkable theoretical equivalence: for many metrics, a simple "moment closure" approach (tracking only the mean and covariance) is equivalent to a formal Riemannian projection of the full gradient flow onto the Gaussian manifold. This justifies the use of simplified Gaussian dynamics as a principled approximation of the more complex underlying flow.
Numerical Results and Insights
The methods were evaluated on three representative 2D synthetic distributions: a standard Gaussian, a log-concave posterior, and the Rosenbrock "banana" function.
- Convergence Speed: Affine-invariant Wasserstein and Stein flows significantly outperformed their standard counterparts on anisotropic targets.
- Fisher-Rao Performance: The Gaussian-approximated Fisher-Rao flow (related to Natural Gradient Descent) proved to be the most robust across various scalings.
- Robustness vs. Fidelity: While the Gaussian approximations are highly efficient, they struggle with the non-linear curvature of the Rosenbrock function, highlighting a trade-off between computational speed and the ability to capture non-Gaussian shapes.
Conclusion and Future Directions
This research provides a rigorous theoretical "umbrella" for disparate sampling methods. By identifying the role of affine invariance, the authors offer a clear path toward more robust inference algorithms. Future work may involve extending these concepts to Gaussian Mixture Models to better capture multimodal structures and exploring applications in high-dimensional Bayesian inverse problems where the forward model's structure can be further exploited.
Summary updated