Papers › Independently Recurrent Neural Network (IndRNN): Building A Longer and Deeper RNN

Independently Recurrent Neural Network (IndRNN): Building A Longer and Deeper RNN

13 Mar 2018CVPR 2018 6arXiv:1803.04831archive 2025-07-28

Shuai Li, Wanqing Li, Chris Cook, Ce Zhu, Yanbo Gao

Recurrent neural networks (RNNs) have been widely used for processing sequential data. However, RNNs are commonly difficult to train due to the well-known gradient vanishing and exploding problems and hard to learn long-term patterns. Long short-term memory (LSTM) and gated recurrent unit (GRU) were developed to address these problems, but the use of hyperbolic tangent and the sigmoid action functions results in gradient decay over layers. Consequently, construction of an efficiently trainable deep network is challenging. In addition, all the neurons in an RNN layer are entangled together and their behaviour is hard to interpret. To address these problems, a new type of RNN, referred to as independently recurrent neural network (IndRNN), is proposed in this paper, where neurons in the same layer are independent of each other and they are connected across layers. We have shown that an IndRNN can be easily regulated to prevent the gradient exploding and vanishing problems while allowing the network to learn long-term dependencies. Moreover, an IndRNN can work with non-saturated activation functions such as relu (rectified linear unit) and be still trained robustly. Multiple IndRNNs can be stacked to construct a network that is deeper than the existing RNNs. Experimental results have shown that the proposed IndRNN is able to process very long sequences (over 5000 time steps), can be used to construct very deep networks (21 layers used in the experiment) and still be trained robustly. Better performances have been achieved on various tasks by using IndRNNs compared with the traditional RNN and LSTM. The code is available at https://github.com/Sunnydreamrain/IndRNN_Theano_Lasagne.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1803.04831")

Code

Syntology Ran 1 of 5 code samples harvested from 2 repositories linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · fixture could not drive it.

By repository: community (archive-listed): 5 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Sunnydreamrain/IndRNN_Theano_Lasagne officialmentioned in papermentioned on GitHubpytorch report
StefOe/indrnn-pytorch mentioned on GitHubpytorch report
Sunnydreamrain/IndRNN mentioned on GitHubtfApache-2.0 report
Sunnydreamrain/IndRNN_pytorch mentioned on GitHubpytorch report
TobiasLee/Text-Classification mentioned on GitHubtf report
batzner/indrnn mentioned on GitHubtfApache-2.0 report
lmnt-com/haste mentioned on GitHubtfApache-2.0 report
secretlyvogon/IndRNNTF mentioned on GitHubtfGPL-3.0 report
trevor-richardson/rnn_zoo mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

5 samples harvested; 1 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
4unverified

Licence: 1 of the 5 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

check_bounds StefOe/indrnn-pytorch/indrnn.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · 353a35739d84ff7d · report
LayerNormGRUScript lmnt-com/haste/frameworks/pytorch/layer_norm_gru.py community (archive-listed) unverified Apache-2.0 (permissive) · 1f430a28206da9a4 · report
LayerNormIndRNNScript lmnt-com/haste/frameworks/pytorch/layer_norm_indrnn.py community (archive-listed) unverified Apache-2.0 (permissive) · 4c0ac89dfdd49cb8 · report
LayerNormLSTMScript lmnt-com/haste/frameworks/pytorch/layer_norm_lstm.py community (archive-listed) unverified Apache-2.0 (permissive) · 05bc88c9379472a6 · report
extract lmnt-com/haste/benchmarks/report.py community (archive-listed) unverified Apache-2.0 (permissive) · f26710d97fca3491 · report

Tasks

Language ModellingSequential Image ClassificationSkeleton Based Action Recognition

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Language Modelling Penn Treebank (Character Level) IndRNN Bit per Character (BPC) 1.19 #11 of 20 Archive leaderboard report
Sequential Image Classification Sequential MNIST IndRNN Permuted Accuracy 96% #21 of 30 Archive leaderboard report
Sequential Image Classification Sequential MNIST IndRNN Unpermuted Accuracy 99% #21 of 30 Archive leaderboard report
Skeleton Based Action Recognition NTU RGB+D Ind-RNN Accuracy (CS) 81.8 #108 of 135 Archive leaderboard report
Skeleton Based Action Recognition NTU RGB+D Ind-RNN Accuracy (CV) 88.0 #108 of 135 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

LSTMSigmoid ActivationTanh Activation

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections