Skip to content

Yang-Lee zeros in machine learning: speciation and collapse in generative diffusion models

McKinley K. Paul

cond-mat.stat-mech

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 NN 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 45∘45^\circ 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