Sliced Recurrent Neural Networks

Zeping Yu, Gongshen Liu
7/6/2018
47 citations
cs.CL

Official code: zepingyu0512/srnn (466 stars, Python, TensorFlow, last commit 2018-11-24).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

zepingyu0512/srnnOfficial100%
TensorFlow

sliced-rnn

46696PythonMay 21, 20188 years ago
deep-learningkeraskeras-tensorflowrnnsliced-rnn+1 more

Similar Papers

Cite this paper

@article{yu2018sliced,
  title  = {Sliced Recurrent Neural Networks},
  author = {Zeping Yu and Gongshen Liu},
  year   = {2018},
  eprint = {1807.02291},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.02291}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1807.02291.svg)](https://codeofpaper.com/paper/1807.02291)

Discussion