Lably
Skip to content

Markov random field

Set of random variables

  • 7 min read
  • 7 chapters

Related on Lably

Through Physics, Probability and Random variable

A Markov network or MRF is similar to a Bayesian network in its representation of dependencies; the differences being that Bayesian networks are directed and acyclic, whereas Markov networks are undirected and may be cyclic. Thus, a Markov network can represent certain dependencies that a Bayesian network cannot (such as cyclic dependencies ); on the other hand, it can't represent certain dependencies that a Bayesian network can (such as induced dependencies ). The underlying graph of a Markov random field may be finite or infinite.

When the joint probability density of the random variables is strictly positive, it is also referred to as a Gibbs random field, because, according to the Hammersley–Clifford theorem, it can then be represented by a Gibbs measure for an appropriate (locally defined) energy function. The prototypical Markov random field is the Ising model; indeed, the Markov random field was introduced as the general setting for the Ising model. In the domain of artificial intelligence, a Markov random field is used to model various low- to mid-level tasks in image processing and computer vision.

Definition

Given an undirected graph G=(V,E), a set of random variables X=(Xv)v∈V indexed by V form a Markov random field with respect to G if they satisfy the local Markov properties:

Pairwise Markov property: Any two non-adjacent variables are conditionally independent given all other variables:
Xu⊥⊥Xv∣XV∖{u,v}
Local Markov property: A variable is conditionally independent of all other variables given its neighbors:
Xv⊥⊥XV∖N⁡[v]∣XN⁡(v)
where N⁡(v) is the set of neighbors of v, and N⁡[v]=v∪N⁡(v) is the closed neighbourhood of v.
Global Markov property: Any two subsets of variables are conditionally independent given a separating subset:
XA⊥⊥XB∣XS
where every path from a node in A to a node in B passes through S.

The Global Markov property is stronger than the Local Markov property, which in turn is stronger than the Pairwise one. However, the above three Markov properties are equivalent for positive distributions (those that assign only nonzero probabilities to the associated variables).

The relation between the three Markov properties is particularly clear in the following formulation:

  • Pairwise: For any i,j∈V not equal or adjacent, Xi⊥⊥Xj|XV∖{i,j}.
  • Local: For any i∈V and J⊂V not containing or adjacent to i, Xi⊥⊥XJ|XV∖({i}∪J).
  • Global: For any I,J⊂V not intersecting or adjacent, XI⊥⊥XJ|XV∖(I∪J).

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Statistics