Lune

ICLR2025Top-tier venue

CoInD: Enabling Logical Compositions in Diffusion Models

Sachit Gaudi, Gautam Sreekumar, Vishnu Boddeti

2025Year
1Top-tier citations

Abstract

How can we learn generative models to sample data with arbitrary logical compositions of statistically independent attributes? The prevailing solution is to sample from distributions expressed as a composition of attributes' conditional marginal distributions under the assumption that they are statistically independent. This paper shows that standard conditional diffusion models violate this assumption, even when all attribute compositions are observed during training. And, this violation is significantly more severe when only a subset of the compositions is observed. We propose COIND to address this problem. It explicitly enforces statistical independence between the conditional marginal distributions by minimizing Fisher's divergence between the joint and marginal distributions. The theoretical advantages of COIND are reflected in both qualitative and quantitative experiments, demonstrating a significantly more faithful and controlled generation of samples for arbitrary logical compositions of attributes. The benefit is more pronounced for scenarios that current solutions relying on the assumption of conditionally independent marginals struggle with, namely, logical compositions involving the NOT operation and when only a subset of compositions are observed during training. Our code is available at https://github.com/sachit3022/compositional-generation/ 1 INTRODUCTION 0 1 2 3 4 5 6 7 8 9 Digit (C 1 ) Color (C 2 ) (a) Uniform 0 1 2 3 4 5 6 7 8 9 Digit (C 1 ) Color (C 2 ) (b) Non-uniform 0 1 2 3 4 5 6 7 8 9 Digit (C 1 ) Color (C 2 ) (c) Partial support Composed GLIDE COIND Composed GLIDE COIND Composed GLIDE COIND Uniform Non-uniform Partial 4 ∧ Pink 4 ∧ Cyan 4 ∧ ¬(Pink ∨ Green) ¬(3 ∨ 4) ∧ Pink Support Method (d) Generated samples

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Cited by top-tier papers1

Ask how each one uses it

Builds on17

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines