Manuscript Offprint
arXiv:2611.05605Transport along Local Annealing Paths: Wasserstein Geometry and Multimodal Sampling
Abstract
Variational approaches to learning transport maps for multimodal sampling can suffer from mode collapse. One way to mitigate this problem is to learn transport along a prescribed path of intermediate distributions defined by geometric annealing. We show that annealing can take a substantial detour in Wasserstein space: when mass moves between modes, the path can be much longer than the distance between its endpoints. We further link path geometry to transport learning, showing that long annealing paths can slow population optimization, while sufficiently regular paths permit rapid convergence. Motivated by these findings, we propose componentwise annealed transport (CAT) to reduce the need for mass transfer between modes. Starting from a mode-informed mixture reference, CAT constructs an exact mixture decomposition of the target and learns separate transport maps along componentwise annealing paths. We estimate the component weights separately and show that these estimates remain consistent even when the learned flows are inexact. We also develop adaptive annealing schedules guided by transport effort. Experiments on multimodal synthetic distributions and Bayesian inference problems demonstrate improvements in transport learning and sampling efficiency.
1 Introduction
Sampling from multimodal distributions can be challenging when regions of high probability are well-separated. This separation can hinder exploration and make it difficult to obtain representative samples. Annealing and tempering offer a classical approach: they introduce intermediate distributions between a tractable reference and the target. At higher temperatures, these distributions become flatter, facilitating movement between modes. This strategy underlies methods such as annealed importance sampling [AIS; 33], tempered transitions [32], sequential Monte Carlo [SMC; 17], and simulated and parallel tempering [43, 26, 20].
Classical annealing methods propagate samples through intermediate distributions via stochastic transitions, often combined with importance weighting, resampling, or Metropolis adjustment. Learning-based methods instead construct reusable transport maps for this propagation. Once learned, a map can efficiently generate independent samples from an approximation to the target, amortizing its training cost, whereas MCMC requires further simulation to obtain new samples. Transport maps can be parameterized using Knothe–Rosenblatt maps [18], normalizing flows [37], or continuous normalizing flows [10], or constructed sequentially via iterative Gaussianization [11]. Yet learning a map directly for a multimodal target remains challenging: variational training that minimizes the reverse Kullback–Leibler (KL) divergence can favor approximations concentrated on a subset of the target modes, a phenomenon known as mode collapse [41].
Several methods combine annealing with transport maps, but use intermediate distributions for different purposes. Within SMC, annealed flow transport [AFT; 3] and continual repeated annealed flow transport [CRAFT; 28] learn maps between successive annealed targets alongside importance weighting, resampling, and Markov transitions. In parallel tempering, learned transports can instead assist exchanges between neighboring temperatures [54]. Annealing can also support flow training: Flow AIS bootstrap [FAB; 31] uses AIS-generated samples to train a flow with a mass-covering -divergence, whereas TemperFlow [39] fits a transport map successively to tempered targets, using the parameters learned at one temperature to warm-start training at the next. Annealing Flow learns a sequence of continuous normalizing-flow blocks targeting successive annealed distributions, using a reverse-KL objective regularized by transport energy [52]. A theoretical study of variational inference for Gaussian mixtures examines how the annealing schedule affects mode collapse during reverse-KL optimization [19, 50]. Gibbs flow constructs approximate continuous-time transports along annealing paths using full conditional distributions and incorporates them into SMC samplers [22]. Other continuous-time methods learn velocity fields along prescribed or learned density paths using continuity-equation residuals, sometimes with importance weights to correct imperfect transport [27, 48, 1]. Kernel methods also construct transport along prescribed annealing paths by approximating velocity fields in reproducing kernel Hilbert spaces [29, 35].
However, learning transport along an annealing path can be difficult when the relative masses of modes change with temperature. A velocity field that realizes the path must then move probability between modes. If those modes are separated by regions of very low probability, this transfer can require large velocities, making the flow difficult to learn. Changes in modal probabilities also contribute to slow mixing in parallel and simulated tempering [51], while difficulties with inter-mode transport have been observed in learning density interpolations [27].
One solution is to modify the annealing path to preserve modal weights. Weight-preserving annealing has been proposed for simulated and parallel tempering [47]. It uses mode locations and local curvature information to define a hard partition of the sample space that approximately preserves modal weights. However, the resulting density may be discontinuous at partition boundaries. Another approach is to construct alternative probability paths between the reference and target distributions. For example, diffusion paths progressively add noise to target samples, preserving mixture weights while smoothing the components. However, the intermediate densities and scores are generally unavailable in closed form. Stochastic optimal control formulations provide a way to learn the drift or score functions needed for sampling [55, 49]. Practical training generally lacks global convergence guarantees, and errors in the learned scores and time discretization can bias samples. Metropolis correction can remove this sampling bias, although its acceptance probability remains sensitive to score approximation errors [9].
We propose a new probability path based on local annealing. Starting from a mode-informed mixture reference, we decompose the target into overlapping mixture components and anneal each component separately, keeping the reference mixture weights fixed along the path. This separates the learning of local transport from the estimation of component weights, avoiding the need to move mass between components merely to adjust their relative probabilities. When the reference components capture the target's local structure, the resulting componentwise paths can avoid the transport bottlenecks of global annealing. Unlike hard-partition constructions [47], this soft decomposition does not introduce discontinuities at partition boundaries. We learn a transport map for each component and then calibrate the mixture weights to approximate the target.
We characterize the benefits of componentwise annealing through a study of Wasserstein geometry and optimization dynamics. Poincaré inequalities are widely used to analyze the convergence of Langevin dynamics [5, 12]; our analysis identifies their complementary role in transport learning. A uniform Poincaré inequality along the path both controls the Wasserstein length of the path and supports fast population optimization. This connection provides further motivation for constructing regular local paths to facilitate efficient transport learning. The main contributions are summarized as follows.
-
A geometric characterization of annealing paths. We study annealing paths in Wasserstein space and quantify how moving probability across low-density regions can make a path substantially longer than the Wasserstein distance between its endpoints. In contrast, under a uniform Poincaré inequality, the path length can be bounded in terms of the Poincaré constant and a divergence between only the two endpoints.
-
A link between path geometry and optimization dynamics. We analyze the population gradient flow of the continuity-equation residual loss in the space of velocity fields. We show that a long annealing path imposes a lower bound on accumulated optimization loss and can lead to slow convergence. Conversely, a uniform Poincaré inequality implies a Polyak–Lojasiewicz inequality and exponential loss decay.
-
A practical algorithm with consistent weight estimation and adaptive schedules. We develop a practical algorithm that separates component transport from weight estimation, allowing the component flows to be trained independently and in parallel. Under a support condition, the component weight estimator is consistent even when the learned flows are inexact. We also develop component-specific adaptive schedules guided by a bound on the transport effort between successive targets.
The remainder of the paper is organized as follows. Section 2 studies the Wasserstein geometry of annealing paths. Section 3 constructs componentwise annealing paths from a mixture reference and bounds their Wasserstein length. Section 4 formulates the velocity-field optimization problem and relates path geometry to its population gradient-flow dynamics. Section 5 presents the main algorithm, including weight calibration and adaptive annealing schedules. Section 6 reports numerical experiments on synthetic and Bayesian sampling problems. Section 7 concludes with a discussion of future directions. Proofs and experimental details are deferred to the appendices.
2.1 Wasserstein geometry of probability paths
Let be the set of Borel probability measures on with finite second moments. A probability path is a family of measures in this set indexed by . A velocity field generates the path if it satisfies the continuity equation
in the distributional sense. Under the integrability and Lipschitz conditions of Ambrosio et al. [2, Propositions 8.1.7], the associated particle ODE represents this path: if and , then for all . To see this, apply the chain rule to any to obtain
which is the weak form of the continuity equation. Here and below, denotes the gradient with respect to ; integrals written with are taken against the measure .
For , the 2-Wasserstein distance is defined as
The infimum is over Borel velocity fields and weakly continuous paths satisfying the continuity equation and the endpoint constraints. Thus, is the minimum transport length among paths joining and . The metric space is called the 2-Wasserstein space.
We next define the length of a probability path in Wasserstein space. A curve in is absolutely continuous if there exists a nonnegative such that for any . Its Wasserstein speed is the metric derivative
for almost every . By Ambrosio et al. [2, Theorem 8.3.1], the infimum is attained by a unique minimum-norm velocity in the -closure of gradients of smooth compactly supported functions. The Wasserstein length of an absolutely continuous path is its total distance traveled [2, Section 1.1]:
The second equality follows from (2) and the existence of a minimum-norm velocity field. Thus, : the Wasserstein distance is the minimum length between the endpoints, whereas is the length of a particular path. Equality holds when the curve is precisely a geodesic joining and .
Path geometry characterizes the transport required to realize a prescribed probability path. In our sampling task, a shorter path requires less cumulative transport, potentially making its velocity field easier to learn. Section 4 relates Wasserstein length to velocity-field optimization, making this connection precise. Path geometry also informs the analysis of stochastic samplers: Guo et al. [21] derive convergence bounds for annealed Langevin Monte Carlo that depend on the Wasserstein action of the annealing path.
2.2 Wasserstein length of annealing paths
Let be the target and reference distributions, respectively, and assume that both have strictly positive densities with respect to the Lebesgue measure. We use the same symbols for these distributions and their densities. A natural path connecting them is geometric annealing, , which moves from to as ranges from 0 to 1. This path can be written as
where is the normalizing constant. We also assume that is an absolutely continuous curve in .
For a multimodal target, annealing can change the relative masses of the modes. A velocity field that realizes such a path must transport mass between modes, potentially resulting in a large Wasserstein length. We first quantify this effect through a lower bound based on a smooth observable.
Lemma 2.1 (Wasserstein length lower bound). Let be an absolutely continuous curve in , and let be continuously differentiable with bounded gradient. Define and . If for some and almost every , then
The proof is given in Appendix A.1. Suppose the target has several modes separated by regions of low probability. Choose a smooth function that is approximately one near one mode and zero elsewhere, so that approximates that mode's mass. If , is supported in a separating region , and for , then Lemma 2.1 gives
Here, the numerator measures the change in modal mass, while the factor captures the low probability of the separating region. Thus, a substantial change in the masses of modes separated by low-probability regions necessarily forces a long Wasserstein path. The following example makes this mechanism explicit.
Corollary 2.2 (Exponential length of Gaussian-mixture annealing). Let and be the densities of the two -dimensional Gaussians and , respectively. Assume and let , + . Then the Wasserstein length of the geometric annealing path from to has the lower bound
The proof is given in Appendix A.2. In this example, , yet the Wasserstein length of the geometric annealing path grows exponentially with . The gap shows that this prescribed path requires far more cumulative transport than the shortest path between its endpoints because it shifts mass between the modes while the separating region remains very unlikely throughout the path. Therefore, annealing paths are highly inefficient in terms of Wasserstein transport.
3 Componentwise annealing
The preceding example shows that geometric annealing can have a large Wasserstein length when it shifts mass between separated modes. This motivates a more localized form of annealing that avoids transporting mass between those modes.
3.1 From a mixture base to componentwise annealing paths
We distinguish three tasks in multimodal sampling: locating the modes, learning transport within each mode, and estimating their relative weights. Separating within-mode transport from the estimation of relative weights parallels multimodal MCMC strategies that distinguish within-mode exploration from global moves [38, 46, 45].
In this section, we assume that some information about the modes is available. For example, a preliminary search can locate them, and local Laplace approximations around these locations can then provide initial component distributions [46, 45]. Details of this construction are given in Appendix B.1. These components define the mixture base distribution
where each is a positive density and the weights satisfy and .
The mixture base induces an exact decomposition of the target . For each , define the soft assignment weight
The corresponding target component is
We assume for every , which holds when is positive on a set of positive -probability. Since the assignment weights sum to one, the target is the mixture
This identity holds for any choice of as long as for every .
We now connect each base component to its corresponding target component along a separate geometric annealing path. For , let , so that and . Using the common log density ratio introduced above, we can also write this path in exponential-tilting form:
We then take a weighted average of these paths using the fixed reference weights :
We call the componentwise annealing path. It starts at and ends at
The endpoint equals the target when for every , but may differ otherwise. Because the weights remain fixed along the path, this construction does not require transporting mass between components. Matching the target instead requires separate weight calibration, as discussed in Section 5.2.
For comparison, the global annealing path (3) from to can be written using the same component paths:
Here is the normalizing constant defined in (4). Both paths start at and use the same component distributions at each ; only their mixture weights differ. In global annealing, can vary with , whereas componentwise annealing fixes the weights at . As shown above, changing mixture weights can make a path long when the components represent well-separated modes. We next bound the length of the fixed-weight componentwise path in terms of the regularity of its component paths and a divergence between each pair of endpoints and .
3.2 Wasserstein length of componentwise annealing
Along the componentwise annealing path (5), the mixture weights remain fixed, so each component can change without altering its share of the mixture. The path can therefore be short even when components are far apart, provided each is close to its corresponding and the intermediate component distributions remain regular. We formalize this regularity through a uniform Poincaré inequality.
Assumption 3.1 (Componentwise Poincaré inequality). For each , the intermediate distributions satisfy a Poincaré inequality with constant uniform in . Specifically, for any smooth function ,
Strong log-concavity is one sufficient condition: if both and are strongly log-concave with constant , every intermediate is also strongly log-concave with that constant, so .
Theorem 3.1 (Wasserstein length of componentwise annealing). Under Assumption 3.1 and the standing regularity conditions, the Wasserstein length of the componentwise annealing path (5) satisfies
The bound follows from a simple construction. If realizes the component path , then the weighted velocity
realizes the componentwise path . Thus, the component velocities can be learned separately and then combined. Convexity bounds the resulting Wasserstein speed; the proof is given in Appendix A.3. Chemseddine et al. [8] use a Poincaré inequality to bound the transport energy of a probability path by its Fisher–Rao action multiplied by the Poincaré constant. Our bound applies this principle componentwise and expresses the resulting bound in terms of the symmetrized KL divergences between component endpoints.
The upper bound depends on the mismatch within each pair and on the regularity of the path between them. In particular, if the Poincaré constants remain bounded and the endpoint divergences are small, the componentwise path is short. Crucially, the bound has no explicit dependence on the distances between different components or the relative weights or scales of different components. In this sense, componentwise annealing is a local counterpart to global annealing: it evolves each component along its own path while keeping the mixture weights fixed, avoiding the inter-mode mass transfer that can lead to long Wasserstein paths.
4 Velocity optimization and gradient-flow dynamics
We now formulate the optimization problem for learning a velocity field that realizes the annealing path. We then show how the resulting population gradient flow connects to the Wasserstein geometry of the path studied in the preceding sections.
4.1 Continuity-equation residual and population loss
As discussed in Section 3.2, velocity fields that realize the component paths can be combined, as in Equation (7), to obtain a velocity field for the componentwise annealing path. Therefore, it suffices to analyze one geometric annealing path. We use the global annealing path (3) for notation; the same formulation applies to each component path separately.
To realize the annealing path, a velocity field must satisfy the continuity equation (1). Since , this equation takes the following logarithmic form:
The derivative is unknown, so we represent it by a scalar function and optimize jointly with . For this optimization, we use the real Hilbert space
An element consists of a measurable velocity field and a scalar , both indexed by . We equip with the inner product
The residual of the log form of the continuity equation is
We define the objective as the squared norm of this residual:
For a scalar or vector field , write . Assume that the log density ratio , and define the domain of by
The continuity-equation residual loss (8) is also known as a physics-informed neural network (PINN) loss [27, 48, 8, 1]. We discuss its practical implementation in Section 5.1.
4.2 Gradient flow dynamics
To understand the optimization of , we study its idealized gradient flow in the Hilbert space . The analysis describes how the residual loss evolves over optimization time and also reveals a connection to the Wasserstein geometry of the annealing path.
For , the Hilbert-space gradient is the unique element of characterized by
The resulting gradient is
Appendix A.4 gives the derivation. The gradient flow of , initialized at zero, satisfies
where denotes optimization time, whereas indexes the annealing path.
Theorem 4.1 (Rapid convergence under a uniform Poincaré inequality). Suppose that the Poincaré inequality (6) holds for with a common constant over all . Then, for every with , the Polyak–Lojasiewicz (PL) inequality holds:
Consequently, the loss decays exponentially along the gradient flow of :
The proof is given in Appendix A.5. Thus, for any , an optimization time of suffices to reduce to at most times its initial value. With zero initialization, this initial value is , or one half the squared norm of the log-density ratio over the annealing path.
Under the componentwise Poincaré inequality, Theorem 3.1 bounds the componentwise path length. Here, the same condition gives exponential decay of the population residual loss along each component's gradient flow. Thus, when the component paths are sufficiently regular and their endpoints are close, velocity optimization is efficient as well.
Conversely, a long Wasserstein path forces a large loss accumulated over optimization time, as formalized in the following theorem.
Theorem 4.2 (Wasserstein length and accumulated loss). Along the gradient flow (10), the accumulated loss satisfies
The integral is the area under the loss curve, so the theorem gives a lower bound on the total loss accumulated during optimization. To study the time needed to reach a fixed loss level, we revisit the Gaussian example in Corollary 2.2. For any , define
as the first time the loss is at most . The following result gives a lower bound, in terms of the dimension , on the time needed to reach this threshold for the Gaussian annealing path.
Proposition 4.3. In the setting of Corollary 2.2, for every fixed ,
where the implicit constant may depend on .
The proof is given in Appendix A.7. Theorem 4.1 gives loss decay at rate under a uniform Poincaré inequality. For the Gaussian path that transports mass between separated modes, Proposition 4.3 instead shows that the time to reach a fixed loss level is at least of order as grows. This comparison provides a further optimization motivation for learning flows along localized componentwise paths.
5 Componentwise annealed transport
The preceding analysis motivates learning a separate flow along each component path and estimating the component weights independently. We call the resulting sampler componentwise annealed transport (CAT). This section describes how to train and sample from the component flows, calibrate their weights, and adapt their annealing schedules.
5.1 Learning the componentwise flows
For each component , we apply the optimization formulation of Section 4.1 to its annealing path from to , defined in Section 3.1. With parameters , the functions and
represent the velocity and the log-normalizing-constant derivative , respectively. The componentwise analogue of the population objective (8) averages over uniform and . In practice, we instead draw from a temperature distribution and, conditional on , from a spatial distribution . We define the resulting componentwise training loss as
(11)
If has full support on and has full support on the spatial domain for each , then implies for almost every . Thus, these sampling distributions recover the exact solution at zero loss. Since zero loss is rarely achieved in practice, we choose as the distribution path induced by the current velocity field . As the learned velocity field becomes more accurate, the induced path places samples in regions relevant to the intermediate targets. For this choice, also provides an upper bound on the KL divergence between and the learned distribution [1, Proposition 5].
We approximate the population loss with an empirical counterpart. Given collocation pairs sampled from , we define the empirical loss
and minimize it by stochastic gradient descent (SGD). For each collocation pair , the score is cached and reused. Algorithm 1 describes the SGD updates with a fixed training set. The updates are simulation-free: because the collocation pairs are held fixed, computing the gradient with respect to does not require differentiating through simulated trajectories. By contrast, reverse-KL variational training of a continuous flow typically differentiates through the flow solver. Section 6.1 compares the training cost and accuracy of the two approaches.
At each outer iteration, we generate new training samples using the current velocity field. For each collocation pair , we draw and obtain by integrating
from . We add the new pairs to a replay buffer, allowing earlier samples to be reused in subsequent updates. The temperature distribution determines where along the path collocation points are collected and thus affects training efficiency. Section 5.3 describes how we adapt the corresponding annealing schedule.
The flow also provides the density of each transported sample. For a fixed velocity field, let denote the law of under (13), with . Along each trajectory,
Write for the endpoint distribution. Algorithm 2 describes how to generate samples and evaluate their densities using the component flows.
Algorithm 1: Component-flow training with a fixed training set
Input: fixed training set , initial parameters , minibatch size , number of SGD steps , learning rates
Output: updated parameters
1 for to do
2 Draw a minibatch of collocation pairs from
3 Compute the minibatch loss using (12)
4 Set
Algorithm 2: Sampling and density evaluation
Input: base density , fixed velocity field , sample size
Output: independent samples from and corresponding log-densities
1 Draw independent and set for
2 For each , solve the coupled ODEs over to obtain :
5.2 Weight calibration
Recall the target decomposition from Section 3.1:
where is the responsibility of component . The trained flows approximate by ; we estimate the corresponding target weights separately.
Write , where is an evaluable unnormalized target density and is unknown. The unnormalized mass of component is . We estimate this mass by importance sampling from : Algorithm 2 draws , , and evaluates , giving
Normalizing the mass estimates yields the component weight estimates
The following proposition shows that is consistent for as the sample sizes grow, even when the learned components are inexact.
Proposition 5.1 (Consistency of weight calibration). Suppose wherever for every . As ,
The relative variance of is
where is the -divergence.
The proof is given in Appendix A.8. Consistent weight estimation therefore does not require exact component flows. Equation (15) shows that, for a fixed sample size, the relative variance of is determined by the discrepancy between and its target component . If for every , then every has zero variance and almost surely, regardless of the reference weights .
The calibrated approximation combines the learned components with their estimated target weights. To estimate expectations, any remaining discrepancy between and can be addressed by componentwise importance sampling. For , define the self-normalized importance sampling estimator of by
Under the assumptions of Proposition 5.1, the combined estimator is consistent for as .
5.3 Adaptive annealing schedule
The difficulty of learning the velocity field varies with . Intuitively, temperatures at which the field changes rapidly or is highly nonlinear require more training effort. The component-specific temperature measure in (11) determines how this effort is distributed:
In practice, we sample uniformly from a temperature grid in , corresponding to the discrete measure
Thus, regions with a denser grid receive greater weight in the training objective.
We construct the temperature grid adaptively, choosing one increment at a time. At the current temperature , we choose to control the transport effort from to . As discussed in Section 2.1, we measure this effort by the Wasserstein length of the path segment:
where is the Wasserstein speed of the curve at . Although is not directly computable, it has a convenient upper bound in terms of the -divergence between successive targets.
Proposition 5.2. Under the standing regularity conditions and Assumption 3.1, for any fixed component and temperature , the following bound holds as with :
The proof is given in Appendix A.9. Proposition 5.2 motivates choosing the largest increment for which the -divergence between successive targets is at most a prescribed threshold. For sufficiently small increments, the threshold controls the leading term of the upper bound on the squared segment length.
Using the definition of in (4) and the identity , we can express the -divergence as
Thus, keeping the -divergence below a threshold is equivalent to keeping the relative effective sample size (RESS), defined by
above a corresponding threshold. Choosing increments adaptively using relative effective sample size is a common practice in SMC methods [56, 14, 13].
We estimate the RESS using the most recently generated samples. At the current temperature , let , where are the grid points used to generate these samples and . Let , , be independent samples generated at with density . Their generating densities are stored and remain fixed when the flow is updated. Reweight these samples to and normalize:
The resulting RESS estimate is
It equals one at and is nonincreasing for . Given a maximum increment and an RESS threshold , choose
The next grid point is set to .
Algorithm 3 summarizes CAT with adaptive scheduling. Because the reference mixture b is fixed, each component can be trained independently and in parallel. For component j, we use the same replay buffer to train the flow and adapt its schedule, starting with an empty buffer and a temperature grid containing only 0. In each outer loop iteration, Algorithm 2 generates fresh trajectories. We record their states and densities at the current grid points, add the collocation points and target evaluations to , and train the flow with this data held fixed using Algorithm 1. We then update the schedule for the next set of trajectories. After training, we calibrate the component weights as described in Section 5.2.
Algorithm 3: Componentwise annealed transport (CAT) with adaptive scheduling
Input: Unnormalized target , reference mixture , target RESS , maximum increment , training rounds , SGD steps , minibatch size , learning rates , trajectory sample size , calibration sample sizes
Output: Component velocity fields , weights , and learned density
1 for to in parallel do 2 Initialize and 3 Initialize 4 Set and 5 for to do 6 // Generate training samples 6 Call Algorithm 2 with , the current , and sample size ; record at each grid point 7 Add these collocation points, their generating proposal densities, and cached values and to 8 // Train the velocity field 8 Update by calling Algorithm 1 with , the current , , , and 9 // Update the schedule 9 Set and 10 while do 11 Compute using and (16) 12 Set and 13 Set 14 // Estimate the component mass 14 Call Algorithm 2 with , the learned , and sample size ; retain the endpoint samples and densities 15 Set 16 // Weight calibration 16 Set by (14) and
6 Numerical experiments
We evaluate CAT (Algorithm 3) on synthetic targets and Bayesian posteriors, summarized in Table 1. Section 6.1 examines its training dynamics, compares it with related transport methods, and studies how the choice of path affects particle trajectories and mode redistribution. Section 6.2 compares CAT with benchmark sampling methods.
Table 1: Summary of synthetic targets and models used in the experiments, with the number of observations (when applicable), and the number of dimensions .
| Distribution/Model | ||
|---|---|---|
| Skew-normal mixture (Section B.3.1) | - | 5 |
| Skew- product mixture (Section B.3.2) | - | 10 |
| Seemingly unrelated regression (SUR, Section B.3.3) | 50 | 5 |
| Input-output hidden Markov model (IOHMM, 25, Section B.3.4) | 500 | 29 |
| Latent Dirichlet allocation (LDA, 25, Section B.3.5) | 4999 | 502 |
All experiments were run on the Duke Compute Cluster using NVIDIA RTX 5000 Ada Generation GPUs, with one GPU allocated to each job. Implementation details are deferred to Appendix B. The code to reproduce the results is available at github.com/chenh77/cat.
6.1 Training dynamics and transport behavior
We first examine CAT's training dynamics on the IOHMM and LDA posteriors, then compare its computational efficiency with two related transport methods on LDA. Finally, we visualize the learned velocity fields induced by different choices of paths.
6.1.1 Training dynamics
We examine CAT's training dynamics on the IOHMM and LDA posteriors. Figure 1 shows the training loss alongside the normalized importance-weight effective sample size (ESS) and the evidence lower bound (ELBO). As the loss decreases, the ESS approaches one and the ELBO improves, indicating closer agreement between the learned distribution and the target. The loss fluctuates periodically: inner optimization reduces it while the training set is fixed, whereas each outer iteration refreshes the training data and adapts the schedule, which can increase the measured loss. These plots indicate that the training procedure guides the learned distribution toward the target.
6.1.2 Comparison with related transport methods
To examine the roles of componentwise paths and prescribed intermediate distributions in CAT, we compare it with two related transport methods:
- Globally annealed transport (GAT) starts from the same mixture base and uses the same continuity-residual training principle as CAT, but follows the global annealing path (3) with a single vector field.

