Beyond exploding and vanishing gradients: analysing RNN training using attractors and smoothness

Antônio H. Ribeiro, Koen Tiels, Luis A. Aguirre, Thomas B. Schön
6/20/2019
cs.LGcs.NEmath.DS

Official code: antonior92/attractors-and-smoothness-RNN (5 stars, Python, MIT, PyTorch, last commit 2020-06-17).

Abstract

The exploding and vanishing gradient problem has been the major conceptual principle behind most architecture and training improvements in recurrent neural networks (RNNs) during the last decade. In this paper, we argue that this principle, while powerful, might need some refinement to explain recent developments.

Show full abstract

We refine the concept of exploding gradients by reformulating the problem in terms of the cost function smoothness, which gives insight into higher-order derivatives and the existence of regions with many close local minima. We also clarify the distinction between vanishing gradients and the need for the RNN to learn attractors to fully use its expressive power. Through the lens of these refinements, we shed new light on recent developments in the RNN field, namely stable RNN and unitary (or orthogonal) RNNs.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Companion code to the 2020 AISTATS paper: ''Beyond exploding and vanishing gradients: analysing RNN training using attractors and smoothness"

50PythonFeb 24, 20206 years agoMIT
deep-learningpytorchrecurrent-neural-networks

Similar Papers

Cite this paper

@article{ribeiro2019beyond,
  title  = {Beyond exploding and vanishing gradients: analysing RNN training using attractors and smoothness},
  author = {Antônio H. Ribeiro and Koen Tiels and Luis A. Aguirre and Thomas B. Schön},
  year   = {2019},
  eprint = {1906.08482},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.08482}
}

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/1906.08482.svg)](https://codeofpaper.com/paper/1906.08482)

Discussion