arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.13895cs.LGcs.FLstat.ML
收藏

用反例和反例学习确定性加权自动机

Learning Deterministic Weighted Automata with Queries and Counterexamples

Technion(以色列理工学院);Bar Ilan University(巴伊兰大学);Allen Institute for AI(艾伦人工智能研究所)

Gail Weiss, Yoav Goldberg, Eran Yahav

摘要:

我们提出了一个算法,从一个给定的黑盒语言模型,如递归神经网络(RNN)的概率确定性有限自动机(PDFA)的提取。该算法是精确学习算法L* 的变体,适用于具有噪声的概率设置。关键的见解是使用条件概率的观察,并在比较它们时引入局部公差。当应用于RNN时,我们的算法往往比从相同的网络中提取加权有限自动机(WFA)的谱实现更好的字出错率(WER)和归一化分布累积增益(NDCG)。PDFA比n-gram更有表现力,并且保证是随机和确定性的-不像光谱提取的WFAs。

英文摘要:

We present an algorithm for extraction of a probabilistic deterministic finite automaton (PDFA) from a given black-box language model, such as a recurrent neural network (RNN). The algorithm is a variant of the exact-learning algorithm L*, adapted to a probabilistic setting with noise. The key insight is the use of conditional probabilities for observations, and the introduction of a local tolerance when comparing them. When applied to RNNs, our algorithm often achieves better word error rate (WER) and normalised distributed cumulative gain (NDCG) than that achieved by spectral extraction of weighted finite automata (WFA) from the same networks. PDFAs are substantially more expressive than n-grams, and are guaranteed to be stochastic and deterministic - unlike spectrally extracted WFAs.

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

↑