Flow Matching for Applied Mathematicians

Emile Pierret, Valentine Tosel, Julie Delon, Alasdair NewsonSPIRE 2026

TL;DR

Flow Matching offers a novel, simulation-free approach to learning continuous transformations between probability distributions, making it a compelling alternative to existing methods like normalizing flows and diffusion models. This paper provides a rigorous mathematical introduction to Flow Matching, bridging theory and practice for applied mathematicians and researchers.

What Problem Does This Paper Address?

The paper tackles the fundamental challenge of learning mappings between probability distributions, a core problem in areas like generative modeling, inverse problems, and domain transfer. Existing methods, such as continuous normalizing flows and diffusion models, often require computationally intensive ODE integration or complex training procedures. Flow Matching aims to simplify this by reformulating the problem as a regression task on paired samples, enabling a more efficient and flexible learning process.

Methods

The core of Flow Matching lies in constructing a time-dependent velocity field that guides a source distribution to a target distribution. This is achieved by leveraging the continuity equation, which links velocity fields, probability paths, and flows. The key innovation is a training objective that directly regresses on the difference between samples from the source and target distributions, avoiding the need for ODE integration during training. The paper meticulously lays out the theoretical foundations, including conditions for unique flows and valid pushforwards, and provides explicit counterexamples to highlight limitations. It also derives closed-form solutions for velocity fields in various settings (1D, Gaussian, GMMs) and explores connections to score matching, diffusion models, and optimal transport.

Datasets

The paper mentions the use of toy datasets for illustration and experiments, as well as standard image datasets like MNIST and Oxford 102 Flower for demonstrating generative capabilities. No new datasets are introduced.

Key Insights and Ideas

  • Simulation-Free Training: The most significant insight is the ability to train a generative model without simulating ODEs, drastically simplifying the training process.
  • Regression-Based Learning: Reformulating the problem as a direct regression on sample differences makes learning more accessible and efficient.
  • Theoretical Rigor: The paper emphasizes providing mathematically rigorous foundations, including explicit assumptions and counterexamples, to build trust and understanding.
  • Unifying Framework: Flow Matching is presented as a unifying framework that connects to and clarifies relationships with diffusion models, score matching, and optimal transport.
  • Flexibility in Schedules: The paper explores how different time schedules (e.g., linear, cosine) affect the learned dynamics and the resulting trajectories, offering flexibility in model design.

Key Results

The paper establishes the theoretical underpinnings of Flow Matching, demonstrating how to construct velocity fields and flows that transform probability distributions. It provides closed-form solutions for specific cases, showcasing the method's applicability. The accompanying code and experiments illustrate the practical effectiveness of Flow Matching for generative tasks and domain transfer, highlighting its ability to produce high-quality samples.

Limitations and Future Work

The authors acknowledge that while Flow Matching offers significant advantages, its theoretical guarantees often rely on specific regularity assumptions. They also point out that the choice of coupling, time schedule, and loss function can influence practical performance, and that further investigation into these aspects is warranted. Future work could explore extensions to more general settings, stochastic variants, and connections to other advanced topics like Schrödinger bridges. The paper also highlights the importance of understanding generalization properties and the role of inductive biases in achieving good performance.

Summary updated

Abstract

Flow Matching is a recent framework for learning continuous transformations between probability measures. The method constructs a time-dependent velocity field whose flow transports a source distribution to a target distribution, and whose training reduces to a simple regression problem on paired samples. This simulation-free objective makes Flow Matching an attractive alternative to continuous normalizing flows and diffusion models. This tutorial provides a self-contained and mathematically rigorous introduction to Flow Matching, aimed at applied mathematicians. Starting from the continuity equation, we establish the theoretical foundations linking velocity fields, probability paths, and flows, and explain how Flow Matching arises from a particular construction based on couplings of probability measures. We carefully state the assumptions under which the induced ordinary differential equation defines a unique flow and yields a valid pushforward between distributions, and we illustrate the limitations of the theory through explicit counterexamples. We derive closed-form velocity fields in several important settings, including one-dimensional distributions, Gaussian and Gaussian mixture models, and semi-discrete targets, and we clarify the connections with score matching, diffusion models, and optimal transport. Throughout the paper, theoretical results are complemented by reproducible numerical experiments designed to build intuition and illustrate practical behavior. Our goal is to provide readers with both a solid mathematical understanding of Flow Matching and concrete tools for its application.
BibTeX
@inproceedings{pierret2026flow,
  author = {Emile Pierret and Valentine Tosel and Julie Delon and Alasdair Newson},
  title = {{Flow Matching for Applied Mathematicians}},
  booktitle = {SPIRE},
  year = {2026},
}

Loading related content...

Figure