Skip to main content
QUICK 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 Science被引用 3
一句话总结

本文提出一种方法,通过利用预训练的无条件扩散模型内部去噪器表征,将该模型适应于新的条件生成任务(如属性条件或掩码条件生成)。通过使用这些鲁棒的、抗噪声的特征来引导采样并拒绝低质量生成结果,该方法提升了合成数据质量,在结合真实数据时,使Tiny ImageNet上的ResNet准确率最高提升8%。

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.

研究动机与目标

  • 解决在标注数据或注释数据稀缺或不精确时,对预训练无条件扩散模型进行条件化的问题。
  • 在无需从头开始微调整个扩散模型的前提下,实现有效的条件生成(例如属性条件或掩码条件生成)。
  • 通过基于去噪器的拒绝机制过滤低质量合成样本,提升数据增强质量。
  • 证明学习到的去噪器特征可作为下游条件生成和预训练任务中有效且通用的表征。

提出的方法

  • 利用预训练U-Net去噪器的内部特征表示作为鲁棒的、抗噪声的特征提取器以实现条件化。
  • 利用最终图像 $\mathbf{x}_0$ 的噪声估计,在条件扩散过程中使用这些特征来引导采样。
  • 在去噪器特征上训练拒绝分类器,以过滤低质量生成样本,从而整体提升样本质量。
  • 在小规模数据集(如Tiny ImageNet)上微调条件扩散模型,同时利用预训练去噪器的内部表征进行引导。
  • 将真实数据与合成数据结合用于下游分类任务,利用高质量合成图像增强训练集。
  • 将该方法与标准数据增强技术(如Mixup和Cutmix)结合,进一步提升模型泛化能力。
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

实验结果

研究问题

  • RQ1预训练无条件扩散去噪器的内部表征是否可有效用于在标注样本有限的情况下引导条件生成?
  • RQ2去噪器特征在支持多样化条件生成任务(如属性条件和掩码条件图像生成)方面表现如何?
  • RQ3通过该方法生成的合成数据在有限数据基准上的下游分类准确率提升程度如何?
  • RQ4基于去噪器特征的拒绝采样是否显著提升了生成合成数据的质量?

主要发现

  • 当使用该方法生成的合成图像增强真实数据时,该方法在Tiny ImageNet上的分类准确率最高提升了8%。
  • 当在仅使用真实数据的基础上,加入30万张合成图像进行训练时,ResNeXt-50的top-1准确率达到63.15%,相比仅使用真实数据时的53.98%有显著提升。
  • 将合成数据与标准图像级增强技术(如Mixup和Cutmix)结合后,准确率进一步提升,ResNeXt-50在70万张合成图像上达到67.05%的准确率。
  • 当合成图像数量超过30万张后,性能提升出现边际递减,表明性能增益已达到饱和点。
  • 基于去噪器特征的拒绝采样至关重要——若无此步骤,合成数据无法提升性能,证实其在过滤低质量样本中的关键作用。
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.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。