Highlight

On the difficulty of training recurrent neural networks

Analyzes the vanishing and exploding gradient problems in RNNs and proposes gradient norm clipping and a soft constraint as remedies.

Based on

On the difficulty of training recurrent neural networks

By Razvan Pascanu, Tomas Mikolov, Yoshua BengioInternational Conference on Machine Learning
Read original article →

This paper investigates the two widely known obstacles to properly training recurrent neural networks: the vanishing gradient and exploding gradient problems, originally detailed by Bengio et al. in 1994. To improve understanding of the underlying causes, the authors examine these problems from three complementary angles, an analytical perspective, a geometric perspective, and a dynamical systems perspective. This analysis is then used to justify a simple yet effective solution.

Concretely, the authors propose a gradient norm clipping strategy to deal with exploding gradients and a soft constraint to address the vanishing gradient problem. They validate both their hypotheses about the causes and their proposed solutions empirically. Because exploding and vanishing gradients were central obstacles to learning long-range dependencies, these remedies offered a practical way to stabilize the training of recurrent networks.

Abstract

Training recurrent neural networks is hampered by two well-known problems, the vanishing and exploding gradients described by Bengio et al. (1994). This paper deepens understanding of these issues by analyzing them from analytical, geometric, and dynamical-systems perspectives. That analysis motivates a simple yet effective solution: a gradient norm clipping strategy for exploding gradients and a soft constraint for vanishing gradients. The authors validate their hypotheses and proposed solutions empirically.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

recurrent neural networksvanishing gradientexploding gradientgradient clippingoptimization
Share

Take the next step

Try CoreModels, talk with our team, or explore more resources.