Reproduce “Towards Non-saturating Recurrent Units for Modelling Long-term Dependencies” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Sarath Chandar, Chinnadhurai Sankar, Eugene Vorontsov, Samira Ebrahimi Kahou, Yoshua Bengio
A team including researchers from Mila and Google Brain developed the Non-saturating Recurrent Unit (NRU), an RNN architecture that addresses the vanishing gradient problem by removing saturating non-linearities from its hidden state and memory gating mechanisms. The NRU consistently achieved top-two performance across seven sequence modeling tasks, securing the best results on four, and exhibited faster training convergence with higher gradient norms.
Key insights
- Saturating non-linearities, even in gated RNNs like LSTMs and GRUs, still cause gradient attenuation, especially affecting the gates themselves.
- Replacing all saturating components with non-saturating activations (like ReLU) within both hidden state and gating mechanisms significantly improves gradient propagation.
- An additive memory mechanism, when combined with non-saturating, normalized writing and erasing heads, creates a stable and highly effective recurrent unit for long-term dependencies.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.