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

Energy-Based Models: Lower Energy, Higher Probability

Chapter 17 · Mathematics for AI and Machine Learning · Beginner · 1:50

An interactive live film: 3D double-well energy surface where valleys are probability peaks; the score vector field is the negative energy gradient, acting as a physical force field pulling samples into high-probability modes.

Narration

An energy-based model defines a probability distribution through an unconstrained scalar energy function E of x. Unlike standard densities, it requires no tractability constraints on the network.

Look at this three-dimensional energy surface. High plateaus represent unlikely, low-probability configurations. Deep bowls and valleys mark stable, favored states.

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

More from Chapter 17

Interactive1:13Score Function: Arrows That Point Uphill on the Log DensityChapter 17Preview1:39Tweedie's Formula: The Denoiser Is the ScoreChapter 17Preview1:34Multi-Scale Denoising Score MatchingChapter 17