Conditional Flow Matching for Bayesian Posterior Inference
So Won Jeong, Percy S. Zhai, Veronika Ročková
TL;DR
This work develops a likelihood-free Bayesian posterior sampler by framing posterior inference as learning a dynamic block-triangular transport on the joint space $\mathcal{Y} \times \Theta$ via conditional flow matching. A velocity field $v_t$ drives a continuous-time flow that transports a base joint distribution to the target posterior, with monotonicity constraints yielding a conditional Brenier map and Monge–Kantorovich depth-based credible sets, plus accessible inverse maps for posterior ranks. The authors provide rigorous guarantees: a block-triangular mapping property, $W_2$-consistency of the learned posterior, and convergence of MK-depth-based credible sets, all while enabling one-time training with amortized inference. Empirically, the method shows flexibility to complex geometries, scalable performance with data dimension, and competitive results compared to GAN- and diffusion-based approaches, highlighting its practical potential for likelihood-free posterior inference and uncertainty quantification.
Abstract
We propose a generative multivariate posterior sampler via flow matching. It offers a simple training objective, and does not require access to likelihood evaluation. The method learns a dynamic, block-triangular velocity field in the joint space of data and parameters, which results in a deterministic transport map from a source distribution to the desired posterior. The inverse map, named vector rank, is accessible by reversibly integrating the velocity over time. It is advantageous to leverage the dynamic design: proper constraints on the velocity yield a monotone map, which leads to a conditional Brenier map, enabling a fast and simultaneous generation of Bayesian credible sets whose contours correspond to level sets of Monge-Kantorovich data depth. Our approach is computationally lighter compared to GAN-based and diffusion-based counterparts, and is capable of capturing complex posterior structures. Finally, frequentist theoretical guarantee on the consistency of the recovered posterior distribution, and of the corresponding Bayesian credible sets, is provided.
