Noisy Recurrent Neural Networks

Soon Hoe Lim, N. Benjamin Erichson, Liam Hodgkinson, Michael W. Mahoney
2/9/2021
stat.MLcs.LGmath.DS

Official code: erichson/NoisyRNN (3 stars, Python, GPL-3.0, last commit 2021-02-10).

Abstract

We provide a general framework for studying recurrent neural networks (RNNs) trained by injecting noise into hidden states. Specifically, we consider RNNs that can be viewed as discretizations of stochastic differential equations driven by input data.

Show full abstract

This framework allows us to study the implicit regularization effect of general noise injection schemes by deriving an approximate explicit regularizer in the small noise regime. We find that, under reasonable assumptions, this implicit regularization promotes flatter minima; it biases towards models with more stable dynamics; and, in classification tasks, it favors models with larger classification margin. Sufficient conditions for global stability are obtained, highlighting the phenomenon of stochastic stabilization, where noise injection can improve stability during training. Our theory is supported by empirical results which demonstrate that the RNNs have improved robustness with respect to various input perturbations.

View on arXivView PDF

Code Implementations(1)

erichson/NoisyRNNOfficial100%
GPL-3.0

Noisy Recurrent Neural Networks

32PythonFeb 6, 20215 years agoGPL-3.0

Similar Papers

Cite this paper

@article{lim2021noisy,
  title  = {Noisy Recurrent Neural Networks},
  author = {Soon Hoe Lim and N. Benjamin Erichson and Liam Hodgkinson and Michael W. Mahoney},
  year   = {2021},
  eprint = {2102.04877},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.04877}
}

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

Discussion