login

On the difficulty of training Recurrent Neural Networks

arXiv (Cornell University)Published 21 November 2012Open access
Razvan Pascanu, Tomáš Mikolov, Yoshua Bengio
Citations3,778
View PDF

TL;DR

This paper proposes a gradient norm clipping strategy to deal with exploding gradients and a soft constraint for the vanishing gradients problem and validates empirically the hypothesis and proposed solutions.

Abstract

There are two widely known issues with properly training Recurrent Neural Networks, the vanishing and the exploding gradient problems detailed in Bengio et al. (1994). In this paper we attempt to improve the understanding of the underlying issues by exploring these problems from an analytical, a geometric and a dynamical systems perspective. Our analysis is used to justify a simple yet effective solution. We propose a gradient norm clipping strategy to deal with exploding gradients and a soft constraint for the vanishing gradients problem. We validate empirically our hypothesis and proposed solutions in the experimental section.

Keywords

Computer SciencePhysics and Astronomy