arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.05394stat.MLcs.LG
收藏

RNN的动态等距和平均场理论:门控使信号在循环神经网络中传播

Dynamical Isometry and a Mean Field Theory of RNNs: Gating Enables Signal Propagation in Recurrent Neural Networks

Google(谷歌);Google Brain(谷歌大脑)

Minmin Chen, Jeffrey Pennington, Samuel S. Schoenholz

摘要:

循环神经网络在跨各个领域的序列数据建模中得到了广泛的应用。虽然许多成功的递归架构都采用了门控的概念,但实现这种卓越性能的确切机制还没有得到很好的理解。我们开发了一个理论,在经常性网络随机初始化后,使用平均场理论和随机矩阵理论相结合的信号传播。为了简化我们的讨论,我们引入了一个新的RNN单元,它具有一个简单的门控机制,我们称之为minimalRNN,并将其与vanilla RNN进行比较。我们的理论允许我们定义RNN可以记住输入的最大时间尺度。我们表明,这一理论预测可训练的经常性架构。我们发现,门控递归网络比普通RNN具有更广泛,更强大,更可训练的区域,这证实了最近的实验结果。最后,我们开发了一个封闭形式的临界初始化方案,在vanilla RNN和minimalRNN中实现动态等距。我们表明,这导致训练动态的显着改善。最后,我们证明了minimalRNN在语言建模任务中的性能与其更复杂的同行(如LSTM或GRU)相当。

英文摘要:

Recurrent neural networks have gained widespread use in modeling sequence data across various domains. While many successful recurrent architectures employ a notion of gating, the exact mechanism that enables such remarkable performance is not well understood. We develop a theory for signal propagation in recurrent networks after random initialization using a combination of mean field theory and random matrix theory. To simplify our discussion, we introduce a new RNN cell with a simple gating mechanism that we call the minimalRNN and compare it with vanilla RNNs. Our theory allows us to define a maximum timescale over which RNNs can remember an input. We show that this theory predicts trainability for both recurrent architectures. We show that gated recurrent networks feature a much broader, more robust, trainable region than vanilla RNNs, which corroborates recent experimental findings. Finally, we develop a closed-form critical initialization scheme that achieves dynamical isometry in both vanilla RNNs and minimalRNNs. We show that this results in significantly improvement in training dynamics. Finally, we demonstrate that the minimalRNN achieves comparable performance to its more complex counterparts, such as LSTMs or GRUs, on a language modeling task.

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

↑