family · generative-framework

energy-based models

A framework that assigns a scalar energy to each configuration — low for plausible data, high for everything else. Generation and inference become search: descent on the energy landscape.

primitives, wired directly + energy

Most generative models output probabilities or samples directly. Energy-based models (EBMs) take a different stance: a model defines a scalar energy function E(x) that scores how compatible a configuration is with the data. Low energy means “plausible”; high energy means “unlikely.” Training shapes the landscape so that real data sits in low-energy valleys and everything else is pushed uphill. To generate a sample, you start from a random configuration and descend the landscape — following the gradient of the energy until you settle somewhere low.

The defining feature, and the central difficulty, is that EBMs do not require a normalized probability. Any energy function implies a probability via p(x) ∝ e^(−E(x)), but computing the normalizing constant (the partition function Z) requires integrating over all possible inputs — intractable for high-dimensional data like images.

How it works

Training without Z. The main training families each avoid computing the partition function:

Inference. Given a query, minimize energy over the unknown variables. Given nothing, run Langevin dynamics from random noise to generate a sample. This makes EBMs naturally suited to structured prediction, where you want to score candidates rather than emit one deterministic answer.

Historical roots

EBMs descend from statistical physics. Hopfield networks (1982) store memories as low-energy attractor states and retrieve them by energy descent — the canonical example of an energy landscape with discrete basins. Boltzmann machines are stochastic EBMs over binary units. Modern deep EBMs replace these with neural networks that produce a scalar output, but the core idea is unchanged.

Yann LeCun champions EBMs as a unifying lens: he frames JEPA and contrastive learning as special cases of energy-based learning, where the goal is always to carve low energy around good answers.

Where you’ll see it

EBMs appear most visibly through their connections to other families — the GAN discriminator, diffusion’s score-matching objective — rather than as standalone deployment targets. Active research uses them for structured prediction (parsing, protein design) and as a theoretical framework for understanding what contrastive self-supervised learning is actually doing.

Sources

browse all sources ›