atlas

Research map / Image generation / Fast diffusion sampling

Training-Free Constrained Generation With Stable Diffusion Models

NeurIPS 2025 · Image generation › Fast diffusion sampling · approach: Diffusion models as perception tools · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Integrates proximal Langevin dynamics with pretrained Stable Diffusion by correcting latents via decoder-space constraint projections, training-free, with theoretical feasibility/fidelity bounds and experiments on microstructure, metamaterial, and copyright tasks.

Problem

Stable diffusion models generate outputs that do not strictly satisfy physical, functional, or copyright constraints; existing inference-time constraint methods operate in pixel space and do not apply to latent diffusion, and latent-space methods rely on measurement operators or learned penalties.

Approach

Apply proximal Langevin dynamics to the latent of a frozen Stable Diffusion model: after each noisy gradient step, a proximal/projection correction is computed in image space through the frozen decoder and backpropagated to the latent, with black-box simulators handled by finite-difference (DPO-style) gradient estimates.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply latent constraint correction instead of conditional Stable DiffusionStable Diffusion · Metamaterial inverse designStress-strain response MSE: 4.6x improvementHelped
Apply latent constraint correction instead of conditional Stable DiffusionStable Diffusion · Metamaterial inverse designStress-strain response MSE: 5.1x improvementHelped
Use latent constraint correction rather than text conditioningStable Diffusion · Microstructure generationPorosity error <10% success rate: 31.6\% of the samples had a porosity error less than 10\%; the proposed method satisfies the porosity constraints exactlHelped
Use latent constraint correction rather than conditional Stable DiffusionStable Diffusion · Microstructure generationFID: 10.8Mixed
Apply latent constraint correctionStable Diffusion · Copyright-safe generationProtected-character generation rate: 33\% to 10\%Helped
Apply gradient-based latent constraint correctionStable Diffusion · Copyright-safe generationFIDNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: microstructure dataset (porous material images) periodic stochastic cellular structures stress-strain dataset Tom and Jerry / Mickey Mouse copyright image set (8,000 images)

Benchmarks: microstructure porosity generation metamaterial stress-strain inverse design (Abaqus simulator) copyright-constrained generation (Mickey Mouse classifier)

Metrics: FID constraint satisfaction rate MSE to target stress-strain curve porosity error within 10%

Baselines: Conditional Stable Diffusion Projected Diffusion Models (PDM) Image Space Correction Learned Latent Corrector Unconstrained Stable Diffusion

Builds on: Projected Diffusion Models Stable Diffusion Differentiable perturbed optimizer Augmented Lagrangian method ReSample

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy