Inside-Outside and Forward-Backward Algorithms Are Just Backprop (tutorial paper)
Inside-Outside and Forward-Backward Algorithms Are Just Backprop (tutorial paper)
复制标题
DOI:
10.18653/v1/w16-5901
复制
发表时间:
2016-11
影响因子:
3.8
通讯作者:
Jason Eisner
中科院分区:
文献类型:
--
作者:
Jason Eisner
A probabilistic or weighted grammar implies a posterior probability distribution over possible parses of a given input sentence. One often needs to extract information from this distribution, by computing the expected counts (in the unknown parse) of various grammar rules, constituents, transitions, or states. This requires an algorithm such as inside-outside or forward-backward that is tailored to the grammar formalism. Conveniently, each such al-gorithm can be obtained by automatically differentiating an “inside” algorithm that merely computes the log-probability of the evidence (the sentence). This mechanical procedure produces correct and efficient code. As for any other instance of back-propagation, it can be carried out manually or by software. This pedagogical paper carefully spells out the construction and relates it to traditional and non-traditional views of these algorithms.