Poster
in
Workshop: NeurIPS 2023 Workshop on Diffusion Models
Sampling with flows, diffusion and autoregressive neural networks: A spin-glass perspective
Davide Ghio · Yatin Dandi · Florent Krzakala · Lenka Zdeborová
Generative models based on various neural network architectures, including flows, diffusion, and autoregressive models, have achieved significant success in data generation across diverse applications, but their theoretical analysis and limitations understanding remain challenging. In this paper, we undertake a step in this direction by analysing the efficiency of sampling by these methods on a class of problems with a known probability distribution and comparing it with the sampling performance of more traditional methods such as the Monte Carlo Markov chain and Langevin dynamics. We focus on a class of probability distribution widely studied in the statistical physics of disordered systems that relate to spin glasses, statistical inference and constraint satisfaction problems. We leverage the fact that sampling via flow-based, diffusion-based or autoregressive networks methods can be equivalently mapped to the analysis of a Bayes optimal denoising of a modified probability measure. Our findings demonstrate that these methods encounter difficulties in sampling stemming from the presence of a first-order phase transition along the algorithm's denoising path. Our conclusions go both ways: we identify regions of parameters where these methods are unable to sample efficiently, while that is possible using standard Monte Carlo or Langevin approaches. We also identify regions where the opposite happens: standard approaches are inefficient while the discussed generative methods work well.