Figure 1: Training dynamics of CAT on IOHMM (top) and LDA (bottom). Columns show the training loss, normalized importance-weight ESS, and ELBO against optimizer steps; ESS and ELBO are computed using calibrated weights. Open circles mark the initial base distribution at iteration 0.
- Reverse-KL continuous normalizing flow (RKL-CNF) trains a separate flow for each component, as CAT does, but minimizes the reverse KL divergence to the endpoint component [40] instead of fitting a prescribed intermediate path through the continuity-residual loss.
The comparison with GAT isolates the effect of using componentwise rather than global annealing paths: both methods minimize the continuity-equation residual loss. The comparison with RKL-CNF isolates the effect of fitting prescribed intermediate distributions rather than only the terminal distribution: both methods transport each to . CAT and RKL-CNF use the same vector-field parametrization. For GAT, we use a larger single field with approximately as many parameters as CAT's component fields combined; see Appendix B.2. After training CAT and RKL-CNF, we calibrate their component weights as described in Section 5.2.
Figure 2 plots normalized ESS, ELBO, and sliced 2-Wasserstein distance (SW2) against wall-clock time for the LDA posterior. SW2 is computed against reference samples generated using the no-U-turn sampler [NUTS; 23] from multiple starting points. CAT reaches a normalized ESS close to one within approximately 100 seconds, whereas RKL-CNF improves more gradually. CAT also attains a comparable ELBO substantially sooner, even though RKL-CNF maximizes the ELBO directly. CAT's shorter wall-clock time stems from its simulation-free training; by contrast, RKL-CNF requires backpropagation through flow simulations, which is time-consuming and memory-intensive. GAT achieves substantially lower ESS and ELBO than the other methods. This result highlights the advantage of separating flow learning from weight calibration.
6.1.3 Visualization of velocity fields
We visualize the learned velocity fields for CAT and GAT to understand how the choice of annealing path affects the flow. We consider a ten-dimensional distribution which is a mixture of two skew-

