arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.04674cs.CL
收藏

使用非确定性堆栈RNN学习上下文无关语言

Learning Context-Free Languages with Nondeterministic Stack RNNs

University of Notre Dame(圣母大学)

Brian DuSell, David Chiang

摘要:

我们提出了一个微分堆栈数据结构,同时和tractably编码指数数量的堆栈配置,基于Lang的算法模拟非确定性下推自动机。我们将这种数据结构与递归神经网络(RNN)控制器的组合称为非确定性堆栈RNN。我们将我们的模型与各种形式语言上的现有堆栈RNN进行比较,证明我们的模型在确定性任务上更可靠地收敛到算法行为,并在固有的非确定性任务上实现更低的交叉熵。

英文摘要:

We present a differentiable stack data structure that simultaneously and tractably encodes an exponential number of stack configurations, based on Lang's algorithm for simulating nondeterministic pushdown automata. We call the combination of this data structure with a recurrent neural network (RNN) controller a Nondeterministic Stack RNN. We compare our model against existing stack RNNs on various formal languages, demonstrating that our model converges more reliably to algorithmic behavior on deterministic tasks, and achieves lower cross-entropy on inherently nondeterministic tasks.

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

↑