An Introduction to Flow Matching and Diffusion Models

Peter Holderrieth, Ezra Erives
6/2/2025
cs.LG
diffusion-flow

No confident code implementation found for this paper.

Abstract

Diffusion and flow-based models have become the state of the art for generative AI across a wide range of data modalities, including images, videos, shapes, molecules, music, and more. This tutorial provides a self-contained introduction to diffusion and flow-based generative models from first principles.

Show full abstract

We systematically develop the necessary mathematical background in ordinary and stochastic differential equations and derive the core algorithms of flow matching and denoising diffusion models. We then provide a step-by-step guide to building image and video generators, including training methods, guidance, and architectural design. This course is ideal for machine learning researchers who want to develop a principled understanding of the theory and practice of generative AI.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{holderrieth2025introduction,
  title  = {An Introduction to Flow Matching and Diffusion Models},
  author = {Peter Holderrieth and Ezra Erives},
  year   = {2025},
  eprint = {2506.02070},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.02070v3}
}

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

Discussion