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.
From Global to Factor-Wise Expert Composition in Discrete Diffusion Models
University of Toronto(多伦多大学);Vector Institute for Artificial Intelligence(向量人工智能研究所);Mechanical & Industrial Engineering, University of Toronto(多伦多大学机械与工业工程系);Canadian Institute for Advanced Research (CIFAR)(加拿大高级研究所)
Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Task
Center for Brain Science, Harvard University(哈佛大学脑科学中心);Physics & Informatics Laboratories, NTT Research, Inc.(NTT研究所物理与信息实验室);EECS Department, University of Michigan(密歇根大学电子工程与计算机科学系)
RealCompo: Balancing Realism and Compositionality Improves Text-to-Image Diffusion Models
Peking University(北京大学);University of Science and Technology of China(中国科学技术大学);Southeast University(东南大学);Stanford University(斯坦福大学);Tsinghua University(清华大学)
Catastrophic Compositional Generation: Why Vanilla Diffusion Models Fail to Extrapolate
Machine Learning Department, Carnegie Mellon University(卡内基梅隆大学机器学习系);Valence Labs;Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系)
ORCA: Hunting Compositional Failures in Text-to-Image Diffusion
Wellcome Sanger Institute(威康桑格研究所);Cambridge Stem Cell Institute, University of Cambridge(剑桥大学剑桥干细胞研究所);Cambridge Centre for AI in Medicine, University of Cambridge(剑桥大学剑桥人工智能医学中心);University of Oxford(牛津大学);Apple(苹果公司);University of Helsinki(赫尔辛基大学);Institute for Molecular Medicine Finland (FIMM), University of Helsinki(赫尔辛基大学芬兰分子医学研究所);School of Computing and Information Systems, University of Melbourne(墨尔本大学计算与信息系统学院);Department of Medicine, University of Cambridge(剑桥大学医学系)
Compose Your Policies! Improving Diffusion-based or Flow-based Robot Policies via Test-time Distribution-level Composition
The University of Hong Kong(香港大学);Beijing Innovation Center of Humanoid Robotics(北京人形机器人创新中心);Shanghai AI Lab(上海人工智能实验室);Shanghai Jiaotong University(上海交通大学);The Hong Kong University of Science and Technology(香港科技大学)
CardioComposer: Leveraging Differentiable Geometry for Compositional Control of Anatomical Diffusion Models
Massachusetts Institute of Technology(麻省理工学院);Brigham and Women’s Hospital(布里奇沃特医院);American University in Cairo(开罗美国大学);École Polytechnique Fédérale de Lausanne(洛桑联邦理工学院)