arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1803.04831cs.CVcs.LG
收藏

独立循环神经网络(IndRNN):构建更长更深的RNN

Independently Recurrent Neural Network (IndRNN): Building A Longer and Deeper RNN

University of Electronic Science and Technology of China(电子科技大学);University of Wollongong(伍伦贡大学)

Shuai Li, Wanqing Li, Chris Cook, Ce Zhu, Yanbo Gao

摘要:

递归神经网络(RNN)已被广泛用于处理序列数据。然而,由于众所周知的梯度消失和爆炸问题以及难以学习长期模式,RNN通常难以训练。长短期记忆(LSTM)和门控递归单元(GRU)被开发出来解决这些问题,但双曲正切和S形作用函数的使用导致了梯度衰减。因此,构建一个高效可训练的深度网络是一个挑战。此外,RNN层中的所有神经元都纠缠在一起,它们的行为很难解释。为了解决这些问题,本文提出了一种新型的RNN,称为独立循环神经网络(IndRNN),其中同一层中的神经元彼此独立,并且它们跨层连接。我们已经证明,IndRNN可以很容易地调节,以防止梯度爆炸和消失问题,同时允许网络学习长期依赖关系。此外,IndRNN可以与非饱和激活函数(如relu(整流线性单元))一起工作,并且仍然可以进行鲁棒训练。可以堆叠多个IndRNN来构建比现有RNN更深的网络。实验结果表明,所提出的IndRNN能够处理非常长的序列(超过5000个时间步),可以用于构建非常深的网络(实验中使用了21层),并且仍然可以进行鲁棒训练。与传统的RNN和LSTM相比,使用IndRNN在各种任务上取得了更好的性能。该代码可在https://github.com/Sunnydreamrain/IndRNN_Theano_Lasagne上获得。

英文摘要:

Recurrent neural networks (RNNs) have been widely used for processing sequential data. However, RNNs are commonly difficult to train due to the well-known gradient vanishing and exploding problems and hard to learn long-term patterns. Long short-term memory (LSTM) and gated recurrent unit (GRU) were developed to address these problems, but the use of hyperbolic tangent and the sigmoid action functions results in gradient decay over layers. Consequently, construction of an efficiently trainable deep network is challenging. In addition, all the neurons in an RNN layer are entangled together and their behaviour is hard to interpret. To address these problems, a new type of RNN, referred to as independently recurrent neural network (IndRNN), is proposed in this paper, where neurons in the same layer are independent of each other and they are connected across layers. We have shown that an IndRNN can be easily regulated to prevent the gradient exploding and vanishing problems while allowing the network to learn long-term dependencies. Moreover, an IndRNN can work with non-saturated activation functions such as relu (rectified linear unit) and be still trained robustly. Multiple IndRNNs can be stacked to construct a network that is deeper than the existing RNNs. Experimental results have shown that the proposed IndRNN is able to process very long sequences (over 5000 time steps), can be used to construct very deep networks (21 layers used in the experiment) and still be trained robustly. Better performances have been achieved on various tasks by using IndRNNs compared with the traditional RNN and LSTM. The code is available at https://github.com/Sunnydreamrain/IndRNN_Theano_Lasagne.

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

↑