On the difficulty of training Recurrent Neural Networks
About
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.
Razvan Pascanu, Tomas Mikolov, Yoshua Bengio• 2012
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | ImageNet-1K | Top-1 Acc80 | 1239 | |
| Commonsense Reasoning | WinoGrande | Accuracy55.33 | 1085 | |
| Mathematical Reasoning | GSM8K (test) | Accuracy40.79 | 900 | |
| Code Generation | HumanEval (test) | -- | 506 | |
| Question Answering | ARC-E | Accuracy49.49 | 416 | |
| Multitask Language Understanding | MMLU | Accuracy23.12 | 413 | |
| Boolean Question Answering | BoolQ | Accuracy57.19 | 323 | |
| Language Understanding | MMLU (test) | MMLU Average Accuracy48.61 | 163 | |
| Science Question Answering | SciQ | Normalized Accuracy71.2 | 137 | |
| Question Answering | OpenBookQA | Normalized Accuracy33.6 | 102 |
Showing 10 of 21 rows