Figure 2: Wall-clock comparison of CAT, GAT, and RKL-CNF on the LDA posterior. Curves show normalized importance-weight ESS, sliced 2-Wasserstein distance (SW2), and ELBO. Open circles give the values for the shared base distribution before training; insets enlarge the early training period.
components; see Appendix B.3.2 for the definition. A parameter controls the separation between the two components. The target has a major mode with weight 0.8 and a minor mode with weight 0.2, whereas the base distribution assigns nearly equal weights to the two modes. GAT must therefore redistribute mass between modes through its global flow, whereas CAT transports each component separately and then calibrates the mixture weights.
Figure 3 compares the learned and oracle trajectories projected onto the first coordinate. CAT closely follows the componentwise oracle at both (top) and (bottom). GAT follows the global-path oracle reasonably well at , including its cross-mode transport. At , however, GAT's trajectories remain largely within their initial modes, while the oracle trajectories cross the wider gap. Consequently, GAT assigns incorrect weights to the two modes and produces an overly concentrated marginal within the major mode, underrepresenting its tail. This suggests that learning a single flow to realize both local transport and mass redistribution becomes increasingly difficult as the separation grows.
The right panel of Figure 3 plots the cumulative transport length against . We estimate the expectation from simulated particles; for CAT, the estimate also averages over components according to their mixture weights. At , GAT has a greater measured length because its flow moves mass between modes. At , the measured lengths are similar because GAT does not realize the required cross-mode redistribution.
6.2 Comparison with benchmark methods
We compare CAT with benchmark sampling methods on the synthetic two-skew-normal mixture and three Bayesian posteriors: SUR, IOHMM, and LDA. All methods use the same Gaussian mixture base distribution constructed from the mode exploration procedure described in Appendix B.1. We also report results for (GMM) itself to assess the improvement over this initial approximation.
The benchmarks are adaptive parallel tempering [APT; 30], its variant with deterministic even-odd swaps [APT-DEO; 36, 44], the annealed leap-point sampler [ALPS; 46], flow annealed

