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

Dilated Recurrent Neural Networks

About

Learning with recurrent neural networks (RNNs) on long sequences is a notoriously difficult task. There are three major challenges: 1) complex dependencies, 2) vanishing and exploding gradients, and 3) efficient parallelization. In this paper, we introduce a simple yet effective RNN connection structure, the DilatedRNN, which simultaneously tackles all of these challenges. The proposed architecture is characterized by multi-resolution dilated recurrent skip connections and can be combined flexibly with diverse RNN cells. Moreover, the DilatedRNN reduces the number of parameters needed and enhances training efficiency significantly, while matching state-of-the-art performance (even with standard RNN cells) in tasks involving very long-term dependencies. To provide a theory-based quantification of the architecture's advantages, we introduce a memory capacity measure, the mean recurrent length, which is more suitable for RNNs with long skip connections than existing measures. We rigorously prove the advantages of the DilatedRNN over other recurrent neural architectures. The code for our method is publicly available at https://github.com/code-terminator/DilatedRNN

Shiyu Chang, Yang Zhang, Wei Han, Mo Yu, Xiaoxiao Guo, Wei Tan, Xiaodong Cui, Michael Witbrock, Mark Hasegawa-Johnson, Thomas S. Huang• 2017

Related benchmarks

TaskDatasetResultRank
Image ClassificationMNIST (test)
Accuracy98.3
882
Sentiment AnalysisIMDB (test)
Accuracy85.2
248
Character-level Language ModelingPenn Treebank (test)
BPC1.27
113
Pixel-by-pixel Image ClassificationPermuted Sequential MNIST (pMNIST) (test)
Accuracy96.1
79
Sequential Image ClassificationPMNIST (test)
Accuracy (Test)96.1
77
Sequential Image ClassificationS-MNIST (test)
Accuracy99
70
Image Classificationpermuted MNIST (pMNIST) (test)
Accuracy96.1
63
Pixel-level 1-D image classificationSequential MNIST (test)
Accuracy99
53
Permuted Sequential Image ClassificationMNIST Permuted Sequential
Test Accuracy Mean96.1
50
Character-level PredictionPTB (test)
BPC (Test)1.37
42
Showing 10 of 27 rows

Other info

Code

Follow for update