Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Quasi-Recurrent Neural Networks

About

Recurrent neural networks are a powerful tool for modeling sequential data, but the dependence of each timestep's computation on the previous timestep's output limits parallelism and makes RNNs unwieldy for very long sequences. We introduce quasi-recurrent neural networks (QRNNs), an approach to neural sequence modeling that alternates convolutional layers, which apply in parallel across timesteps, and a minimalist recurrent pooling function that applies in parallel across channels. Despite lacking trainable recurrent layers, stacked QRNNs have better predictive accuracy than stacked LSTMs of the same hidden size. Due to their increased parallelism, they are up to 16 times faster at train and test time. Experiments on language modeling, sentiment classification, and character-level neural machine translation demonstrate these advantages and underline the viability of QRNNs as a basic building block for a variety of sequence tasks.

James Bradbury, Stephen Merity, Caiming Xiong, Richard Socher• 2016

Related benchmarks

TaskDatasetResultRank
Language ModelingWikiText-103 (test)
Perplexity33
524
Language ModelingPenn Treebank (test)
Perplexity58.43
411
Question AnsweringSQuAD v1.1 (dev)
F1 Score79.6
375
Language ModelingWikiText2 v1 (test)
Perplexity66.61
341
Sentiment AnalysisIMDB (test)
Accuracy91.4
248
Character-level Language Modelingenwik8 (test)
BPC1.38
195
Language ModelingWikiText-103 (val)
PPL32
180
Language ModelingPenn Treebank (val)
Perplexity60.38
178
Subjectivity ClassificationSubj (test)
Accuracy93.4
125
Question ClassificationTREC (test)
Accuracy93.2
124
Showing 10 of 20 rows

Other info

Follow for update