Stream-level Flow Matching with Gaussian Processes

Gan-Chao Wei, Li Ma
9/1/2024
5 citations
diffusion-flowbayesian

Official code: weigcdsb/GP-CFM (2 stars, Jupyter Notebook, last commit 2025-05-14).

Abstract

Flow matching (FM) is a family of training algorithms for fitting continuous normalizing flows (CNFs). Conditional flow matching (CFM) exploits the fact that the marginal vector field of a CNF can be learned by fitting least-squares regression to the conditional vector field specified given one or both ends of the flow path.

Show full abstract

In this paper, we extend the CFM algorithm by defining conditional probability paths along “streams”, instances of latent stochastic paths that connect data pairs of source and target, which are modeled with Gaussian process (GP) distributions. The unique distributional properties of GPs help preserve the “simulation-free” nature of CFM training. We show that this generalization of the CFM can effectively reduce the variance in the estimated marginal vector field at a moderate computational cost, thereby improving the quality of the generated samples under common metrics. Additionally, adopting the GP on the streams allows for flexibly linking multiple correlated training data points (e.g., time series). We empirically validate our claim through both simulations and applications to image and neural time series data.

View on arXivView PDF

Code Implementations(1)

weigcdsb/GP-CFMOfficial100%

Stream-level flow matching from a Bayesian decision theoretic perspective

21Jupyter Notebook, PythonSep 26, 20241 years ago

Similar Papers

Cite this paper

@article{wei2024streamlevel,
  title  = {Stream-level Flow Matching with Gaussian Processes},
  author = {Gan-Chao Wei and Li Ma},
  year   = {2024},
  eprint = {2409.20423},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2409.20423},
  journal = {International Conference on Machine Learning}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.20423.svg)](https://codeofpaper.com/paper/2409.20423)

Discussion