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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

The archive's official repository (Sunnydreamrain/IndRNN_Theano_Lasagne) was not harvested; the 5 samples below come from 2 community repositories.

Syntology 5 code samples harvested from 2 repositories linked to this paper: 5 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified. Where Syntology's instrument failed: 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: community (archive-listed): 5 samples from 2 repositories, 5 ran (4 with no instrument failure; 1 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

No sample is linked to this paper from 2 of its repositories that Syntology harvested for other papers:

Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

Sunnydreamrain/IndRNN_Theano_Lasagne officialmentioned in papermentioned on GitHubpytorchSyntology: not harvested report
StefOe/indrnn-pytorch mentioned on GitHubpytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
Sunnydreamrain/IndRNN mentioned on GitHubtfApache-2.0Syntology: not harvested report
Sunnydreamrain/IndRNN_pytorch mentioned on GitHubpytorchSyntology: not harvested report
TobiasLee/Text-Classification mentioned on GitHubtfSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Convolutional Neural Networks for Sentence Classification (arXiv:1408.5882; that paper's own run record: 53 ran (of which 0 constructed an object rather than computing a result; 40 with no instrument failure: 6 honoured, 1 violated, 33 with no contract checked; 13 where Syntology's instrument failed) · 24 unverified); nothing checks that they implement this paper's method. report
amcs1729/Predicting-cloud-CPU-usage-on-Azure-data mentioned on GitHubApache-2.0Syntology: not harvested report
batzner/indrnn mentioned on GitHubtfApache-2.0Syntology: not harvested report
lmnt-com/haste mentioned on GitHubtfApache-2.0Syntology: 4 samples, 4 ran (0 instrument-failed) · 0 unverified report
secretlyvogon/IndRNNTF mentioned on GitHubtfGPL-3.0Syntology: not harvested report
secretlyvogon/Neural-Network-Implementations mentioned on GitHubtfGPL-3.0Syntology: not harvested report
trevor-richardson/rnn_zoo mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation (arXiv:1406.1078; that paper's own run record: 13 ran (of which 6 constructed an object rather than computing a result; 10 with no instrument failure: 0 honoured, 0 violated, 10 with no contract checked; 3 where Syntology's instrument failed) · 9 unverified); nothing checks that they implement this paper's method. 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.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

5 samples harvested: 5 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran; the contract check could not run
4ran

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; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

StefOe/indrnn-pytorch community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
check_bounds indrnn.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 353a35739d84ff7d · report fixture: signature weight:Tensor/2/float, min_abs:float/0/float, max_abs:float/0/float · returned Tensor · level recorded 2026-09-22
lmnt-com/haste community (archive-listed) 4 samples, 4 ran (0 instrument-failed) · 0 unverified
LayerNormGRUScript frameworks/pytorch/layer_norm_gru.py ran Apache-2.0 (permissive) · 1f430a28206da9a4 · report fixture: signature training:bool/0/bool, zoneout_prob:float/0/float, input:Tensor/3/float, h0:Tensor/2/float, kernel:Tensor/2/float, recurrent_kernel:Tensor/2/float, bias:Tensor/1/float, recurrent_bias:Tensor/1/float, gamma:Tensor/2/float, zoneout_mask:Tensor/3/float · returned Tensor · level recorded 2026-09-26
LayerNormIndRNNScript frameworks/pytorch/layer_norm_indrnn.py ran Apache-2.0 (permissive) · 4c0ac89dfdd49cb8 · report fixture: signature training:bool/0/bool, zoneout_prob:float/0/float, input:Tensor/3/float, h0:Tensor/2/float, kernel:Tensor/2/float, recurrent_scale:Tensor/1/float, bias:Tensor/1/float, gamma:list/1/Tensor, zoneout_mask:Tensor/3/float · returned Tensor · level recorded 2026-09-26
LayerNormLSTMScript frameworks/pytorch/layer_norm_lstm.py ran Apache-2.0 (permissive) · 05bc88c9379472a6 · report fixture: signature training:bool/0/bool, zoneout_prob:float/0/float, input:Tensor/3/float, h0:Tensor/2/float, c0:Tensor/2/float, kernel:Tensor/2/float, recurrent_kernel:Tensor/2/float, bias:Tensor/1/float, gamma:list/1/Tensor, gamma_h:Tensor/1/float, beta_h:Tensor/1/float, zoneout_mask:Tensor/3/float · returned tuple · level recorded 2026-09-26
extract in 149 papers
census: 9 implementations from 12 papers, 4 distinct outputs across 3 buckets, one shared input per bucket
benchmarks/report.py ran Apache-2.0 (permissive) · f26710d97fca3491 · report fixture: signature x:ndarray/1/int, predicate:callable/0/? · returned ndarray · level recorded 2026-09-26

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