Gating Revisited: Deep Multi-layer RNNs That Can Be Trained

Mehmet Ozgur Turkoglu, Stefano D'Aronco, Jan Dirk Wegner, Konrad Schindler
11/25/2019
cs.CVcs.LG

Official code: 0zgur0/STAckable-Recurrent-network (18 stars, last commit 2021-12-03).

Abstract

We propose a new STAckable Recurrent cell (STAR) for recurrent neural networks (RNNs), which has fewer parameters than widely used LSTM and GRU while being more robust against vanishing or exploding gradients. Stacking recurrent units into deep architectures suffers from two major limitations: (i) many recurrent cells (e.g., LSTMs) are costly in terms of parameters and computation resources; and (ii) deep RNNs are prone to vanishing or exploding gradients during training. We investigate the training of multi-layer RNNs and examine the magnitude of the gradients as they propagate through the network in the "vertical" direction. We show that, depending on the structure of the basic recurrent unit, the gradients are systematically attenuated or amplified. Based on our analysis we design a new type of gated cell that better preserves gradient magnitude. We validate our design on a large number of sequence modelling tasks and demonstrate that the proposed STAR cell allows to build and train deeper recurrent architectures, ultimately leading to improved performance while being computationally more efficient.

View on arXivView PDF

Code Implementations(1)

[PAMI 2021] Gating Revisited: Deep Multi-layer RNNs That Can Be Trained

184PythonMar 3, 20204 years ago
deep-learninggrugru-neural-networkslstmlstm-neural-network+3 more

Similar Papers

Cite this paper

@article{turkoglu2019gating,
  title  = {Gating Revisited: Deep Multi-layer RNNs That Can Be Trained},
  author = {Mehmet Ozgur Turkoglu and Stefano D'Aronco and Jan Dirk Wegner and Konrad Schindler},
  year   = {2019},
  eprint = {1911.11033},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.11033}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1911.11033.svg)](https://codeofpaper.com/paper/1911.11033)

Discussion