mlsanityData to 14 Oct 2026

How Compositional Generalization and Creativity Improve as Diffusion Models are Trained

arXiv 2502.12089 ↗First posted 17 Feb 2025stat.ML cs.LGcited by 25

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

Natural data is often organized as a hierarchical composition of features. How many samples do generative models need in order to learn the composition rules, so as to produce a combinatorially large number of novel data? What signal in the data is exploited to learn those rules? We investigate these questions in the context of diffusion models both theoretically and empirically. Theoretically, we consider a simple probabilistic context-free grammar - a tree-like graphical model used to represent the hierarchical and compositional structure of data such as language and images. We demonstrate that diffusion models learn the grammar's composition rules with the sample complexity required for clustering features with statistically similar context, a process similar to the word2vec algorithm. However, this clustering emerges hierarchically: higher-level features associated with longer contexts require more data to be identified. This mechanism leads to a sample complexity that scales polynomially with the said context size. As a result, diffusion models trained on an intermediate dataset size generate data coherent up to a certain scale, but lacking global coherence. We test these predictions across different domains and find remarkable agreement: both generated texts and images achieve progressively larger coherence lengths as the training time or dataset size grows. We discuss connections between the hierarchical clustering mechanism we introduce here and the renormalization group in physics.

Key facts. Cited by 25 papers in the map (data through 14 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 44 of its 66 references that are in the map. First posted on arXiv 17 Feb 2025.

Builds on

44 of 66 references.

Closest ancestors · 18

Same direction, newest first

  1. 2025Can Diffusion Models Learn Hidden Inter-Feature Rules Behind Images?7 Feb
  2. 2024Probing the Latent Hierarchical Structure of Data via Diffusion Models17 Oct
  3. 2024U-Nets as Belief Propagation: Efficient Classification, Denoising, and Diffusion in Generative Hierarchical Models29 Apr
  4. 2024Critical windows: non-asymptotic theory for feature emergence in diffusion models3 Mar
  5. 2024A Phase Transition in Diffusion Models Reveals the Hierarchical Nature of Data26 Feb
  6. 2023Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Task13 Oct
  7. 2023Generalization in diffusion models arises from geometry-adaptive harmonic representations4 Oct
  8. 2023Deep Networks as Denoising Algorithms: Sample-Efficient Learning of Diffusion Models in High-Dimensional Graphical Models20 Sep
  9. 2023Learning Mixtures of Gaussians Using the DDPM Objective3 Jul
  10. 2023Diffusion Models are Minimax Optimal Distribution Estimators3 Mar
  11. 2023Score Approximation, Estimation and Distribution Recovery of Diffusion Models on Low-Dimensional Data14 Feb
  12. 2022Diffusion Models: A Comprehensive Survey of Methods and Applications2 Sep
6 more
  1. 2022Convergence of denoising diffusion models under the manifold hypothesis10 Aug
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
  3. 2021Structured Denoising Diffusion Models in Discrete State-Spaces7 Jul
  4. 2021Improved Denoising Diffusion Probabilistic Models18 Feb
  5. 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
  6. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 26

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
  6. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
  7. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  8. 2024Simplified and Generalized Masked Diffusion for Discrete Datacited by 626
  9. 2021Argmax Flows and Multinomial Diffusion: Learning Categorical Distributionscited by 574
  10. 2017PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modificationscited by 417
  11. 2023Rethinking FID: Towards a Better Evaluation Metric for Image Generationcited by 310
  12. 2020Feature Learning in Infinite-Width Neural Networkscited by 190
14 more
  1. 2022Neural Networks can Learn Representations with Gradient Descentcited by 161
  2. 2020Generative Modeling with Denoising Auto-Encoders and Langevin Samplingcited by 119
  3. 2024An analytic theory of creativity in convolutional diffusion modelscited by 104
  4. 2023How Deep Neural Networks Learn Compositional Data: The Random Hierarchy Modelcited by 71
  5. 2014An exact mapping between the Variational Renormalization Group and Deep Learningcited by 56
  6. 2023Reward-Directed Conditional Diffusion: Provable Distribution Estimation and Reward Improvementcited by 49
  7. 2024Towards a theory of how the structure of language is acquired by deep neural networkscited by 39
  8. 2023Analysis of learning a flow-based generative model from limited sample complexitycited by 38
  9. 2024Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Spacecited by 35
  10. 2023Learning multi-scale local conditional probability models of imagescited by 21
  11. 2018A Provably Correct Algorithm for Deep Learning that Actually Workscited by 20
  12. 2024How transformers learn structured data: insights from hierarchical filteringcited by 18
  13. 2022What Can Be Learnt With Wide Convolutional Neural Networks?cited by 16
  14. 2022Wavelet Conditional Renormalization Groupcited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 8; 2026: 17.

25 papers.

Sort:

By area:

  1. 2025Bigger Isn't Always Memorizing: Early Stopping Overparameterized Diffusion Modelscited by 25
  2. 2026Deriving Neural Scaling Laws from the statistics of natural languagecited by 23
  3. 2025Generalization Dynamics of Linear Diffusion Modelscited by 9
  4. 2025Scaling Laws and Representation Learning in Simple Hierarchical Languages: Transformers vs. Convolutional Architecturescited by 5
  5. 2026Motion Attribution for Video Generationcited by 5
  6. 2026Deep networks learn to parse uniform-depth context-free languages from local statisticscited by 5
  7. 2026A theory of learning data statistics in diffusion models, from easy to hardcited by 5
  8. 2026Biased Generalization in Diffusion Modelscited by 4
  9. 2025Local Mechanisms of Compositional Generalization in Conditional Diffusioncited by 3
  10. 2025What Drives Compositional Generalization in Visual Generative Models? The Importance of Continuous Training Objectivescited by 3
  11. 2026An exact information theory of generalization phase transitions in Bayesian diffusion modelscited by 3
  12. 2026Learn from your own latents and not from tokens: A sample-complexity theorycited by 2
13 more
  1. 2025GuessBench: Sensemaking Multimodal Creativity in the Wildcited by 1
  2. 2026Deep Learning as Neural Low-Degree Filtering: A Spectral Theory of Hierarchical Feature Learningcited by 1
  3. 2026Learning with Shallow Neural Networks on Cluster-Structured Featurescited by 1
  4. 2026Diffusion Models Preferentially Memorize Prototypical Examples or: Why Does My Diffusion Model Love Slop?cited by 1
  5. 2025Of All StrIPEs: Investigating Structure-informed Positional Encoding for Efficient Music Generationcited by 0
  6. 2025What Do You Need for Compositional Generalization in Diffusion Planning?cited by 0
  7. 2026Generative models on phase spacecited by 0
  8. 2026Distributional simplicity bias and effective convexity in Energy Based Modelscited by 0
  9. 2026A Fourier perspective on the learning dynamics of neural networks: from sample complexities to mechanistic insightscited by 0
  10. 2026Sparse Compositional Flow Matching by geometric assembly from motion primitivescited by 0
  11. 2026Assessing Sample Quality in Conditional Generation under Compositional Shiftcited by 0
  12. 2026Large Language Models Can Follow Instructions, But Not Many at Once: Phase Transitions in Compositional Constraint Satisfactioncited by 0
  13. 2026What Visual Generators Need from Teachers: Rethinking Representation Alignmentcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Test-Time Compositional Generalization in Diffusion Models via Concept Discovery
  2. 2026When Do Diffusion Models learn to Generate Multiple Objects?
  3. 2024Swing-by Dynamics in Concept Learning and Compositional Generalization
  4. 2024Diverse capability and scaling of diffusion and auto-regressive models when learning abstract rules
  5. 2024How Diffusion Models Learn to Factorize and Compose
  6. 2026Diffusion Models and Concept Formation
  7. 2025Emergence and Evolution of Interpretable Concepts in Diffusion Models
  8. 2023Reduce, Reuse, Recycle: Compositional Generation with Energy-Based Diffusion Models and MCMC