AdjointDPM: Adjoint Sensitivity Method for Gradient Backpropagation of Diffusion Probabilistic Models
On the map: Diffusion models → Diffusion foundations and sampling
Abstract (arXiv)
Existing customization methods require access to multiple reference examples to align pre-trained diffusion probabilistic models (DPMs) with user-provided concepts. This paper aims to address the challenge of DPM customization when the only available supervision is a differentiable metric defined on the generated contents. Since the sampling procedure of DPMs involves recursive calls to the denoising UNet, na"ive gradient backpropagation requires storing the intermediate states of all iterations, resulting in extremely high memory consumption. To overcome this issue, we propose a novel method AdjointDPM, which first generates new samples from diffusion models by solving the corresponding probability-flow ODEs. It then uses the adjoint sensitivity method to backpropagate the gradients of the loss to the models' parameters (including conditioning signals, network weights, and initial noises) by solving another augmented ODE. To reduce numerical errors in both the forward generation and gradient backpropagation processes, we further reparameterize the probability-flow ODE and augmented ODE as simple non-stiff ODEs using exponential integration. Finally, we demonstrate the effectiveness of AdjointDPM on three interesting tasks: converting visual effects into identification text embeddings, finetuning DPMs for specific types of stylization, and optimizing initial noise to generate adversarial samples for security auditing.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 39 of its 43 references that are in the map. First posted on arXiv 20 Jul 2023.
Builds on
39 of 43 references.
Closest ancestors · 12
Same direction, newest first
- 2023End-to-End Diffusion Latent Optimization Improves Classifier Guidance23 Mar
- 2023FreeDoM: Training-Free Energy-Guided Conditional Diffusion Model17 Mar
- 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models2 Nov
- 2022Deep Equilibrium Approaches to Diffusion Models23 Oct
- 2022Classifier-Free Diffusion Guidance26 Jul
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps2 Jun
- 2022Elucidating the Design Space of Diffusion-Based Generative Models1 Jun
- 2022Fast Sampling of Diffusion Models with Exponential Integrator29 Apr
- 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
- 2021Diffusion Models Beat GANs on Image Synthesis11 May
- 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
- 2020Denoising Diffusion Probabilistic Models19 Jun
Other references · 27
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,300
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
- 2022Imagen Video: High Definition Video Generation with Diffusion Modelscited by 1,778
- 2023Align your Latents: High-Resolution Video Synthesis with Latent Diffusion Modelscited by 1,476
- 2022Null-text Inversion for Editing Real Images using Guided Diffusion Modelscited by 1,179
15 more
- 2022Imagic: Text-Based Real Image Editing with Diffusion Modelscited by 1,178
- 2022Multi-Concept Customization of Text-to-Image Diffusioncited by 1,106
- 2023AudioLDM: Text-to-Audio Generation with Latent Diffusion Modelscited by 599
- 2015A Neural Algorithm of Artistic Stylecited by 483
- 2022MagicVideo: Efficient Video Generation With Latent Diffusion Modelscited by 465
- 2023SVDiff: Compact Parameter Space for Diffusion Fine-Tuningcited by 338
- 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 336
- 2022Red-Teaming the Stable Diffusion Safety Filtercited by 264
- 2022EDICT: Exact Diffusion Inversion via Coupled Transformationscited by 258
- 2023P+: Extended Textual Conditioning in Text-to-Image Generationcited by 242
- 2023Dreamix: Video Diffusion Models are General Video Editorscited by 191
- 2019On Robustness of Neural Ordinary Differential Equationscited by 83
- 2022Multiresolution Textual Inversioncited by 34
- 2023Gradient-Free Textual Inversioncited by 29
- 2023ArchiSound: Audio Generation with Diffusioncited by 20
Built on by
Citing papers per year: 2023: 1; 2024: 6; 2025: 4.
11 papers.
- 2024PeRFlow: Piecewise Rectified Flow as Universal Plug-and-Play Acceleratorcited by 97
- 2024Gradient Guidance for Diffusion Models: An Optimization Perspectivecited by 61
- 2024Gradient-Free Generation for Hard-Constrained Systemscited by 38
- 2024Understanding and Improving Training-free Loss-based Diffusion Guidancecited by 32
- 2024Training Free Guided Flow Matching with Optimal Controlcited by 25
- 2025Training-Free Guidance Beyond Differentiability: Scalable Path Steering with Tree Search in Diffusion and Flow Modelscited by 24
- 2023Towards Accurate Guided Diffusion Sampling through Symplectic Adjoint Methodcited by 8
- 2024AdjointDEIS: Efficient Gradients for Diffusion Modelscited by 7
- 2025Greed is Good: A Unifying Perspective on Guided Generationcited by 2
- 2025Implicit Neural Differential Model for Spatiotemporal Dynamicscited by 1
- 2025You Only Look One Step: Accelerating Backpropagation in Diffusion Sampling with Gradient Shortcutscited by 0
- 2025You Only Look One Step: Accelerating Backpropagation in Diffusion Sampling with Gradient Shortcuts12 May 2025
- 2025Implicit Neural Differential Model for Spatiotemporal Dynamics3 Apr 2025
- 2025Training-Free Guidance Beyond Differentiability: Scalable Path Steering with Tree Search in Diffusion and Flow Models17 Feb 2025
- 2025Greed is Good: A Unifying Perspective on Guided Generation11 Feb 2025
- 2024Gradient-Free Generation for Hard-Constrained Systems2 Dec 2024
- 2024Training Free Guided Flow Matching with Optimal Control23 Oct 2024
- 2024AdjointDEIS: Efficient Gradients for Diffusion Models23 May 2024
- 2024PeRFlow: Piecewise Rectified Flow as Universal Plug-and-Play Accelerator13 May 2024
- 2024Gradient Guidance for Diffusion Models: An Optimization Perspective23 Apr 2024
- 2024Understanding and Improving Training-free Loss-based Diffusion Guidance19 Mar 2024
- 2023Towards Accurate Guided Diffusion Sampling through Symplectic Adjoint Method19 Dec 2023
Similar, not cited
Close in wording, no citation either way
- 2024Optimizing Few-Step Sampler for Diffusion Probabilistic Model
- 2023Fast Diffusion Probabilistic Model Sampling through the lens of Backward Error Analysis
- 2025Enhanced Diffusion Sampling via Extrapolation with Multiple ODE Solutions
- 2025Adjoint Sampling: Highly Scalable Diffusion Samplers via Adjoint Matching
- 2024Denoising Diffusion Probabilistic Models in Six Simple Steps
- 2024Decoupling Training-Free Guided Diffusion by ADMM
- 2023DPM-Solver-v3: Improved Diffusion ODE Solver with Empirical Model Statistics
- 2023DPM-OT: A New Diffusion Probabilistic Model Based on Optimal Transport