Fokker-Planck Equation
Chapter 21: Fokker-Planck and Distribution Dynamics — Fokker–Planck
From the book
Chapter 21: Fokker-Planck and Distribution Dynamics. In the chapter mind map this icon labels Fokker–Planck: Drift & Diffusion. The discussion below is excerpted and lightly edited from § The Fokker–Planck Equation in Mathematics for AI and Machine Learning.
Chapters the referenced section--the referenced section studied stochastic differential equations (SDEs) and their deterministic ODE counterparts. An SDE describes individual sample paths, random trajectories $\mathbf{X}_t(\omega)$ for each realization $\omega$ of the stochastic process. Generative modeling is about distributions:
- The probability distribution $p_t(\mathbf{x})$ of samples at time $t$
- How this distribution evolves over time
- Whether it converges to the target distribution
The probability density $p_t(\mathbf{x})$ of an SDE obeys the Fokker–Planck equation, a partial differential equation (PDE) that evolves the distribution deterministically, although the paths are random. Every expectation $\mathbb{E}[\phi(\mathbf{X}_t)] = \int \phi\, p_t\, d\mathbf{x}$ depends on the paths only through $p_t$, and knowing these expectations for all test functions $\phi$ determines $p_t$; the derivation below follows exactly this route.
A stochastic process can now be described at three levels: individual random paths (the SDE), deterministic paths with the same marginals (the probability flow ODE), and the density $p_t(\mathbf{x})$ itself (the Fokker–Planck PDE). The last describes how probability mass flows and spreads without reference to any path, which makes it the natural level for questions of long-time behavior and convergence of diffusion processes. the book figure shows the three levels for one process: noisy crossing SDE paths, smooth non-crossing ODE paths, and the density they both follow.
where $\mathbf{f}: \mathbb{R}^d \times \mathbb{R} \to \mathbb{R}^d$ is the drift and $\mathbf{G}: \mathbb{R}^d \times \mathbb{R} \to \mathbb{R}^{d \times m}$ is the diffusion matrix.
Let $p_t(\mathbf{x})$ be the probability density function of $\mathbf{X}_t$ (the density of the random variable at time $t$).
What this drawing shows
What you see. Shows $p(x,t)$ evolving under Fokker--Planck dynamics: gray dashed $p_0$ fixed while blue density drifts right and spreads (diffusion); red arrow tracks drift.
In the mind map. Chapter 21 — Fokker–Planck: Drift & Diffusion. 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 Fokker–Planck: Drift & Diffusion.