arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.02291cs.CL
收藏

切片循环神经网络

Sliced Recurrent Neural Networks

Shanghai Jiao Tong University(上海交通大学)

Zeping Yu, Gongshen Liu

摘要:

循环神经网络在许多自然语言处理任务中取得了巨大的成功。然而,由于递归结构,它们在并行化方面存在困难,因此训练RNN需要花费大量时间。在本文中,我们介绍了切片循环神经网络(SRNNs),它可以通过将序列切片成许多连续性来并行化。SRNN具有通过多个层获得高级信息的能力,只需很少的额外参数。我们证明了当我们使用线性激活函数时,标准RNN是SRNN的特殊情况。在不改变循环单元的情况下,SRNN的速度是标准RNN的136倍,当我们训练更长的序列时,可能会更快。在6个大规模情感分析数据集上的实验表明,SRNN比标准RNN具有更好的性能。

英文摘要:

Recurrent neural networks have achieved great success in many NLP tasks. However, they have difficulty in parallelization because of the recurrent structure, so it takes much time to train RNNs. In this paper, we introduce sliced recurrent neural networks (SRNNs), which could be parallelized by slicing the sequences into many subsequences. SRNNs have the ability to obtain high-level information through multiple layers with few extra parameters. We prove that the standard RNN is a special case of the SRNN when we use linear activation functions. Without changing the recurrent units, SRNNs are 136 times as fast as standard RNNs and could be even faster when we train longer sequences. Experiments on six largescale sentiment analysis datasets show that SRNNs achieve better performance than standard RNNs.

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

↑