Figure 3: Learned trajectories and cumulative transport lengths for CAT and GAT at (top) and (bottom). Left and middle: trajectories projected onto the first coordinate, colored by initial component. Gray dashed curves show oracle trajectories and target marginals; histograms show terminal samples. Annotations give CAT's calibrated mixture weights and GAT's switching rates. Right: cumulative lengths computed from the full ten-dimensional velocity fields.
importance sampling bootstrap [FAB; 31], TemperFlow [TF; 39], and annealed flow transport [AFT; 3]. The shared mixture provides CAT's component distributions, AFT's annealing reference, the flow base for FAB and TF, and the initial states for APT and APT-DEO. ALPS uses it to construct its tempered targets and leap proposals. For APT and APT-DEO, we adapt the temperature spacing to target an acceptance rate of 0.234 for exchanges between adjacent chains [4]. Other tuning and scheduling choices are detailed in Appendix B.1. Reference samples for the Bayesian posteriors are generated using NUTS [23] with multiple starting points.
We measure computational cost by the number of target-density evaluations plus times the number of target-score evaluations, where is the target dimension. We match computational budgets across methods using this measure and repeat each experiment independently 100 times. Recovery is the fraction of runs that visit every mode, and Mode TV is the total variation distance between empirical and target mode probabilities (when applicable). We measure distributional accuracy by SW2 to reference samples and report wall-clock time for computational efficiency. For methods with an evaluable proposal density , we also report normalized ESS and , where . Table 2 reports means and standard deviations for these metrics, except Recovery.
Among methods with evaluable proposal densities, CAT has the highest mean normalized ESS and the lowest mean log-weight variance on all four targets. Its mean sliced Wasserstein distance is also among the lowest for each target. The wall-clock time for CAT is also competitive on the two high-dimensional Bayesian posteriors (IOHMM and LDA).
On the skew-normal mixture, CAT substantially improves both the mode weights and the within-mode approximation relative to the initial GMM approximation. FAB and TF leave the GMM's mode-weight error nearly unchanged, whereas CAT, ALPS, and AFT achieve much smaller errors and similar sliced Wasserstein distances. Figure 4 shows that GMM, FAB, and TF assign too
Table 2: Comparison on four targets over 100 runs. Entries report means ± std, except Recovery. Arrows indicate the preferred direction; dashes denote unreported quantities.
| Method | Recovery ↑ | Mode TV ↓ | SW2 ↓ | Time (s) | ESS/N ↑ | Var_q(log w) ↓ |
|---|---|---|---|---|---|---|
| Skew-normal mixture | ||||||
| CAT | 1.00 | 0.004±0.004 | 0.254±0.121 | 61±5 | 0.994±0.002 | 0.01±0.00 |
| GMM | 1.00 | 0.409±0.009 | 2.591±0.091 | 11±1 | 0.536±0.007 | 52.85±2.31 |
| FAB | 1.00 | 0.408±0.008 | 2.753±0.100 | 36±2 | 0.559±0.008 | 18.73±2.96 |
| TF | 1.00 | 0.407±0.008 | 2.861±0.099 | 37±2 | 0.539±0.050 | 1.23±0.12 |
| APT | 0.97 | 0.139±0.109 | 1.332±0.713 | 17±1 | - | - |
| APT-DEO | 0.99 | 0.109±0.072 | 1.160±0.527 | 13±1 | - | - |
| ALPS | 1.00 | 0.010±0.006 | 0.257±0.114 | 28±2 | - | - |
| AFT | 1.00 | 0.007±0.005 | 0.298±0.123 | 20±2 | - | - |
| SUR | ||||||
| CAT | 1.00 | - | 0.097±0.117 | 55±3 | 0.717±0.272 | 0.04±0.02 |
| GMM | 1.00 | - | 0.308±0.176 | 8±0 | 0.067±0.056 | 20.16±51.45 |
| FAB | 1.00 | - | 1.219±4.478 | 41±2 | 0.020±0.024 | 129.45±131.97 |
| TF | 1.00 | - | 0.445±0.292 | 35±3 | 0.062±0.053 | 3.42±2.24 |
| APT | 1.00 | - | 0.427±0.195 | 15±1 | - | - |
| APT-DEO | 1.00 | - | 0.419±0.177 | 12±1 | - | - |
| ALPS | 0.99 | - | 48.740±305.114 | 23±3 | - | - |
| AFT | 1.00 | - | 0.115±0.110 | 14±1 | - | - |
| IOHMM | ||||||
| CAT | 0.88 | 0.042±0.061 | 0.108±0.013 | 110±6 | 0.986±0.013 | 0.01±0.00 |
| GMM | 0.88 | 0.042±0.061 | 0.118±0.014 | 43±5 | 0.365±0.138 | 0.54±0.60 |
| FAB | 0.88 | 0.042±0.061 | 0.111±0.015 | 110±7 | 0.531±0.113 | 0.63±0.69 |
| TF | 0.88 | 0.042±0.061 | 0.109±0.013 | 110±9 | 0.519±0.142 | 0.40±0.07 |
| APT | 0.00 | 0.550±0.097 | 1.058±0.238 | 108±7 | - | - |
| APT-DEO | 0.00 | 0.564±0.105 | 1.044±0.237 | 107±7 | - | - |
| ALPS | 0.88 | 0.042±0.060 | 0.107±0.012 | 117±6 | - | - |
| AFT | 0.87 | 0.105±0.151 | 0.303±0.431 | 63±6 | - | - |
| LDA | ||||||
| CAT | 1.00 | 0.006±0.004 | 0.029±0.000 | 243±12 | 0.969±0.048 | 0.02±0.00 |
| GMM | 1.00 | 0.006±0.005 | 0.079±0.002 | 44±4 | 0.003±0.003 | 12.49±0.28 |
| FAB | 1.00 | 0.006±0.004 | 0.032±0.001 | 295±6 | 0.012±0.008 | 12.28±0.58 |
| TF | 1.00 | 0.005±0.004 | 0.031±0.001 | 612±138 | 0.017±0.011 | 5.16±0.47 |
| APT | 0.96 | 0.168±0.125 | 0.035±0.001 | 107±4 | - | - |
| APT-DEO | 0.94 | 0.181±0.136 | 0.035±0.001 | 110±4 | - | - |
| ALPS | 1.00 | 0.005±0.004 | 0.029±0.000 | 3426±65 | - | - |
| AFT | 1.00 | 0.036±0.047 | 0.032±0.002 | 89±4 | - | - |
much mass to the skewed mode and poorly capture its asymmetric shape. CAT closely matches both the mass and shape of this mode; ALPS and AFT also agree closely with the target marginal.
On SUR, CAT has the lowest mean sliced Wasserstein distance, with AFT close behind. CAT's normalized ESS is substantially higher than those of GMM, FAB, and TF. ALPS has a large and

