AdjointDEIS: Efficient Gradients for Diffusion Models
Zander W. Blasingame, Chen Liu

TL;DR
This paper introduces AdjointDEIS, a novel family of efficient ODE solvers for computing gradients in diffusion models, simplifying the process and reducing memory usage, with proven convergence guarantees and practical effectiveness demonstrated in face morphing tasks.
Contribution
The paper presents AdjointDEIS, a new class of bespoke ODE solvers tailored for diffusion models, leveraging exponential integrators to simplify adjoint equations and improve gradient computation efficiency.
Findings
Effective guided generation demonstrated in face morphing.
Significant reduction in memory usage for backpropagation.
Proven convergence order guarantees for the proposed solvers.
Abstract
The optimization of the latents and parameters of diffusion models with respect to some differentiable metric defined on the output of the model is a challenging and complex problem. The sampling for diffusion models is done by solving either the probability flow ODE or diffusion SDE wherein a neural network approximates the score function allowing a numerical ODE/SDE solver to be used. However, naive backpropagation techniques are memory intensive, requiring the storage of all intermediate states, and face additional complexity in handling the injected noise from the diffusion term of the diffusion SDE. We propose a novel family of bespoke ODE solvers to the continuous adjoint equations for diffusion models, which we call AdjointDEIS. We exploit the unique construction of diffusion SDEs to further simplify the formulation of the continuous adjoint equations using exponential…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsStochastic Gradient Optimization Techniques · Medical Image Segmentation Techniques · Medical Imaging Techniques and Applications
MethodsDiffusion
