|
Hello -- So my question is regarding markov random fields. Assume I have a graph such that two vertices (states) are connected by some edge iff there is a markov relationship between the two states. I have a potential function that can describe the interaction between any two connected states. I have four questions: 1) In this undirected mrf I have some cliques of size 3 (ie. [{state1--state2} {state1--state3} {state2--state3}]). Thus, instead of taking maximal cliques, is it still correct for me to instead factorize with only pairwise interactions? I feel the answer should be yes, since I can create a dummy state breaking the clique size 3 into 4 cliques of size 2. 2) In this undirected mrf, I have a state (state4) which loops back (ie. [{state3--state4} {state4--state4} {state4--state5}]. Are self loops allowed in mrfs? 3) Would a factor graph representation be more appropriate for avoiding these issues? 4) Are feature functions from CRFs and potential functions from MRFs the same? Thanks. |
|
|
1) A Markov random field doesn't fully specify the model, so a clique of size 3 can correspond to many different factors. If you leave only pairwise interactions your model is weaker than one that allows for three-way interactions. See this question on this website for some discussion on representations of factor graphs. 2) You mean, can you put a factor that depends only on one node? The answer is yes, I think. 3) Yes. A factor graph representation is very good precisely for clearing up this sort of issues, as I said in point (1) 4) Yes. The only difference between CRFs and MRFs is the likelihood you optimize when learning the parameters: for crfs it's P(Y|X) (for appropriate disjoint sets of variables Y and X) and for mrfs it's P(X,Y). This makes training CRFs easier in some cases, since you only have to marginalize over Y, which can be done exactly in linear-chain and tree cases. |