Diffusion Unify

Chapter 21 Dynamics & diffusion

Chapter 21: Fokker-Planck and Distribution Dynamics — Probability Flow ODE and SDE Unification (also appears in Ch. 20)

From the book

Chapter 21: Fokker-Planck and Distribution Dynamics. In the chapter mind map this icon labels Unification: Probability Flow ODE. The discussion below is excerpted and lightly edited from § Probability Flow ODE and SDE Unification in Mathematics for AI and Machine Learning. Related material also appears in Chapter 20 (Flow Matching, Rectified Flow, Consistency Models).

The probability flow ODE of the matrix chapter, $\frac{d\mathbf{X}_t}{dt} = \mathbf{v}(\mathbf{X}_t, t)$ with velocity field $\mathbf{v} = \mathbf{f} - \frac{1}{2}\mathbf{D}\nabla \log p_t$, moves its density by the continuity equation @eq:continuity-equation, and since $p_t\nabla\log p_t = \nabla p_t$,

For state-independent diffusion $\mathbf{D}(t)$, this simplifies to the same Fokker–Planck equation as the SDE.

The SDE and the ODE are thus two path-level descriptions of one density evolution, which is why either can be used for sampling.

What this drawing shows

What you see. Blue dashed probability-flow ODE (deterministic drift) fixed; purple SDE sample path grows in time as BM noise around the same flow.

In the mind map. Chapter 21 — Unification: Probability Flow ODE. See From the book above for definitions, figures, and worked examples.

Also appears in Ch. 20 (Flow Matching, Rectified Flow, Consistency Models).

Where to read next

Open Chapter 21 companion →

Read the full definitions, figures, and worked examples in Chapter 21: Fokker-Planck and Distribution Dynamics — see the mind-map node Unification: Probability Flow ODE.

This concept is also referenced in Chapter 20 (Flow Matching, Rectified Flow, Consistency Models).

PNG Icons

Textless (256×256 px)
PNG 256×256 px Copy PNG URL
Textless (64×64 px)
PNG 64×64 px Copy PNG URL
Textless (32×32 px)
PNG 32×32 px Copy PNG URL

Animated GIFs

Animated GIF (256×256 px)
GIF 256×256 px Copy GIF URL
Animated GIF (128×128 px)
GIF 128×128 px Copy GIF URL
Animated GIF (64×64 px)
GIF 64×64 px Copy GIF URL