Paths vs Densities: Three Levels
Chapter 21: Fokker-Planck and Distribution Dynamics — Three Levels of Description
From the book
Chapter 21: Fokker-Planck and Distribution Dynamics. In the chapter mind map this icon labels Paths vs Densities: Three Levels of Description. The discussion below is excerpted and lightly edited from § Three Levels of Description in Mathematics for AI and Machine Learning.
the book figure checks the same picture with particles: $2000$ samples follow Langevin dynamics for a 2D mixture of Gaussians, starting in a tight cluster far from the modes. Early on ($t = 30$) the drift dominates and stretches the cloud toward the high-density regions, the advection term at work; by $t = 1000$ the noise keeps the particles from collapsing onto the modes, and their empirical density matches the stationary distribution. Running the SDE on samples and evolving the density by Fokker–Planck are two descriptions of the same process.
In low dimensions the Fokker–Planck equation can be solved directly, by finite difference methods on a grid or by a spectral expansion such as the Hermite expansion of the Ornstein–Uhlenbeck process below, but a grid with $N$ points per axis has $N^d$ points, the curse of dimensionality. Diffusion models therefore never represent $p_t$: they learn the score and simulate the SDE or ODE, solving the Fokker–Planck equation implicitly through samples.
What this drawing shows
What you see. Top: BM sample paths around flat mean; middle: flat probability-flow ODE; bottom: widening Fokker--Planck density as time advances.
In the mind map. Chapter 21 — Paths vs Densities: Three Levels of Description. See From the book above for definitions, figures, and worked examples.
Where to read next
Read the full definitions, figures, and worked examples in Chapter 21: Fokker-Planck and Distribution Dynamics — see the mind-map node Paths vs Densities: Three Levels of Description.