Lably
Skip to content

Factor graph

Function graph representing factorization

  • 2 min read
  • 3 chapters

Related on Lably

Through Factorization, Function (mathematics) and Code

Factor graphs generalize constraint graphs. A factor whose value is either 0 or 1 is called a constraint. A constraint graph is a factor graph where all factors are constraints. The max-product algorithm for factor graphs can be viewed as a generalization of the arc-consistency algorithm for constraint processing.

Definition

A factor graph is a bipartite graph representing the factorization of a function. Given a factorization of a function g(X1,X2,…,Xn),

g(X1,X2,…,Xn)=∏j=1mfj(Sj),

where Sj⊆{X1,X2,…,Xn}, the corresponding factor graph G=(X,F,E) consists of variable vertices X={X1,X2,…,Xn}, factor vertices F={f1,f2,…,fm}, and edges E. The edges depend on the factorization as follows: there is an undirected edge between factor vertex fj and variable vertex Xk if Xk∈Sj. The function is tacitly assumed to be real-valued: g(X1,X2,…,Xn)∈R.

Factor graphs can be combined with message passing algorithms to efficiently compute certain characteristics of the function g(X1,X2,…,Xn), such as the marginal distributions.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Statistics