Generative vs discriminative model

  • Thread starter Thread starter pamparana
  • Start date Start date
  • Tags Tags
    Model
pamparana
Messages
123
Reaction score
0
Hello everyone,

I have a question about generative and discriminative models. As I understand it generative models aim to model the joint distribution p(x,y) of the input x and output y and the discriminative approach estimates the conditional distribution p(y|x). I understand that the generative approach is more complex but I have a small niggle...

Applying Bayes rule, we have the conditional distribution

p(y|x) = p(x|y) p(y)/p(x)

which is equal to:

P(y|x) = p(x, y)/p(x)

So it seems when we want to model discriminative modelling, we have to estimate this joint distribution (in he numerator) as well. I am sure this is wrong and I have a flaw in my understanding but I cannot seem to figure it out. Is there something about this modelling process that I am not understanding. Perhaps we do not estimate it in this way?

Also, a markov random field defined over an undirected graph, is it a joint distribution?

I would really appreciate any help anyone can give me on this.

Thanks,
Luc
 
Physics news on Phys.org
P(x|y) has less information than P(x,y), because you can get the former from the latter, but not the latter from the former. For certain data sets, one can estimate parameters for a model of P(x|y) without the intermediate step of modelling P(x,y).

There is an interesting discussion on the advantages and disadvantages of explicitly learning P(x,y) as an intermediate step in modelling P(x|y) in http://ai.stanford.edu/~ang/papers/nips01-discriminativegenerative.pdf.
 
Last edited:
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top