paper-with-me

홈 › Papers

Recurrent neural networks: vanishing and exploding gradients are not the end of the story

2024-05-31 · Nicolas Zucchet, Antonio Orvieto

Recurrent neural networks (RNNs) notoriously struggle to learn long-term memories, primarily due to vanishing and exploding gradients. The recent success of state-space models (SSMs), a subclass of RNNs, to overcome such difficulties challenges our theoretical understanding. In this paper, we delve into the optimization challenges of RNNs and discover that, as the memory of a network increases, changes in its parameters result in increasingly large output variations, making gradient-based learning highly sensitive, even without exploding gradients. Our analysis further reveals the importance of the element-wise recurrence design pattern combined with careful parametrizations in mitigating this effect. This feature is present in SSMs, as well as in other architectures, such as LSTMs. Overall, our insights provide a new explanation for some of the difficulties in gradient-based learning of RNNs and why some architectures perform better than others.

📄 PDF Abstract BibTeX arXiv:2405.21064

Code (1)

NicolasZucchet/Vanishing-and-exploding-gradients-are-not-the-end-of-the-story 공식 구현 jax

Tasks

State Space Models

Similar Papers 제목 키워드 기반

On the difficulty of training Recurrent Neural Networks

2012-11-21 · Razvan Pascanu, Tomas Mikolov, Yoshua Bengio

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 understandin…

Beyond exploding and vanishing gradients: analysing RNN training using attractors and smoothness

2019-06-20 · Antônio H. Ribeiro, Koen Tiels, Luis A. Aguirre, Thomas B. Schön

The exploding and vanishing gradient problem has been the major conceptual principle behind most architecture and training improvements in recurrent neural networks (RNNs) during the last decade. In this paper, we argue …

Gating Revisited: Deep Multi-layer RNNs That Can Be Trained

2019-11-25 · Mehmet Ozgur Turkoglu, Stefano D'Aronco, Jan Dirk Wegner, Konrad Schindler

We propose a new STAckable Recurrent cell (STAR) for recurrent neural networks (RNNs), which has fewer parameters than widely used LSTM and GRU while being more robust against vanishing or exploding gradients. Stacking r…

Action RecognitionAction Recognition In VideosLanguage ModellingMusic Modeling+1

UnICORNN: A recurrent model for learning very long time dependencies

2021-03-09 · T. Konstantin Rusch, Siddhartha Mishra

The design of recurrent neural networks (RNNs) to accurately process sequential inputs with long-time dependencies is very challenging on account of the exploding and vanishing gradient problem. To overcome this, we prop…

Sentiment AnalysisSequential Image ClassificationTime Series AnalysisTime Series Classification

Orthogonal Gated Recurrent Unit with Neumann-Cayley Transformation

2022-08-12 · Edison Mucllari, Vasily Zadorozhnyy, Cole Pospisil, Duc Nguyen 외

In recent years, using orthogonal matrices has been shown to be a promising approach in improving Recurrent Neural Networks (RNNs) with training, stability, and convergence, particularly, to control gradients. While Gate…