AdjointDEIS: Efficient Gradients for Diffusion Models
Zander W. Blasingame, Chen Liu
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 integrators. Moreover, we provide convergence order guarantees for our bespoke solvers. Significantly, we show that continuous adjoint equations for diffusion SDEs actually simplify to a simple ODE. Lastly, we demonstrate the effectiveness of AdjointDEIS for guided generation with an adversarial attack in the form of the face morphing problem. Our code will be released at https: //github.com/zblasingame/AdjointDEIS.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
- Training-Free Guidance Beyond Differentiability: Scalable Path Steering with Tree Search in Diffusion and Flow Models cites Denoising Diffusion Probabilistic Models
- Greed is Good: A Unifying Perspective on Guided Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
- Greed is Good: A Unifying Perspective on Guided Generation cites Elucidating the Design Space of Diffusion-Based Generative Models
- Greed is Good: A Unifying Perspective on Guided Generation cites Denoising Diffusion Probabilistic Models
- Greed is Good: A Unifying Perspective on Guided Generation cites Denoising Diffusion Implicit Models
- Elucidating the Design Space of Diffusion-Based Generative Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- Elucidating the Design Space of Diffusion-Based Generative Models cites Denoising Diffusion Probabilistic Models
- Elucidating the Design Space of Diffusion-Based Generative Models cites Denoising Diffusion Implicit Models
- On Efficiency-Effectiveness Trade-off of Diffusion-based Recommenders cites Elucidating the Design Space of Diffusion-Based Generative Models
- On Efficiency-Effectiveness Trade-off of Diffusion-based Recommenders cites Denoising Diffusion Probabilistic Models
- On Efficiency-Effectiveness Trade-off of Diffusion-based Recommenders cites Denoising Diffusion Implicit Models
- Efficiently Access Diffusion Fisher: Within the Outer Product Span Space cites High-Resolution Image Synthesis with Latent Diffusion Models
- Efficiently Access Diffusion Fisher: Within the Outer Product Span Space cites Elucidating the Design Space of Diffusion-Based Generative Models
- Efficiently Access Diffusion Fisher: Within the Outer Product Span Space cites Denoising Diffusion Probabilistic Models
- Efficiently Access Diffusion Fisher: Within the Outer Product Span Space cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Rex: A Family of Reversible Exponential (Stochastic) Runge-Kutta Solvers cites High-Resolution Image Synthesis with Latent Diffusion Models
- Rex: A Family of Reversible Exponential (Stochastic) Runge-Kutta Solvers cites Greed is Good: A Unifying Perspective on Guided Generation
- Rex: A Family of Reversible Exponential (Stochastic) Runge-Kutta Solvers cites Denoising Diffusion Probabilistic Models
- Rex: A Family of Reversible Exponential (Stochastic) Runge-Kutta Solvers cites Denoising Diffusion Implicit Models
- Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Probabilistic Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Implicit Models
Cited by top-tier papers5
- Training-Free Guidance Beyond Differentiability: Scalable Path Steering with Tree Search in Diffusion and Flow ModelsYingqing Guo, Yukang Yang, Hui Yuan, Mengdi WangNeurIPS 2025 · 29 citations
- On Efficiency-Effectiveness Trade-off of Diffusion-based RecommendersWenyu Mao, Jiancan Wu, Guoqing Hu, Zhengyi Yang et al.NeurIPS 2025 · 5 citations
- Greed is Good: A Unifying Perspective on Guided GenerationZander Blasingame, Chen LiuNeurIPS 2025 · 2 citations
- Rex: A Family of Reversible Exponential (Stochastic) Runge-Kutta SolversZander Blasingame, Chen LiuICML 2026 · 2 citations
- Efficiently Access Diffusion Fisher: Within the Outer Product Span SpaceFangyikang Wang, Hubery Yin, Shaobin Zhuang, Huminhao Zhu et al.ICML 2025
Builds on29
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
- Elucidating the Design Space of Diffusion-Based Generative ModelsTero Karras, Miika Aittala, Timo Aila, Samuli LaineNeurIPS 2022 · 3,959 citations
Related papers
- AdjointDPM: Adjoint Sensitivity Method for Gradient Backpropagation of Diffusion Probabilistic ModelsJiachun Pan, Jun Hao Liew, Vincent Y. F. Tan, Jiashi Feng et al.ICLR 2024 · 12 citations
- Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar et al.ICLR 2021 · 1,270 citations
- SEEDS: Exponential SDE Solvers for Fast High-Quality Sampling from Diffusion ModelsMartin Gonzalez, Nelson Fernández, Thuy Tran, Elies Gherbi et al.NeurIPS 2023 · 43 citations
- DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 StepsCheng Lu, Yuhao Zhou, Fan Bao, Jianfei Chen et al.NeurIPS 2022 · 2,653 citations
- Unifying Bayesian Flow Networks and Diffusion Models through Stochastic Differential EquationsKaiwen Xue, Yuhao Zhou, Shen Nie, Xu Min et al.ICML 2024 · 27 citations
