English

Mechanisms of Projective Composition of Diffusion Models

Machine Learning 2025-09-29 v3

Abstract

We study the theoretical foundations of composition in diffusion models, with a particular focus on out-of-distribution extrapolation and length-generalization. Prior work has shown that composing distributions via linear score combination can achieve promising results, including length-generalization in some cases (Du et al., 2023; Liu et al., 2022). However, our theoretical understanding of how and why such compositions work remains incomplete. In fact, it is not even entirely clear what it means for composition to "work". This paper starts to address these fundamental gaps. We begin by precisely defining one possible desired result of composition, which we call projective composition. Then, we investigate: (1) when linear score combinations provably achieve projective composition, (2) whether reverse-diffusion sampling can generate the desired composition, and (3) the conditions under which composition fails. We connect our theoretical analysis to prior empirical observations where composition has either worked or failed, for reasons that were unclear at the time. Finally, we propose a simple heuristic to help predict the success or failure of new compositions.

Keywords

Cite

@article{arxiv.2502.04549,
  title  = {Mechanisms of Projective Composition of Diffusion Models},
  author = {Arwen Bradley and Preetum Nakkiran and David Berthelot and James Thornton and Joshua M. Susskind},
  journal= {arXiv preprint arXiv:2502.04549},
  year   = {2025}
}

Comments

10 pages, 8 figures. The first two authors contributed equally

R2 v1 2026-06-28T21:35:33.329Z