arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.15233cs.CVcs.AIcs.LG
收藏

文本到图像扩散模型是零样本分类器

Text-to-Image Diffusion Models are Zero-Shot Classifiers

Google DeepMind(谷歌DeepMind)

Kevin Clark, Priyank Jaini

AI总结:

提出利用扩散模型去噪能力作为标签似然代理的零样本分类方法,在多个数据集上与CLIP相当,并在形状/纹理偏差和属性绑定上超越CLIP,表明生成式预训练是视觉-语言任务的有力替代方案。

摘要:

文本到图像扩散模型卓越的生成能力表明它们学习了图像-文本数据的丰富表示。然而,它们的表示捕获了哪些知识尚未被完全理解,并且它们在下游任务上的应用也未得到深入探索。我们通过提出一种将扩散模型评估为零样本分类器的方法来研究扩散模型。关键思想是,利用扩散模型在给定标签文本描述的情况下对带噪图像进行去噪的能力,作为该标签似然度的代理。我们将该方法应用于Stable Diffusion和Imagen,用以探测模型知识的细粒度方面,并与CLIP的零样本能力进行比较。它们在广泛的零样本图像分类数据集上与CLIP表现相当。此外,它们在形状/纹理偏差测试上取得了最先进的结果,并且能够成功执行属性绑定,而CLIP无法做到。尽管生成式预训练在自然语言处理中普遍存在,但视觉基础模型通常使用对比学习等其他方法。基于我们的发现,我们认为生成式预训练应作为视觉-语言任务的一个有吸引力的替代方案加以探索。

英文摘要:

The excellent generative capabilities of text-to-image diffusion models suggest they learn informative representations of image-text data. However, what knowledge their representations capture is not fully understood, and they have not been thoroughly explored on downstream tasks. We investigate diffusion models by proposing a method for evaluating them as zero-shot classifiers. The key idea is using a diffusion model's ability to denoise a noised image given a text description of a label as a proxy for that label's likelihood. We apply our method to Stable Diffusion and Imagen, using it to probe fine-grained aspects of the models' knowledge and comparing them with CLIP's zero-shot abilities. They perform competitively with CLIP on a wide range of zero-shot image classification datasets. Additionally, they achieve state-of-the-art results on shape/texture bias tests and can successfully perform attribute binding while CLIP cannot. Although generative pre-training is prevalent in NLP, visual foundation models often use other methods such as contrastive learning. Based on our findings, we argue that generative pre-training should be explored as a compelling alternative for vision-language tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