Diffusion Classifier Guidance for Non-robust Classifiers

Philipp Vaeth, Dibyanshu Kumar, Benjamin Paassen, Magda Gregorová
7/1/2025
cs.LGcs.CV

No confident code implementation found for this paper.

Abstract

Classifier guidance is intended to steer a diffusion process such that a given classifier reliably recognizes the generated data point as a certain class. However, most classifier guidance approaches are restricted to robust classifiers, which were specifically trained on the noise of the diffusion forward process. We extend classifier guidance to work with general, non-robust, classifiers that were trained without noise. We analyze the sensitivity of both non-robust and robust classifiers to noise of the diffusion process on the standard CelebA data set, the specialized SportBalls data set and the high-dimensional real-world CelebA-HQ data set. Our findings reveal that non-robust classifiers exhibit significant accuracy degradation under noisy conditions, leading to unstable guidance gradients. To mitigate these issues, we propose a method that utilizes one-step denoised image predictions and implements stabilization techniques inspired by stochastic optimization methods, such as exponential moving averages. Experimental results demonstrate that our approach improves the stability of classifier guidance while maintaining sample diversity and visual quality. This work contributes to advancing conditional sampling techniques in generative models, enabling a broader range of classifiers to be used as guidance 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. Any repos shown below are weak matches — 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{vaeth2025diffusion,
  title  = {Diffusion Classifier Guidance for Non-robust Classifiers},
  author = {Philipp Vaeth and Dibyanshu Kumar and Benjamin Paassen and Magda Gregorová},
  year   = {2025},
  eprint = {2507.00687},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.00687v1}
}

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/2507.00687.svg)](https://codeofpaper.com/paper/2507.00687)

Discussion