Classification Accuracy Score for Conditional Generative Models

By Suman V. Ravuri, Oriol Vinyals. 2019

272 citations recorded by the source corpus.

Deep generative models (DGMs) of images are now sufficiently mature that they produce nearly photorealistic samples and obtain scores similar to the data distribution on heuristics such as Frechet Inception Distance (FID). These results, especially on large-scale datasets such as ImageNet, suggest that DGMs are learning the data distribution in a perceptually meaningful space and can be used in downstream tasks. To test this latter hypothesis, we use class-conditional generative models from a number of model classes---variational autoencoders, autoregressive models, and generative adversarial networks (GANs)---to infer the class labels of real data. We perform this inference by training an image classifier using only synthetic data and using the classifier to predict labels on real data. The performance on this task, which we call Classification Accuracy Score (CAS), reveals some surprising results not identified by traditional metrics and constitute our contributions. First, when using a state-of-the-art GAN (BigGAN-deep), Top-1 and Top-5 accuracy decrease by 27.9\% and 41.6\%, respectively, compared to the original data; and conditional generative models from other model classes, such as Vector-Quantized Variational Autoencoder-2 (VQ-VAE-2) and Hierarchical Autoregressive Models (HAMs), substantially outperform GANs on this benchmark. Second, CAS automatically surfaces particular classes for which generative models failed to capture the data distribution, and were previously unknown in the literature. Third, we find traditional GAN metrics such as Inception Score (IS) and FID neither predictive of CAS nor useful when evaluating non-GAN models. Furthermore, in order to facilitate better diagnoses of generative models, we open-source the proposed metric.

Subfields: Computer Vision and Pattern Recognition, General Social Sciences, Generative Models, Evaluation & Benchmarks

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Ming-Hsuan Yang
  4. Trevor Darrell
  5. Jitendra Malik
  6. Xiaogang Wang
  7. Andrew Zisserman
  8. Andrea Vedaldi

In General Social Sciences

  1. Tianfu Wu
  2. Richard Zhang
  3. Jun-Yan Zhu
  4. Gaurav Parmar
  5. Tobias Hinz
  6. Quoc V. Le
  7. Jonathon Shlens
  8. Barret Zoph

In Generative Models

  1. Jun-Yan Zhu
  2. Richard Zhang
  3. Eli Shechtman
  4. Alexei A. Efros
  5. Stefano Ermon
  6. Jonathan Ho
  7. Mohammad Norouzi
  8. Daniel Cohen-Or

In Evaluation & Benchmarks

  1. Jun-Yan Zhu
  2. Richard Zhang
  3. Ali Borji
  4. Neil Houlsby
  5. Quoc V. Le
  6. Alexei A. Efros
  7. Tianfu Wu
  8. Xiaohua Zhai

Citations in the corpus