Figure 4: First-coordinate marginals for the skew-normal mixture target. Each panel compares a method's sample histogram (blue) with the exact target marginal density (red). The two modes reveal differences in relative mass and in the shape of the skewed mode.
highly variable sliced Wasserstein error, suggesting occasional severe discrepancies despite recovering all modes in 99% of runs.
On IOHMM, CAT, GMM, FAB, TF, and ALPS have the same recovery rate of 0.88, nearly identical mode-weight errors, and similar sliced Wasserstein distances. CAT's clearest advantage lies in the importance-weight diagnostics: its normalized ESS is close to one, and its log-weight variance is much lower. Neither APT nor APT-DEO visits every mode in any run under the allocated budget.
On LDA, most methods recover both modes, but their importance-weight diagnostics differ markedly. GMM, FAB, and TF have small mode-weight errors yet low normalized ESS. CAT combines accurate mode weights with a normalized ESS close to one. CAT and ALPS attain the smallest reported sliced Wasserstein distances, while ALPS takes about 14 times as long as CAT.
7 Discussion
We have investigated the Wasserstein geometry of annealing paths and shown why transport learning is challenging when probability mass moves between well-separated modes. We proposed componentwise annealed transport (CAT) to separate the learning of transport within each component from the estimation of component weights. We also studied how path geometry affects the optimization dynamics. Together, these results highlight the importance of choosing probability paths carefully when designing efficient transport strategies.
The effectiveness of CAT depends on the mixture decomposition of the target induced by the base distribution . Although this decomposition is exact, its usefulness depends on how readily each can be transported to its corresponding . Choosing suitable components may be difficult for targets with overlapping modes, curved high-density regions, or funnel-like structures. One direction is to adapt the decomposition during training by splitting components with difficult internal transport problems and merging those that can be learned effectively together. Diagnostics that guide these decisions and distinguish when a richer base component would be more useful than a split could broaden the applicability of CAT.
Another direction is to reduce the computational cost of training the velocity fields. The continuity equation residual loss (11) contains a divergence term that can be costly to compute. Weak formulations of the continuity equation offer one potential approach: integration by parts transfers spatial derivatives from the velocity field to test functions [6]. The action matching objective [34] offers an alternative variational formulation. However, estimating its expectations under the prescribed distribution path using importance weights can lead to high Monte Carlo variance [1].
Finally, the learned velocity maps can be incorporated into SMC or parallel tempering to address sampling bias. In SMC, they can guide MCMC rejuvenation steps to improve exploration at each intermediate distribution along the annealing path. Our approach also provides transport maps between any two intermediate distributions along the path. These maps could facilitate faster exchanges between the lowest and highest temperature chains in parallel tempering [24], potentially mitigating its random-walk behavior.
A Proofs
A.1 Proof of Lemma 2.1
Proof of Lemma 2.1. Let be a velocity field realizing the path . The weak form of the continuity equation gives, for almost every ,
By Cauchy–Schwarz, . Taking the infimum over all velocity fields realizing the path gives . Using the assumption that for , we have
□
A.2 Proof of Corollary 2.2
Proof of Corollary 2.2. The projection has distribution under and under . Choose a continuously differentiable function with
For example, on , take . Set . Its gradient vanishes outside , and we always have .
The geometric annealing density can be written as
For , we have and for . Hence pointwise. Let for . The Gaussian tail bound , for , gives
Symmetry implies , whereas
since and . Applying Lemma 2.1 over yields
Finally, let and let be independent of . Then has density , so
□
A.3 Proof of Theorem 3.1
Proof of Theorem 3.1. For almost every , let be a minimum-energy velocity for the component path , so that
The weighted velocity in (7) realizes the mixture path because
Equation (2) and Jensen's inequality then give
Thus, by Cauchy–Schwarz on ,
To bound each component speed, note that . Thus, for any smooth test function , the continuity equation, Cauchy–Schwarz, and Assumption 3.1 give
Taking the supremum over test functions yields
Finally, differentiation along the exponential tilt gives . Since , integration over yields
Combining these identities with (17) proves the bound.
A.4 Derivation of the gradient flow
Since is linear in , for we obtain
where the last equality is obtained by integration by parts. Comparing this expression with the inner product on gives the gradient formula (9). This gradient belongs to if and .
A.5 Proof of Theorem 4.1
Proof of Theorem 4.1. By the gradient formula and the Poincaré inequality,
Along the gradient flow, the energy dissipation is
Gronwall's inequality proves the exponential decay of .
A.6 Proof of Theorem 4.2
Proof of Theorem 4.2. For almost every , let be the minimum-norm velocity satisfying the continuity equation, so that . Since , the continuity equation gives . Therefore,
By the gradient-flow equation (10), and . Integration by parts therefore gives
The gradient flow converges in to : the residual is affine in , and the zero-initialized least-squares gradient flow converges to its minimum-norm zero-residual solution. Integrating the identity in and , then applying Cauchy–Schwarz yields
□
A.7 Proof of Proposition 4.3
Proof of Proposition 4.3. Use the cutoff from the proof of Corollary 2.2. That proof gives , , and, uniformly in ,
Also, , so differentiation along the annealing path and reflection give
Fix and take . The density formula in the proof of Corollary 2.2, the bound , and imply
\mathbb{E}_{p_{1-T/d}}\left[\chi\right]\leq\mathbb{E}_{f_{-}}\left[\chi\right]+\mathbb{E}_{f_{-}}\left[\left((f_{+}/f_{-})^{1-T/d}\right]=\mathbb{E}_{f_{-}}\left[\chi\right]+e^{-2T+2T^{2}/d}.Thus . Since ,
Fix and suppose first that . For all sufficiently large , . Put . By continuity of the loss,
Since and the spatial mean of the residual decays at rate one, integration by parts yields
Zero initialization and Cauchy–Schwarz therefore give
Differentiating and integrating by parts gives
Integrating over and applying Cauchy–Schwarz yields
The same bound holds when . Hence, for every fixed ,
Letting gives
which proves the claimed result.
A.8 Proof of Proposition 5.1
Proof of Proposition 5.1. Since , the support assumption gives
Thus is unbiased for , and the strong law of large numbers gives almost surely. Since is fixed and , we also have almost surely. The denominator in (14) is therefore eventually positive, and taking the ratio gives almost surely for every .
The identity gives
Independence within each component gives (15). If for every , then almost surely, so and for any positive component sample sizes.
A.9 Proof of Proposition 5.2
Proof of Proposition 5.2. Write . The speed bound used in the proof of Theorem 3.1 gives
Continuity of implies that the squared integral in (18) is . Also, writing , we have
because and . This finishes the proof.
B Experiment supplements
This section provides further implementation details of numerical experiments in Section 6.
B.1 Base distribution and training budget
For mode exploration, we use the procedure of Tawn et al. [46], summarized in Algorithm 4 for completeness. The procedure identifies distinct local modes and constructs a Gaussian Laplace anchor around each mode using the local Hessian. These anchors form the base mixture b for subsequent annealing.
Incorporating modal exploration. For the sake of fair comparison, all methods use the same mode information: the modes found by Algorithm 4 and the Laplace mixture built from them, where and . Wherever a baseline's original design uses an uninformed reference, typically , we replace it with and leave the rest of the algorithm unchanged. How enters therefore follows each method's design:
-
Componentwise transport. CAT and RKL-CNF split the target as with , and for each transport to . CAT follows the component-wise annealing path with . RKL-CNF has no path and minimizes the reverse KL divergence directly.
-
Annealing reference. GAT and AFT anneal along the geometric path , starting from exact draws of b.
-
Flow base. FAB and TF use as the latent base of their normalizing flow. Both flows start as the identity, so training starts from . FAB's AIS ladder then runs from the current flow to , as in the original method. TF's path has no reference term, so at inverse temperature its base is the tempered mixture with . This is the Laplace approximation of at the same modes, and .
Algorithm 4: MODEEXPLORE
Input: target , exploration inverse-temperature , seeds , current modes , number of hot-chain steps , grouping threshold
Output: updated modes ,
1 for to do
2 \quad ULA steps targeting , initialized at
3 \quad Run quasi-Newton optimization initialized at to obtain a local maximizer
4 \quad Compute
5 \quad if then
6 \quad \left{ \begin{array}{l} \text{for } j=1 \text{ to } J \text{ do} \ \bigsqcup d_j \leftarrow d^{-1} \max \left{ (\mu_j - \mu^)^\top \Sigma_j^{-1} (\mu_j - \mu^), (\mu_j - \mu^)^\top (\Sigma^)^{-1} (\mu_j - \mu^*) \right} \end{array} \right.
8 \quad if or then
9 \quad \bigsqcup \text{Append } (\mu^, \Sigma^) \text{ to the mode list and set } J \leftarrow J+1
10 for to do
11 \quad
12 ;
- MCMC. ALPS uses the mode information as its original design intends: the modes define its weight-preserving tempered targets, a covariance-scaled is its mode-leaping proposal at the coldest level, and its chains start from scaled versions of . APT and APT-DEO keep their target and use only to initialize the chains.
The cost of Algorithm 4 is shared and charged to every method.
Computational cost. Let and denote the estimated numbers of target evaluations returning a value and a value and a gradient, respectively. We define the computational budget, subtracting the mutual cost on mode explore, as
where is the target dimension.
B.2 Learning the vector fields
Neural network architecture. CAT, GAT and RKL-CNF use the same family of time-conditioned velocity fields. For CAT and RKL-CNF, each discovered mode , with Gaussian anchor and Cholesky factor , has an independent field
GAT uses a single field , with , where and are the mean and covariance of its Laplace-mixture base .
The network takes concatenated with the time embedding . It has three hidden layers of width , SiLU activations, and a -dimensional linear output. Each output coordinate also includes an additive cubic B-spline term , with eight compactly supported basis functions centered uniformly on . Its coefficients are generated from the time embedding by a network with one hidden layer of width 32 and SiLU activations. The MLP and spline-coefficient network are trained jointly, with both output layers initialized to zero so that training starts from the identity flow.
The divergence is computed exactly by propagating input Jacobians through the network in a single forward pass, using . We implement Algorithm 2 using fixed-step fourth-order Runge–Kutta (RK4), with two steps per grid interval. The widths for CAT and RKL-CNF are listed in Table 3; corresponding fields use identical initialization seeds in each run. For GAT, we choose the width whose field parameter count is closest to the combined count of CAT's fields. This gives for the skew-normal mixture, SUR, IOHMM and LDA, respectively.
Table 3: CAT training settings. Trajectory counts and minibatch sizes are per mode; minibatches contain collocation points. The width is shared by CAT and RKL-CNF.
| Target | Refreshes × Adam steps | Trajectories | Minibatch | |
|---|---|---|---|---|
| Skew-normal mixture | 1024 | 256 | 64 | |
| SUR | 768 | 512 | 64 | |
| IOHMM | 2560 | 512 | 32 | |
| LDA | 6144 | 512 | 64 |
All three methods use Adam with a constant learning rate of and gradient-norm clipping at 5. The optimizer state is retained throughout training.
Training of CAT. CAT learns vector fields along the prescribed local annealing path (4). Since the continuity equation does not uniquely determine the velocity field, we penalize its squared norm to favor smaller transport velocities:
where is the component log-continuity-equation residual loss defined in (11). We use for all targets. Table 4 shows that relative ESS changes little over , supporting this choice as a common default.
The scalar rate is trained jointly with the field using a network with two hidden layers of width 32, SiLU activations, the same time embedding, and a zero-initialized output. A fixed mode-specific offset, computed from the first collocation pool, centers the log-density ratio, and its spread sets the scale of the rate-network output. This makes training invariant to additive constants in .
Training alternates between trajectory refreshes and stochastic optimization (Algorithm 3), with settings in Table 3. Each refresh adapts the grid using the latest training or validation trajectories (Section 5.3), then generates fresh trajectories from each anchor under the frozen current field. Their states at grid points form a collocation pool with cached target values and scores. Minibatches sample checkpoints with probabilities determined by the grid spacing, using the trapezoidal rule. Up to 20 recent pools are retained for replay, subject to a memory cap, without additional target
Table 4: Sensitivity of CAT to the regularization coefficient . Entries report mean std of relative ESS over 5 independent runs, separate from those in Section 6. The default value is shown in bold.
| Skew-normal mixture | SUR | IOHMM | LDA | |
|---|---|---|---|---|
| 0 | ||||
evaluations. The target incremental relative ESS is 0.7 for the skew-normal mixture and LDA and 0.3 for SUR and IOHMM, with throughout. For SUR, modes with Laplace weights below 0.05 are removed before training.
Every five refreshes and at the end of training, we estimate relative ESS along the current grid using 256 fresh validation trajectories per mode. We return the field and grid from the checkpoint with the highest mean endpoint relative ESS across modes, excluding checkpoints with non-finite validation coordinates or log densities. Validation target evaluations are included in the sampler's reported target-evaluation counts.
Training of GAT. GAT transports the Laplace-mixture base along the global geometric path (3). It uses the same regularized residual objective, rate-network architecture, refresh and optimization schedule, replay scheme, validation frequency, and best-ESS checkpoint selection as CAT, applied to a single field. Its own ESS-based grid is constructed from identity-flow draws from , using the same target relative ESS and maximum increment as CAT. The collocation minibatch size is times CAT's per-mode size. We adjust the number of training trajectories so that its oracle cost matches CAT's under the convention in Appendix B.1.
Training of RKL-CNF. RKL-CNF uses the same anchors, field architecture, initialization and RK4 solver as CAT, with a uniform time grid containing the same number of points as CAT's returned adaptive grid. Thus, the two methods use the same number of RK4 steps per trajectory. Each component field is trained by minimizing reverse KL to its endpoint target, using
where and is an unnormalized density of the component endpoint target. This objective equals the reverse KL up to an additive constant independent of . We differentiate through the discretized solver, drawing fresh endpoint training particles at every Adam step. Training uses 20 blocks of 250 steps, with validation every five blocks and after the final block, using 256 fresh trajectories per mode and the same best-ESS selection rule as CAT. Each training particle requires one target value-and-gradient evaluation at the endpoint. We choose the per-mode endpoint batch size so that RKL-CNF's oracle cost matches CAT's under the same budget convention.
B.3 Further details of examples
This section describes the target distributions and implementation settings.
B.3.1 Mixture of two skew normals
We construct a five-dimensional mixture of two skew-normal components to illustrate the role of weight calibration (Section 5.2):
where and denote the standard normal density and distribution function. The first component is Gaussian, while the second has independent, positively skewed coordinates. Their location vectors are separated by Euclidean distance 10. The Laplace approximation underestimates the skewed component's mass, providing a test of CAT's weight calibration.
B.3.2 Mixture of two skew-t distributions
We consider the ten-dimensional skew- product mixture , where
and is normalized to integrate to one. Here and denote the Student- density and distribution function with and degrees of freedom, respectively. The first coordinate thus follows oppositely skewed skew- distributions, while the remaining coordinates are Gaussian in the major (left) component and have lighter tails in the minor (right) component. We set , , , , and , and compare .
B.3.3 Seemingly unrelated regression
The seemingly unrelated regression (SUR) model [53, 42] comprises multiple regression equations with equation-specific coefficients and correlated errors. Formally, the model consists of linear regression equations,
where collects the observations for the th equation, is its design matrix of covariates, and the corresponding equation-specific regression coefficients. The errors are jointly distributed as
with unknown covariance . Concatenating the coefficients across equations as , inference is typically carried out on the profile likelihood obtained after eliminating ; this profiling step is what induces multimodality in . We use the example in Chen et al. [9], which sets , , and yields a target of three well-separated modes.
B.3.4 Input-output hidden Markov model regression
We consider the input-output hidden Markov model (IOHMM) regression from the posteriordb benchmark suite [25], originally introduced as a Stan case study [16]. The data are a simulated series of observations with exogenous inputs , modeled with latent states. Given state , the output follows a linear Gaussian regression , and the state probabilities depend on the inputs through softmax(); is the initial-state distribution. The priors are
The latent states are marginalized out with the forward algorithm, and we sample in Stan's unconstrained space ( and the simplex transform for ), giving . Because no state-identifying constraint is imposed, jointly permitting the labels of leaves the posterior invariant, so it has an exact -fold label-switching symmetry with equal mode weights. In addition, the state probabilities are invariant to adding a common vector to all , so is only weakly identified and its posterior is largely prior-dominated.
B.3.5 Latent Dirichlet allocation
We consider a latent Dirichlet allocation (LDA) model [7] with topics from the posteriordb benchmark suite [25]. The corpus contains documents, vocabulary terms, and tokens. Each document has a topic distribution , and each topic has a word distribution . Marginalizing the per-token topic indicators gives the likelihood
where is the th observed token and denotes its document. We assign symmetric Dirichlet priors,
Jointly swapping the two topic labels in all document and word distributions leaves the posterior invariant, yielding two equivalent modes related by an exact label-switching symmetry.
Sampling uses an unconstrained parameterization of dimension . Since the default simplex parameterization induces appreciable skewness in the posterior components, we use a prior-Gaussianizing parameterization that combines the Dirichlet stick-breaking representation [15] with univariate probability integral transforms. This gives more symmetric, approximately Gaussian local posterior geometry in this example.
For a -dimensional simplex with prior , let and define
The simplex coordinates follow by stick breaking:
This bijection maps to Dirichlet() and has a closed-form Jacobian. Applying it to every and makes the prior exactly standard Gaussian in the inference coordinates while preserving the prior and posterior on the original simplex parameters. Samples are mapped back to simplex space for evaluation; posterior-comparison metrics use reference draws transformed into the same 502-dimensional inference coordinates.
References
[1] Albergo, M. S. and Vanden-Eijnden, E. (2025). NETS: A non-equilibrium transport sampler. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 1026–1055.
[2] Ambrosio, L., Gigli, N., and Savaré, G. (2005). Gradient Flows: in Metric Spaces and in the Space of Probability Measures. Springer.
[3] Arbel, M., Matthews, A., and Doucet, A. (2021). Annealed flow transport Monte Carlo. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 318–330. PMLR.
[4] Atchadé, Y. F., Roberts, G. O., and Rosenthal, J. S. (2011). Towards optimal scaling of Metropolis-coupled Markov chain Monte Carlo. Statistics and Computing, 21(4):555–568.
[5] Bakry, D., Gentil, I., and Ledoux, M. (2014). Analysis and Geometry of Markov Diffusion Operators, volume 348 of Grundlehren der mathematischen Wissenschaften. Springer.
[6] Berman, J., Blickhan, T., and Peherstorfer, B. (2026). Leveraging gauge freedom for learning non-gradient population dynamics of stochastic systems. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 7641–7656. PMLR.
[7] Blei, D. M., Ng, A. Y., and Jordan, M. I. (2003). Latent Dirichlet allocation. Journal of Machine Learning Research, 3(Jan):993–1022.
[8] Chemseddine, J., Wald, C., Duong, R., and Steidl, G. (2025). Neural sampling from Boltzmann densities: Fisher–Rao curves in the Wasserstein geometry. In International Conference on Learning Representations.
[9] Chen, H., Liu, S., and Yang, J. (2026). Markov chain Monte Carlo with diffusion paths. arXiv preprint arXiv:2607.11631.
[10] Chen, R. T. Q., Rubanova, Y., Bettencourt, J., and Duvenaud, D. K. (2018). Neural ordinary differential equations. In Advances in Neural Information Processing Systems, volume 31.
[11] Chen, Y. and Liu, S. (2025). Rotated mean-field variational inference and iterative Gaussianization. arXiv preprint arXiv:2510.07732.
[12] Chewi, S., Erdogdu, M. A., Li, M., Shen, R., and Zhang, S. (2022). Analysis of Langevin Monte Carlo from Poincaré to Log-Sobolev. In Proceedings of the Thirty-Fifth Conference on Learning Theory, volume 178 of Proceedings of Machine Learning Research, pages 1–2. PMLR.
[13] Chopin, N., Crucinio, F., and Korba, A. (2024). A connection between tempering and entropic mirror descent. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 8782–8800. PMLR.
[14] Chopin, N. and Papaspiliopoulos, O. (2020). An Introduction to Sequential Monte Carlo. Springer Series in Statistics. Springer, Cham.
[15] Connor, R. J. and Mosimann, J. E. (1969). Concepts of independence for proportions with a generalization of the Dirichlet distribution. Journal of the American Statistical Association, 64(325):194–206.
[16] Damiano, L. (2018). A tutorial on hidden Markov models using Stan. StanCon 2018 case study, https://github.com/luisdamiano/stancon18.
[17] Del Moral, P., Doucet, A., and Jasra, A. (2006). Sequential Monte Carlo samplers. Journal of the Royal Statistical Society Series B: Statistical Methodology, 68(3):411–436.
[18] El Moselhy, T. A. and Marzouk, Y. M. (2012). Bayesian inference with optimal maps. Journal of Computational Physics, 231(23):7815–7850.
[19] Fogliani, L., Loureiro, B., and Gabrié, M. (2026). Annealing in variational inference mitigates mode collapse: A theoretical study on Gaussian mixtures. arXiv preprint arXiv:2602.12923.
[20] Geyer, C. J. and Thompson, E. A. (1995). Annealing Markov chain Monte Carlo with applications to ancestral inference. Journal of the American Statistical Association, 90(431):909–920.
[21] Guo, W., Tao, M., and Chen, Y. (2025). Provable benefit of annealed Langevin Monte Carlo for non-log-concave sampling. In International Conference on Learning Representations, volume 2025, pages 78814–78836.
[22] Heng, J., Doucet, A., and Pokern, Y. (2021). Gibbs flow for approximate transport with applications to Bayesian computation. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 83(1):156–187.
[23] Hoffman, M. D. and Gelman, A. (2014). The no-U-turn sampler: Adaptively setting path lengths in Hamiltonian Monte Carlo. Journal of Machine Learning Research, 15(47):1593–1623.
[24] Invernizzi, M., Krämer, A., Clementi, C., and Noé, F. (2022). Skipping the replica exchange ladder with normalizing flows. The Journal of Physical Chemistry Letters, 13(50):11643–11649.
[25] Magnusson, M., Torgander, J., Bürkner, P.-C., Zhang, L., Carpenter, B., and Vehtari, A. (2025). posteriordb: Testing, benchmarking and developing Bayesian inference algorithms. In Proceedings of The 28th International Conference on Artificial Intelligence and Statistics, volume 258 of Proceedings of Machine Learning Research, pages 1198–1206. PMLR.
[26] Marinari, E. and Parisi, G. (1992). Simulated tempering: a new Monte Carlo scheme. Europhysics Letters, 19(6):451–458.
[27] Máté, B. and Fleuret, F. (2023). Learning interpolations between Boltzmann densities. Transactions on Machine Learning Research.
[28] Matthews, A., Arbel, M., Rezende, D. J., and Doucet, A. (2022). Continual repeated annealed flow transport Monte Carlo. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 15196–15219. PMLR.
[29] Maurais, A. and Marzouk, Y. (2024). Sampling in unit time with kernel Fisher–Rao flow. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 35138–35162. PMLR.
[30] Miasojedow, B., Moulines, E., and Vihola, M. (2013). An adaptive parallel tempering algorithm. Journal of Computational and Graphical Statistics, 22(3):649–664.
[31] Midgley, L. I., Stimper, V., Simm, G. N. C., Schölkopf, B., and Hernández-Lobato, J. M. (2023). Flow annealed importance sampling bootstrap. In The Eleventh International Conference on Learning Representations.
[32] Neal, R. M. (1996). Sampling from multimodal distributions using tempered transitions. Statistics and Computing, 6(4):353–366.
[33] Neal, R. M. (2001). Annealed importance sampling. Statistics and Computing, 11(2):125–139.
[34] Neklyudov, K., Brekelmans, R., Severo, D., and Makhzani, A. (2023). Action matching: Learning stochastic dynamics from samples. In International conference on machine learning, pages 25858–25889. PMLR.
[35] Nüsken, N. (2024). Stein transport for Bayesian inference. arXiv preprint arXiv:2409.01464.
[36] Okabe, T., Kawata, M., Okamoto, Y., and Mikami, M. (2001). Replica-exchange Monte Carlo method for the isobaric-isothermal ensemble. Chemical Physics Letters, 335(5-6):435–439.
[37] Papamakarios, G., Nalisnick, E., Rezende, D. J., Mohamed, S., and Lakshminarayanan, B. (2021). Normalizing flows for probabilistic modeling and inference. Journal of Machine Learning Research, 22(57):1–64.
[38] Pompe, E., Holmes, C., and Latuszyński, K. (2020). A framework for adaptive MCMC targeting multimodal distributions. The Annals of Statistics, 48(5):2930–2952.
[39] Qiu, Y. and Wang, X. (2024). Efficient multimodal sampling via tempered distribution flow. Journal of the American Statistical Association, 119(546):1446–1460.
[40] Rezende, D. J. and Mohamed, S. (2015). Variational inference with normalizing flows. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 1530–1538. PMLR.
[41] Soletskyi, R., Gabrié, M., and Loureiro, B. (2025). A theoretical perspective on mode collapse in variational inference. Machine Learning: Science and Technology, 6(2):025056.
[42] Srivastava, V. K. and Giles, D. E. (1987). Seemingly Unrelated Regression Equations Models: Estimation and Inference, volume 80. CRC Press.
[43] Swendsen, R. H. and Wang, J.-S. (1986). Replica Monte Carlo simulation of spin-glasses. Physical Review Letters, 57(21):2607–2609.
[44] Syed, S., Bouchard-Côté, A., Deligiannidis, G., and Doucet, A. (2022). Non-reversible parallel tempering: A scalable highly parallel MCMC scheme. Journal of the Royal Statistical Society Series B: Statistical Methodology, 84(2):321–350.
[45] Tan, L. and Lu, J. (2025). Accelerate Langevin sampling with birth-death process and exploration component. SIAM/ASA Journal on Uncertainty Quantification, 13(3):1265–1293.
[46] Tawn, N. G., Moores, M. T., and Roberts, G. O. (2026). Annealed leap-point sampler for multimodal target distributions. Statistics and Computing, 36(6):239.
[47] Tawn, N. G., Roberts, G. O., and Rosenthal, J. S. (2020). Weight-preserving simulated tempering. Statistics and Computing, 30(1):27–41.
[48] Tian, Y., Panda, N., and Lin, Y. T. (2024). Liouville flow importance sampler. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 48186–48210. PMLR.
[49] Vargas, F., Grathwohl, W. S., and Doucet, A. (2023). Denoising diffusion samplers. In The Eleventh International Conference on Learning Representations.
[50] Wang, Y., Chi, C., and Dinner, A. R. (2026). Mitigating mode collapse in normalizing flows by annealing with an adaptive schedule: Application to parameter estimation. Journal of Computational Physics, page 115115.
[51] Woodard, D. B., Schmidler, S. C., and Huber, M. (2009). Sufficient conditions for torpid mixing of parallel and simulated tempering. Electronic Journal of Probability, 14:780–804.
[52] Wu, D. and Xie, Y. (2025). Annealing flow generative models towards sampling high-dimensional and multi-modal distributions. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 67888–67916. PMLR.
[53] Zellner, A. (1962). An efficient method of estimating seemingly unrelated regressions and tests for aggregation bias. Journal of the American Statistical Association, 57(298):348–368.
[54] Zhang, L., Potaptchik, P., He, J., Du, Y., Doucet, A., Vargas, F., Dau, H.-D., and Syed, S. (2026). Accelerated parallel tempering via neural transports. In International Conference on Learning Representations.
[55] Zhang, Q. and Chen, Y. (2022). Path integral sampler: A stochastic control approach for sampling. In International Conference on Learning Representations.
[56] Zhou, Y., Johansen, A. M., and Aston, J. A. D. (2016). Toward automatic model comparison: An adaptive sequential Monte Carlo approach. Journal of Computational and Graphical Statistics, 25(3):701–726.