Deriving discriminative classifiers from generative models

01/03/2022
by   Elie Azeraf, et al.
0

We deal with Bayesian generative and discriminative classifiers. Given a model distribution p(x, y), with the observation y and the target x, one computes generative classifiers by firstly considering p(x, y) and then using the Bayes rule to calculate p(x | y). A discriminative model is directly given by p(x | y), which is used to compute discriminative classifiers. However, recent works showed that the Bayesian Maximum Posterior classifier defined from the Naive Bayes (NB) or Hidden Markov Chain (HMC), both generative models, can also match the discriminative classifier definition. Thus, there are situations in which dividing classifiers into "generative" and "discriminative" is somewhat misleading. Indeed, such a distinction is rather related to the way of computing classifiers, not to the classifiers themselves. We present a general theoretical result specifying how a generative classifier induced from a generative model can also be computed in a discriminative way from the same model. Examples of NB and HMC are found again as particular cases, and we apply the general result to two original extensions of NB, and two extensions of HMC, one of which being original. Finally, we shortly illustrate the interest of the new discriminative way of computing classifiers in the Natural Language Processing (NLP) framework.

READ FULL TEXT
research
12/25/2020

Using the Naive Bayes as a discriminative classifier

For classification tasks, probabilistic models can be categorized into t...
research
10/04/2022

Distance Based Image Classification: A solution to generative classification's conundrum?

Most classifiers rely on discriminative boundaries that separate instanc...
research
11/12/2018

Markov Property in Generative Classifiers

We show that, for generative classifiers, conditional independence corre...
research
02/19/2018

Are Generative Classifiers More Robust to Adversarial Attacks?

There is a rising interest in studying the robustness of deep neural net...
research
12/26/2020

A new class of generative classifiers based on staged tree models

Generative models for classification use the joint probability distribut...
research
11/14/2021

On equivalence between linear-chain conditional random fields and hidden Markov chains

Practitioners successfully use hidden Markov chains (HMCs) in different ...
research
02/05/2023

Revisiting Discriminative vs. Generative Classifiers: Theory and Implications

A large-scale deep model pre-trained on massive labeled or unlabeled dat...

Please sign up or login with your details

Forgot password? Click here to reset