mlsanityData to 7 Oct 2026

Generative Max-Mahalanobis Classifiers for Image Classification, Generation and More

arXiv 2101.00122 ↗First posted 1 Jan 2021cs.CV cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Joint Energy-based Model (JEM) of Grathwohl et al. shows that a standard softmax classifier can be reinterpreted as an energy-based model (EBM) for the joint distribution p(x,y); the resulting model can be optimized to improve calibration, robustness, and out-of-distribution detection, while generating samples rivaling the quality of recent GAN-based approaches. However, the softmax classifier that JEM exploits is inherently discriminative and its latent feature space is not well formulated as probabilistic distributions, which may hinder its potential for image generation and incur training instability. We hypothesize that generative classifiers, such as Linear Discriminant Analysis (LDA), might be more suitable for image generation since generative classifiers model the data generation process explicitly. This paper therefore investigates an LDA classifier for image classification and generation. In particular, the Max-Mahalanobis Classifier (MMC), a special case of LDA, fits our goal very well. We show that our Generative MMC (GMMC) can be trained discriminatively, generatively, or jointly for image classification and generation. Extensive experiments on multiple datasets show that GMMC achieves state-of-the-art discriminative and generative performances, while outperforming JEM in calibration, adversarial robustness, and out-of-distribution detection by a significant margin. Our source code is available at https://github.com/sndnyang/GMMC.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 24 of its 44 references that are in the map. First posted on arXiv 1 Jan 2021.

Builds on

24 of 44 references.

References · 24

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  5. 2013Intriguing properties of neural networkscited by 5,114
  6. 2017On Calibration of Modern Neural Networkscited by 4,860
  7. 2016Wide Residual Networkscited by 3,057
  8. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  9. 2016Improved Techniques for Training GANscited by 2,938
  10. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  11. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  12. 2016Adversarial Machine Learning at Scalecited by 934
12 more
  1. 2018Robustness May Be at Odds with Accuracycited by 873
  2. 2020NVAE: A Deep Hierarchical Variational Autoencodercited by 635
  3. 2018Do Deep Generative Models Know What They Don't Know?cited by 443
  4. 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
  5. 2018Invertible Residual Networkscited by 364
  6. 2019Residual Flows for Invertible Generative Modelingcited by 256
  7. 2016A Theory of Generative ConvNetcited by 174
  8. 2019On the Anatomy of MCMC-Based Maximum Likelihood Learning of Energy-Based Modelscited by 105
  9. 2019Flow Contrastive Estimation of Energy-Based Modelscited by 75
  10. 2018Rethinking Feature Distribution for Loss Functions in Image Classificationcited by 39
  11. 2019Detecting Out-of-Distribution Inputs to Deep Generative Models Using Typicalitycited by 30
  12. 2018Max-Mahalanobis Linear Discriminant Analysis Networkscited by 18

Built on by

Not cited yet.