mlsanityData to 7 Oct 2026

Fast constrained sampling in pre-trained diffusion models

arXiv 2410.18804 ↗First posted 24 Oct 2024cs.CV cs.LGcited by 9

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

  1. 2023Manifold Preserving Guided Diffusion28 Nov
  2. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis4 Jul
  3. 2023FreeDoM: Training-Free Energy-Guided Conditional Diffusion Model17 Mar
  4. 2023Consistency Models2 Mar
  5. 2022Classifier-Free Diffusion Guidance26 Jul
  6. 2022Pseudo Numerical Methods for Diffusion Models on Manifolds20 Feb
  7. 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
  8. 2021Diffusion Models Beat GANs on Image Synthesis11 May
  9. 2021Improved Denoising Diffusion Probabilistic Models18 Feb
  10. 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
  11. 2020Denoising Diffusion Implicit Models6 Oct
  12. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 26

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  3. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  4. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  5. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  6. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  7. 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
  8. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  9. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
  10. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,550
  11. 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Modelscited by 1,439
  12. 2022Diffusion Posterior Sampling for General Noisy Inverse Problemscited by 1,375
14 more
  1. 2021Palette: Image-to-Image Diffusion Modelscited by 1,296
  2. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
  3. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
  4. 2023Exploiting Diffusion Prior for Real-World Image Super-Resolutioncited by 486
  5. 2023Emergent Correspondence from Image Diffusioncited by 437
  6. 2023InstaFlow: One Step is Enough for High-Quality Diffusion-Based Text-to-Image Generationcited by 387
  7. 2022SmartBrush: Text and Shape Guided Object Inpainting with Diffusion Modelcited by 276
  8. 2023GaussianDreamer: Fast Generation from Text to 3D Gaussians by Bridging 2D and 3D Diffusion Modelscited by 255
  9. 2022The Role of ImageNet Classes in Fr'echet Inception Distancecited by 211
  10. 2023Solving Linear Inverse Problems Provably via Posterior Sampling with Latent Diffusion Modelscited by 156
  11. 2023Diffuse, Attend, and Segment: Unsupervised Zero-Shot Segmentation using Stable Diffusioncited by 131
  12. 2023PaLI-3 Vision Language Models: Smaller, Faster, Strongercited by 125
  13. 2023Prompt-tuning latent diffusion models for inverse problemscited by 70
  14. 2023Lifting Architectural Constraints of Injective Flowscited by 17

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 6.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Restoration by Generation with Constrained Priors
  2. 2023Diffusion with Forward Models: Solving Stochastic Inverse Problems Without Direct Supervision
  3. 2025Fewer Denoising Steps or Cheaper Per-Step Inference: Towards Compute-Optimal Diffusion Model Deployment
  4. 2026Integration Matters: Rollout-Based Training for Constrained Diffusion Models
  5. 2023BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion
  6. 2023Parallel Sampling of Diffusion Models
  7. 2026Efficient and Training-Free Single-Image Diffusion Models
  8. 2022Diffusion models as plug-and-play priors