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 | |
|---|---|---|---|---|
| Mathematical Reasoning | GSM8K (test) | Accuracy40.79 | 797 | |
| Commonsense Reasoning | WinoGrande | Accuracy55.33 | 776 | |
| Code Generation | HumanEval (test) | -- | 444 | |
| Boolean Question Answering | BoolQ | Accuracy57.19 | 307 | |
| Question Answering | ARC-E | Accuracy49.49 | 242 | |
| Multitask Language Understanding | MMLU | Accuracy23.12 | 206 | |
| Language Understanding | MMLU (test) | MMLU Average Accuracy48.61 | 136 | |
| Science Question Answering | SciQ | Normalized Accuracy71.2 | 44 | |
| Physical Commonsense Reasoning | PIQA | Accuracy74.59 | 41 | |
| Reasoning | BBH (test) | Accuracy30.84 | 40 |
Showing 10 of 18 rows