arXiv:2610.10278math.NAOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.10278

Neural Sampling with Reweighted Normalizing Flows via the Wasserstein--Fisher--Rao JKO Scheme

Chenguang Duan, Johannes Hertrich, Gabriele Steidl

Chenguang Duan 1^{1}, Johannes Hertrich 2^{2}, and Gabriele Steidl 3^{3}

1^{1}Institut für Geometrie und Praktische Mathematik, RWTH Aachen University, duan@igpm.rwth-aachen.de

2^{2}Institute of Computer Science, University of Göttingen, johannes.hertrich@uni-goettingen.de

3^{3}Institute of Mathematics, TU Berlin, steidl@math.tu-berlin.de

October 8, 2026

Abstract. We propose a neural algorithm for sampling from distributions specified by unnormalized Boltzmann densities. Our approach is based on the Jordan–Kinderlehrer–Otto scheme for the Kullback–Leibler divergence in the Wasserstein–Fisher–Rao geometry (WFR JKO scheme). Our contributions are twofold. First, we prove that, for any fixed step size, the exact WFR JKO iterates converge exponentially fast to the target as the number of iterations tends to infinity. Notably, this result requires no structural assumptions on the target, such as log-concavity or a logarithmic Sobolev inequality. Second, we develop a neural implementation of the WFR JKO scheme that parametrizes its transport and reaction components using reweighted normalizing flows. Numerical experiments on challenging multimodal targets demonstrate the promising performance of the proposed method.

Keywords: Wasserstein–Fisher–Rao distance, Hellinger–Kantorvich distance, Sampling from Boltzmann densities, JKO scheme, Metropolis–Hastings algorithm

1 Introduction

Let π(x)=exp⁡(−V(x))\pi(x) = \exp(-V(x)) be a strictly positive, integrable Boltzmann density on Rd\mathbb{R}^d. We identify π\pi with the corresponding finite measure and denote its total mass by Z:=π(Rd)Z := \pi(\mathbb{R}^d). Our aim is to generate samples from the probability distribution π~=π/Z\tilde{\pi} = \pi/Z, using the unnormalized density π\pi without prior knowledge of ZZ. Such sampling problems arise in Bayesian inverse problems and data assimilation [6, 7, 17, 18, 24, 37, 43, 45], statistical mechanics [29, 40, 42], and machine learning [13, 27]. They are particularly challenging in high dimensions and when the target has several well-separated modes. In these settings, accurate sampling requires both exploration of the relevant regions of the state space and recovery of their relative probability masses.

A variational approach to this problem is to formulate sampling as the minimization of a discrepancy functional over a space of measures. A natural objective is the Kullback–Leibler (KL) divergence, whose unique minimizer is the target distribution. Equipping the space of measures with a metric determines a gradient flow of this objective and thereby provides a starting point for constructing sampling algorithms. In particular, the gradient flow of KL( ⋅∥π~\cdot \parallel \tilde{\pi}) in the quadratic Wasserstein geometry is the Fokker–Planck equation associated with overdamped Langevin dynamics [28]. The law of the Langevin diffusion thus decreases the KL divergence through the transport of probability mass.

This common continuous-time description leads to two discretization routes. On the particle level, an explicit Euler–Maruyama discretization of the Langevin diffusion yields the unadjusted Langevin algorithm [18], with stochastic-gradient variants supporting applications involving large datasets [53]. On the level of measures, the Jordan–Kinderlehrer–Otto (JKO) scheme [28] provides an implicit variational discretization. Each step minimizes the KL divergence together with a squared Wasserstein-distance penalty relative to the preceding iterate. These variational problems can be approximated using normalizing flows, leading to neural JKO sampling methods [25]. Continuous normalizing flows are particularly suitable for this purpose, since they describe both transport and density evolution through ordinary differential equations. Related implementations of the Wasserstein JKO scheme have also been developed for generative modeling [44, 52, 54].

Despite their different numerical realizations, both approaches retain the transport geometry of the underlying Wasserstein gradient flow. For multimodal targets, this geometry can lead to slow redistribution of mass: transferring probability between separated modes requires crossing regions of low density. The resulting metastability is reflected in the convergence analysis. For nonconvex potentials, the KL divergence need not be geodesically convex in the Wasserstein metric [11], and quantitative convergence estimates commonly rely on functional inequalities, such as a logarithmic Sobolev inequality (LSI) [2, 10, 51]. The associated constants can deteriorate substantially as the modes become more strongly separated. Consequently, changing from an explicit to an implicit discretization does not, by itself, remove the difficulty of sampling multimodal targets. This motivates augmenting local transport with mechanisms for global redistribution, as in the reweighting and resampling steps of sequential Monte Carlo [16], the learned nonlocal proposals of adaptive Monte Carlo [20], and the importance corrections of neural JKO sampling [25].

