How to factorize the joint probability of an arbitrary graph whose nodes are random variables? - MathOverflow most recent 30 from http://mathoverflow.net 2013-05-23T04:50:29Z http://mathoverflow.net/feeds/question/39974 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/39974/how-to-factorize-the-joint-probability-of-an-arbitrary-graph-whose-nodes-are-rand How to factorize the joint probability of an arbitrary graph whose nodes are random variables? eakbas 2010-09-25T21:32:14Z 2010-09-26T15:53:50Z <p>This question is about graphical modeling of joint probability functions, Markovian property and Markov random fields. </p> <p>Suppose we have an undirected graph G where each node represents a random variable and an edge between two nodes says that there is a probabilistic relation in between them. I want to model the joint probability of these variables and to simplify things I assume that the graph/nodes have Markovian property. This should let me write the joint as a factorization over ``local" clique potentials. </p> <p>In C. Bishop's Pattern Recog. and Machine Learning book, Chapter 8, pp. 386 (<a href="http://research.microsoft.com/en-us/um/people/cmbishop/prml/Bishop-PRML-sample.pdf" rel="nofollow">pdf of the chapter</a>), it is said that the joint distribution is written as a product of potential functions over the <b>maximal cliques</b> of the graph: </p> <p>$p(x) = \frac{1}{Z} \prod_C \psi_C(x_C)$ (eq. 8.39)</p> <p>However, in Stan Li's <a href="http://www.nlpr.ia.ac.cn/users/szli/MRF_Book/MRF_Book.html" rel="nofollow">book on MRFs</a>, he says this factorization is done over <b>all possible cliques</b> of the graph: see equation (1.26) and (1.27) in <a href="http://www.nlpr.ia.ac.cn/users/szli/MRF_Book/Chapter_1/node12.html#SECTION00323000000000000000" rel="nofollow">http://www.nlpr.ia.ac.cn/users/szli/MRF_Book/Chapter_1/node12.html#SECTION00323000000000000000</a>. </p> <p>Stan Li's explanation makes more sense to me. Which one do you think is correct? Or, might they be just different wording of the same fact? Any help would be appreciated. </p> http://mathoverflow.net/questions/39974/how-to-factorize-the-joint-probability-of-an-arbitrary-graph-whose-nodes-are-rand/39985#39985 Answer by R Hahn for How to factorize the joint probability of an arbitrary graph whose nodes are random variables? R Hahn 2010-09-26T00:26:42Z 2010-09-26T15:53:50Z <p>As I read it, Bishop is asserting that for each maximal clique $C$ we may define the potential as $\psi_C(x_C) = \prod_S U_S(x_S)$ where $S$ denotes cliques which are subsets of $C$ (and $U$ is the energy, as in the link from Li). This is how I interpret "[if $C$] is a maximum clique, and we define an arbitrary function over this clique, then including another factor defined over a subset of these variables would be redundant." It is potentially confusing because, as typical in statistics, the symbol $\psi$ is overloaded to allow different functional form for any clique. In any case, Bishop defines each maximal clique potential in terms of a factorization over all subset cliques. Substitution gives back the other definition.</p>