English

Score-Regularized Joint Sampling with Importance Weights for Flow Matching

Computer Vision and Pattern Recognition 2026-03-02 v2 Artificial Intelligence Machine Learning

Abstract

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 estimates of both importance weights and expectations, advancing the reliable characterization of flow matching model outputs. Our code will be publicly available on GitHub.

Keywords

Cite

@article{arxiv.2511.17812,
  title  = {Score-Regularized Joint Sampling with Importance Weights for Flow Matching},
  author = {Xinshuang Liu and Runfa Blark Li and Shaoxiu Wei and Truong Nguyen},
  journal= {arXiv preprint arXiv:2511.17812},
  year   = {2026}
}
R2 v1 2026-07-01T07:49:48.757Z