The Wasserstein–Fisher–Rao (WFR) metric, also known as the Hellinger–Kantorovich metric, incorporates transport and mass adjustment into a single geometric framework [12, 31, 32]. Its Wasserstein component moves mass through the state space, while its Fisher–Rao component allows mass to be created or removed. The relative masses of separated modes can therefore be adjusted without transporting all of the redistributed mass through the intervening low-density regions. Transport and reaction play complementary roles: the former supports spatial exploration, whereas the latter corrects the allocation of mass. Beyond this geometric intuition, it has been shown that exponential convergence of the WFR gradient flow can be established without assuming log-concavity or a logarithmic Sobolev inequality for the target, provided suitable conditions on the initial density ratio hold [15, 35]. These results demonstrate that reaction can yield convergence rates independent of potential barriers and provide a theoretical motivation for using WFR-type geometries in multimodal sampling.

An explicit particle realization of this principle leads to Langevin sampling with birth–death mechanisms [34, 35, 49]. In the probability-preserving setting, the underlying dynamics correspond to a spherical counterpart of the WFR geometry. The resulting algorithms combine Langevin updates with particle duplication and removal according to the discrepancy between the current and target densities. Although these updates can accelerate redistribution among modes, their implementation introduces a further difficulty: the birth–death rates depend on the evolving density, which is not directly available from an empirical particle measure. Kernel-based approximations introduce bandwidth dependence and become difficult to resolve accurately in high dimensions [35].

Thus, exploiting the favorable properties of the continuum dynamics requires a numerical representation that also provides access to the evolving density.

These considerations motivate an implicit variational approach combined with a tractable density representation. In this paper, we develop a neural sampling method based on the WFR JKO scheme. We work with the unbalanced WFR geometry on finite positive measures and minimize the extended KL divergence KL(⋅∥π)\text{KL}(\cdot \parallel \pi). Its minimizer is the unnormalized measure π\pi, so the scheme approximates both the shape and the total mass of the target. The unknown normalizing constant appears only as an additive term in the objective and is therefore unnecessary for computing the variational updates. WFR gradient flows and their variational approximations have been studied in [19, 21, 41]; here, we analyze the long-time behavior of the discrete scheme at a fixed time step.

Our main theoretical result establishes geometric decay of the KL divergence along the exact WFR-JKO iterates. The contraction factor depends only on the time step and the WFR parameter, independently of the target measure. In particular, the estimate requires neither convexity of the potential nor a logarithmic Sobolev inequality for the target.

To make the variational steps computationally accessible, we parametrize both the transport velocity and the reaction rate by neural networks. The characteristic representation of the continuity equation with reaction then combines a continuous normalizing flow with a positive, learned reweighting function. We derive a computable training objective, a Monte Carlo approximation, and a stochastic trace estimator for the divergence term. This representation propagates particle positions, density values, and total mass, thereby avoiding the kernel density estimation required by standard birth–death particle implementations.

The practical algorithm combines these learned transport–reaction steps with resampling to obtain an unweighted particle ensemble. To mitigate the loss of diversity caused by particle duplication, we incorporate Metropolis–Hastings rejuvenation steps targeting the normalized current model distribution [23, 25]. The availability of model density evaluations allows proposals in both the data space and the latent space of the learned flow. Numerical experiments on multimodal targets compare the proposed method with established MCMC and neural sampling approaches and examine the effect of these rejuvenation strategies.

Contributions. The main contributions of this work are as follows:

  1. We prove geometric decay of the extended KL divergence along the exact WFR JKO iterates for strictly positive, integrable targets. For each fixed time step, the contraction factor depends only on the time step and the WFR parameter, without requiring log-concavity or a logarithmic Sobolev inequality for the target.

  2. We derive a computable WFR JKO objective by combining continuous normalizing flows with learned reaction rates. This representation jointly describes spatial transport and mass adjustment, provides access to density values and total mass, and avoids kernel density estimation.

  3. We combine the learned transport–reaction updates with resampling and Metropolis–Hastings rejuvenation to mitigate particle degeneracy. We consider proposals in both the data and latent spaces and evaluate the resulting method on multimodal targets through comparisons with established MCMC and neural sampling approaches.

Outline of the paper. In Section 2, we collect basic results on the Wasserstein metric for probability measures as well as on the Fisher–Rao metric and the WFR metric, also known as Hellinger–Kantorivich metric, for positive measures. In particular, we rely on their dynamic formulations to formulate our loss function later in (4.1). In Section 3, we deal with the WFR–JKO scheme for minimizing the KL functional on the space of positive measures. As main result, we prove the exponential convergence of the scheme, see Theorem 3.5. In Section 4, we reformulate the WFR–JKO step minimization for an appropriate admissibility class of velocities and mobility functions. We provide a computable formulation for our objective based on ideas from the normalizing flows and present the corresponding algorithm. Since the resampling step unavoidably causes particle degeneracy we propose to rejuvenate the ensemble while preserving its target by applying a Metropolis–Hastings step after each resampling step in Section 5. Finally, we present our promising numerical results in Section 6. The appendices contain proofs of auxiliar results and the pseudo-code of the algorithms.

References (43)