Parallelizing Legendre Memory Unit Training
Narsimha Reddy Chilkuri, Chris Eliasmith
摘要
Recently, a new recurrent neural network (RNN) named the Legendre Memory Unit (LMU) was proposed and shown to achieve state-of-the-art performance on several benchmark datasets. Here we leverage the linear time-invariant (LTI) memory component of the LMU to construct a simplified variant that can be parallelized during training (and yet executed as an RNN during inference), thus overcoming a well known limitation of training RNNs on GPUs. We show that this reformulation that aids parallelizing, which can be applied generally to any deep network whose recurrent components are linear, makes training up to 200 times faster. Second, to validate its utility, we compare its performance against the original LMU and a variety of published LSTM and transformer networks on seven benchmarks, ranging from psMNIST to sentiment analysis to machine translation. We demonstrate that our models exhibit superior performance on all datasets, often using fewer parameters. For instance, our LMU sets a new state-of-the-art result on psMNIST, and uses half the parameters while outperforming Dis-tilBERT and LSTM models on IMDB sentiment analysis.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Efficiently Modeling Long Sequences with Structured State Spaces 引用了 FlexConv: Continuous Kernel Convolutions With Differentiable Kernel Sizes
- Deep Latent State Space Models for Time-Series Generation 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
- Deep Latent State Space Models for Time-Series Generation 引用了 Language Models are Few-Shot Learners
- Simplified State Space Layers for Sequence Modeling 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
- Simplified State Space Layers for Sequence Modeling 引用了 Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers
- Simplified State Space Layers for Sequence Modeling 引用了 FlexConv: Continuous Kernel Convolutions With Differentiable Kernel Sizes
引用它的顶会 Paper6
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 次引用
- Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space LayersAlbert Gu, Isys Johnson, Karan Goel, Khaled Saab 等NeurIPS 2021 · 1,280 次引用
- FlexConv: Continuous Kernel Convolutions With Differentiable Kernel SizesDavid W. Romero, Robert-Jan Bruintjes, Jakub Mikolaj Tomczak, Erik J. Bekkers 等ICLR 2022 · 94 次引用
- Simplified State Space Layers for Sequence ModelingJimmy T. H. Smith, Andrew Warrington, Scott W. LindermanICLR 2023 · 78 次引用
- Deep Latent State Space Models for Time-Series GenerationLinqi Zhou, Michael Poli, Winnie Xu, Stefano Massaroli 等ICML 2023 · 56 次引用
它引用的 Paper1
相关 Paper
- LMUFormer: Low Complexity Yet Powerful Spiking Model With Legendre Memory UnitsZeyu Liu, Gourav Datta, Anni Li, Peter Anthony BeerelICLR 2024 · 18 次引用
- Parallelizing non-linear sequential models over the sequence lengthYi Heng Lim, Qi Zhu, Joshua Selfridge, Muhammad Firmansyah KasimICLR 2024 · 33 次引用
- Linear Dynamical Systems as a Core Computational PrimitiveShiva KaulNeurIPS 2020 · 8 次引用
- HiPPO: Recurrent Memory with Optimal Polynomial ProjectionsAlbert Gu, Tri Dao, Stefano Ermon, Atri Rudra 等NeurIPS 2020 · 1,100 次引用
- ParaRNN: Unlocking Parallel Training of Nonlinear RNNs for Large Language ModelsFederico Danieli, Pau Rodríguez, Miguel Sarabia, Xavier Suau 等ICLR 2026 · 18 次引用
