[Paper Review] Revisiting Discriminative vs. Generative Classifiers: Theory and Implications
The paper analyzes multiclass discriminative vs. generative linear classifiers in deep representation learning, proving Naïve Bayes can need as few as O(log n) samples while logistic regression requires O(n); it develops a multiclass H-consistency framework and validates findings empirically.
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 $\mathcal{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.
Motivation & Objective
- Revisit the classical discriminative vs. generative classifier comparison in the context of deep linear evaluation.
- Generalize Ng & Jordan (2001) results from binary to multiclass settings.
- Introduce a multiclass H-consistency framework and derive explicit bounds for logistic loss.
- Empirically validate theoretical results on synthetic mixtures and pretrained deep vision models across datasets.
Proposed method
- Develop a multiclass H-consistency bound framework to relate surrogate losses to zero-one loss.
- Derive explicit multiclass bounds for logistic loss and zero-one loss (Theorem 3.3).
- Analyze sample complexity: Naïve Bayes requires O(log n) samples, logistic regression requires O(n) samples (Theorems 3.2 and 3.4).
- Define pair activation and misclassification-gap constructs (e.g., Δa_Gen, G̃(τ)) to bound training-sample effects.
- Make mild distributional assumptions and leverage concentration tools to bound estimation gaps.
- Validate theory with simulations (mixture of Gaussians) and deep-model experiments on CIFAR-10/100.
Experimental results
Research questions
- RQ1What is the relative sample efficiency of multiclass Naïve Bayes versus multiclass logistic regression under surrogate loss in deep representations?
- RQ2Can we extend H-consistency bounds to multiclass settings and obtain explicit logistic loss bounds?
- RQ3Do deep representations exhibit the two-regime phenomenon for discriminative vs. generative classifiers, and how does pretraining mode affect it?
- RQ4How do these theoretical results manifest in linear evaluation setups on CIFAR-10/100 with various pretrained backbones?
Key findings
- Multiclass Naïve Bayes converges to its asymptotic error with O(log n) samples, while multiclass logistic regression requires O(n) samples.
- A multiclass H-consistency framework and an explicit bound for logistic loss are established, enabling distribution-independent zero-one loss control.
- Simulations with Gaussian mixtures validate the theoretical sample complexity results.
- Empirical results on CIFAR-10/100 with multiple pretrained vision models show Naïve Bayes consistently converges faster as data grows, with a noted two-regime phenomenon in supervised-pretrained models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.