Definition
Eθ:Ω→R is an energy function, and
Pθ(x)∝e−Eθ(x)
Scaling Eθ controls sharpness, Pθ(x)∝e−βEθ(x) with β=1/T. In terms of potentials, −Eθ(x)=⟨θ,ϕ(x)⟩, where each ϕ is a function of some of the random variables.
Example For x∈{−1,1}n,
P(x)∝e⟨h,x⟩+21⟨x,Ax⟩=exp(i=1∑nhixi+21i,j=1∑nAijxixj)
with A symmetric. If Aij=0 there is no direct relation between xi and xj. Not easy to sample, but the conditionals are simple. Only the terms with xi survive in
P(xi=1∣x−i)=P(xi=1,x−i)+P(xi=−1,x−i)P(xi=1,x−i)=eai+e−aieai,ai=hi+j=i∑Aijxj
which only depends on the neighbours of i. So Xi⊥X({i}∪N(i))c∣XN(i).
Factorization
With C the maximal cliques of G, P factorizes with respect to G if
P(x)∝e−E(x),−E(x)=c∈C∑ϕc(xc),P(x)∝c∈C∏ψc(xc),ψc=eϕc(xc)
Independences
- Global Markov For all A,B,C such that C separates A and B, XA⊥XB∣XC.
- Local Markov Xv⊥X({v}∪Nv)c∣XNv.
- Pairwise Markov For nonadjacent v,w, Xv⊥Xw∣X{v,w}c.
Belief Propagation
For P(x)∝∏iϕi(xi)∏(i,j)∈Eϕij(xi,xj), the message from Xk to its neighbour Xm is
ϕXmXk→Xm(xm)=xk∑ϕXk(xk)ϕXk,Xm(xk,xm)Xi∈N(Xk)∖{Xm}∏ϕXkXi→Xk(xk)