Probabilistic Graphical Models
Probabilistic Graphical Models
Sergio Barbarossa
(1)
where is the state of the random variables in the c-th clique, and the
normalizing constant Z (also called a partition function) is
Example
Any density that factorizes according to this graph must have the form
Bayesian networks are directed acyclic graphs (DAG) whose nodes represent
random variables and whose arcs encode conditional independencies between
the variables
Two sets of nodes X and Y are d-separated by a third set Z, if the corresponding
variable sets X and Y are statistically independent given the variables in Z
The minimal set of nodes which d-separates node X from all other nodes is given
by X 's Markov blanket
Example
a
If the product is positive for any x, introducing the function Vc (xc ) := log c (xc )
the pdf can be written in exponential form
1
pX (x) = exp{ Vc (xc )}
Z
c C
This is known, in physics, as the Gibbs (or Boltzman) distribution with interaction
potential and energy
UX (x) = Vc (xc )
c C
If i and j are not neighbors, xi and xj are independent, conditioned to the others
A random vector X = (X1, . . . , Xn) is Markov with respect to a graph G if, for all
vertex cutsets S breaking the graph into disjoint pieces A and B, the conditional
independence statement XA YB /XS holds
The most probable configuration is then the solution of the sparse system
Prop. 2: Each off diagonal entry of the inverse covariance matrix, scaled to
have a unit diagonal, is the negative of the partial correlation
coefficient between the two corresponding variables, partialled on all
the remaining variables
For each graph, the grey nodes are the neighbors of the white one
In particular
Main idea: Estimate covariance matrix and infer graph topology G = (V, E) from
1
:=
ij =0 (i, j) / E
k=1
(2 )n |C|
K
nK K 1
ln pX (x) = + ln xTk xk
2 2 2
k=1
Maximum Likelihood estimate
If K < n, the sample covariance matrix is not invertible and the solution can be
sought as
[3] P. Perez, “Markov Random Fields and Images”, CWI Quart., 1998.
[4] S. Geman, D. Geman, “Stochastic Relaxation, Gibbs Distribution, and the Bayesian
Restoration of Images”, IEEE Tr. on Pattern Analysis and Machine Intelligence, 1984