Deep Linear Discriminant Analysis Revisited
Maxat Tezekbayev, Rustem Takhanov, Arman Bolatov, Zhenisbek Assylbekov
TL;DR
This work addresses the tension between generative modeling and discriminative performance in Deep LDA. It shows that unconstrained maximum-likelihood training can produce degenerate, poorly discriminative embeddings, while pure discriminative training with cross-entropy breaks the probabilistic interpretation of the LDA head. The authors propose the Discriminative Negative Log-Likelihood (DNLL), a simple penalty that augments the LDA likelihood with a density term to discourage high-overlap regions, thereby maintaining a coherent generative structure while preserving discrimination. On synthetic data and image benchmarks, DNLL yields clean latent spaces, competitive accuracy to softmax classifiers, and substantially improved probability calibration. The findings offer a practical pathway to principled deep discriminant models with reliable uncertainty estimates and suggest the DNLL loss as a scalable regularizer for probabilistic deep learning systems.
Abstract
We show that for unconstrained Deep Linear Discriminant Analysis (LDA) classifiers, maximum-likelihood training admits pathological solutions in which class means drift together, covariances collapse, and the learned representation becomes almost non-discriminative. Conversely, cross-entropy training yields excellent accuracy but decouples the head from the underlying generative model, leading to highly inconsistent parameter estimates. To reconcile generative structure with discriminative performance, we introduce the \emph{Discriminative Negative Log-Likelihood} (DNLL) loss, which augments the LDA log-likelihood with a simple penalty on the mixture density. DNLL can be interpreted as standard LDA NLL plus a term that explicitly discourages regions where several classes are simultaneously likely. Deep LDA trained with DNLL produces clean, well-separated latent spaces, matches the test accuracy of softmax classifiers on synthetic data and standard image benchmarks, and yields substantially better calibrated predictive probabilities, restoring a coherent probabilistic interpretation to deep discriminant models.
