mlsanityData to 7 Oct 2026

Revisiting Discriminative vs. Generative Classifiers: Theory and Implications

arXiv 2302.02334 ↗First posted 5 Feb 2023cs.LG cs.AI stat.MLcited by 29

Not on the map. Why?

Abstract (arXiv)

A large-scale deep model pre-trained on massive labeled or unlabeled data transfers well to downstream tasks. Linear evaluation freezes parameters in the pre-trained model and trains a linear classifier separately, which is efficient and attractive for transfer. However, little work has investigated the classifier in linear evaluation except for the default logistic regression. Inspired by the statistical efficiency of naive Bayes, the paper revisits the classical topic on discriminative vs. generative classifiers. Theoretically, the paper considers the surrogate loss instead of the zero-one loss in analyses and generalizes the classical results from binary cases to multiclass ones. We show that, under mild assumptions, multiclass naive Bayes requires O(log n) samples to approach its asymptotic error while the corresponding multiclass logistic regression requires O(n) samples, where n is the feature dimension. To establish it, we present a multiclass H-consistency bound framework and an explicit bound for logistic loss, which are of independent interests. Simulation results on a mixture of Gaussian validate our theoretical findings. Experiments on various pre-trained deep vision models show that naive Bayes consistently converges faster as the number of data increases. Besides, naive Bayes shows promise in few-shot cases and we observe the "two regimes" phenomenon in pre-trained supervised models. Our code is available at https://github.com/ML-GSAI/Revisiting-Dis-vs-Gen-Classifiers.

Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). Builds on 20 of its 46 references that are in the map. First posted on arXiv 5 Feb 2023.

Builds on

20 of 46 references.

References · 20

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  7. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  8. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  9. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  10. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  11. 2020Exploring Simple Siamese Representation Learningcited by 2,853
  12. 2021Convex optimizationcited by 2,479
8 more
  1. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
  2. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  3. 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,147
  4. 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
  5. 2021Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Losscited by 311
  6. 2020Predicting What You Already Know Helps: Provable Self-Supervised Learningcited by 152
  7. 2020Contrastive learning, multi-view redundancy, and linear modelscited by 146
  8. 2016A vector-contraction inequality for Rademacher complexitiescited by 141

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 8; 2024: 11; 2025: 9; 2026: 1.

29 papers.

Sort:

By area:

  1. 2023Cross-Entropy Loss Functions: Theoretical Analysis and Applicationscited by 206
  2. 2023Predictor-Rejector Multi-Class Abstention: Theoretical Analysis and Algorithmscited by 36
  3. 2023Advancements in Generative AI: A Comprehensive Review of GANs, GPT, Autoencoders, Diffusion Model, and Transformerscited by 35
  4. 2023Theoretically Grounded Loss Functions and Algorithms for Score-Based Multi-Class Abstentioncited by 32
  5. 2024Regression with Multi-Expert Deferralcited by 29
  6. 2023Ranking with Abstentioncited by 27
  7. 2024Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defercited by 26
  8. 2023Toward Understanding Generative Data Augmentationcited by 25
  9. 2024ChatGLM-RLHF: Practices of Aligning Large Language Models with Human Feedbackcited by 25
  10. 2024Cardinality-Aware Set Prediction and Top-k Classificationcited by 23
  11. 2024H-Consistency Guarantees for Regressioncited by 21
  12. 2024Enhanced H-Consistency Boundscited by 18
17 more
  1. 2025Mastering Multiple-Expert Routing: Realizable H-Consistency and Strong Guarantees for Learning to Defercited by 16
  2. 2025Balancing the Scales: A Theoretical and Algorithmic Framework for Learning from Imbalanced Datacited by 15
  3. 2025Do we really have to filter out random noise in pre-training data for language models?cited by 11
  4. 2023Multiscale Flow for Robust and Optimal Cosmological Analysiscited by 10
  5. 2023Unified Classification and Rejection: A One-versus-All Frameworkcited by 9
  6. 2025Generative Classifiers Avoid Shortcut Solutionscited by 7
  7. 2025Scaling Diffusion Transformers Efficiently via μPcited by 6
  8. 2025Principled Algorithms for Optimizing Generalized Metrics in Binary Classificationcited by 6
  9. 2024Top-k Classification and Cardinality-Aware Predictioncited by 5
  10. 2024On Mesa-Optimization in Autoregressively Trained Transformers: Emergence and Capabilitycited by 5
  11. 2024Generative vs. Discriminative modeling under the lens of uncertainty quantificationcited by 2
  12. 2024Risk-based Calibration for Generative Classifierscited by 2
  13. 2025Exploring Structured Semantic Priors Underlying Diffusion Score for Test-time Adaptationcited by 2
  14. 2024Causal Interpretability for Adversarial Robustness: A Hybrid Generative Classification Approachcited by 0
  15. 2025Generative Classifier for Domain Generalizationcited by 0
  16. 2025The Hidden Cost of Modeling P(X): Vulnerability to Membership Inference Attacks in Generative Text Classifierscited by 0
  17. 2026Generative Cross-Entropy: A Strictly Proper Loss for Data-Efficient Classificationcited by 0