Lune

ICCV2023Top-tier venue

End-to-End Diffusion Latent Optimization Improves Classifier Guidance

Bram Wallace, Akash Gokul, Stefano Ermon, Nikhil Naik

Abstract

Classifier guidance-using the gradients of an image classifier to steer the generations of a diffusion modelhas the potential to dramatically expand the creative control over image generation and editing. However, currently classifier guidance requires either training new noiseaware models to obtain accurate gradients or using a onestep denoising approximation of the final generation, which leads to misaligned gradients and sub-optimal control.We highlight this approximation's shortcomings and propose a novel guidance method: Direct Optimization of Diffusion Latents (DOODL), which enables plug-and-play guidance by optimizing diffusion latents w.r.t. the gradients of a pre-trained classifier on the true generated pixels, using an invertible diffusion process to achieve memory-efficient backpropagation. Showcasing the potential of more precise guidance, DOODL outperforms one-step classifier guidance on computational and human evaluation metrics across different forms of guidance: using CLIP guidance to improve generations of complex prompts from DrawBench, using fine-grained visual classifiers to expand the vocabulary of Stable Diffusion, enabling image-conditioned generation with a CLIP visual encoder, and improving image aesthetics using an aesthetic scoring network. Code at https://github.com/salesforce/DOODL .

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.

59 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • 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
  • Finetuning Text-to-Image Diffusion Models for Fairness cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Finetuning Text-to-Image Diffusion Models for Fairness cites Directly Fine-Tuning Diffusion Models on Differentiable Rewards
  • Finetuning Text-to-Image Diffusion Models for Fairness cites Learning Transferable Visual Models From Natural Language Supervision
  • Finetuning Text-to-Image Diffusion Models for Fairness cites Denoising Diffusion Probabilistic Models
  • Directly Fine-Tuning Diffusion Models on Differentiable Rewards cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Directly Fine-Tuning Diffusion Models on Differentiable Rewards cites Diffusion Models Beat GANs on Image Synthesis
  • Directly Fine-Tuning Diffusion Models on Differentiable Rewards cites Learning Transferable Visual Models From Natural Language Supervision
  • Directly Fine-Tuning Diffusion Models on Differentiable Rewards cites Denoising Diffusion Probabilistic Models
  • Directly Fine-Tuning Diffusion Models on Differentiable Rewards cites Denoising Diffusion Implicit Models
  • SVDiff: Compact Parameter Space for Diffusion Fine-Tuning cites High-Resolution Image Synthesis with Latent Diffusion Models
  • SVDiff: Compact Parameter Space for Diffusion Fine-Tuning cites Learning Transferable Visual Models From Natural Language Supervision
  • SVDiff: Compact Parameter Space for Diffusion Fine-Tuning cites Denoising Diffusion Probabilistic Models
  • SVDiff: Compact Parameter Space for Diffusion Fine-Tuning cites Denoising Diffusion Implicit Models
  • Manifold Preserving Guided Diffusion cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Manifold Preserving Guided Diffusion cites Diffusion Models Beat GANs on Image Synthesis
  • Manifold Preserving Guided Diffusion cites Denoising Diffusion Probabilistic Models
  • Manifold Preserving Guided Diffusion cites Denoising Diffusion Implicit Models
  • Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
  • ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization cites High-Resolution Image Synthesis with Latent Diffusion Models
  • ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization cites Directly Fine-Tuning Diffusion Models on Differentiable Rewards
  • ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization cites Manifold Preserving Guided Diffusion
  • ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization cites Diffusion Models Beat GANs on Image Synthesis
  • ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization cites Learning Transferable Visual Models From Natural Language Supervision
  • ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization cites Denoising Diffusion Probabilistic Models
  • ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization cites Denoising Diffusion Implicit Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers59

  1. SVDiff: Compact Parameter Space for Diffusion Fine-TuningLigong Han, Yinxiao Li, Han Zhang, Peyman Milanfar et al.ICCV 2023 · 384 citations
  2. Directly Fine-Tuning Diffusion Models on Differentiable RewardsKevin Clark, Paul Vicol, Kevin Swersky, David J. FleetICLR 2024 · 377 citations
  3. Manifold Preserving Guided DiffusionYutong He, Naoki Murata, Chieh-Hsin Lai, Yuhta Takida et al.ICLR 2024 · 148 citations
  4. ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise OptimizationLuca Eyring, Shyamgopal Karthik, Karsten Roth, Alexey Dosovitskiy et al.NeurIPS 2024 · 131 citations
  5. Finetuning Text-to-Image Diffusion Models for FairnessXudong Shen, Chao Du, Tianyu Pang, Min Lin et al.ICLR 2024 · 97 citations

Builds on15

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  4. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  5. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations

Related papers

  1. GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion ModelsAlexander Quinn Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam et al.ICML 2022 · 4,691 citations
  2. Dynamic Classifier-Free Diffusion Guidance via Online FeedbackPinelopi Papalampidi, Olivia Wiles, Ira Ktena, Aleksandar Shtedritski et al.ICLR 2026 · 12 citations
  3. Elucidating the design space of classifier-guided diffusion generationJiajun Ma, Tianyang Hu, Wenjia Wang, Jiacheng SunICLR 2024 · 24 citations
  4. SpaText: Spatio-Textual Representation for Controllable Image GenerationOmri Avrahami, Thomas Hayes, Oran Gafni, Sonal Gupta et al.CVPR 2023
  5. Guiding a Diffusion Model by Swapping Its TokensWeijia Zhang, Yuehao Liu, Shanyan Guan, Wu Ran et al.CVPR 2026 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines