AI From Scratch/Phase 08/Lesson 13/~45 minutes

Flow Matching & Rectified Flows

BuildPython

Diffusion models take 20-50 sampling steps because they walk a curved path from noise to data. Flow matching (Lipman et al., 2023) and rectified flow (Liu et al., 2022) trained straight paths. Straighter paths mean fewer steps mean faster...

Loading lesson page...