Probing the Latent Hierarchical Structure of Data via Diffusion Models
Antonio Sclocchi, Alessandro Favero, Noam Itzhak Levi, Matthieu Wyart
TL;DR
The paper investigates whether natural high-dimensional data harbor a latent hierarchical structure that underpins learnability. It leverages forward-backward diffusion experiments and a Random Hierarchy Model (RHM) to predict a diverging dynamical correlation length and a peak in dynamical susceptibility at a class-reconstruction phase transition. These predictions are validated via Belief Propagation in the RHM and extended to real data, including language (MDLM on WikiText2) and vision (ImageNet with CLIP-tokenized patches), where a finite-time inversion $t^*$ yields system-spanning changes and a susceptibility peak. The work demonstrates that hierarchical latent structure leaves measurable imprints on observable data changes during diffusion, offering a principled tool for probing latent structure, improving interpretability, and informing diffusion-model training strategies. Overall, it argues for the universality of hierarchical, compositional structure in natural data and provides a concrete framework to quantify and exploit it in diffusion-based generative modeling.
Abstract
High-dimensional data must be highly structured to be learnable. Although the compositional and hierarchical nature of data is often put forward to explain learnability, quantitative measurements establishing these properties are scarce. Likewise, accessing the latent variables underlying such a data structure remains a challenge. In this work, we show that forward-backward experiments in diffusion-based models, where data is noised and then denoised to generate new samples, are a promising tool to probe the latent structure of data. We predict in simple hierarchical models that, in this process, changes in data occur by correlated chunks, with a length scale that diverges at a noise level where a phase transition is known to take place. Remarkably, we confirm this prediction in both text and image datasets using state-of-the-art diffusion models. Our results show how latent variable changes manifest in the data and establish how to measure these effects in real data using diffusion models.
