Lune

NeurIPS2024顶会

Towards Scalable and Stable Parallelization of Nonlinear RNNs

Xavier Gonzalez, Andrew Warrington, Jimmy T. H. Smith, Scott W. Linderman

摘要

Transformers and linear state space models can be evaluated in parallel on modern hardware, but evaluating nonlinear RNNs appears to be an inherently sequential problem. Recently, however, Lim et al. '24 developed an approach called DEER, which evaluates nonlinear RNNs in parallel by posing the states as the solution to a fixed-point problem. They derived a parallel form of Newton's method to solve the fixed-point problem and achieved significant speedups over sequential evaluation. However, the computational complexity of DEER is cubic in the state size, and the algorithm can suffer from numerical instability. We address these limitations with two novel contributions. To reduce the computational complexity, we apply quasi-Newton approximations and show they converge comparably to Newton, use less memory, and are faster. To stabilize DEER, we leverage a connection between the Levenberg-Marquardt algorithm and Kalman smoothing, which we call ELK. This connection allows us to stabilize Newton's method while using efficient parallelized Kalman smoothing algorithms to retain performance. Through several experiments, we show that these innovations allow for parallel evaluation of nonlinear RNNs at larger scales and with greater stability.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Parallelization of Non-linear State-Space Models: Scaling Up Liquid-Resistance Liquid-Capacitance Networks for Efficient Sequence Modeling 引用了 Hyena Hierarchy: Towards Larger Convolutional Language Models
  • Parallelization of Non-linear State-Space Models: Scaling Up Liquid-Resistance Liquid-Capacitance Networks for Efficient Sequence Modeling 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Parallelization of Non-linear State-Space Models: Scaling Up Liquid-Resistance Liquid-Capacitance Networks for Efficient Sequence Modeling 引用了 Resurrecting Recurrent Neural Networks for Long Sequences
  • Hyena Hierarchy: Towards Larger Convolutional Language Models 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • xLSTM: Extended Long Short-Term Memory 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • xLSTM: Extended Long Short-Term Memory 引用了 Hyena Hierarchy: Towards Larger Convolutional Language Models
  • xLSTM: Extended Long Short-Term Memory 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • xLSTM: Extended Long Short-Term Memory 引用了 Resurrecting Recurrent Neural Networks for Long Sequences
  • Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models 引用了 xLSTM: Extended Long Short-Term Memory
  • Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models 引用了 Resurrecting Recurrent Neural Networks for Long Sequences
  • It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization 引用了 Resurrecting Recurrent Neural Networks for Long Sequences
  • ParaRNN: Unlocking Parallel Training of Nonlinear RNNs for Large Language Models 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • ParaRNN: Unlocking Parallel Training of Nonlinear RNNs for Large Language Models 引用了 Resurrecting Recurrent Neural Networks for Long Sequences
  • Efficiently Modeling Long Sequences with Structured State Spaces 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Resurrecting Recurrent Neural Networks for Long Sequences 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • ATLAS: Learning to Optimally Memorize the Context at Test Time 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • ATLAS: Learning to Optimally Memorize the Context at Test Time 引用了 It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online OptimizationAli Behrouz, Meisam Razaviyayn, Peilin Zhong, Vahab MirrokniICLR 2026 · 63 次引用
  2. ATLAS: Learning to Optimally Memorize the Context at Test TimeAli Behrouz, Zeman Li, Praneeth Kacham, Majid Daliri 等ICML 2026 · 57 次引用
  3. Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence ModelsBenjamin Walker, Lingyi Yang, Nicola Muca Cirone, Cristopher Salvi 等NeurIPS 2025 · 21 次引用
  4. ParaRNN: Unlocking Parallel Training of Nonlinear RNNs for Large Language ModelsFederico Danieli, Pau Rodríguez, Miguel Sarabia, Xavier Suau 等ICLR 2026 · 18 次引用
  5. Parallelization of Non-linear State-Space Models: Scaling Up Liquid-Resistance Liquid-Capacitance Networks for Efficient Sequence ModelingMónika Farsang, Radu GrosuNeurIPS 2025 · 14 次引用

它引用的 Paper25

  1. Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 次引用
  2. Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 次引用
  3. xLSTM: Extended Long Short-Term MemoryMaximilian Beck, Korbinian Pöppel, Markus Spanring, Andreas Auer 等NeurIPS 2024 · 703 次引用
  4. Hyena Hierarchy: Towards Larger Convolutional Language ModelsMichael Poli, Stefano Massaroli, Eric Nguyen, Daniel Y. Fu 等ICML 2023 · 481 次引用
  5. Resurrecting Recurrent Neural Networks for Long SequencesAntonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando 等ICML 2023 · 474 次引用

相关 Paper

  1. Predictability Enables Parallelization of Nonlinear State Space ModelsXavier Gonzalez, Leo Kozachkov, David M. Zoltowski, Kenneth L. Clarkson 等NeurIPS 2025 · 12 次引用
  2. Parallelizing MCMC Across the Sequence LengthDavid M. Zoltowski, Skyler Wu, Xavier Gonzalez, Leo Kozachkov 等NeurIPS 2025 · 6 次引用
  3. Linear Dynamical Systems as a Core Computational PrimitiveShiva KaulNeurIPS 2020 · 8 次引用
  4. Gated Inference Network: Inference and Learning State-Space ModelsHamidreza Hashempoorikderi, Wan ChoiNeurIPS 2024 · 5 次引用
  5. Modeling Latent Non-Linear Dynamical System over Time SeriesRen Fujiwara, Yasuko Matsubara, Yasushi SakuraiAAAI 2025 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