atlas

Research map / Image generation / Fast diffusion sampling

AdjointDPM: Adjoint Sensitivity Method for Gradient Backpropagation of Diffusion Probabilistic Models

ICLR 2024 · Image generation › Fast diffusion sampling · approach: Diffusion posterior sampling · 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.

Proposes AdjointDPM, which backpropagates losses through diffusion sampling to initial noises, conditioning embeddings, and UNet weights by solving an adjoint ODE after reparameterizing the probability-flow ODE with exponential integration, giving constant memory.

Problem

Optimizing parameters of diffusion probabilistic models (noise states, conditioning text embeddings, network weights) against differentiable losses on generated outputs requires backpropagating through all sampling iterations, which is memory-intensive.

Approach

Apply the adjoint sensitivity method from neural ODEs to the probability-flow ODE sampling process, and reparameterize the forward and adjoint ODEs with exponential integration (semi-linear structure) into non-stiff ODEs so that discretization error affects only the nonlinear part; memory stays constant in the number of steps.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Reparameterize the forward probability-flow ODE using exponential integrationVPSDE sampling · CIFAR10, NFE 10FID: 9.50 -> 4.36Helped
Reparameterize the forward probability-flow ODE using exponential integrationVPSDE sampling · CIFAR10, NFE 20FID: 8.27 -> 2.90Helped
Reparameterize the forward probability-flow ODE using exponential integrationVPSDE sampling · CIFAR10, NFE 50FID: 5.64 -> 2.58Helped
Use reparameterized ODE sampling instead of DPM-solverVPSDE sampling · CIFAR10, NFE 10FID: 4.70 -> 4.36Helped
Use reparameterized ODE sampling instead of DPM-solverVPSDE sampling · CIFAR10, NFE 20FID: 2.87 -> 2.90Hurt
Use reparameterized ODE sampling instead of DPM-solverVPSDE sampling · CIFAR10, NFE 50FID: 2.62 -> 2.58Helped
Guide Stable Diffusion sampling with a fine-grained dog classifier using AdjointDPMStable Diffusion · Stanford DogsPer-class % FID change: -5.3% -> -7.1%Helped
Optimize initial noise to mislead the ImageNet classifierImageNet diffusion model · ImageNet, 10 randomly chosen classesAttack rate: 51.2%Helped
Fine-tune Stable Diffusion with AdjointDPM for stylizationStable Diffusion · Stylization prompts: Airplane, Clock, House, Cat, ApplesCLIP similarity: 21.98 -> 27.34; 28.23 -> 30.00; 25.40 -> 29.03; 25.90 -> 26.83; 28.10 -> 28.59Helped
Fine-tune Stable Diffusion with AdjointDPM for stylizationStable Diffusion · Stylization prompts: Airplane, Clock, House, Cat, ApplesCLIP similarity: 24.44 -> 27.34; 26.74 -> 30.00; 25.91 -> 29.03; 22.30 -> 26.83; 24.06 -> 28.59Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 ImageNet Stanford Dogs LAION

Benchmarks: CIFAR-10 FID Stanford Dogs FID CIFAR-100 stylization CLIP similarity

Metrics: FID CLIP similarity attack success ratio peak memory (GB)

Baselines: DOODL DreamBooth Textual Inversion FlowGrad DPM-solver

Builds on: neural ODE adjoint method DPM-solver classifier-free guidance DOODL DreamBooth

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