Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Score-Regularized Joint Sampling with Importance Weights for Flow Matching

About

Flow matching models effectively represent complex distributions, yet estimating expectations of functions of their outputs remains challenging under limited sampling budgets. Independent sampling often yields high-variance estimates, especially when rare but high-impact outcomes dominate the expectation. We propose a non-IID sampling framework that jointly draws multiple samples to cover diverse, salient regions of a flow matching model's generative distribution. To balance diversity and quality, we introduce a score-based regularization for the diversity mechanism (SR), which uses the score function, i.e., the gradient of the log probability, to ensure samples are pushed apart within high-density regions of the data manifold, mitigating off-manifold drift. To enable unbiased estimation when desired, we further develop an approach for importance weighting of non-IID flow samples by learning a residual velocity field that reproduces the marginal distribution of the non-IID samples and by evolving importance weights along trajectories. Empirically, our method produces diverse, high-quality samples and accurate importance-weight estimates and debiased expectation estimates, advancing the reliable characterization of flow matching model outputs.

Xinshuang Liu, Runfa Blark Li, Shaoxiu Wei, Truong Nguyen• 2025

Related benchmarks

TaskDatasetResultRank
Sampling diversity and quality estimationGaussian Mixture
Mode Coverage (Marginal)6.53
17
Image InpaintingOpen Images V7 (test)
Coverage Radius (T1)2.13
10
Text-to-Image GenerationText-to-Image Prompts T1-T6
T1 Score19.2
10
Expectation EstimationGaussian mixture (test)
Jensen-Shannon Divergence0.071
7
Importance Weight EstimationGaussian mixture (test)
Squared Error2.6
5
Showing 5 of 5 rows

Other info

Follow for update