Reproduce “Flow Matching Guide and Code” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yaron Lipman, Marton Havasi, Peter Holderrieth, Neta Shaul, Matt Le, Brian Karrer, Ricky T. Q. Chen, David Lopez-Paz and 2 more

The guide presents Flow Matching (FM) as a tutorial for generative modeling. It describes choosing a probability path from noise to data and training a network to predict its velocity, while conditional Flow Matching (CFM) gives the same parameter gradients as the marginal objective. Training avoids ODE simulation, but sampling still requires solving an ODE; no benchmark win is reported.

Key insights

  • Velocity fields can be learned by matching to analytically derived conditional velocities
  • Marginal velocities can be expressed as expectations of conditional velocities (Marginalization Trick)
  • Different parameterizations (velocity, score, prediction) are equivalent and interchangeable
  • Probability paths can be designed through conditioning and factorization

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.