Detailed Balance

Chapter 21 Dynamics & diffusion

Chapter 21: Fokker-Planck and Distribution Dynamics — Stationary Distributions and Detailed Balance

From the book

Chapter 21: Fokker-Planck and Distribution Dynamics. In the chapter mind map this icon labels Stationary Distributions and Detailed Balance. The discussion below is excerpted and lightly edited from § Stationary Distributions and Detailed Balance in Mathematics for AI and Machine Learning.

The target $p$ is a stationary solution: since $p \nabla \log p = \nabla p$, the drift term $\nabla \cdot (p \nabla \log p) = \nabla^2 p$ cancels the diffusion term, so at $p_t = p$

In fact the probability current $\mathbf{J} = p \nabla \log p - \nabla p$ vanishes identically at $p$, the detailed balance condition. Under appropriate conditions (ergodicity, irreducibility) this stationary solution is unique and every initial density $p_0$ converges to it as $t \to \infty$, at a rate set by the geometry of $p$. This is the distributional reason why Langevin dynamics samples correctly. the book figure shows it numerically: $D_{\mathrm{KL}}(p_t \| p)$ decreases monotonically (top), and snapshots of $p_t$ approach the target (bottom).

What this drawing shows

What you see. Stationary weights $p^*$ fixed; paired forward and reverse flux arrows grow symmetrically, illustrating detailed balance at equilibrium.

In the mind map. Chapter 21 — Stationary Distributions and Detailed Balance. See From the book above for definitions, figures, and worked examples.

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 Stationary Distributions and Detailed Balance.

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