SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.01619 · 2026

Deep Linear Discriminant Analysis Revisited

Maxat Tezekbayev, Zhenisbek Assylbekov, Rustem Takhanov, Arman Bolatov

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 2 functions out of this paper's own repositories and ran 2 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
zh3nis/DNLL — 2 of 2
FunctionStatusWhere it lives
DNLLLoss Ran zh3nis/DNLL/dnll.py
code served (permissive licence) · get_code("e339c454dd6d1288")
dnll_loss Ran zh3nis/DNLL/dnll.py
code served (permissive licence) · get_code("b698a11ca2b48942")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 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. * Corresponding author. 2 To avoid confusion with the constant π, we reserve π (and πc) for class prior probabilities, while π denotes the mathematical constant. 3 Throughout, θ denotes the collection of all learnable parameters of the model under consideration; its exact contents will be clear from context.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2601.01619")
get_code_for_paper("2601.01619")
have("2601.01619")

Connect an agent — have() is free.