Zero-Shot Conditioning of Score-Based Diffusion Models by Neuro-Symbolic Constraints
Davide Scassola, Sebastiano Saccani, Ginevra Carbone, Luca Bortolussi
Abstract
Score-based diffusion models have emerged as effective approaches for both conditional and unconditional generation. Still conditional generation is based on either a specific training of a conditional model or classifier guidance, which requires training a noise-dependent classifier, even when a classifier for uncorrupted data is given. We propose a method that, given a pre-trained unconditional score-based generative model, samples from the conditional distribution under arbitrary logical constraints, without requiring additional training. Differently from other zero-shot techniques, that rather aim at generating valid conditional samples, our method is designed for approximating the true conditional distribution. Firstly, we show how to manipulate the learned score in order to sample from an un-normalized distribution conditional on a user-defined constraint. Then, we define a flexible and numerically stable neuro-symbolic framework for encoding soft logical constraints. Combining these two ingredients we obtain a general, but approximate, conditional sampling algorithm. We further developed effective heuristics aimed at improving the approximation. Finally, we show the effectiveness of our approach in approximating conditional distributions for various types of constraints and data: tabular data, images and time series.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- High-Resolution Image Synthesis with Latent Diffusion Models cites Score-Based Generative Modeling through Stochastic Differential Equations
- Diffusion Models Beat GANs on Image Synthesis cites Improved Techniques for Training Score-Based Generative Models
- Diffusion Models Beat GANs on Image Synthesis cites Score-Based Generative Modeling through Stochastic Differential Equations
- Score-Based Generative Modeling through Stochastic Differential Equations cites Improved Techniques for Training Score-Based Generative Models
- Universal Guidance for Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- Universal Guidance for Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
Cited by top-tier papers1
Builds on8
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Improved Techniques for Training Score-Based Generative ModelsYang Song, Stefano ErmonNeurIPS 2020 · 1,527 citations
- Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar et al.ICLR 2021 · 1,270 citations
- Universal Guidance for Diffusion ModelsArpit Bansal, Hong-Min Chu, Avi Schwarzschild, Soumyadip Sengupta et al.ICLR 2024 · 436 citations
Related papers
- Score Correction for Generative Models with Probabilistic ConstraintsShishang Wu, Bingjing Tang, Vinayak A RaoICML 2026
- Theory on Score-Mismatched Diffusion Models and Zero-Shot Conditional SamplersYuchen Liang, Peizhong Ju, Yingbin Liang, Ness B. ShroffICLR 2025
- Constraints-Guided Diffusion Reasoner for Neuro-Symbolic LearningXuan Zhang, Zhijian Zhou, Weidi Xu, Yanting Miao et al.AAAI 2026
- Reflected Diffusion ModelsAaron Lou, Stefano ErmonICML 2023 · 84 citations
- User-defined Event Sampling and Uncertainty Quantification in Diffusion Models for Physical Dynamical SystemsMarc Anton Finzi, Anudhyan Boral, Andrew Gordon Wilson, Fei Sha et al.ICML 2023 · 35 citations
