On the Convergence Rate of Training Recurrent Neural Networks
Preprint
Abstract
How can local-search methods such as stochastic gradient descent (SGD) avoid bad local minima in training multi-layer neural networks? Why can they fit random labels even given non-convex and non-smooth architectures? Most existing theory only covers networks with one hidden layer, so can we go deeper? In this paper, we focus on recurrent neural networks (RNNs) which are multi-layer networks widely used in natural language processing. They are harder to analyze than feedforward neural networks, because the $\textit{same}$ recurrent unit is repeatedly applied across the entire time horizon of length $L$, which is analogous to feedforward networks of depth $L$. We show when the number of neurons is sufficiently large, meaning polynomial in the training data size and in $L$, then SGD is capable of minimizing the regression loss in the linear convergence rate. This gives theoretical evidence of how RNNs can memorize data. More importantly, in this paper we build general toolkits to analyze multi-layer networks with ReLU activations. For instance, we prove why ReLU activations can prevent exponential gradient explosion or vanishing, and build a perturbation theory to analyze first-order approximation of multi-layer networks.
Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- Generalization Error Bounds of Gradient Descent for Learning Over-Parameterized Deep ReLU NetworksProceedings of the AAAI Conference on Artificial Intelligence, 2020
- A mean field view of the landscape of two-layer neural networksProceedings of the National Academy of Sciences of the United States of America, 2018
- Mastering the game of Go without human knowledgeNature, 2017
- On the Properties of Neural Machine Translation: Encoder–Decoder Approaches2014
- Adaptive estimation of a quadratic functional by model selectionThe Annals of Statistics, 2000
- A model of multiplicative neural responses in parietal cortex.Proceedings of the National Academy of Sciences, 1996