Loss-Guided Diffusion Models for Plug-and-Play Controllable Generation
Jiaming Song, Qinsheng Zhang, Hongxu Yin, Morteza Mardani, Ming-Yu Liu, Jan Kautz, Yongxin Chen, Arash Vahdat
Abstract
We consider guiding denoising diffusion models with general differentiable loss functions in a plugand-play fashion, enabling controllable generation without additional training. This paradigm, termed Loss-Guided Diffusion (LGD), can easily be integrated into all diffusion models and leverage various efficient samplers. Despite the benefits, the resulting guidance term is, unfortunately, an intractable integral and needs to be approximated. Existing methods compute the guidance term based on a point estimate. However, we show that such approaches have significant errors over the scale of the approximations. To address this issue, we propose a Monte Carlo method that uses multiple samples from a suitable distribution to reduce bias. Our method is effective in various synthetic and real-world settings, including image super-resolution, text or label-conditional image generation, and controllable motion synthesis. Notably, we show how our method can be applied to control a pretrained motion diffusion model to follow certain paths and avoid obstacles that are proven challenging to prior methods.
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.
123 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
- Flow-GRPO: Training Flow Matching Models via Online RL cites High-Resolution Image Synthesis with Latent Diffusion Models
- Flow-GRPO: Training Flow Matching Models via Online RL cites Denoising Diffusion Probabilistic Models
- Flow-GRPO: Training Flow Matching Models via Online RL cites Improving Video Generation with Human Feedback
- 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 Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
- Principled Probabilistic Imaging using Diffusion Models as Plug-and-Play Priors cites Diffusion Posterior Sampling for Linear Inverse Problem Solving: A Filtering Perspective
- Principled Probabilistic Imaging using Diffusion Models as Plug-and-Play Priors cites Denoising Diffusion Probabilistic Models
- Principled Probabilistic Imaging using Diffusion Models as Plug-and-Play Priors cites Denoising Diffusion Implicit Models
- Manifold Preserving Guided Diffusion cites High-Resolution Image Synthesis with Latent Diffusion Models
- Manifold Preserving Guided Diffusion cites Diffusion Models Beat GANs on Image Synthesis
- Manifold Preserving Guided Diffusion cites Denoising Diffusion Probabilistic Models
- Manifold Preserving Guided Diffusion cites Denoising Diffusion Implicit Models
- Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
- Diffusion Posterior Sampling for Linear Inverse Problem Solving: A Filtering Perspective cites High-Resolution Image Synthesis with Latent Diffusion Models
- Diffusion Posterior Sampling for Linear Inverse Problem Solving: A Filtering Perspective cites Diffusion Models Beat GANs on Image Synthesis
- Diffusion Posterior Sampling for Linear Inverse Problem Solving: A Filtering Perspective cites Denoising Diffusion Probabilistic Models
- Diffusion Posterior Sampling for Linear Inverse Problem Solving: A Filtering Perspective cites Denoising Diffusion Implicit Models
- Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
- Improving Video Generation with Human Feedback cites Diffusion Models Beat GANs on Image Synthesis
- Improving Video Generation with Human Feedback cites Learning Transferable Visual Models From Natural Language Supervision
- Improving Video Generation with Human Feedback cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers123
- Flow-GRPO: Training Flow Matching Models via Online RLJie Liu, Gongye Liu, Jiajun Liang, Yangguang Li et al.NeurIPS 2025 · 647 citations
- Improving Video Generation with Human FeedbackJie Liu, Gongye Liu, Jiajun Liang, Ziyang Yuan et al.NeurIPS 2025 · 284 citations
- Diffusion Posterior Sampling for Linear Inverse Problem Solving: A Filtering PerspectiveZehao Dou, Yang SongICLR 2024 · 162 citations
- Manifold Preserving Guided DiffusionYutong He, Naoki Murata, Chieh-Hsin Lai, Yuhta Takida et al.ICLR 2024 · 148 citations
- Principled Probabilistic Imaging using Diffusion Models as Plug-and-Play PriorsZihui Wu, Yu Sun, Yifan Chen, Bingliang Zhang et al.NeurIPS 2024 · 128 citations
Builds on29
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- 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
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
Related papers
- Steered Diffusion: A Generalized Framework for Plug-and-Play Conditional Image SynthesisNithin Gopalakrishnan Nair, Anoop Cherian, Suhas Lohit, Ye Wang et al.ICCV 2023 · 22 citations
- Guided Motion Diffusion for Controllable Human Motion SynthesisKorrawe Karunratanakul, Konpat Preechakul, Supasorn Suwajanakorn, Siyu TangICCV 2023 · 240 citations
- One step further with Monte-Carlo sampler to guide diffusion betterMinsi Ren, Wenhao Deng, Ruiqi Feng, Tailin WuICLR 2026
- Motion Guidance: Diffusion-Based Image Editing with Differentiable Motion EstimatorsDaniel Geng, Andrew OwensICLR 2024 · 46 citations
- Decoupling Training-Free Guided Diffusion by ADMMYouyuan Zhang, Zehua Liu, Zenan Li, Zhaoyu Li et al.CVPR 2025
