非确定性堆栈RNN的惊人计算能力
The Surprising Computational Power of Nondeterministic Stack RNNs
摘要:
传统的递归神经网络(RNN)具有固定的有限数量的存储单元。在理论上(假设有界范围和精度),这将它们的形式语言识别能力限制在正则语言上,而在实践中,RNN已被证明无法学习许多上下文无关语言(CFL)。为了扩展RNN识别的语言类别,先前的工作已经用非确定性堆栈数据结构增强了RNN,使它们与下推自动机并驾齐驱,并将其语言识别能力提高到CFL。不确定性是需要识别所有的CFL(不只是确定性CFL),但在本文中,我们表明,不确定性和神经控制器相互作用,产生两个意想不到的能力。首先,非确定性堆栈RNN不仅可以识别CFL,还可以识别许多非上下文无关语言。其次,它可以识别字母表大小比给定堆栈字母表大小所期望的要大得多的语言。最后,为了增加堆栈中的信息容量,并允许它解决更复杂的任务与大的字母大小,我们提出了一个新版本的非确定性堆栈,模拟堆栈的向量,而不是离散的符号。我们证明了这个新模型的Penn Treebank语言建模基准的困惑改善。
英文摘要:
Traditional recurrent neural networks (RNNs) have a fixed, finite number of memory cells. In theory (assuming bounded range and precision), this limits their formal language recognition power to regular languages, and in practice, RNNs have been shown to be unable to learn many context-free languages (CFLs). In order to expand the class of languages RNNs recognize, prior work has augmented RNNs with a nondeterministic stack data structure, putting them on par with pushdown automata and increasing their language recognition power to CFLs. Nondeterminism is needed for recognizing all CFLs (not just deterministic CFLs), but in this paper, we show that nondeterminism and the neural controller interact to produce two more unexpected abilities. First, the nondeterministic stack RNN can recognize not only CFLs, but also many non-context-free languages. Second, it can recognize languages with much larger alphabet sizes than one might expect given the size of its stack alphabet. Finally, to increase the information capacity in the stack and allow it to solve more complicated tasks with large alphabet sizes, we propose a new version of the nondeterministic stack that simulates stacks of vectors rather than discrete symbols. We demonstrate perplexity improvements with this new model on the Penn Treebank language modeling benchmark.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。