Our new X account is live! Follow @wizwand_team for updates
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
Mathematical ReasoningGSM8K (test)
Accuracy40.79
797
Commonsense ReasoningWinoGrande
Accuracy55.33
776
Code GenerationHumanEval (test)--
444
Boolean Question AnsweringBoolQ
Accuracy57.19
307
Question AnsweringARC-E
Accuracy49.49
242
Multitask Language UnderstandingMMLU
Accuracy23.12
206
Language UnderstandingMMLU (test)
MMLU Average Accuracy48.61
136
Science Question AnsweringSciQ
Normalized Accuracy71.2
44
Physical Commonsense ReasoningPIQA
Accuracy74.59
41
ReasoningBBH (test)
Accuracy30.84
40
Showing 10 of 18 rows

Other info

Follow for update