Recurrent neural networks: vanishing and exploding gradients are not the end of the story
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 44 of its 67 references that are in the map. First posted on arXiv 31 May 2024.
Builds on
44 of 67 references.
References · 44
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016Layer Normalizationcited by 5,579
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
32 more
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2022Simplified State Space Layers for Sequence Modelingcited by 776
- 2016Language Modeling with Gated Convolutional Networkscited by 688
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
- 2015Unitary Evolution Recurrent Neural Networkscited by 291
- 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 289
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 272
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
- 2019Recurrent Independent Mechanismscited by 219
- 2018Gradient Descent Happens in a Tiny Subspacecited by 208
- 2020Feature Learning in Infinite-Width Neural Networkscited by 182
- 2024The Illusion of State in State-Space Modelscited by 181
- 2015A Simple Way to Initialize Recurrent Networks of Rectified Linear Unitscited by 130
- 2023A Spectral Condition for Feature Learningcited by 101
- 2017On orthogonality and learning recurrent networks with long term dependenciescited by 82
- 2017Orthogonal Recurrent Neural Networks with Scaled Cayley Transformcited by 82
- 2020Coupled Oscillatory Recurrent Neural Network (coRNN): An accurate and (gradient) stable architecture for learning long time dependenciescited by 81
- 2016Gradient Descent Learns Linear Dynamical Systemscited by 78
- 2021A Practical Survey on Faster and Lighter Transformerscited by 73
- 2018Can recurrent neural networks warp time?cited by 53
- 2023Toward Understanding Why Adam Converges Faster Than SGD for Transformerscited by 50
- 2018Dynamical Isometry and a Mean Field Theory of RNNs: Gating Enables Signal Propagation in Recurrent Neural Networkscited by 44
- 2016Recurrent Batch Normalizationcited by 35
- 2023Universality of Linear Recurrences Followed by Non-linear Projections: Finite-Width Guarantees and Benefits of Complex Eigenvaluescited by 35
- 2023Online learning of long-range dependenciescited by 25
- 2017Fast-Slow Recurrent Neural Networkscited by 12
- 2023Inverse Approximation Theory for Nonlinear Recurrent Neural Networkscited by 10
- 2023Persistent learning signals and working memory without continuous attractorscited by 6
- 2017On the Computation of Complex-valued Gradients with Application to Statistically Optimum Beamformingcited by 3
Built on by
Citing papers per year: 2024: 3; 2025: 13; 2026: 9.
25 papers.
Sort:
By area:
- 2025In Search of Adam's Secret Saucecited by 40
- 2025Generative Graph Pattern Machinecited by 11
- 2024Autocorrelation Matters: Understanding the Role of Initialization Schemes for State Space Modelscited by 8
- 2025Predictability Enables Parallelization of Nonlinear State Space Modelscited by 7
- 2025Revisiting associative recall in modern recurrent modelscited by 7
- 2026HRM-Text: Efficient Pretraining Beyond Scalingcited by 7
- 2024Zero-Shot Temporal Resolution Domain Adaptation for Spiking Neural Networkscited by 6
- 2024DeNOTS: Stable Deep Neural ODEs for Time Seriescited by 5
- 2025Fixed-Point RNNs: Interpolating from Diagonal to Densecited by 5
- 2025Weight-Space Linear Recurrent Neural Networkscited by 5
- 2025Revisiting Glorot Initialization for Long-Range Linear Recurrencescited by 2
- 2025SiLIF: Structured State Space Model Dynamics and Parametrization for Spiking Neural Networkscited by 2
13 more
- 2025Time-Scale Coupling Between States and Parameters in Recurrent Neural Networkscited by 1
- 2025Design Principles for Sequence Models via Coefficient Dynamicscited by 1
- 2026Dissecting Linear Recurrent Models: How Different Gating Strategies Drive Selectivity and Generalizationcited by 1
- 2026Tuning the burn-in phase in training recurrent neural networks improves their performancecited by 1
- 2026Beyond a Single Explanation of the Adam--SGD Gapcited by 1
- 2025Lyapunov Learning at the Onset of Chaoscited by 0
- 2025Overcoming Low-Resource Barriers in Tulu: Neural Models and Corpus Creation for OffensiveLanguage Identificationcited by 0
- 2025Insights from Gradient Dynamics: Gradient Autoscaled Normalizationcited by 0
- 2026Improved state mixing in higher-order and block diagonal linear recurrent networkscited by 0
- 2026Extending SSMs with the Exponentially Weighted Signaturecited by 0
- 2026MsFormer: Enabling Robust Predictive Maintenance Services for Industrial Devicescited by 0
- 2026Parallel-in-Time Training of Recurrent Neural Networks for Dynamical Systems Reconstructioncited by 0
- 2026Dynamics and Representation Structure of Local Approximations to Gradient-Based Learning in Linear Recurrent Neural Networkscited by 0
- 2026Beyond a Single Explanation of the Adam--SGD Gap12 Jun 2026
- 2026Dynamics and Representation Structure of Local Approximations to Gradient-Based Learning in Linear Recurrent Neural Networks29 May 2026
- 2026HRM-Text: Efficient Pretraining Beyond Scaling20 May 2026
- 2026Parallel-in-Time Training of Recurrent Neural Networks for Dynamical Systems Reconstruction12 May 2026
- 2026MsFormer: Enabling Robust Predictive Maintenance Services for Industrial Devices24 Mar 2026
- 2026Extending SSMs with the Exponentially Weighted Signature19 Mar 2026
- 2026Improved state mixing in higher-order and block diagonal linear recurrent networks12 Feb 2026
- 2026Tuning the burn-in phase in training recurrent neural networks improves their performance11 Feb 2026
- 2026Dissecting Linear Recurrent Models: How Different Gating Strategies Drive Selectivity and Generalization18 Jan 2026
- 2025Design Principles for Sequence Models via Coefficient Dynamics10 Oct 2025
- 2025Insights from Gradient Dynamics: Gradient Autoscaled Normalization3 Sep 2025
- 2025Revisiting associative recall in modern recurrent models26 Aug 2025
13 more
- 2025Predictability Enables Parallelization of Nonlinear State Space Models22 Aug 2025
- 2025Time-Scale Coupling Between States and Parameters in Recurrent Neural Networks16 Aug 2025
- 2025Overcoming Low-Resource Barriers in Tulu: Neural Models and Corpus Creation for OffensiveLanguage Identification15 Aug 2025
- 2025Lyapunov Learning at the Onset of Chaos15 Jun 2025
- 2025SiLIF: Structured State Space Model Dynamics and Parametrization for Spiking Neural Networks4 Jun 2025
- 2025Weight-Space Linear Recurrent Neural Networks1 Jun 2025
- 2025In Search of Adam's Secret Sauce27 May 2025
- 2025Revisiting Glorot Initialization for Long-Range Linear Recurrences26 May 2025
- 2025Generative Graph Pattern Machine22 May 2025
- 2025Fixed-Point RNNs: Interpolating from Diagonal to Dense13 Mar 2025
- 2024Autocorrelation Matters: Understanding the Role of Initialization Schemes for State Space Models29 Nov 2024
- 2024Zero-Shot Temporal Resolution Domain Adaptation for Spiking Neural Networks7 Nov 2024
- 2024DeNOTS: Stable Deep Neural ODEs for Time Series15 Aug 2024
- 2025In Search of Adam's Secret Saucecited by 40
- 2025Generative Graph Pattern Machinecited by 11
- 2024Autocorrelation Matters: Understanding the Role of Initialization Schemes for State Space Modelscited by 8
- 2025Predictability Enables Parallelization of Nonlinear State Space Modelscited by 7
- 2025Revisiting associative recall in modern recurrent modelscited by 7
- 2026HRM-Text: Efficient Pretraining Beyond Scalingcited by 7
- 2024Zero-Shot Temporal Resolution Domain Adaptation for Spiking Neural Networkscited by 6
- 2024DeNOTS: Stable Deep Neural ODEs for Time Seriescited by 5
- 2025Weight-Space Linear Recurrent Neural Networkscited by 5
- 2025Revisiting Glorot Initialization for Long-Range Linear Recurrencescited by 2
- 2025Time-Scale Coupling Between States and Parameters in Recurrent Neural Networkscited by 1
- 2025Design Principles for Sequence Models via Coefficient Dynamicscited by 1
12 most cited of 23 All 23 (JSON)
- 2026Beyond a Single Explanation of the Adam--SGD Gap12 Jun 2026
- 2026Dynamics and Representation Structure of Local Approximations to Gradient-Based Learning in Linear Recurrent Neural Networks29 May 2026
- 2026HRM-Text: Efficient Pretraining Beyond Scaling20 May 2026
- 2026Parallel-in-Time Training of Recurrent Neural Networks for Dynamical Systems Reconstruction12 May 2026
- 2026MsFormer: Enabling Robust Predictive Maintenance Services for Industrial Devices24 Mar 2026
- 2026Extending SSMs with the Exponentially Weighted Signature19 Mar 2026
- 2026Improved state mixing in higher-order and block diagonal linear recurrent networks12 Feb 2026
- 2026Tuning the burn-in phase in training recurrent neural networks improves their performance11 Feb 2026
- 2026Dissecting Linear Recurrent Models: How Different Gating Strategies Drive Selectivity and Generalization18 Jan 2026
- 2025Design Principles for Sequence Models via Coefficient Dynamics10 Oct 2025
- 2025Insights from Gradient Dynamics: Gradient Autoscaled Normalization3 Sep 2025
- 2025Revisiting associative recall in modern recurrent models26 Aug 2025
12 newest of 23 All 23 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Memory Determines Learning Direction: A Theory of Gradient-Based Optimization in State Space Models
- 2026Improving the Performance and Learning Stability of Parallelizable RNNs Designed for Ultra-Low Power Applications
- 2025Fast Training of Recurrent Neural Networks with Stationary State Feedbacks
- 2024State-Space Modeling in Long Sequence Processing: A Survey on Recurrence in the Transformer Era
- 2025ParaRNN: Unlocking Parallel Training of Nonlinear RNNs for Large Language Models
- 2023Dynamic Analysis and an Eigen Initializer for Recurrent Neural Networks
- 2024Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networks
- 2025StateX: Enhancing RNN Recall via Post-training State Expansion