The interactive film is in the book's Companion

Play it, pause it, turn it and drag it with Mathematics for AI and Machine Learning.

Get the book

Metastability and the Kramers Escape Rate

Chapter 21 · Mathematics for AI and Machine Learning · Advanced · 1:50

An interactive live film: Langevin paths in a double well hop across the barrier at the Kramers rate; lower the temperature and they stop hopping, add noise to the data and the barrier disappears.

Narration

Here is a double well, U of x equals x squared minus one, squared, drawn as the purple curve on the back wall. Its two minima, at minus one and plus one, are separated by a barrier of height one.

On the floor, time runs away from us. Each blue path is a particle following Langevin dynamics at temperature one quarter. A path rattles inside one well for a long time, and only now and then hops across the barrier.

The rest of the narration is in the book's Companion.

More from Chapter 21

Interactive1:35Fokker-Planck: A Random Cloud, a Deterministic DensityChapter 21Preview1:29Detailed Balance: Stationary Is Not the Same as StillChapter 21Preview1:28Forward Diffusion and the Heat Equation: All Distributions Become GaussianChapter 21Preview1:27Guidance Does Not Sample the Sharpened DistributionChapter 21Preview1:26Reverse Time: Why We Must Learn the ScoreChapter 21Preview1:34Unification: SDEs, Probability Flow ODEs, and Fokker-Planck DynamicsChapter 21Preview1:52Discretization Changes the Stationary DistributionChapter 21Preview1:29Stein Variational Gradient Descent: Pull and PushChapter 21