Skip to yearly menu bar Skip to main content


Spotlight
in
Workshop: Mathematical and Empirical Understanding of Foundation Models (ME-FoMo)

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

Kevin Clark · Priyank Jaini

Keywords: [ zero-shot ] [ generative models ] [ foundation models ] [ Diffusion Models ] [ text-to-image ]


Abstract:

Text-to-image diffusion models have demonstrated remarkable generative capabilities, suggesting they learn informative representations of image-text data. However, their abilities are 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 textual description of a label as a proxy for that label's likelihood.We apply our method to Imagen, using it to probe fine-grain aspects of Imagen's knowledge and comparing it with CLIP's zero-shot abilities. Imagen performs competitively with CLIP on a wide range of zero-shot image classification datasets. Additionally, it is more robust than CLIP and can successfully perform attribute binding while CLIP does not. Although generative pre-training is common 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 visual and vision-language problems.

Chat is not available.