Physics-Informed Generative AI: Unnormalized Densities & SGLD Sampling
Unlike autoregressive or normalized likelihood models, Energy-Based Models (EBMs) parameterize unnormalized probability distributions $p_\theta(\mathbf{x}) \propto \exp(-E_\theta(\mathbf{x})/T)$. Sampling bypasses the intractable partition function $Z_\theta$ via Stochastic Gradient Langevin Dynamics (SGLD), where a particle swarm drifts along the score field $\mathbf{s}(\mathbf{x}) = -\nabla_{\mathbf{x}} E(\mathbf{x})$ perturbed by Brownian thermal noise.
Langevin MCMC Particle Swarm & Score Vector Field
Particles stream down the negative energy gradient $-\nabla E(\mathbf{x})$ perturbed by thermal Brownian noise $\sqrt{\epsilon T} \xi_t$. Click canvas to drop particles!
3D Energy Landscape $E(\mathbf{x})$
Continuous 3D perspective of the scalar energy function $E_\theta(x, y)$ depicting potential barriers and metastable attraction basins.
Stationary MCMC Density vs Boltzmann Target $p(\mathbf{x}) \propto e^{-E/T}$
Score Matching & Energy Compositionality
Because energy functions are unnormalized, multiple models can be composed zero-shot via simple addition. The intersection of concepts corresponds to the sum of their energies!