Formula
Sampling: , from (noise) to (data).
Training (linear path): ,
Intuition
Velocities are linear: the marginal velocity is the average of simple per-pair (conditional) velocities and generates the marginal probability path. So random noise-data pairs are enough.
| Diffusion | Flow matching | |
|---|---|---|
| Path | stochastic SDE | deterministic ODE |
| Target | noise / score | velocity |
| Steps | thousands | 10-100 |
For a Gaussian source both are equivalent up to reparameterization.
Uses in 3D generation: TRELLIS generates structured latents (SLAT, features at active voxels) with flow transformers; Hunyuan3D-DiT generates unstructured latents (VecSets) with a flow-based diffusion transformer. SDS (DreamFusion) instead distills a frozen 2D diffusion model into a 3D representation by optimization.
Appears in
- Lecture 11, Flow Matching
- Lecture 11, FM vs. diffusion
- Lecture 11, Structured vs. unstructured latents
- Lecture 11, TRELLIS
- Lecture 11, SDS