Your Diffusion Model is Secretly a Zero-Shot Classifier
Alexander C. Li, Mihir Prabhudesai, Shivam Duggal, Ellis Brown, Deepak Pathak
摘要
The recent wave of large-scale text-to-image diffusion models has dramatically increased our text-based image generation abilities. These models can generate realistic images for a staggering variety of prompts and exhibit impressive compositional generalization abilities. Almost all use cases thus far have solely focused on sampling; however, diffusion models can also provide conditional density estimates, which are useful for tasks beyond image generation. In this paper, we show that the density estimates from large-scale text-to-image diffusion models like Stable Diffusion can be leveraged to perform zero-shot classification without any additional training. Our generative approach to classification, which we call Diffusion Classifier, attains strong results on a variety of benchmarks and outperforms alternative methods of extracting knowledge from diffusion models. Although a gap remains between generative and discriminative approaches on zero-shot recognition tasks, our diffusion-based approach has significantly stronger multimodal compositional reasoning ability than competing discriminative approaches. Finally, we use Diffusion Classifier to extract standard classifiers from class-conditional diffusion models trained on ImageNet. Our models achieve strong classification performance using only weak augmentations and exhibit qualitatively better "effective robustness" to distribution shift. Overall, our results are a step toward using generative over discriminative models for downstream tasks. Results and visualizations on our website: diffusion-classifier.github.io/
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 145 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- Robust Classification via a Single Diffusion Model 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Robust Classification via a Single Diffusion Model 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Robust Classification via a Single Diffusion Model 引用了 Diffusion Models Beat GANs on Image Synthesis
- Robust Classification via a Single Diffusion Model 引用了 Denoising Diffusion Probabilistic Models
- A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondence 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondence 引用了 Diffusion Models Beat GANs on Image Synthesis
- A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondence 引用了 Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
- Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Cambrian-1: A Fully Open, Vision-Centric Exploration of Multimodal LLMs 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Cambrian-1: A Fully Open, Vision-Centric Exploration of Multimodal LLMs 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Cambrian-1: A Fully Open, Vision-Centric Exploration of Multimodal LLMs 引用了 Learning Transferable Visual Models From Natural Language Supervision
- SlotDiffusion: Object-Centric Generative Modeling with Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- SlotDiffusion: Object-Centric Generative Modeling with Diffusion Models 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- SlotDiffusion: Object-Centric Generative Modeling with Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
- SlotDiffusion: Object-Centric Generative Modeling with Diffusion Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- SlotDiffusion: Object-Centric Generative Modeling with Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- DreamLLM: Synergistic Multimodal Comprehension and Creation 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- DreamLLM: Synergistic Multimodal Comprehension and Creation 引用了 Learning Transferable Visual Models From Natural Language Supervision
- DreamLLM: Synergistic Multimodal Comprehension and Creation 引用了 Denoising Diffusion Probabilistic Models
引用它的顶会 Paper145
- Cambrian-1: A Fully Open, Vision-Centric Exploration of Multimodal LLMsPeter Tong, Ellis Brown, Penghao Wu, Sanghyun Woo 等NeurIPS 2024 · 1,004 次引用
- A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic CorrespondenceJunyi Zhang, Charles Herrmann, Junhwa Hur, Luisa Polania Cabrera 等NeurIPS 2023 · 371 次引用
- DreamLLM: Synergistic Multimodal Comprehension and CreationRunpei Dong, Chunrui Han, Yuang Peng, Zekun Qi 等ICLR 2024 · 315 次引用
- SlotDiffusion: Object-Centric Generative Modeling with Diffusion ModelsZiyi Wu, Jingyu Hu, Wuyue Lu, Igor Gilitschenski 等NeurIPS 2023 · 106 次引用
- Robust Classification via a Single Diffusion ModelHuanran Chen, Yinpeng Dong, Zhengyi Wang, Xiao Yang 等ICML 2024 · 94 次引用
它引用的 Paper32
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 次引用
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
相关 Paper
- Text-to-Image Diffusion Models are Zero Shot ClassifiersKevin Clark, Priyank JainiNeurIPS 2023 · 192 次引用
- Fake it Till You Make it: Learning Transferable Representations from Synthetic ImageNet ClonesMert Bülent Sariyildiz, Karteek Alahari, Diane Larlus, Yannis KalantidisCVPR 2023
- Wayward Concepts In Multimodal ModelsBrandon Trabucco, Max Gurinas, Kyle Doherty, Russ SalakhutdinovICLR 2025
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video GeneratorsLevon Khachatryan, Andranik Movsisyan, Vahram Tadevosyan, Roberto Henschel 等ICCV 2023 · 800 次引用
- Generative Classifiers Avoid Shortcut SolutionsAlexander Cong Li, Ananya Kumar, Deepak PathakICLR 2025
