Yang-Lee zeros in machine learning: speciation and collapse in generative diffusion models
Abstract
Yang and Lee showed that phase transitions are signaled by zeros of the partition function that approach the physical axis in the thermodynamic limit. Later work showed that the way in which the zeros approach the axis gives the order of the transition. However, partition-function zeros have not been located for any statistical-mechanics model of machine learning. Biroli and coworkers showed that the backward trajectories of a generative diffusion model on a two-class Gaussian mixture, with the exact empirical score, pass through two transitions: speciation, at which a trajectory commits to a class, and collapse, at which it commits to a single training image and can no longer generalize. This work presents the first computation of the zero loci of these transitions in complex diffusion time, thus extending Yang-Lee analysis to models of learning. For speciation, the joint density of cloned backward trajectories, introduced here, is shown to be identical to the partition function of the Curie-Weiss magnet and thus shares its well-known zero locus. These zeros approach the real axis along rays, identifying speciation as a second-order transition. The rays also follow from K.C. Lee's two-phase cumulant expansion of the zero condition, which was developed for first-order transitions and is here extended to a second-order transition. For collapse, the training point on which a trajectory ends competes with a time-parameterized random energy model (REM) formed by the rest of its class, as found by Biroli and coworkers. The zeros show that collapse, which heralds the onset of memorization, is a first-order transition. Furthermore, its leading zero determines the width of the memorization regime at the finite training-set size conditions relevant to real diffusion models.
Create a lesson
Metadata
- Categories
- cond-mat.stat-mech, cond-mat.dis-nn
- Comments
- 14 pages, 6 figures, 1 table
Related papers
Hydrodynamic diffusive correlations in the integrable Non-Linear Schrödinger equation
Shared title terminologycond-mat.stat-mechMaciej Łebek, Miłosz Panfil, Alvise Bastianello
Sandpile Topplings Generate a Monge-Ampère Field with Emergent Affine Geometry
Shared title terminologycond-mat.stat-mechHiginio Serrano, Mikhail Shkolnikov, Alexander Varypaev et al.
Nonlinear Breathing and Caustic Collapse in Quenched Long-Range Interacting Gases
Shared title terminologycond-mat.stat-mechManas Kulkarni, Sanjib Sabhapandit
Data-driven assessment of spectral modes in restricted Boltzmann machines for magnetization reconstruction
Shared title terminologycond-mat.stat-mechDiego García Venegas, Joaquín Peralta, Claudia Loyola et al.
Multiplicative noise without the interpretation dilemma: spatially correlated diffusion and diffusion in viscosity landscapes
Shared title terminologycond-mat.stat-mechM. Majka
Capture of a diffusing lamb by three diffusing lions: hidden symmetry and an exact solution
Shared title terminologycond-mat.stat-mechMarco Biroli