mlsanityData to 7 Oct 2026

How Diffusion Models Learn to Factorize and Compose

arXiv 2408.13256 ↗First posted 23 Aug 2024cs.AI cs.CV cs.LGcited by 13

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

Diffusion models are capable of generating photo-realistic images that combine elements which likely do not appear together in the training set, demonstrating the ability to textitcompositionally generalize. Nonetheless, the precise mechanism of compositionality and how it is acquired through training remains elusive. Inspired by cognitive neuroscientific approaches, we consider a highly reduced setting to examine whether and when diffusion models learn semantically meaningful and factorized representations of composable features. We performed extensive controlled experiments on conditional Denoising Diffusion Probabilistic Models (DDPMs) trained to generate various forms of 2D Gaussian bump images. We found that the models learn factorized but not fully continuous manifold representations for encoding continuous features of variation underlying the data. With such representations, models demonstrate superior feature compositionality but limited ability to interpolate over unseen values of a given feature. Our experimental results further demonstrate that diffusion models can attain compositionality with few compositional examples, suggesting a more efficient way to train DDPMs. Finally, we connect manifold formation in diffusion models to percolation theory in physics, offering insight into the sudden onset of factorized representation learning. Our thorough toy experiments thus contribute a deeper understanding of how diffusion models capture compositional structure in data.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 13 of its 32 references that are in the map. First posted on arXiv 23 Aug 2024.

Builds on

13 of 32 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024Do Diffusion Models Learn Semantically Meaningful and Efficient Representations?5 Feb
  2. 2023Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Task13 Oct
  3. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 10

  1. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
  2. 2021Image Super-Resolution via Iterative Refinementcited by 1,506
  3. 2020WaveGrad: Estimating Gradients for Waveform Generationcited by 620
  4. 2018Understanding disentangling in β-VAEcited by 332
  5. 2020Compositionality and Generalization in Emergent Languagescited by 103
  6. 2018Bias and Generalization in Deep Generative Models: An Empirical Studycited by 83
  7. 2023Compositional Generalization from First Principlescited by 62
  8. 2019Unsupervised Model Selection for Variational Disentangled Representation Learningcited by 46
  9. 2022Compositional Generalization in Unsupervised Compositional Representation Learning: A Study on Disentanglement and Emergent Languagecited by 42
  10. 2021Recurrent neural network models for working memory of continuous variables: activity manifolds, connectivity patterns, and dynamic codescited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 8; 2026: 3.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025On the Separability of Information in Diffusion Models
  2. 2024Breaking the Curse of Dimensionality: Diffusion Models Efficiently Learn Low-Dimensional Distributions
  3. 2025How Compositional Generalization and Creativity Improve as Diffusion Models are Trained
  4. 2025Diffusion Classifiers Understand Compositionality, but Conditions Apply
  5. 2025Local Mechanisms of Compositional Generalization in Conditional Diffusion
  6. 2026Test-Time Compositional Generalization in Diffusion Models via Concept Discovery
  7. 2022Understanding Diffusion Models: A Unified Perspective
  8. 2026When Do Diffusion Models learn to Generate Multiple Objects?