GradCheck: Analyzing classifier guidance gradients for conditional diffusion sampling

Philipp Vaeth, Alexander M. Fruehwald, Benjamin Paassen, Magda Gregorova
6/25/2024
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

To sample from an unconditionally trained Denoising Diffusion Probabilistic Model (DDPM), classifier guidance adds conditional information during sampling, but the gradients from classifiers, especially those not trained on noisy images, are often unstable. This study conducts a gradient analysis comparing robust and non-robust classifiers, as well as multiple gradient stabilization techniques. Experimental results demonstrate that these techniques significantly improve the quality of class-conditional samples for non-robust classifiers by providing more stable and informative classifier guidance gradients. The findings highlight the importance of gradient stability in enhancing the performance of classifier guidance, especially on non-robust classifiers.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{vaeth2024gradcheck,
  title  = {GradCheck: Analyzing classifier guidance gradients for conditional diffusion sampling},
  author = {Philipp Vaeth and Alexander M. Fruehwald and Benjamin Paassen and Magda Gregorova},
  year   = {2024},
  eprint = {2406.17399},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.17399v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17399.svg)](https://codeofpaper.com/paper/2406.17399)

Discussion