AlgorithmsMachineLearningProbabilityTheoryStatistics
This is a message passing algorithm that utilizes the sum and product rules of probability for exact and efficient inference i.e. computing marginal distributions in a Probabilistic Graphical Model. The algorithm is as follows, where is any node along a path from an (arbitrary) root node to leaf node:
Pick an arbitrary node as the root,
Compute recursive factorizations of the marginals (below) starting from the root node to the leaves:
Compute recursive factorizations of the marginals (below) starting from the leaf nodes to the root:
Compute the product of messages at each node required for the marginal
Normalize
Each path from the arbitrary root to a leaf node forms a Markov chain which has the simplest Conditional Independence structure (a linear chain of pairwise interactions):
and corresponds to a joint factorization Inference consists of computing the marginals When the integrals above are sums over discrete values, this computation is (exponential in ). Substituting in for the corresponding joint factorization and using the sum and product rules one derives the Chapman-Kolmogorov equations: