Three binary variables form a chain MRF with , where if and if . What are , , and ?
Probabilistic models, Markov random fields
Level L2 Elementary. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can compute a partition function and marginals for a small MRF by summing products of potentials.
Key idea
Sum the product of potentials over all states to get . Then each probability is a sum of some of these products divided by .
Steps
- Fix . Then the sum over is for either value of . The same holds for the sum over .
- So .
- , which is expected from symmetry.
- The state has unnormalised weight , so .
- can happen as or . For : gives and gives , total 10. By symmetry also gives 10.
- So . Note that and agree more often than chance (0.5), even though they are not neighbours.
Common mistakes
- Forgetting and quoting unnormalised weights as probabilities.
- Treating as a probability table. Its rows need not sum to 1.
- Assuming because they are not connected. They are independent only given .
How long your answer should be
Half a page.
Last checked on 4 December 2026.
Read this
Previous in Probabilistic models: You use a Metropolis random-walk sampler for the unnormalised target . The current state is . Find the acceptance probability for the proposals and . If the uniform random number is for , is it accepted? Why is the normalising constant not needed?
Next in Probabilistic models: A scalar state follows with , and we observe with . After step the belief is . The new observation is . What are the predicted and the updated beliefs?