Constrained Diffusion with Trust Sampling
William Huang, Yifeng Jiang, Tom Van Wouwe, C. Karen Liu
Abstract
Diffusion models have demonstrated significant promise in various generative tasks; however, they often struggle to satisfy challenging constraints. Our approach addresses this limitation by rethinking training-free loss-guided diffusion from an optimization perspective. We formulate a series of constrained optimizations throughout the inference process of a diffusion model. In each optimization, we allow the sample to take multiple steps along the gradient of the proxy constraint function until we can no longer trust the proxy, according to the variance at each diffusion level. Additionally, we estimate the state manifold of diffusion model to allow for early termination when the sample starts to wander away from the state manifold at each diffusion step. Trust sampling effectively balances between following the unconditional diffusion model and adhering to the loss guidance, enabling more flexible and accurate constrained generation. We demonstrate the efficacy of our method through extensive experiments on complex tasks, and in drastically different domains of images and 3D motion generation, showing significant improvements over existing methods in terms of generation quality. Our implementation is available at https://github.com/will-s-h/trust-sampling.
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.
6 top-tier papers have 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
- Enhancing Diffusion Model Stability for Image Restoration via Gradient Management cites Diffusion Models Beat GANs on Image Synthesis
- Enhancing Diffusion Model Stability for Image Restoration via Gradient Management cites Denoising Diffusion Probabilistic Models
- Enhancing Diffusion Model Stability for Image Restoration via Gradient Management cites Denoising Diffusion Implicit Models
- Adding Conditional Control to Text-to-Image Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- Adding Conditional Control to Text-to-Image Diffusion Models cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Strictly Constrained Generative Modeling via Split Augmented Langevin Sampling cites Denoising Diffusion Probabilistic Models
- Strictly Constrained Generative Modeling via Split Augmented Langevin Sampling cites Training-Free Constrained Generation With Stable Diffusion Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
- Linearly Constrained Diffusion Implicit Models cites Diffusion Models Beat GANs on Image Synthesis
- Linearly Constrained Diffusion Implicit Models cites Denoising Diffusion Implicit Models
- RODS: Robust Optimization Inspired Diffusion Sampling for Detecting and Reducing Hallucination in Generative Models cites Diffusion Models Beat GANs on Image Synthesis
- RODS: Robust Optimization Inspired Diffusion Sampling for Detecting and Reducing Hallucination in Generative Models cites Denoising Diffusion Probabilistic Models
- RODS: Robust Optimization Inspired Diffusion Sampling for Detecting and Reducing Hallucination in Generative Models cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
- Training-Free Constrained Generation With Stable Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- Training-Free Constrained Generation With Stable Diffusion Models cites Denoising Diffusion Probabilistic Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Diffusion Models Beat GANs on Image Synthesis
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Probabilistic Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Implicit Models
Cited by top-tier papers6
- Training-Free Constrained Generation With Stable Diffusion ModelsStefano Zampini, Jacob K. Christopher, Luca Oneto, Davide Anguita et al.NeurIPS 2025 · 21 citations
- Strictly Constrained Generative Modeling via Split Augmented Langevin SamplingMatthieu Blanke, Yongquan Qu, Sara Shamekh, Pierre GentineICLR 2026 · 7 citations
- Enhancing Diffusion Model Stability for Image Restoration via Gradient ManagementHongjie Wu, Mingqin Zhang, Linchao He, Ji-Zhe Zhou et al.ACM MM 2025 · 5 citations
- RODS: Robust Optimization Inspired Diffusion Sampling for Detecting and Reducing Hallucination in Generative ModelsYiqi Tian, Pengfei Jin, Mingze Yuan, Na Li et al.NeurIPS 2025 · 3 citations
- Linearly Constrained Diffusion Implicit ModelsVivek Jayaram, Ira Kemelmacher-Shlizerman, Steven M. Seitz, John ThickstunNeurIPS 2025 · 1 citation
Builds on33
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
- Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 citations
Related papers
- Guidance with Spherical Gaussian Constraint for Conditional DiffusionLingxiao Yang, Shutong Ding, Yifan Cai, Jingyi Yu et al.ICML 2024 · 82 citations
- Fast constrained sampling in pre-trained diffusion modelsAlexandros Graikos, Nebojsa Jojic, Dimitris SamarasNeurIPS 2025 · 9 citations
- Diffusing Differentiable RepresentationsYash Savani, Marc Finzi, J. Zico KolterNeurIPS 2024 · 1 citation
- TAG: Tangential Amplifying Guidance for Hallucination-Resistant SamplingHyunmin Cho, Donghoon Ahn, Susung Hong, Jee Eun Kim et al.ICML 2026
- Manifold Preserving Guided DiffusionYutong He, Naoki Murata, Chieh-Hsin Lai, Yuhta Takida et al.ICLR 2024 · 148 citations
