Analysis of Diffusion Models for Manifold Data

Anand Jerry George, Rodrigo Veiga, Nicolas Macris

Introduction

Diffusion models have emerged as state-of-the-art generative tools, yet theoretical understanding of their internal dynamics remains incomplete. A critical challenge is modeling how these systems behave when data resides on a low-dimensional manifold rather than filling the entire high-dimensional ambient space. This paper investigates two pivotal phase transitions in the generative process: speciation, where a trajectory commits to a specific data cluster, and collapse, where it begins to memorize a specific training sample.

The Hidden Manifold Model

To bridge the gap between simple Gaussian mixtures and real-world data, the authors introduce a Hidden Manifold Model (HMM). In this framework, $p$-dimensional latent variables are mapped to a $d$-dimensional ambient space ($d > p$) through a random matrix $F$ and a non-linear activation function $\phi$ (such as ReLU or Tanh). The analysis focuses on the high-dimensional regime where the number of samples $n$, ambient dimension $d$, and manifold dimension $p$ all grow to infinity, while maintaining fixed ratios: $\alpha = \frac{1}{d} \log n$ and $\beta = p/d$.

Speciation and Collapse Transitions

The generative process is modeled as a reverse stochastic differential equation (SDE). By tracking this process, the authors identify two distinct shifts:

  • Speciation ($t_S$): Using Taylor expansions and Hermite polynomials, the authors identify $t_S$ as the moment the reverse process's potential changes curvature, forcing the model to "choose" a cluster.
  • Collapse ($t_C$): Drawing an analogy to the Random Energy Model (REM) from spin-glass theory, the authors determine the exact time $t_C$ when a single training sample starts to dominate the empirical score function, signaling the onset of memorization.

Theoretical Insights and Results

A primary finding is the "Manifold Advantage": both $t_S$ and $t_C$ occur significantly earlier (at larger $t$ in the reverse process) when data is constrained to a manifold ($p < d$). This suggests that the intrinsic dimensionality of data, rather than its ambient dimensionality, governs the speed of learning and specialization.

Collapse Dynamics

For linear manifolds, the collapse time is found to be $t_C = \frac{1}{2} \log(1 + (e^{2\alpha/\beta} - 1)^{-1})$. This result highlights that collapse is driven by the "sample density" relative to the manifold's dimension ($\alpha/\beta$). The authors utilize "Nishimori symmetry" from statistical mechanics to treat the generative process as a Bayesian inference problem, simplifying the calculation of this transition.

Figure 2: Comparison of theoretical collapse time $t_C$ predictions across different manifold dimensionalities $\beta$, showing the transition as a function of sample density $\alpha$.

Non-linear Effects

The complex influence of non-linear mappings $\phi$ is captured by scalar constants representing signal transmission. While different activations like ReLU or Tanh shift the exact transition points, the underlying qualitative behavior remains consistent with the theoretical Generalized Linear Model (GLM) framework.

Figure 1: Numerical validation of collapse time $t_C$ for various activation functions (ReLU, Tanh, Sigmoid) and manifold ratios $\beta$.

Conclusion

The study demonstrates that diffusion models effectively scale with the manifold dimension $p$, requiring only $O(e^p)$ samples to maintain stable transition times. This explains their success in high-dimensional spaces like image generation, where the intrinsic dimensionality is relatively low. Future work aims to extend this analysis to more complex, hierarchical data structures and to account for the effects of neural network training and regularization beyond the empirical score limit.

Summary updated

BibTeX
@inproceedings{george2025analysis,
  author = {Anand Jerry George and Rodrigo Veiga and Nicolas Macris},
  title = {{Analysis of Diffusion Models for Manifold Data}},
  booktitle = {ISIT},
  year = {2025},
  doi = {10.1109/isit63088.2025.11195641},
}
Figure