atlas

Research map / Image generation / Fast diffusion sampling

How Diffusion Models Learn to Factorize and Compose

NeurIPS 2024 · Image generation › Fast diffusion sampling · approach: Diffusion models as perception tools · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Controlled toy experiments on conditional DDPMs trained on 2D Gaussian bump/SOS images show they learn factorized but not fully continuous representations, compose well but interpolate poorly, need few compositional examples, and link manifold formation to percolation theory.

Problem

Whether and when diffusion models learn factorized representations of composable continuous features, and how this relates to compositional generalization and interpolation, which prior work on large models has not resolved.

Approach

Uses a highly reduced 2D Gaussian bump/SOS image setting with explicit (x,y) conditioning, analyzing both generated outputs and internal layer-4 representations via persistent homology, torus orthogonality/parallelism tests, and percolation theory to probe factorization and compositionality.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add full-range 1D Gaussian stripes and some compositional examples to the training dataConditional DDPM · Gaussian bump OOD test regionsaccuracy: up to 70%Helped
Train on 2D Gaussian SOSs plus full-range 1D stripes instead of 2D SOSs alone (ablation)Conditional DDPM · Gaussian SOS held-out test regionsaccuracyHelped
Remove 1D stripes from the 2D+1D Gaussian SOS training data (ablation)Conditional DDPM · Gaussian SOS held-out test regionsaccuracyHurt
Remove compositional examples and train only on 1D Gaussian stripes (ablation)Conditional DDPM · Gaussian SOS held-out test regionsaccuracyHurt
Add a small set of partially overlapping 2D SOS examples along the image rim to 1D stripes (ablation)Conditional DDPM · Gaussian SOS OOD regionsaccuracyHelped
Subsample 2D bump examples while retaining full-range 1D stripes (ablation)2D bumps + 1D stripes · Gaussian bump test regionsaccuracy: 20%No clear effect
Increase the held-out range width (ablation)2D Gaussian SOS model · Gaussian SOS OOD regionaccuracyHurt
Replace Gaussian SOS training data with Gaussian bumps in the 2D+1D dataset (ablation)Conditional DDPM · Interior and exterior compositional generalizationaccuracyMixed
Use Gaussian SOS data instead of Gaussian bump data (ablation)Conditional DDPM · Interior and exterior compositional generalizationaccuracyHelped
Decrease Gaussian bump width while holding the sampled grid points fixed (ablation)Conditional DDPM · Gaussian bump datasets at varying data fractionsaccuracyHurt
Increase the training fraction of very narrow σ=0.1 Gaussian bumps (ablation)Conditional DDPM · σ=0.1 Gaussian bump datasetaccuracy: λ=0.8, 0.9Helped
Add isolated-factor examples plus a few compositional examples rather than training only on 2D bumps (ablation)Conditional DDPM · OOD generalization across image sizesdata scaling: linear number of data in N; quadratic number of data in NHelped

Surprising findings

Limitations

Experimental setup

Datasets: 2D Gaussian bump images (32x32, synthetic) 2D Gaussian sum-of-stripes (SOS) images (synthetic) 1D Gaussian stripe images (synthetic)

Benchmarks: synthetic 2D Gaussian bump/SOS generation accuracy (held-out regions)

Metrics: accuracy of generated Gaussian center location participation ratio (effective dimension) persistent homology Wasserstein distance of orthogonality/parallelism statistics

Baselines: 1D model 2D model 2D+1D model

Builds on: DDPM UMAP Okawa et al. compositional generalization study

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy