统计推断(十) Elimination algorithm

1. Elimination algorithm

  • 主要目的是为了计算边缘分布

  • Reconstituted graph: 若消去的随机变量为 x k x_k ,则所有与 x k x_k 连接的随机变量会形成一个新的 clique

    elimination

  • 复杂度

    • Brute-force marginalization: O ( X N ) O\left(|\mathcal{X}|^N\right)
    • Zig-zag elimination: O ( X N ) O\left(|\mathcal{X}|^{\sqrt{N}}\right)

elimination

2. MAP elimination algorithm

  • 计算 MAP x arg max x X N p x ( x ) \boldsymbol{x}^{*} \in \arg \max _{\boldsymbol{x} \in \mathcal{X}^{N}} p_{\mathbf{x}}(\boldsymbol{x})
    max x , y f ( x ) g ( x , y ) = max x ( f ( x ) max y g ( x , y ) ) x , y f ( x ) g ( x , y ) = x ( f ( x ) y g ( x , y ) ) \begin{array}{l}{\max _{x, y} f(x) g(x, y)=\max _{x}\left(f(x) \max _{y} g(x, y)\right)} \\ {\sum_{x, y} f(x) g(x, y)=\sum_{x}\left(f(x) \sum_{y} g(x, y)\right)}\end{array}

  • example
    p x ( x ) exp ( x 1 x 2 x 1 x 3 x 2 x 4 + x 3 x 4 + x 3 x 5 ) p_{\mathbf{x}}(\boldsymbol{x}) \propto \exp \left(x_{1} x_{2}-x_{1} x_{3}-x_{2} x_{4}+x_{3} x_{4}+x_{3} x_{5}\right)
    map_elimination

  • algorithm

    map_elimination

  • complexicity


其他内容请看:
统计推断(一) Hypothesis Test
统计推断(二) Estimation Problem
统计推断(三) Exponential Family
统计推断(四) Information Geometry
统计推断(五) EM algorithm
统计推断(六) Modeling
统计推断(七) Typical Sequence
统计推断(八) Model Selection
统计推断(九) Graphical models
统计推断(十) Elimination algorithm
统计推断(十一) Sum-product algorithm

发布了42 篇原创文章 · 获赞 34 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/weixin_41024483/article/details/104165251
今日推荐