How Diffusion Models Learn to Factorize and Compose
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
- 2024Do Diffusion Models Learn Semantically Meaningful and Efficient Representations?5 Feb
- 2023Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Task13 Oct
- 2020Denoising Diffusion Probabilistic Models19 Jun
Other references · 10
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
- 2021Image Super-Resolution via Iterative Refinementcited by 1,506
- 2020WaveGrad: Estimating Gradients for Waveform Generationcited by 620
- 2018Understanding disentangling in β-VAEcited by 332
- 2020Compositionality and Generalization in Emergent Languagescited by 103
- 2018Bias and Generalization in Deep Generative Models: An Empirical Studycited by 83
- 2023Compositional Generalization from First Principlescited by 62
- 2019Unsupervised Model Selection for Variational Disentangled Representation Learningcited by 46
- 2022Compositional Generalization in Unsupervised Compositional Representation Learning: A Study on Disentanglement and Emergent Languagecited by 42
- 2021Recurrent neural network models for working memory of continuous variables: activity manifolds, connectivity patterns, and dynamic codescited by 8
Built on by
Citing papers per year: 2024: 2; 2025: 8; 2026: 3.
13 papers.
Sort:
By area:
- 2024Rare-to-Frequent: Unlocking Compositional Generation Power of Diffusion Models on Rare Concepts with LLM Guidancecited by 30
- 2025Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformerscited by 19
- 2025Position: A Theory of Deep Learning Must Include Compositional Sparsitycited by 13
- 2024On the Ability of Deep Networks to Learn Symmetries from Data: A Neural Kernel Theorycited by 10
- 2025CoInD: Enabling Logical Compositions in Diffusion Modelscited by 8
- 2025Scaling can lead to compositional generalizationcited by 7
- 2025Learning Primitive Embodied World Models: Towards Scalable Robotic Learningcited by 5
- 2025Compositional Generalization via Forced Rendering of Disentangled Latentscited by 4
- 2025Concept Lancet: Image Editing with Compositional Representation Transplantcited by 4
- 2026ConceptWeaver: Weaving Disentangled Concepts with Flowcited by 2
- 2025Modular connectivity in neural networks emerges from Poisson noise-motivated regularisation, and promotes robustness and compositional generalisationcited by 0
- 2026Structure over Pixels: Learning Variable-Length Visual Programscited by 0
1 more
- 2026Critical Percolation as a Synthetic Data Model for Interpretability18 Jun 2026
- 2026Structure over Pixels: Learning Variable-Length Visual Programs26 May 2026
- 2026ConceptWeaver: Weaving Disentangled Concepts with Flow30 Mar 2026
- 2025Modular connectivity in neural networks emerges from Poisson noise-motivated regularisation, and promotes robustness and compositional generalisation5 Dec 2025
- 2025Learning Primitive Embodied World Models: Towards Scalable Robotic Learning28 Aug 2025
- 2025Scaling can lead to compositional generalization9 Jul 2025
- 2025Position: A Theory of Deep Learning Must Include Compositional Sparsity3 Jul 2025
- 2025Concept Lancet: Image Editing with Compositional Representation Transplant3 Apr 2025
- 2025CoInD: Enabling Logical Compositions in Diffusion Models3 Mar 2025
- 2025Compositional Generalization via Forced Rendering of Disentangled Latents30 Jan 2025
- 2025Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformers15 Jan 2025
- 2024On the Ability of Deep Networks to Learn Symmetries from Data: A Neural Kernel Theory16 Dec 2024
- 2025Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformerscited by 19
- 2025Position: A Theory of Deep Learning Must Include Compositional Sparsitycited by 13
- 2024On the Ability of Deep Networks to Learn Symmetries from Data: A Neural Kernel Theorycited by 10
- 2025Scaling can lead to compositional generalizationcited by 7
- 2025Compositional Generalization via Forced Rendering of Disentangled Latentscited by 4
- 2026ConceptWeaver: Weaving Disentangled Concepts with Flowcited by 2
- 2025Modular connectivity in neural networks emerges from Poisson noise-motivated regularisation, and promotes robustness and compositional generalisationcited by 0
- 2026Structure over Pixels: Learning Variable-Length Visual Programscited by 0
- 2026Critical Percolation as a Synthetic Data Model for Interpretabilitycited by 0
- 2026Critical Percolation as a Synthetic Data Model for Interpretability18 Jun 2026
- 2026Structure over Pixels: Learning Variable-Length Visual Programs26 May 2026
- 2026ConceptWeaver: Weaving Disentangled Concepts with Flow30 Mar 2026
- 2025Modular connectivity in neural networks emerges from Poisson noise-motivated regularisation, and promotes robustness and compositional generalisation5 Dec 2025
- 2025Scaling can lead to compositional generalization9 Jul 2025
- 2025Position: A Theory of Deep Learning Must Include Compositional Sparsity3 Jul 2025
- 2025Compositional Generalization via Forced Rendering of Disentangled Latents30 Jan 2025
- 2025Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformers15 Jan 2025
- 2024On the Ability of Deep Networks to Learn Symmetries from Data: A Neural Kernel Theory16 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2025On the Separability of Information in Diffusion Models
- 2024Breaking the Curse of Dimensionality: Diffusion Models Efficiently Learn Low-Dimensional Distributions
- 2025How Compositional Generalization and Creativity Improve as Diffusion Models are Trained
- 2025Diffusion Classifiers Understand Compositionality, but Conditions Apply
- 2025Local Mechanisms of Compositional Generalization in Conditional Diffusion
- 2026Test-Time Compositional Generalization in Diffusion Models via Concept Discovery
- 2022Understanding Diffusion Models: A Unified Perspective
- 2026When Do Diffusion Models learn to Generate Multiple Objects?