arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.08701cs.CLcs.FLcs.ITmath.IT
收藏

概率模型的加权有限自动机逼近

Approximating probabilistic models as weighted finite automata

Google Inc.(谷歌公司)

Ananda Theertha Suresh, Brian Roark, Michael Riley, Vlad Schogol

摘要:

加权有限自动机(WFA)通常用于表示概率模型,如$n$ -gram语言模型,因为它们在时间和空间上都是有效的识别任务。然而,被表示为WFA的概率源可以有许多形式。给定序列上的通用概率模型,我们提出了一种算法来近似它作为一个加权的有限自动机,使源模型和WFA目标模型之间的Kullback-Leiber分歧最小化。该算法包括一个计数步骤和一个差分凸优化步骤,这两个步骤都可以有效地执行。我们证明了我们的方法在各种任务上的有用性,包括从神经模型中提取$n$ -gram模型,构建紧凑的语言模型,以及构建开放词汇字符模型。用于这些实验的算法可在开源软件库中获得。

英文摘要:

Weighted finite automata (WFA) are often used to represent probabilistic models, such as $n$-gram language models, since they are efficient for recognition tasks in time and space. The probabilistic source to be represented as a WFA, however, may come in many forms. Given a generic probabilistic model over sequences, we propose an algorithm to approximate it as a weighted finite automaton such that the Kullback-Leiber divergence between the source model and the WFA target model is minimized. The proposed algorithm involves a counting step and a difference of convex optimization step, both of which can be performed efficiently. We demonstrate the usefulness of our approach on various tasks, including distilling $n$-gram models from neural models, building compact language models, and building open-vocabulary character models. The algorithms used for these experiments are available in an open-source software library.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