Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

TaskDatasetResultRank
Commonsense ReasoningWinoGrande
Accuracy55.33
1442
Image ClassificationImageNet-1K
Top-1 Acc80
1239
Mathematical ReasoningGSM8K (test)
Accuracy40.79
954
Code GenerationHumanEval (test)--
612
Question AnsweringARC-E
Accuracy49.49
523
Multitask Language UnderstandingMMLU
Accuracy23.12
520
Boolean Question AnsweringBoolQ
Accuracy57.19
350
Language UnderstandingMMLU (test)
MMLU Average Accuracy48.61
167
Science Question AnsweringSciQ
Normalized Accuracy71.2
137
Question AnsweringOpenBookQA
Normalized Accuracy33.6
102
Showing 10 of 21 rows

Other info

Follow for update