Logical Guidance for the Exact Composition of Diffusion Models
On the map: Diffusion models → Diffusion foundations and sampling
Abstract (arXiv)
We propose LOGDIFF (Logical Guidance for the Exact Composition of Diffusion Models), a guidance framework for diffusion models that enables principled constrained generation with complex logical expressions at inference time. We study when exact score-based guidance for complex logical formulas can be obtained from guidance signals associated with atomic properties. First, we derive an exact Boolean calculus that provides a sufficient condition for exact logical guidance. Specifically, if a formula admits a circuit representation in which conjunctions combine conditionally independent subformulas and disjunctions combine subformulas that are either conditionally independent or mutually exclusive, exact logical guidance is achievable. In this case, the guidance signal can be computed exactly from atomic scores and posterior probabilities using an efficient recursive algorithm. Moreover, we show that, for commonly encountered classes of distributions, any desired Boolean formula is compilable into such a circuit representation. Second, by combining atomic guidance scores with posterior probability estimates, we introduce a hybrid guidance approach that bridges classifier guidance and classifier-free guidance, applicable to both compositional logical guidance and standard conditional generation. We demonstrate the effectiveness of our framework on multiple image and protein structure generation tasks.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 29 of its 43 references that are in the map. First posted on arXiv 5 Feb 2026.
Builds on
29 of 43 references.
Closest ancestors · 13
Same direction, newest first
- 2025Feynman-Kac Correctors in Diffusion: Annealing, Guidance, and Product of Experts4 Mar
- 2025CoInD: Enabling Logical Compositions in Diffusion Models3 Mar
- 2024The Superposition of Diffusion Models Using the Ito Density Estimator23 Dec
- 2024Gradient-Free Classifier Guidance for Diffusion Model Sampling23 Nov
- 2024Guiding a Diffusion Model with a Bad Version of Itself4 Jun
- 2024Diffusion Models as Constrained Samplers for Optimization with Unknown Constraints28 Feb
- 2023Compositional Sculpting of Iterative Generative Processes28 Sep
- 2023Reduce, Reuse, Recycle: Compositional Generation with Energy-Based Diffusion Models and MCMC22 Feb
- 2023Universal Guidance for Diffusion Models14 Feb
- 2022Classifier-Free Diffusion Guidance26 Jul
- 2022Elucidating the Design Space of Diffusion-Based Generative Models1 Jun
- 2021Diffusion Models Beat GANs on Image Synthesis11 May
1 more
- 2020Denoising Diffusion Probabilistic Models19 Jun
Other references · 16
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2022Planning with Diffusion for Flexible Behavior Synthesiscited by 1,023
- 2022Compositional Visual Generation with Composable Diffusion Modelscited by 619
- 2018Disentangling by Factorisingcited by 614
- 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 301
- 20233D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Predictioncited by 176
- 2023Compositional Foundation Models for Hierarchical Planningcited by 92
- 2024Multi-LoRA Composition for Image Generationcited by 80
- 2021Learning to Compose Visual Relationscited by 72
- 2021Controllable and Compositional Generation with Latent-Space Energy-Based Modelscited by 64
- 2025GenMol: A Drug Discovery Generalist with Discrete Diffusioncited by 47
4 more
- 2024Diffusion Soup: Model Merging for Text-to-Image Diffusion Modelscited by 25
- 2024Compositional 3D-aware Video Generation with LLM Directorcited by 18
- 2024Reprogramming Pretrained Target-Specific Diffusion Models for Dual-Target Drug Designcited by 11
- 2022Tractable Boolean and Arithmetic Circuitscited by 9
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Ensemble-Conditioned Molecular Designcited by 0
- 2026Ensemble-Conditioned Molecular Design14 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2024Simple Guidance Mechanisms for Discrete Diffusion Models
- 2025Inference-Time Alignment in Diffusion Models with Reward-Guided Generation: Tutorial and Review
- 2024Context-Guided Diffusion for Out-of-Distribution Molecular and Protein Design
- 2024Derivative-Free Guidance in Continuous and Discrete Diffusion Models with Soft Value-Based Decoding
- 2025Tortoise and Hare Guidance: Accelerating Diffusion Model Inference with Multirate Integration
- 2024Training-Free Guidance for Discrete Diffusion Models for Molecular Generation
- 2025Token Perturbation Guidance for Diffusion Models
- 2026Grab a Coffee: Future-Aware Guidance for Discrete Diffusion with Compiled Objectives