Factor graph
From Wikipedia, the free encyclopedia
In mathematics, a factor graph is an X,F-bipartite graph where is a set of variables and is a set of factors. A factor fj is a function mapping from a subset of variables to some range (such as the interval between 0 and 1). This graph represents the factorisation
where is an assignment to all variables in X and is the assignment of to all variables in Xj.
When using a factor graph to represent a probability distribution, each factor can be thought of as small distribution over a subset of the variables. The joint distribution is made up from the product of the individual distributions. Factor graphs can be used to describe large distributions in which many pairs of variables are stochastically independent by explicitly listing only those groups of variables which are stochastically dependent.
Inference over a factor graph can be done using a message passing algorithm such as belief propagation. This is much more efficient than marginalization over a general distribution (which sums over every possible value of every variable, resulting in an exponential amount of summands), because the message passing approach exploits the locality properties of the factor graph.
Other probabilistic models such as Markov networks and Bayesian networks can be represented as factor graphs; the latter representation is frequently used when performing inference over such networks using belief propagation. On the other hand, Bayesian networks are more naturally suited for generative models, as they can directly represent the causalities of the model.
[edit] See also
[edit] External links
[edit] References
- Frey, Brendan J. Frey (2003), “Extending Factor Graphs so as to Unify Directed and Undirected Graphical Models”, in jain, Nitin, UAI'03, Proceedings of the 19th Conference in Uncertainty in Artificial Intelligence, August 7–10, Acapulco, Mexico, Morgan Kaufmann, pp. 257–264
- Kschischang, Frank R.; Brendan J. Frey and Hans-Andrea Loeliger (2001). "Factor Graphs and the Sum-Product Algorithm". IEEE Transactions on Information Theory 47 (2): 498–519. doi: .