arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1410.4615cs.NEcs.AIcs.LG
收藏

学习执行

Learning to Execute

Wojciech Zaremba, Ilya Sutskever

摘要:

具有长短期记忆单元(LSTM)的递归神经网络(RNN)被广泛使用,因为它们具有表达能力并且易于训练。我们的兴趣在于通过训练LSTM来评估短计算机程序(传统上被认为对神经网络来说过于复杂的一个领域),从而在序列到序列机制中实证评估LSTM的表达能力和可学习性。我们考虑一类简单的程序,可以用一个单一的从左到右通过使用常数内存进行评估。我们的主要结果是,LSTM可以学会映射字符级表示的程序,以正确的输出。值得注意的是,有必要使用课程学习,虽然传统的课程学习被证明是无效的,但我们开发了一种新的课程学习变体,它在所有实验条件下都提高了我们的网络性能。改进后的课程对加法问题产生了巨大的影响,使训练LSTM以99%的准确率将两个9位数相加成为可能。

英文摘要:

Recurrent Neural Networks (RNNs) with Long Short-Term Memory units (LSTM) are widely used because they are expressive and are easy to train. Our interest lies in empirically evaluating the expressiveness and the learnability of LSTMs in the sequence-to-sequence regime by training them to evaluate short computer programs, a domain that has traditionally been seen as too complex for neural networks. We consider a simple class of programs that can be evaluated with a single left-to-right pass using constant memory. Our main result is that LSTMs can learn to map the character-level representations of such programs to their correct outputs. Notably, it was necessary to use curriculum learning, and while conventional curriculum learning proved ineffective, we developed a new variant of curriculum learning that improved our networks' performance in all experimental conditions. The improved curriculum had a dramatic impact on an addition problem, making it possible to train an LSTM to add two 9-digit numbers with 99% accuracy.

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

↑