Skip to main content
QUICK REVIEW

[Paper Review] Conditional Generation from Unconditional Diffusion Models using Denoiser Representations

Alexandros Graikos, Srikar Yellapragada|arXiv (Cornell University)|Jun 2, 2023
Generative Adversarial Networks and Image SynthesisComputer Science3 citations
TL;DR

This paper proposes a method to adapt pre-trained unconditional diffusion models to new conditional generation tasks—such as attribute- or mask-conditioned generation—by leveraging the internal denoiser representations of the model. By using these robust, noise-robust features to guide sampling and reject low-quality generations, the approach improves synthetic data quality, boosting ResNet accuracy on Tiny ImageNet by up to 8% when combined with real data.

ABSTRACT

Denoising diffusion models have gained popularity as a generative modeling technique for producing high-quality and diverse images. Applying these models to downstream tasks requires conditioning, which can take the form of text, class labels, or other forms of guidance. However, providing conditioning information to these models can be challenging, particularly when annotations are scarce or imprecise. In this paper, we propose adapting pre-trained unconditional diffusion models to new conditions using the learned internal representations of the denoiser network. We demonstrate the effectiveness of our approach on various conditional generation tasks, including attribute-conditioned generation and mask-conditioned generation. Additionally, we show that augmenting the Tiny ImageNet training set with synthetic images generated by our approach improves the classification accuracy of ResNet baselines by up to 8%. Our approach provides a powerful and flexible way to adapt diffusion models to new conditions and generate high-quality augmented data for various conditional generation tasks.

Motivation & Objective

  • To address the challenge of conditioning pre-trained unconditional diffusion models when labeled or annotated data is scarce or imprecise.
  • To enable effective conditional generation (e.g., attribute- or mask-conditioned) without fine-tuning the entire diffusion model from scratch.
  • To improve data augmentation quality by filtering low-quality synthetic samples using denoiser-based rejection.
  • To demonstrate that learned denoiser features can serve as effective, general-purpose representations for downstream conditional generation and pre-training.

Proposed method

  • Utilize the internal feature representations of a pre-trained U-Net denoiser as a robust, noise-robust feature extractor for conditioning.
  • Apply these features to guide sampling in a conditional diffusion process using a noisy estimate of the final image $\mathbf{x}_0$.
  • Train a rejection classifier on the denoiser features to filter out low-quality generated samples, improving overall sample quality.
  • Fine-tune the conditional diffusion model on a small dataset (e.g., Tiny ImageNet) while leveraging the pre-trained denoiser’s internal representations for guidance.
  • Combine real and synthetic data for downstream classification, using the high-quality synthetic images to augment training sets.
  • Integrate the method with standard data augmentation techniques like Mixup and Cutmix to further improve model generalization.
Figure 1: Synthetic images from the fine-tuned class conditional sampling (first row) vs Classifier-free guided sampling (second row) vs. our model with rejection (third row). Samples are from class 9: Golden Retriever on the Tiny-Imagenet. Our method generated more realistic and diverse images comp
Figure 1: Synthetic images from the fine-tuned class conditional sampling (first row) vs Classifier-free guided sampling (second row) vs. our model with rejection (third row). Samples are from class 9: Golden Retriever on the Tiny-Imagenet. Our method generated more realistic and diverse images comp

Experimental results

Research questions

  • RQ1Can internal representations of a pre-trained unconditional diffusion denoiser be effectively used to guide conditional generation with limited labeled examples?
  • RQ2How well can denoiser features support diverse conditional generation tasks such as attribute-conditioned and mask-conditioned image generation?
  • RQ3To what extent does synthetic data generated via this method improve downstream classification accuracy on limited-data benchmarks?
  • RQ4Does rejection sampling based on denoiser features significantly enhance the quality of generated synthetic data?

Key findings

  • The proposed method improved classification accuracy on Tiny ImageNet by up to 8% when augmenting real data with synthetic images generated via the approach.
  • ResNeXt-50 achieved a top-1 accuracy of 63.15% when trained on real data augmented with 300k synthetic images, up from 53.98% with real data only.
  • The combination of synthetic data and standard image-level augmentations (Mixup and Cutmix) further improved accuracy, with ResNeXt-50 reaching 67.05% on 700k synthetic images.
  • The method demonstrated diminishing returns beyond 300k synthetic images, indicating a saturation point in performance gains.
  • Rejection sampling based on denoiser features was critical—without it, synthetic data did not improve performance, confirming its role in filtering low-quality samples.
Figure 3: Tiny-Imagenet samples generated by our method. The classes are 28: German Shepherd, 30: Tabby Cat, 36: Ladybug, and 52: Gazelle. Our model can generate diverse images across different classes, proving the effectiveness of rejection sampling.
Figure 3: Tiny-Imagenet samples generated by our method. The classes are 28: German Shepherd, 30: Tabby Cat, 36: Ladybug, and 52: Gazelle. Our model can generate diverse images across different classes, proving the effectiveness of rejection sampling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.