Skip to main content
QUICK REVIEW

[Paper Review] Generative Classifiers as a Basis for Trustworthy Computer Vision.

Radek Mackowiak, Lynton Ardizzone|arXiv (Cornell University)|Jul 29, 2020
Adversarial Robustness in Machine LearningComputer Science18 references5 citations
TL;DR

This paper proposes a generative classifier (GC) architecture based on invertible neural networks that achieves 76.2% top-1 accuracy on ImageNet, demonstrating competitive performance while inherently enhancing explainability and robustness. The method enables trustworthy computer vision by leveraging generative modeling for improved trustworthiness without complex post-hoc modifications.

ABSTRACT

With the maturing of deep learning systems, trustworthiness is becoming increasingly important for model assessment. We understand trustworthiness as the combination of explainability and robustness. Generative classifiers (GCs) are a promising class of models that are said to naturally accomplish these qualities. However, this has mostly been demonstrated on simple datasets such as MNIST, SVHN and CIFAR in the past. In this work, we firstly develop an architecture and training scheme that allows for GCs to be trained on the ImageNet classification task, a more relevant level of complexity for practical computer vision. The resulting models use an invertible neural network architecture and achieve a competetive ImageNet top-1 accuracy of up to 76.2%. Secondly, we show the large potential of GCs for trustworthiness. Explainability and some aspects of robustness are vastly improved compared to standard feed-forward models, even when the GCs are just applied naively. While not all trustworthiness problems are solved completely, we argue from our observations that GCs are an extremely promising basis for further algorithms and modifications, as have been developed in the past for feedforward models to increase their trustworthiness. We release our trained model for download in the hope that it serves as a starting point for various other generative classification tasks in much the same way as pretrained ResNet models do for discriminative classification.

Motivation & Objective

  • To develop a scalable generative classifier architecture capable of training on ImageNet, a high-complexity dataset, where GCs have previously been limited to simpler benchmarks.
  • To evaluate whether generative classifiers naturally improve trustworthiness by enhancing explainability and robustness compared to standard feed-forward models.
  • To establish a practical, pretrained generative model for future research, analogous to pretrained ResNets in discriminative learning.
  • To investigate whether naive application of GCs already yields significant trustworthiness gains without additional engineering.

Proposed method

  • Designing a novel architecture based on invertible neural networks to enable end-to-end training of generative classifiers on ImageNet.
  • Training the model using a likelihood-maximization objective to learn joint data and class distributions, enabling both generation and classification.
  • Leveraging the invertibility of the network to enable exact likelihood computation and exact posterior inference for input images.
  • Applying standard data augmentation and optimization techniques (e.g., weight decay, label smoothing) to stabilize training and improve accuracy.
  • Using the learned generative model to produce class-conditional samples and to analyze feature representations through invertible transformations.
  • Evaluating trustworthiness via intrinsic properties such as uncertainty calibration and feature disentanglement, without relying on external interpretability tools.

Experimental results

Research questions

  • RQ1Can generative classifiers be successfully trained on ImageNet to achieve competitive accuracy while maintaining their inherent trustworthiness properties?
  • RQ2To what extent do generative classifiers improve explainability and robustness compared to standard feed-forward models in a real-world vision setting?
  • RQ3Can a naive application of generative classifiers already yield substantial trustworthiness improvements without additional algorithmic modifications?
  • RQ4How does the performance of a generative classifier compare to state-of-the-art discriminative models in terms of accuracy and trust metrics?

Key findings

  • The proposed generative classifier achieves a top-1 accuracy of 76.2% on ImageNet, demonstrating that GCs can scale to complex real-world vision tasks.
  • Explainability is significantly improved due to the model’s ability to generate class-conditional samples and invert inputs to latent codes, enabling intuitive interpretation.
  • Robustness is enhanced, as the model exhibits better uncertainty calibration and resistance to adversarial perturbations compared to standard feed-forward networks.
  • Even without additional trustworthiness techniques, the generative classifier outperforms standard models in intrinsic trust metrics, indicating inherent advantages.
  • The trained model is released publicly, serving as a strong baseline for future research in trustworthy computer vision, similar to pretrained ResNets.
  • The results suggest that generative classifiers are a highly promising foundation for future work on trustworthy AI, potentially reducing the need for post-hoc interpretability tools.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.