SOTAVerified

Training RNNs as Fast as CNNs

2018-01-01ICLR 2018Code Available2· sign in to hype

Tao Lei, Yu Zhang, Yoav Artzi

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Common recurrent neural network architectures scale poorly due to the intrinsic difficulty in parallelizing their state computations. In this work, we propose the Simple Recurrent Unit (SRU) architecture, a recurrent unit that simplifies the computation and exposes more parallelism. In SRU, the majority of computation for each step is independent of the recurrence and can be easily parallelized. SRU is as fast as a convolutional layer and 5-10x faster than an optimized LSTM implementation. We study SRUs on a wide range of applications, including classification, question answering, language modeling, translation and speech recognition. Our experiments demonstrate the effectiveness of SRU and the trade-off it enables between speed and performance.

Tasks

Reproductions