Fast constrained sampling in pre-trained diffusion models
On the map: Diffusion models → Diffusion foundations and sampling
Abstract (arXiv)
Large denoising diffusion models, such as Stable Diffusion, have been trained on billions of image-caption pairs to perform text-conditioned image generation. As a byproduct of this training, these models have acquired general knowledge about image statistics, which can be useful for other inference tasks. However, when confronted with sampling an image under new constraints, e.g. generating the missing parts of an image, using large pre-trained text-to-image diffusion models is inefficient and often unreliable. Previous approaches either utilized backpropagation through the denoiser network, making them significantly slower and more memory-demanding than simple text-to-image generation, or only enforced the constraint locally, failing to capture critical long-range correlations in the sampled image. In this work, we propose an algorithm that enables fast, high-quality generation under arbitrary constraints. We show that in denoising diffusion models, we can employ an approximation to Newton's optimization method that allows us to speed up inference and avoid the expensive backpropagation operations. Our approach produces results that rival or surpass the state-of-the-art training-free inference methods while requiring a fraction of the time. We demonstrate the effectiveness of our algorithm under both linear (inpainting, super-resolution) and non-linear (style-guided generation) constraints. An implementation is provided at https://github.com/cvlab-stonybrook/fast-constrained-sampling.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 38 of its 52 references that are in the map. First posted on arXiv 24 Oct 2024.
Builds on
38 of 52 references.
Closest ancestors · 12
Same direction, newest first
- 2023Manifold Preserving Guided Diffusion28 Nov
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis4 Jul
- 2023FreeDoM: Training-Free Energy-Guided Conditional Diffusion Model17 Mar
- 2023Consistency Models2 Mar
- 2022Classifier-Free Diffusion Guidance26 Jul
- 2022Pseudo Numerical Methods for Diffusion Models on Manifolds20 Feb
- 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
- 2021Diffusion Models Beat GANs on Image Synthesis11 May
- 2021Improved Denoising Diffusion Probabilistic Models18 Feb
- 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
- 2020Denoising Diffusion Implicit Models6 Oct
- 2020Denoising Diffusion Probabilistic Models19 Jun
Other references · 26
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,550
- 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Modelscited by 1,439
- 2022Diffusion Posterior Sampling for General Noisy Inverse Problemscited by 1,375
14 more
- 2021Palette: Image-to-Image Diffusion Modelscited by 1,296
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
- 2023Exploiting Diffusion Prior for Real-World Image Super-Resolutioncited by 486
- 2023Emergent Correspondence from Image Diffusioncited by 437
- 2023InstaFlow: One Step is Enough for High-Quality Diffusion-Based Text-to-Image Generationcited by 387
- 2022SmartBrush: Text and Shape Guided Object Inpainting with Diffusion Modelcited by 276
- 2023GaussianDreamer: Fast Generation from Text to 3D Gaussians by Bridging 2D and 3D Diffusion Modelscited by 255
- 2022The Role of ImageNet Classes in Fr'echet Inception Distancecited by 211
- 2023Solving Linear Inverse Problems Provably via Posterior Sampling with Latent Diffusion Modelscited by 156
- 2023Diffuse, Attend, and Segment: Unsupervised Zero-Shot Segmentation using Stable Diffusioncited by 131
- 2023PaLI-3 Vision Language Models: Smaller, Faster, Strongercited by 125
- 2023Prompt-tuning latent diffusion models for inverse problemscited by 70
- 2023Lifting Architectural Constraints of Injective Flowscited by 17
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 6.
9 papers.
- 2024ZoomLDM: Latent Diffusion Model for multi-scale image generationcited by 15
- 2025PixCell: A generative foundation model for digital histopathology imagescited by 11
- 2025Mitigating Diffusion Model Hallucinations with Dynamic Guidancecited by 5
- 2026Constrained Flow Optimization via Sequential Fine Tuning for Molecular Designcited by 2
- 2026Poppy: Polarization-based Plug-and-Play Guidance for Enhancing Monocular Normal Estimationcited by 0
- 2026Stochastic Transition-Map Distillation for Fast Probabilistic Inferencecited by 0
- 2026Geometry-Correct Diffusion Posterior Sampling with Denoiser-Pullback Curvature Guidance and Manifold-Aligned Dampingcited by 0
- 2026On the spectral properties of generative denoiser Jacobianscited by 0
- 2026Moore, Escher, Penrose: A Conformal Golden Braidcited by 0
- 2026Moore, Escher, Penrose: A Conformal Golden Braid1 Oct 2026
- 2026On the spectral properties of generative denoiser Jacobians28 Sep 2026
- 2026Constrained Flow Optimization via Sequential Fine Tuning for Molecular Design28 May 2026
- 2026Geometry-Correct Diffusion Posterior Sampling with Denoiser-Pullback Curvature Guidance and Manifold-Aligned Damping27 May 2026
- 2026Stochastic Transition-Map Distillation for Fast Probabilistic Inference8 May 2026
- 2026Poppy: Polarization-based Plug-and-Play Guidance for Enhancing Monocular Normal Estimation29 Mar 2026
- 2025Mitigating Diffusion Model Hallucinations with Dynamic Guidance6 Oct 2025
- 2025PixCell: A generative foundation model for digital histopathology images5 Jun 2025
- 2024ZoomLDM: Latent Diffusion Model for multi-scale image generation25 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2023Restoration by Generation with Constrained Priors
- 2023Diffusion with Forward Models: Solving Stochastic Inverse Problems Without Direct Supervision
- 2025Fewer Denoising Steps or Cheaper Per-Step Inference: Towards Compute-Optimal Diffusion Model Deployment
- 2026Integration Matters: Rollout-Based Training for Constrained Diffusion Models
- 2023BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion
- 2023Parallel Sampling of Diffusion Models
- 2026Efficient and Training-Free Single-Image Diffusion Models
- 2022Diffusion models as plug-and-play priors