arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1806.09038stat.MLcs.LG
收藏

Deductron --一种循环神经网络

Deductron -- A Recurrent Neural Network

University of Arizona(亚利桑那大学)

Marek Rychlik

摘要:

本文是对递归神经网络(RNN)的研究,其动机是缺乏足够简单的示例,以便在理论上彻底理解它们,但又足够复杂以实现现实。我们构建了一个结构化数据的例子,其动机是图像到文本转换(OCR)的问题,这需要长期记忆来解码。我们的数据是一个简单的书写系统,将字符'X'和'O'编码为它们的上半部分,这是可能的,因为这两个字符是对称的。字符可以连接,如在一些使用草书的语言中,如阿拉伯语(abjad)。字符串“XOOXXO”可以被编码为“${\vee}{\wedge}\kern-1.5pt{\wedge}{\vee}\kern-1.5pt{\vee}{\wedge}$”。因此,我们可能需要知道任意长的过去来解码当前字符,因此需要长期记忆。随后,我们构建了一个能够解码以这种方式编码的序列的RNN。我们不是通过训练,而是“通过检查”构建RNN,即我们猜测它的权重。这涉及一系列步骤。我们编写了一个传统的程序来解码上面的例子中的序列。随后,我们将该程序解释为神经网络(这是我们已知的唯一一个此类例子)。最后,我们推广了这个神经网络,发现了一个新的RNN架构,其实例是我们手工制作的RNN。它原来是一个3层网络,其中中间层能够执行简单的逻辑推理;因此命名为“deductron”。证明了用模拟退火方法对网络进行训练是可行的。此外,随机梯度下降(SGD)方法的已知变体被证明是有效的。

英文摘要:

The current paper is a study in Recurrent Neural Networks (RNN), motivated by the lack of examples simple enough so that they can be thoroughly understood theoretically, but complex enough to be realistic. We constructed an example of structured data, motivated by problems from image-to-text conversion (OCR), which requires long-term memory to decode. Our data is a simple writing system, encoding characters 'X' and 'O' as their upper halves, which is possible due to symmetry of the two characters. The characters can be connected, as in some languages using cursive, such as Arabic (abjad). The string 'XOOXXO' may be encoded as '${\vee}{\wedge}\kern-1.5pt{\wedge}{\vee}\kern-1.5pt{\vee}{\wedge}$'. It follows that we may need to know arbitrarily long past to decode a current character, thus requiring long-term memory. Subsequently we constructed an RNN capable of decoding sequences encoded in this manner. Rather than by training, we constructed our RNN "by inspection", i.e. we guessed its weights. This involved a sequence of steps. We wrote a conventional program which decodes the sequences as the example above. Subsequently, we interpreted the program as a neural network (the only example of this kind known to us). Finally, we generalized this neural network to discover a new RNN architecture whose instance is our handcrafted RNN. It turns out to be a 3 layer network, where the middle layer is capable of performing simple logical inferences; thus the name "deductron". It is demonstrated that it is possible to train our network by simulated annealing. Also, known variants of stochastic gradient descent (SGD) methods are shown to work.

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

↑