Liouville Flow Importance Sampler
Yifeng Tian, Nishant Panda, Yen Ting Lin
TL;DR
LFIS introduces a pure flow-based sampler that deterministically transports samples from a base distribution to a target via a neural velocity field $v(x,t)$ that satisfies the Generalized Liouville Equation for a prescribed unnormalized density path $\tilde{\rho}_\ast(x,t)$. The velocity field is learned at discrete times by minimizing a least-squares consistency condition; samples along trajectories are assigned weights from accumulated local errors, enabling unbiased estimation of statistics and $\log \mathcal{Z}$ even when the flow is imperfect. The approach yields asymptotically unbiased estimates and demonstrates competitive or state-of-the-art performance on multimodal and high-dimensional benchmarks, including Gaussian mixtures, funnel distributions, and Log-Gaussian Cox processes, while avoiding stochastic kernels. Compared to existing AIS/SMC and diffusion-based methods, LFIS provides a principled, end-to-end flow framework with explicit path evolution, offering robust sampling with potentially lower tuning burden and strong theoretical grounding for importance weight computation.
Abstract
We present the Liouville Flow Importance Sampler (LFIS), an innovative flow-based model for generating samples from unnormalized density functions. LFIS learns a time-dependent velocity field that deterministically transports samples from a simple initial distribution to a complex target distribution, guided by a prescribed path of annealed distributions. The training of LFIS utilizes a unique method that enforces the structure of a derived partial differential equation to neural networks modeling velocity fields. By considering the neural velocity field as an importance sampler, sample weights can be computed through accumulating errors along the sample trajectories driven by neural velocity fields, ensuring unbiased and consistent estimation of statistical quantities. We demonstrate the effectiveness of LFIS through its application to a range of benchmark problems, on many of which LFIS achieved state-of-the-art performance.
