HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Deep Independently Recurrent Neural Network (IndRNN)

Shuai Li; Wanqing Li; Chris Cook; Yanbo Gao

Deep Independently Recurrent Neural Network (IndRNN)

Abstract

Recurrent neural networks (RNNs) are known to be difficult to train due to the gradient vanishing and exploding problems and thus difficult to learn long-term patterns and construct deep networks. To address these problems, this paper proposes a new type of RNNs with the recurrent connection formulated as Hadamard product, referred to as independently recurrent neural network (IndRNN), where neurons in the same layer are independent of each other and connected across layers. Due to the better behaved gradient backpropagation, IndRNN with regulated recurrent weights effectively addresses the gradient vanishing and exploding problems and thus long-term dependencies can be learned. Moreover, an IndRNN can work with non-saturated activation functions such as ReLU (rectified linear unit) and be still trained robustly. Different deeper IndRNN architectures, including the basic stacked IndRNN, residual IndRNN and densely connected IndRNN, have been investigated, all of which can be much deeper than the existing RNNs. Furthermore, IndRNN reduces the computation at each time step and can be over 10 times faster than the commonly used Long short-term memory (LSTM). Experimental results have shown that the proposed IndRNN is able to process very long sequences and construct very deep networks. Better performance has been achieved on various tasks with IndRNNs compared with the traditional RNN, LSTM and the popular Transformer.

Code Repositories

Sunnydreamrain/IndRNN_pytorch
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
language-modelling-on-penn-treebank-characterDense IndRNN
Bit per Character (BPC): 1.18
language-modelling-on-penn-treebank-wordDense IndRNN+dynamic eval
Test perplexity: 50.97
language-modelling-on-penn-treebank-wordDense IndRNN
Test perplexity: 56.37
sequential-image-classification-on-sequentialDense IndRNN
Permuted Accuracy: 97.2%
Unpermuted Accuracy: 99.48%
skeleton-based-action-recognition-on-ntu-rgbdDense IndRNN
Accuracy (CS): 86.70
Accuracy (CV): 93.97

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Deep Independently Recurrent Neural Network (IndRNN) | Papers | HyperAI