Question: Consider a binary variable Markov Random Field ( p ( mathbf { x } ) = Z ^ { - 1 }

Consider a binary variable Markov Random Field \(p(\mathbf{x})= Z^{-1}\prod_{i>j}\phi(x_i, x_j)\), defined on the \(n \times n\) lattice with \(\phi(x_i, x_j)= e^{\left(\prod [[x_i = x_j]]\right)}\) for \(i\) a neighbor of \(j\) on the lattice and \(i>j\). A naive way to perform inference is to first stack all the variables in the \(t^{th}\) column and call this cluster variable \(X_t\), as shown below for a \(3\times 3\) lattice. The resulting graph is then singly connected. What is the complexity of computing the normalization constant based on this cluster representation? Compute \(\log Z\) for \(n =10\)?
You need to provide your software code for answering \(\log(Z)\) for \(n=10\). Give also your answer for \(\log(Z)\) so that we do not need to run code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!