[Paper Review] Intriguing properties of generative classifiers
The paper shows that zero-shot generative classifiers from text-to-image models exhibit human-like shape bias, near human-level OOD accuracy, human-aligned error patterns, and understanding of visual illusions, outperforming many discriminative models in several aspects.
What is the best paradigm to recognize objects -- discriminative inference (fast but potentially prone to shortcut learning) or using a generative model (slow but potentially more robust)? We build on recent advances in generative modeling that turn text-to-image models into classifiers. This allows us to study their behavior and to compare them against discriminative models and human psychophysical data. We report four intriguing emergent properties of generative classifiers: they show a record-breaking human-like shape bias (99% for Imagen), near human-level out-of-distribution accuracy, state-of-the-art alignment with human classification errors, and they understand certain perceptual illusions. Our results indicate that while the current dominant paradigm for modeling human object recognition is discriminative inference, zero-shot generative models approximate human object recognition data surprisingly well.
Motivation & Objective
- Assess whether generative models can perform object recognition in a zero-shot setting and how their behavior compares to discriminative models and humans.
- Characterize emergent perceptual properties of generative classifiers on challenging out-of-distribution datasets.
- Investigate whether generative classifiers align with human error patterns and comprehend perceptual illusions.
- Explore factors driving shape bias and robustness in generative classifiers and potential implications for brain-inspired perception.
Proposed method
- Treat text-to-image models as zero-shot classifiers by computing class likelihoods p(x|y) using prompts like 'A bad photo of a y.' and selecting the class with the highest likelihood.
- Approximate conditional log-likelihood for diffusion models via the diffusion variational lower bound (Eq. 2).
- Evaluate three model families—Imagen (diffusion), Stable Diffusion (diffusion in latent space), and Parti (autoregressive)—on 17 challenging out-of-distribution datasets from the model-vs-human toolbox.
- Compare against 52 discriminative baselines and human psychophysical data.
- Preprocess images to model-specific resolutions and use a fixed prompting scheme to derive classification decisions.
- Measure shape bias, OOD accuracy, and error consistency across datasets.
Experimental results
Research questions
- RQ1Do zero-shot generative classifiers exhibit human-like shape bias compared to discriminative models?
- RQ2How do generative classifiers perform on out-of-distribution object recognition tasks relative to humans and discriminative models?
- RQ3Do generative classifiers align with human classification errors and reveal human-like perceptual illusion understanding?
- RQ4What factors contribute to shape bias and robustness in diffusion-style generative models?
Key findings
- Imagen achieves 99% shape bias, near-human OOD accuracy, and high error-consistency with humans.
- Stable Diffusion achieves 93% shape bias and strong but slightly lower OOD robustness than Imagen.
- Parti achieves 92% shape bias with substantial OOD robustness and error-consistency gains over many baselines.
- Generative classifiers show human-like error patterns, surpassing prior SOTA discriminative models in error consistency on several datasets.
- They also demonstrate understanding of certain visual illusions through reconstruction-based prompts.
- Across 17 OOD datasets, zero-shot generative classifiers approach human-like performance on robustness tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.