统计推断(十一) Sum-product algorithm
和积算法/信念传播算法
1. Sum-product(Message passing) on trees
目的是为了计算边缘分布,相比于 elimination 的优势在于可以用较少的计算次数计算所有随机变量的边缘分布,关键在于复用 message
algorithm
Step 1: Compute messages
Step 2: Compute marginals
Remarks
2. Sum-product algorithm on factor trees
algorithm
Message from variable to factor
Message from factor to variable
3. Max-Product for undirected tree/factor tree
4. Parallel Max-Product
所有节点同时运算,至多需要 d(最长path的length) 次迭代即可
trick: 整体的减少乘法次数
统计推断(十一) Sum-product algorithm
https://glooow1024.github.io/2020/02/03/statistic/SI_Ch11_Sumproduct/
Powered By Valine
v1.4.16
v1.4.16