前向和前向-后向算法的代数形式化
An Algebraic Formalization of Forward and Forward-backward Algorithms
摘要:
在本文中,我们提出了一个代数形式化的两个重要类别的动态规划算法称为向前和向前向后算法。他们在这项研究中广泛推广,使广泛的其他现有的算法被归入。本文所推广的前向算法继承了用于序列标记的网格上的普通前向算法、用于CYK分析的推导森林上的内部算法、非循环因子图上的单向消息传递、加法和乘法计算图上的自动微分前向模式等,并揭示了前向算法复杂计算背后的代数结构。借助于揭示的代数结构,我们还提出了一个系统的框架来设计复杂的前向算法的变种。本文所推广的前向-后向算法包括:用于序列标记的网格上的普通前向-后向算法、用于CYK解析的导出森林上的内外算法、非循环因子图上的和-积算法、自动微分的反向模式(a.k.a.反向传播)的加法和乘法的计算图,等等。我们还提出了一个代数特征的什么可以计算的前向-后向算法,并阐明前向和前向-后向算法之间的关系。
英文摘要:
In this paper, we propose an algebraic formalization of the two important classes of dynamic programming algorithms called forward and forward-backward algorithms. They are generalized extensively in this study so that a wide range of other existing algorithms is subsumed. Forward algorithms generalized in this study subsume the ordinary forward algorithm on trellises for sequence labeling, the inside algorithm on derivation forests for CYK parsing, a unidirectional message passing on acyclic factor graphs, the forward mode of automatic differentiation on computation graphs with addition and multiplication, and so on. In addition, we reveal algebraic structures underlying complicated computation with forward algorithms. By the aid of the revealed algebraic structures, we also propose a systematic framework to design complicated variants of forward algorithms. Forward-backward algorithms generalized in this study subsume the ordinary forward-backward algorithm on trellises for sequence labeling, the inside-outside algorithm on derivation forests for CYK parsing, the sum-product algorithm on acyclic factor graphs, the reverse mode of automatic differentiation (a.k.a. back propagation) on computation graphs with addition and multiplication, and so on. We also propose an algebraic characterization of what can be computed by forward-backward algorithms and elucidate the relationship between forward and forward-backward algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。