Hammersley–Clifford theorem

From testwiki
Jump to navigation Jump to search

The Hammersley–Clifford theorem is a result in probability theory, mathematical statistics and statistical mechanics that gives necessary and sufficient conditions under which a strictly positive probability distribution can be represented as events generated by a Markov network (also known as a Markov random field). It is the fundamental theorem of random fields.[1] It states that a probability distribution that has a strictly positive mass or density satisfies one of the Markov properties with respect to an undirected graph G if and only if it is a Gibbs random field, that is, its density can be factorized over the cliques (or complete subgraphs) of the graph.

The relationship between Markov and Gibbs random fields was initiated by Roland Dobrushin[2] and Frank Spitzer[3] in the context of statistical mechanics. The theorem is named after John Hammersley and Peter Clifford, who proved the equivalence in an unpublished paper in 1971.[4][5] Simpler proofs using the inclusion–exclusion principle were given independently by Geoffrey Grimmett,[6] Preston[7] and Sherman[8] in 1973, with a further proof by Julian Besag in 1974.[9]

Proof outline

A simple Markov network for demonstrating that any Gibbs random field satisfies every Markov property.

It is a trivial matter to show that a Gibbs random field satisfies every Markov property. As an example of this fact, see the following:

In the image to the right, a Gibbs random field over the provided graph has the form Pr(A,B,C,D,E,F)f1(A,B,D)f2(A,C,D)f3(C,D,F)f4(C,E,F). If variables C and D are fixed, then the global Markov property requires that: A,BE,F|C,D (see conditional independence), since C,D forms a barrier between A,B and E,F.

With C and D constant, Pr(A,B,E,F|C=c,D=d)[f1(A,B,d)f2(A,c,d)][f3(c,d,F)f4(c,E,F)]=g1(A,B)g2(E,F) where g1(A,B)=f1(A,B,d)f2(A,c,d) and g2(E,F)=f3(c,d,F)f4(c,E,F). This implies that A,BE,F|C,D.

To establish that every positive probability distribution that satisfies the local Markov property is also a Gibbs random field, the following lemma, which provides a means for combining different factorizations, needs to be proved:

Lemma 1 provides a means for combining factorizations as shown in this diagram. Note that in this image, the overlap between sets is ignored.

Lemma 1

Let U denote the set of all random variables under consideration, and let Θ,Φ1,Φ2,,ΦnU and Ψ1,Ψ2,,ΨmU denote arbitrary sets of variables. (Here, given an arbitrary set of variables X, X will also denote an arbitrary assignment to the variables from X.)

If

Pr(U)=f(Θ)i=1ngi(Φi)=j=1mhj(Ψj)

for functions f,g1,g2,gn and h1,h2,,hm, then there exist functions h'1,h'2,,h'm and g'1,g'2,,g'n such that

Pr(U)=(j=1mh'j(ΘΨj))(i=1ng'i(Φi))

In other words, j=1mhj(Ψj) provides a template for further factorization of f(Θ).

Template:Collapse top

In order to use j=1mhj(Ψj) as a template to further factorize f(Θ), all variables outside of Θ need to be fixed. To this end, let θ¯ be an arbitrary fixed assignment to the variables from UΘ (the variables not in Θ). For an arbitrary set of variables X, let θ¯[X] denote the assignment θ¯ restricted to the variables from XΘ (the variables from X, excluding the variables from Θ).

Moreover, to factorize only f(Θ), the other factors g1(Φ1),g2(Φ2),...,gn(Φn) need to be rendered moot for the variables from Θ. To do this, the factorization

Pr(U)=f(Θ)i=1ngi(Φi)

will be re-expressed as

Pr(U)=(f(Θ)i=1ngi(ΦiΘ,θ¯[Φi]))(i=1ngi(Φi)gi(ΦiΘ,θ¯[Φi]))

For each i=1,2,...,n: gi(ΦiΘ,θ¯[Φi]) is gi(Φi) where all variables outside of Θ have been fixed to the values prescribed by θ¯.

Let f(Θ)=f(Θ)i=1ngi(ΦiΘ,θ¯[Φi]) and g'i(Φi)=gi(Φi)gi(ΦiΘ,θ¯[Φi]) for each i=1,2,,n so

Pr(U)=f(Θ)i=1ng'i(Φi)=j=1mhj(Ψj)

What is most important is that g'i(Φi)=gi(Φi)gi(ΦiΘ,θ¯[Φi])=1 when the values assigned to Φi do not conflict with the values prescribed by θ¯, making g'i(Φi) "disappear" when all variables not in Θ are fixed to the values from θ¯.

Fixing all variables not in Θ to the values from θ¯ gives

Pr(Θ,θ¯)=f(Θ)i=1ng'i(ΦiΘ,θ¯[Φi])=j=1mhj(ΨjΘ,θ¯[Ψj])

Since g'i(ΦiΘ,θ¯[Φi])=1,

f(Θ)=j=1mhj(ΨjΘ,θ¯[Ψj])

Letting h'j(ΘΨj)=hj(ΨjΘ,θ¯[Ψj]) gives:

f(Θ)=j=1mh'j(ΘΨj) which finally gives:

Pr(U)=(j=1mh'j(ΘΨj))(i=1ng'i(Φi))

Template:Collapse bottom

The clique formed by vertices x1, x2, and x3, is the intersection of {x1}x1, {x2}x2, and {x3}x3.

Lemma 1 provides a means of combining two different factorizations of Pr(U). The local Markov property implies that for any random variable xU, that there exists factors fx and fx such that:

Pr(U)=fx(x,x)fx(U{x})

where x are the neighbors of node x. Applying Lemma 1 repeatedly eventually factors Pr(U) into a product of clique potentials (see the image on the right).

End of Proof

See also

Notes

Template:Reflist

Further reading