Pith

open record

sign in

arxiv: 2303.13703 · v2 · pith:FSRI2A2G · submitted 2023-03-23 · cs.CV · cs.AI· cs.LG

End-to-End Diffusion Latent Optimization Improves Classifier Guidance

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:FSRI2A2Grecord.jsonopen to challenge →

classification cs.CV cs.AIcs.LG
keywords guidanceclassifierdiffusiongradientsdoodlgenerationimageapproximation
0
0 comments X
read the original abstract

Classifier guidance -- using the gradients of an image classifier to steer the generations of a diffusion model -- has the potential to dramatically expand the creative control over image generation and editing. However, currently classifier guidance requires either training new noise-aware models to obtain accurate gradients or using a one-step 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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Gradient-Based Inverse Design of Free-Energy Landscapes with Diffusion Models

    physics.comp-ph 2026-07 conditional novelty 7.0

    GB-FESO backpropagates a KL-divergence loss through a frozen conditional diffusion model's sampling trajectory to optimize system parameters so the generated ensemble matches a target free-energy surface.

  2. Directly Fine-Tuning Diffusion Models on Differentiable Rewards

    cs.CV 2023-09 conditional novelty 6.0

    DRaFT fine-tunes diffusion models by differentiating through sampling to maximize rewards, outperforming RL baselines and improving aesthetics on Stable Diffusion 1.4.