Revisiting Discriminative vs. Generative Classifiers: Theory and Implications
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
- 2021Convex optimizationcited by 2,479
8 more
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
- 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,147
- 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
- 2021Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Losscited by 311
- 2020Predicting What You Already Know Helps: Provable Self-Supervised Learningcited by 152
- 2020Contrastive learning, multi-view redundancy, and linear modelscited by 146
- 2016A vector-contraction inequality for Rademacher complexitiescited by 141
Built on by
Citing papers per year: 2023: 8; 2024: 11; 2025: 9; 2026: 1.
29 papers.
Sort:
By area:
- 2023Cross-Entropy Loss Functions: Theoretical Analysis and Applicationscited by 206
- 2023Predictor-Rejector Multi-Class Abstention: Theoretical Analysis and Algorithmscited by 36
- 2023Advancements in Generative AI: A Comprehensive Review of GANs, GPT, Autoencoders, Diffusion Model, and Transformerscited by 35
- 2023Theoretically Grounded Loss Functions and Algorithms for Score-Based Multi-Class Abstentioncited by 32
- 2024Regression with Multi-Expert Deferralcited by 29
- 2023Ranking with Abstentioncited by 27
- 2024Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defercited by 26
- 2023Toward Understanding Generative Data Augmentationcited by 25
- 2024ChatGLM-RLHF: Practices of Aligning Large Language Models with Human Feedbackcited by 25
- 2024Cardinality-Aware Set Prediction and Top-k Classificationcited by 23
- 2024H-Consistency Guarantees for Regressioncited by 21
- 2024Enhanced H-Consistency Boundscited by 18
17 more
- 2025Mastering Multiple-Expert Routing: Realizable H-Consistency and Strong Guarantees for Learning to Defercited by 16
- 2025Balancing the Scales: A Theoretical and Algorithmic Framework for Learning from Imbalanced Datacited by 15
- 2025Do we really have to filter out random noise in pre-training data for language models?cited by 11
- 2023Multiscale Flow for Robust and Optimal Cosmological Analysiscited by 10
- 2023Unified Classification and Rejection: A One-versus-All Frameworkcited by 9
- 2025Generative Classifiers Avoid Shortcut Solutionscited by 7
- 2025Scaling Diffusion Transformers Efficiently via μPcited by 6
- 2025Principled Algorithms for Optimizing Generalized Metrics in Binary Classificationcited by 6
- 2024Top-k Classification and Cardinality-Aware Predictioncited by 5
- 2024On Mesa-Optimization in Autoregressively Trained Transformers: Emergence and Capabilitycited by 5
- 2024Generative vs. Discriminative modeling under the lens of uncertainty quantificationcited by 2
- 2024Risk-based Calibration for Generative Classifierscited by 2
- 2025Exploring Structured Semantic Priors Underlying Diffusion Score for Test-time Adaptationcited by 2
- 2024Causal Interpretability for Adversarial Robustness: A Hybrid Generative Classification Approachcited by 0
- 2025Generative Classifier for Domain Generalizationcited by 0
- 2025The Hidden Cost of Modeling P(X): Vulnerability to Membership Inference Attacks in Generative Text Classifierscited by 0
- 2026Generative Cross-Entropy: A Strictly Proper Loss for Data-Efficient Classificationcited by 0
- 2026Generative Cross-Entropy: A Strictly Proper Loss for Data-Efficient Classification8 Apr 2026
- 2025Generative Classifiers Avoid Shortcut Solutions31 Dec 2025
- 2025Principled Algorithms for Optimizing Generalized Metrics in Binary Classification29 Dec 2025
- 2025The Hidden Cost of Modeling P(X): Vulnerability to Membership Inference Attacks in Generative Text Classifiers17 Oct 2025
- 2025Mastering Multiple-Expert Routing: Realizable H-Consistency and Strong Guarantees for Learning to Defer25 Jun 2025
- 2025Scaling Diffusion Transformers Efficiently via μP21 May 2025
- 2025Generative Classifier for Domain Generalization3 Apr 2025
- 2025Balancing the Scales: A Theoretical and Algorithmic Framework for Learning from Imbalanced Data14 Feb 2025
- 2025Do we really have to filter out random noise in pre-training data for language models?10 Feb 2025
- 2025Exploring Structured Semantic Priors Underlying Diffusion Score for Test-time Adaptation1 Jan 2025
- 2024Causal Interpretability for Adversarial Robustness: A Hybrid Generative Classification Approach28 Dec 2024
- 2024Risk-based Calibration for Generative Classifiers5 Sep 2024
17 more
- 2024Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defer18 Jul 2024
- 2024Enhanced H-Consistency Bounds18 Jul 2024
- 2024Cardinality-Aware Set Prediction and Top-k Classification9 Jul 2024
- 2024Generative vs. Discriminative modeling under the lens of uncertainty quantification13 Jun 2024
- 2024On Mesa-Optimization in Autoregressively Trained Transformers: Emergence and Capability27 May 2024
- 2024ChatGLM-RLHF: Practices of Aligning Large Language Models with Human Feedback1 Apr 2024
- 2024Top-k Classification and Cardinality-Aware Prediction28 Mar 2024
- 2024Regression with Multi-Expert Deferral28 Mar 2024
- 2024H-Consistency Guarantees for Regression28 Mar 2024
- 2023Unified Classification and Rejection: A One-versus-All Framework22 Nov 2023
- 2023Advancements in Generative AI: A Comprehensive Review of GANs, GPT, Autoencoders, Diffusion Model, and Transformers17 Nov 2023
- 2023Predictor-Rejector Multi-Class Abstention: Theoretical Analysis and Algorithms23 Oct 2023
- 2023Theoretically Grounded Loss Functions and Algorithms for Score-Based Multi-Class Abstention23 Oct 2023
- 2023Ranking with Abstention5 Jul 2023
- 2023Multiscale Flow for Robust and Optimal Cosmological Analysis7 Jun 2023
- 2023Toward Understanding Generative Data Augmentation27 May 2023
- 2023Cross-Entropy Loss Functions: Theoretical Analysis and Applications14 Apr 2023
- 2023Cross-Entropy Loss Functions: Theoretical Analysis and Applicationscited by 206
- 2023Predictor-Rejector Multi-Class Abstention: Theoretical Analysis and Algorithmscited by 36
- 2023Theoretically Grounded Loss Functions and Algorithms for Score-Based Multi-Class Abstentioncited by 32
- 2024Regression with Multi-Expert Deferralcited by 29
- 2023Ranking with Abstentioncited by 27
- 2024Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defercited by 26
- 2023Toward Understanding Generative Data Augmentationcited by 25
- 2024Cardinality-Aware Set Prediction and Top-k Classificationcited by 23
- 2024H-Consistency Guarantees for Regressioncited by 21
- 2024Enhanced H-Consistency Boundscited by 18
- 2025Mastering Multiple-Expert Routing: Realizable H-Consistency and Strong Guarantees for Learning to Defercited by 16
- 2025Balancing the Scales: A Theoretical and Algorithmic Framework for Learning from Imbalanced Datacited by 15
12 most cited of 24 All 24 (JSON)
- 2026Generative Cross-Entropy: A Strictly Proper Loss for Data-Efficient Classification8 Apr 2026
- 2025Generative Classifiers Avoid Shortcut Solutions31 Dec 2025
- 2025Principled Algorithms for Optimizing Generalized Metrics in Binary Classification29 Dec 2025
- 2025Mastering Multiple-Expert Routing: Realizable H-Consistency and Strong Guarantees for Learning to Defer25 Jun 2025
- 2025Generative Classifier for Domain Generalization3 Apr 2025
- 2025Balancing the Scales: A Theoretical and Algorithmic Framework for Learning from Imbalanced Data14 Feb 2025
- 2025Do we really have to filter out random noise in pre-training data for language models?10 Feb 2025
- 2024Causal Interpretability for Adversarial Robustness: A Hybrid Generative Classification Approach28 Dec 2024
- 2024Risk-based Calibration for Generative Classifiers5 Sep 2024
- 2024Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defer18 Jul 2024
- 2024Enhanced H-Consistency Bounds18 Jul 2024
- 2024Cardinality-Aware Set Prediction and Top-k Classification9 Jul 2024
12 newest of 24 All 24 (JSON)