Sequential Monte Carlo approximations of Wasserstein--Fisher--Rao gradient flows

Francesca R. Crucinio, Sahani PathirajaarXiv 2025 · DOI

Abstract

We consider the problem of sampling from a probability distribution $\pi$. It is well known that this can be written as an optimisation problem over the space of probability distribution in which we aim to minimise the Kullback–Leibler divergence from $\pi$. We consider several partial differential equations (PDEs) whose solution is a minimiser of the Kullback–Leibler divergence from $\pi$ and connect them to well-known Monte Carlo algorithms. We focus in particular on PDEs obtained by considering the Wasserstein–Fisher–Rao geometry over the space of probabilities and show that these lead to a natural implementation using importance sampling and sequential Monte Carlo. We propose a novel algorithm to approximate the Wasserstein–Fisher–Rao flow of the Kullback–Leibler divergence and conduct an extensive empirical study to identify when these algorithms outperforms other popular Monte Carlo algorithms.

Introduction

Sampling from complex, high-dimensional probability distributions is a foundational challenge in modern statistics and machine learning. This task is often reframed as an optimization problem: moving an initial distribution toward a target $\pi$ by minimizing the Kullback–Leibler (KL) divergence. The trajectory of this optimization depends on the chosen geometry of the probability space, leading to different gradient flows.

Two prominent flows are the Wasserstein (W) flow, which corresponds to Langevin dynamics and excels at local exploration, and the Fisher–Rao (FR) flow, which acts as a birth-death process to reweight mass. While the W flow struggles with multimodal landscapes and the FR flow cannot move particles to new locations, their combination—the Wasserstein–Fisher–Rao (WFR) flow—theoretically offers the best of both worlds. However, stable numerical approximations for WFR have remained elusive until now.

Methodology: The SMC-WFR Algorithm

This paper introduces SMC-WFR, a stable algorithm that discretizes the WFR flow in time before space. This "time-first" approach allows the algorithm to alternate between two distinct steps:

  1. The W Step (Exploration): Particles are moved using the Unadjusted Langevin Algorithm (ULA), diffusing them through the state space based on the gradient of the target distribution.
  2. The FR Step (Exploitation): Instead of a literal birth-death simulation, the FR flow is solved exactly via importance sampling. Particles are reweighted based on their alignment with the target, followed by a resampling step to duplicate high-performing particles and eliminate others.

Crucially, the authors prove that this alternating scheme is a specific instance of Sequential Monte Carlo (SMC) samplers. This provides a theoretical bridge showing that SMC samplers are numerical approximations of Fisher-Rao type gradient flows, paralleling how Langevin dynamics approximate Wasserstein flows.

Comparison of KL divergence decay for Wasserstein (W), Fisher-Rao (FR), and Wasserstein-Fisher-Rao (WFR) flows starting from a high initial divergence.

Key Insights and Synergy

The core advantage of the WFR flow is the synergy between its components. The W flow provides "horizontal" movement (exploration), while the FR flow provides "vertical" mass transfer (teleporting mass between modes). As shown in the figures, the WFR flow (green) consistently converges faster than either W or FR alone, regardless of the initial KL divergence scale. This makes the algorithm exceptionally robust to poor initializations where the starting distribution may have minimal overlap with the target.

Empirical Results

The authors tested SMC-WFR against synthetic targets designed to challenge standard samplers, including 20D Gaussian mixtures and "Banana" distributions.

  • Accuracy and Stability: SMC-WFR drastically outperformed existing Birth-Death Langevin (BDL) methods. In a 2D Gaussian mixture test, SMC-WFR achieved a Mean Squared Error (MSE) of 0.007, compared to BDL's 1.930–2.406.
  • Multimodality: SMC-WFR successfully converged on complex multimodal targets where standard MCMC methods like ULA and MALA failed to find all modes.
  • Efficiency: While the per-iteration cost is higher ($O(N^2)$), the algorithm reaches convergence in significantly less wall-clock time on challenging geometries because it requires far fewer steps.
KL divergence decay for the three flows starting from a lower initial divergence, highlighting the superior convergence rate of the WFR flow.

Limitations and Future Directions

Despite its strengths, SMC-WFR faces a computational bottleneck due to its $O(N^2)$ weight computation cost. Future work may involve adapting $N$-body learning techniques or GPU optimizations to scale the particle count. Additionally, because the method relies on ULA, it inherits a time-discretization bias. The authors suggest that using adaptive step sizes or transitioning to a Metropolis-adjusted proposal (MALA) once particles reach high-probability regions could further refine the approach.

Summary updated

BibTeX
@misc{crucinio2025sequential,
  author = {Francesca R. Crucinio and Sahani Pathiraja},
  title = {{Sequential Monte Carlo approximations of Wasserstein--Fisher--Rao gradient flows}},
  year = {2025},
  eprint = {2506.05905},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.05905},
}
Figure