Lune

NeurIPS2024顶会

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

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Theoretical Foundations of Deep Selective State-Space Models 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Theoretical Foundations of Deep Selective State-Space Models 引用了 Resurrecting Recurrent Neural Networks for Long Sequences
  • FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers
  • Weight-Space Linear Recurrent Neural Networks 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Weight-Space Linear Recurrent Neural Networks 引用了 Resurrecting Recurrent Neural Networks for Long Sequences
  • Efficiently Modeling Long Sequences with Structured State Spaces 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • In Search of Adam's Secret Sauce 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Resurrecting Recurrent Neural Networks for Long Sequences 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Resurrecting Recurrent Neural Networks for Long Sequences 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Resurrecting Recurrent Neural Networks for Long Sequences 引用了 Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers
  • Predictability Enables Parallelization of Nonlinear State Space Models 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Predictability Enables Parallelization of Nonlinear State Space Models 引用了 Resurrecting Recurrent Neural Networks for Long Sequences
  • Provable Benefits of Complex Parameterizations for Structured State Space Models 引用了 Theoretical Foundations of Deep Selective State-Space Models
  • Provable Benefits of Complex Parameterizations for Structured State Space Models 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Provable Benefits of Complex Parameterizations for Structured State Space Models 引用了 Resurrecting Recurrent Neural Networks for Long Sequences
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper13

  1. Theoretical Foundations of Deep Selective State-Space ModelsNicola Muca Cirone, Antonio Orvieto, Benjamin Walker, Cristopher Salvi 等NeurIPS 2024 · 97 次引用
  2. In Search of Adam's Secret SauceAntonio Orvieto, Robert GowerNeurIPS 2025 · 43 次引用
  3. Provable Benefits of Complex Parameterizations for Structured State Space ModelsYuval Ran-Milo, Eden Lumbroso, Edo Cohen-Karlik, Raja Giryes 等NeurIPS 2024 · 14 次引用
  4. Predictability Enables Parallelization of Nonlinear State Space ModelsXavier Gonzalez, Leo Kozachkov, David M. Zoltowski, Kenneth L. Clarkson 等NeurIPS 2025 · 12 次引用
  5. Weight-Space Linear Recurrent Neural NetworksRoussel Desmond Nzoyem, Nawid Keshtmand, Enrique Crespo-Fernandez, Idriss Tsayem 等ICLR 2026 · 6 次引用

它引用的 Paper13

  1. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
  2. Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 次引用
  3. Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 次引用
  4. Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space LayersAlbert Gu, Isys Johnson, Karan Goel, Khaled Saab 等NeurIPS 2021 · 1,280 次引用
  5. Resurrecting Recurrent Neural Networks for Long SequencesAntonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando 等ICML 2023 · 474 次引用

相关 Paper

  1. StableSSM: Alleviating the Curse of Memory in State-space Models through Stable ReparameterizationShida Wang, Qianxiao LiICML 2024 · 25 次引用
  2. UnICORNN: A recurrent model for learning very long time dependenciesT. Konstantin Rusch, Siddhartha MishraICML 2021 · 76 次引用
  3. On the difficulty of learning chaotic dynamics with RNNsJonas M. Mikhaeil, Zahra Monfared, Daniel DurstewitzNeurIPS 2022 · 109 次引用
  4. Implicit Bias of Linear RNNsMelikasadat Emami, Mojtaba Sahraee-Ardakan, Parthe Pandit, Sundeep Rangan 等ICML 2021 · 14 次引用
  5. Long Expressive Memory for Sequence ModelingT. Konstantin Rusch, Siddhartha Mishra, N. Benjamin Erichson, Michael W. MahoneyICLR 2022 · 57 次引用
黄昏的海面,两侧是细线勾勒的悬崖