Simulation-free Schrödinger bridges via score and flow matching

Alexander Tong, Nikolay Malkin, Kilian Fatras, Lazar Atanackovic, Yanlei Zhang +3 more
7/7/2023
cs.LG

Official code: atong01/conditional-flow-matching (2,592 stars, MIT, PyTorch, last commit 2026-04-20).

Abstract

We present simulation-free score and flow matching ([SF]$^2$M), a simulation-free objective for inferring stochastic dynamics given unpaired samples drawn from arbitrary source and target distributions. Our method generalizes both the score-matching loss used in the training of diffusion models and the recently proposed flow matching loss used in the training of continuous normalizing flows. [SF]$^2$M interprets continuous-time stochastic generative modeling as a Schrödinger bridge problem. It relies on static entropy-regularized optimal transport, or a minibatch approximation, to efficiently learn the SB without simulating the learned stochastic process. We find that [SF]$^2$M is more efficient and gives more accurate solutions to the SB problem than simulation-based methods from prior work. Finally, we apply [SF]$^2$M to the problem of learning cell dynamics from snapshot data. Notably, [SF]$^2$M is the first method to accurately model cell dynamics in high dimensions and can recover known gene regulatory networks from simulated data. Our code is available in the TorchCFM package at https://github.com/atong01/conditional-flow-matching.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

TorchCFM: a Conditional Flow Matching library

2,592223Shell, PythonJan 30, 20236 months agoMIT
continuous-normalizing-flowsoptimal-transportpytorch

Cite this paper

@article{tong2023simulationfree,
  title  = {Simulation-free Schrödinger bridges via score and flow matching},
  author = {Alexander Tong and Nikolay Malkin and Kilian Fatras and Lazar Atanackovic and Yanlei Zhang and Guillaume Huguet and Guy Wolf and Yoshua Bengio},
  year   = {2023},
  eprint = {2307.03672},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.03672v3}
}

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/2307.03672.svg)](https://codeofpaper.com/paper/2307.03672)

Discussion