Belief Propagation Algorithm
Belief Propagation Algorithm
References:
Factor Graphs and the Sum-Product Algorithm
by Frank R. Kschischang, Brendan J. Frey, and Hans-Andrea Loeliger,
IT Trans. Feb. 2001
Constructing Free Energy Approximations and Generalized Belief
Propagation Algorithms
by Jonathan S. Yedidia, Wiliam T. Freeman, and Yair Weiss
Marginal Functions
gi (xi ) =
g(x1 , . . . , xn )
xi
Example:
posteriori probability distribution p(x | y):
g(x1 , . . . , xn ) = p(x1 , . . . , xn |y)
likelihood function
g(x1 , . . . , xn ) = p(y | x1 , . . . , xn )
Marginalize: estimate individual symbols.
Factor Graph
Consider the class of functions
g(x1 , . . . , xn ) =
fj (Xj )
jJ
Example:
g(x1 , . . . , x5 ) = fA (x1 )fB (x2 )fC (x1 , x2 , x3 )fD (x3 , x4 )fE (x3 , x5 )
1
6
H=6
4 0
1
7
1 7
5
0
=
=
xj+1
Aj xj + Bj uj
yj
Cj xj + Dj wj
Consider
g(x1 , . . . , xn )
f (x1 , . . . , xn | y1 , . . . , yn )
n
Y
j=1
Marginalize:
gn (xn ) = f (xn | y1 , . . . , yn )
gives the MMSE of xn and the estimation error distribution.
jN (a)/i
Belief Propagation
At a variable node, belief
bi (xi )
mai (xi )
aN (i)
nia (xi )
iN (a)
x1 ,x2
xj+1
Aj xj + Bj uj
yj
Cj xj + Dj wj
Pn|n (xn )
=
=
f (xn | y1 , . . . , yn )
Z
f (x1 , . . . , xn | y1 , . . . , yn )d( {xn })
{xn }
Pj+1|j (xj+1 ) =
2
j+1|j , j+1|j
)
Pj|j (xj )N (Aj xj , Bj2 )dxj N (m
Free Energy
For a factor graph probability distribution
M
1 Y
p(x) =
fa (xa )
Z a=1
M
X
logfa (xa )
i=1
Free Energy
Gibbs free energy: for another distribution b(x),
F (b)
=
=
U (b) H(b)
X
X
b(x)E(x) +
b(x) log b(x)
Fhelmholtz + D(b||p)
log fa (xa )
aFR
Bethe Method
Bethe method: a special method of defining the regions and the
counting numbers.
Fixed points of the BP algorithm correspond to stationary points of the
Bethe approximation of the free energy.
BP always have a fixed point
Uniqueness of the stationary points is studied in physics.
BP does not decrease Bethe free energy at each iteration.
Generalized BP.