atlas

Research map / Image generation / Fast diffusion sampling

Dynamic Negative Guidance of Diffusion Models

ICLR 2025 · Image generation › Fast diffusion sampling · approach: Guidance for conditional diffusion · 2 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.

Proposes Dynamic Negative Guidance (DNG), a state- and time-dependent negative prompting scheme that estimates the forbidden-class posterior by tracking the diffusion Markov chain, evaluated on MNIST/CIFAR10 class removal and Stable Diffusion.

Problem

Conventional negative prompting (NP) uses a constant guidance scale, which is suboptimal or fails to sample the target distribution because the reverse diffusion process is non-stationary and state-dependent.

Approach

Derives a dynamic guidance scale proportional to p(c_bad|x)/(1-p(c_bad|x)) that is large near the forbidden region and vanishes far from it; the posterior is estimated during denoising from the likelihood ratio of unconditional vs. forget-model Gaussian transitions, requiring no additional training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DNG instead of NP or SLD for class removal at high safetyDNG · CIFAR10 class removalFIDHelped
Use DNG instead of NP or SLD for class removal at high safetyDNG · CIFAR10 class removalKL-divergenceHelped
Use DNG instead of NP with a semantically unrelated negative promptStable Diffusion 2 · Text-to-image, unrelated negative promptCLIP scoreHelped
Use DNG instead of NP with a semantically related negative promptStable Diffusion 2 · Text-to-image, related negative promptCLIP scoreNo clear effect
Use exact-posterior DNG instead of NPOne-dimensional Gaussian mixture diffusion · One-dimensional Gaussian mixturetarget-distribution samplingHelped

Surprising findings

Limitations

Experimental setup

Datasets: MNIST CIFAR10

Benchmarks: MNIST class removal CIFAR10 class removal

Metrics: safety (percentage of forbidden class generated) KL-divergence to ideal class distribution FID CLIP score

Baselines: Negative Prompting Safe Latent Diffusion

Builds on: Classifier-Free Guidance DDPM Safe Latent Diffusion

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