Transport for Conditional Sampling: Foundations and Applications
Ricardo Baptista, Benjamin Bloem-Reddy, Bamdad Hosseini
stat.ME, math.ST, stat.ML
2026-11-01
Review from Toronto, UBC and UW: learn one triangular transport map and sample conditionals for any new observation directly, unifying flows, SBI and causal models.
Bayesian inference, filtering, and causal effect estimation all bottom out in one task: given a joint law for (X, Y) and an observation Y = y, draw samples from the conditional X | Y = y. Knowing the joint does not make this easy. Posteriors often carry intractable normalizing constants, likelihoods can require integrating out latent variables, and where MCMC applies at all, every new observation restarts a chain while each likelihood call hits an expensive simulator. The way out is amortization: train once, then answer any incoming y directly. This review by Baptista, Bloem-Reddy and Hosseini (Toronto, UBC, UW) covers that route under the banner of triangular measure transport.
The setup fits in one line: find a map T with T#ρ = μ (is pushforward, so T(U) follows μ when U ρ). Sampling then means drawing u and evaluating T(u). Everything hinges on the structure of T.
One dimension has a classical answer: compose quantile functions, T = Fμ^{-1} ∘ Fρ, which is monotone and estimable from empirical CDFs. The Knothe–Rosenblatt (KR) map lifts this to many dimensions: factorize the joint density into a chain of one-dimensional conditionals, fit each with a monotone map, and let the k-th component depend only on the first k inputs. Triangularity buys three things. The Jacobian is triangular, so its determinant is a product of diagonal terms and change-of-variables gives tractable densities; inversion reduces to sequential one-dimensional root-finding, akin to forward substitution in linear algebra; and for log-concave references the maximum-likelihood problem is convex in the inverse map and, with an i.i.d. reference, decouples across components.
Conditional sampling itself rests on the block-triangular generalization T(v, u) = (TY(v), TX(v, u)). Theorem 1 is the linchpin: any block-triangular map that transports the joint reference to the joint target also transports reference conditionals to target conditionals. Choose the reference μY ⊗ ρU and TY becomes the identity, so TX(y, ·) alone pushes ρU straight to μ{X|y} for every y. That single fact is the entire amortization mechanism.
Learning from finite samples, the review sorts existing algorithms by loss: KL (maximum likelihood); MMD and IPMs, with the GAN Wasserstein distance as a special case that tolerates non-invertible maps; entropic OT, where Sinkhorn iterations yield the entropic map; and dynamic methods such as flow matching, which learn an ODE velocity field whose optimum along the linear interpolant is a conditional expectation, with block-triangular velocities keeping the map block-triangular. Parameterizations come in three families: autoregressive and coupling flows (for conditional generation, permutations must stay within blocks or the conditional-sampling property breaks); monotone strictly-triangular components written as integrals of unconstrained functions through a positive link; and Brenier-style maps encoded by input-convex neural networks (ICNNs, or partial ICNNs convex only in the transported block).
One construction is especially practical: when the estimated map is imperfect, push target samples through the inverse to get an empirical reference, then evaluate the composed map T̂X(y, ·) ∘ T̂X^{-1}(y, x). For Gaussian targets this estimates the posterior covariance at O(1/N), versus O(1/√N) from the raw map. It generalizes regression adjustment from ABC, and the ensemble Kalman filter appears as its affine special case.
The causal half lands in the same language: an SCM's structural equations with independent noise, expanded along a topological order, are exactly a triangular map. Counterfactual reasoning by abduct, act, predict becomes the composed map, and the cited result is that composed maps are the only counterfactual transports coherent across intervention levels, while multivariate OT couplings fail beyond two levels.
There are no benchmarks; the results are theory, and the review maps them:
| Result | Setting | Rate |
| KR map estimation error (H^{1,2} norm) | s-smooth map class, d < 2s | O(N^{-1/2}) |
| Hellinger error of pushforward density | α-smooth density, dimension d | N^{-α/(2α+d)}, minimax-optimal |
| Posterior covariance via composed map | Gaussian target, N joint samples | O(1/N); raw map O(1/√N) |
| TV error of conditional density (conditional diffusion analyses) | smoothness αX, αY | N^{-1/(2+dX/αX+dY/αY)}, minimax-optimal |
| Map approximation error (analytic densities) | sparse polynomials / deep ReLU nets, space dimension M | exp(−βM^{1/d}) / exp(−βM^{1/(d+1)}) |
Three negative results carry equal weight. Convergence of the joint pushforward density does not imply convergence of the conditionals, and rates for conditionals from block-triangular maps are largely missing; current bounds are borrowed from analyses of conditional diffusion models. A globally Lipschitz map cannot push a light-tailed reference onto a strictly heavier-tailed target, so such estimators stay misspecified as N grows. And KR maps depend on the coordinate ordering: least-smooth-first is optimal, but the theory does not cover the cost of learning that ordering from data.
People building conditional generative models already run this machinery under other names: conditional normalizing flows, conditional diffusion, flow matching, and amortized SBI posteriors all sit on the block-triangular skeleton. The review's contribution is assembly: structure theorems, rates, and pitfalls (ordering, tail mismatch, within-block permutations) pulled from scattered literatures into one place, giving architecture and loss choices something to stand on. Filtering and ABC practitioners get a unification, with regression adjustment and the EnKF as special cases of one composed construction. Causal researchers get formal criteria for SCM identifiability and counterfactual coherence. This is not a modeling-performance contribution; its value is infrastructure, plus new material in the block-KR construction, conditioning on distributions as the conditioning variable, and a list of open problems.
The authors state the open problems themselves: regularity of block-triangular maps in the conditioning variable is unsolved, extensions to infinite-dimensional spaces are mostly open, and minimax rates for conditional distributions with intrinsic-dimension adaptation do not yet exist. Two more concerns from a close reading: the paper contains no experiments, so practical questions such as when flow matching beats likelihood-based training have no direct evidence here; and most rates assume compact support with densities bounded away from zero, while heavy-tailed real data is precisely the misspecification regime the review itself flags.