Markov and factor graphs
What it is
Undirected models where the joint distribution factors over cliques; inference by belief propagation or graph cuts.
When to use it
Image segmentation and denoising, stereo, and any grid-structured structured-prediction problem.
Caveats
The normalizing constant (partition function) is intractable in general, which makes learning hard. Exact inference is feasible only for low-treewidth graphs, and loopy belief propagation may not converge.
Key ideas
- Undirected models: the joint distribution is a product of local potentials
- Factor graphs draw each potential as its own node, making the structure explicit
- Belief propagation passes messages along the graph to compute marginals
Related architectures
Original paper
Stochastic Relaxation, Gibbs Distributions, and the Bayesian Restoration of Images (1984, DOI)