MomentumRNN: Integrating Momentum into Recurrent Neural Networks

Tan M. Nguyen, Richard G. Baraniuk, Andrea L. Bertozzi, Stanley J. Osher, Bao Wang
6/12/2020
32 citations
cs.LGmath.DSstat.ML

Official code: minhtannguyen/MomentumRNN (20 stars, Jupyter Notebook, CC0-1.0, last commit 2020-10-22).

Abstract

Designing deep neural networks is an art that often involves an expensive search over candidate architectures. To overcome this for recurrent neural nets (RNNs), we establish a connection between the hidden state dynamics in an RNN and gradient descent (GD).

Show full abstract

We then integrate momentum into this framework and propose a new family of RNNs, called {\em MomentumRNNs}. We theoretically prove and numerically demonstrate that MomentumRNNs alleviate the vanishing gradient issue in training RNNs. We study the momentum long-short term memory (MomentumLSTM) and verify its advantages in convergence speed and accuracy over its LSTM counterpart across a variety of benchmarks. We also demonstrate that MomentumRNN is applicable to many types of recurrent cells, including those in the state-of-the-art orthogonal RNNs. Finally, we show that other advanced momentum-based optimization methods, such as Adam and Nesterov accelerated gradients with a restart, can be easily incorporated into the MomentumRNN framework for designing new recurrent cells with even better performance. The code is available at https://github.com/minhtannguyen/MomentumRNN.

View on arXivView PDF

Code Implementations(1)

CC0-1.0

Code base for MomentumRNN.

207Jupyter Notebook, ShellJun 11, 20206 years agoCC0-1.0

Similar Papers

Cite this paper

@article{nguyen2020momentumrnn,
  title  = {MomentumRNN: Integrating Momentum into Recurrent Neural Networks},
  author = {Tan M. Nguyen and Richard G. Baraniuk and Andrea L. Bertozzi and Stanley J. Osher and Bao Wang},
  year   = {2020},
  eprint = {2006.06919},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.06919}
}

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

Discussion