UCL Discovery
UCL home » Library Services » Electronic resources » UCL Discovery

A phase transition in diffusion models reveals the hierarchical nature of data

Sclocchi, Antonio; Favero, Alessandro; Wyart, Matthieu; (2025) A phase transition in diffusion models reveals the hierarchical nature of data. Proceedings of the National Academy of Sciences (PNAS) , 122 (1) , Article e2408799121. 10.1073/pnas.2408799121. Green open access

[thumbnail of Sclocchi_sclocchi-et-al-2025-a-phase-transition-in-diffusion-models-reveals-the-hierarchical-nature-of-data.pdf]
Preview
Text
Sclocchi_sclocchi-et-al-2025-a-phase-transition-in-diffusion-models-reveals-the-hierarchical-nature-of-data.pdf

Download (28MB) | Preview

Abstract

Understanding the structure of real data is paramount in advancing modern deep-learning methodologies. Natural data such as images are believed to be composed of features organized in a hierarchical and combinatorial manner, which neural networks capture during learning. Recent advancements show that diffusion models can generate high-quality images, hinting at their ability to capture this underlying compositional structure. We study this phenomenon in a hierarchical generative model of data. We find that the backward diffusion process acting after a time t is governed by a phase transition at some threshold time, where the probability of reconstructing high-level features, like the class of an image, suddenly drops. Instead, the reconstruction of low-level features, such as specific details of an image, evolves smoothly across the whole diffusion process. This result implies that at times beyond the transition, the class has changed, but the generated sample may still be composed of low-level elements of the initial image. We validate these theoretical insights through numerical experiments on class-unconditional ImageNet diffusion models. Our analysis characterizes the relationship between time and scale in diffusion models and puts forward generative models as powerful tools to model combinatorial data properties.

Type: Article
Title: A phase transition in diffusion models reveals the hierarchical nature of data
Location: United States
Open access status: An open access version is available from UCL Discovery
DOI: 10.1073/pnas.2408799121
Publisher version: https://doi.org/10.1073/pnas.2408799121
Language: English
Additional information: Copyright © 2025 the Author(s). Published by PNAS. This article is distributed under Creative Commons Attribution-NonCommercial-NoDerivatives License 4.0 (CC BY-NC-ND).
Keywords: compositionality, data structure, deep learning, diffusion models
UCL classification: UCL
UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences
UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences > Faculty of Life Sciences
UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences > Faculty of Life Sciences > Gatsby Computational Neurosci Unit
URI: https://discovery.ucl.ac.uk/id/eprint/10206005
Downloads since deposit
Loading...
1Download
Download activity - last month
Loading...
Download activity - last 12 months
Loading...
Downloads by country - last 12 months
Loading...

Archive Staff Only

View Item View Item