Author response
Dear reviewer QCiG,
We’d like to thank you for your time and review. We’re happy that you appreciated the historical context of generative vs. discriminative classifiers and found our approach a “**useful contribution**” with “**excellent soundness**” and “**interesting findings & discussion**”. We address the questions and concerns you raised below.
1. *“The general direction of the findings is not terribly surprising, although the exact degree of the results and the precision of this study is still useful I think”:*
We are happy to hear that the reviewer appreciated the “precision of the study” we undertook in this paper. We believe (as also mentioned by reviewer e2eW) that “the significance of the empirical results are the key novelty of the paper”. In particular, we’d like to point out a few aspects where our empirical results are a significant and novel contribution, which can be assessed independently of prior expectations:
- This is the first study to compare modern generative and discriminative classifiers with large-scale human perceptual data on 17 challenging datasets
- The method sets a new SOTA in shape bias (first-ever human-like shape bias by a ML model)
- We demonstrate that generative classifiers achieve SOTA in human error alignment, even though deep learning models of human visual perception (and deep learning models in general) are currently dominated by discriminative classifiers
- We expect a number of different follow-up directions will emerge from this work: in the ML community, harnessing generative pre-training in combination with faster inference (perhaps even via distillation as you suggested?) for various downstream tasks; in the cognitive science community, studying perceptual illusions with generative models; in the neuroscience community, building more accurate models of how generative and discriminative processes might be combined in biological systems like the primate brain.
2. *Distillation:*
That is a very interesting suggestion! Yes, we think it might be possible to distill the scores (i.e., variational lower bound estimates) from Imagen into a discriminative classifier. Next to the computational cost of generating thousands of samples, another practical challenge might be the architectural mismatch between the diffusion model U-Net and most discriminative models; for example a diffusion model has cross attention between the input text and image while a two tower model like CLIP does not. So we are not sure how well it would work in practice, but think it would be an interesting direction to explore in future work. More broadly, our experiment with adding diffusion-style noise to a supervised classifier (Section 4) shows that lessons from diffusion models can be used to improve the shape bias of a discriminative model; which is in line with https://arxiv.org/abs/2304.08466 using a combination of synthetic and natural images to improve ImageNet accuracies.
3. *Probing such that discriminative classifiers have advantage over generative classifiers:*
We note that our experimental evaluation is unbiased since we are using a very broad existing benchmark of 17 datasets that is, in fact, a benchmark designed for discriminative models and not generative models. The results presented in the manuscript are, therefore, in no way cherry-picked in favour of generative models.
Within our experiments, we already see some places where discriminative models are better than generative counterparts: for example, as we observed in Section 3.2 and discuss in Section 5, generative models have a hard time classifying or generating rotated images while discriminative models are easily able to do this. Similarly, in the shape-vs-texture bias experiment, if the objective is to recognize the correct texture, discriminative models have a greater advantage over discriminative models. Finally, as mentioned in Jaini & Clark, 2023, on OCR like datasets (e.g. MNIST, and SVHN), discriminative models are able to achieve near-perfect accuracy while generative models still struggle (Stable Diffusion gets ~18% and Imagen gets ~79% on MNIST).
Thanks again for your questions and thoughts!