Parallelizing non-linear sequential models over the sequence length
Yi Heng Lim, Qi Zhu, Joshua Selfridge, Muhammad Firmansyah Kasim
摘要
Sequential models, such as Recurrent Neural Networks and Neural Ordinary Differential Equations, have long suffered from slow training due to their inherent sequential nature. For many years this bottleneck has persisted, as many thought sequential models could not be parallelized. We challenge this long-held belief with our parallel algorithm that accelerates GPU evaluation of sequential models by up to 3 orders of magnitude faster without compromising output accuracy. The algorithm does not need any special structure in the sequential models' architecture, making it applicable to a wide range of architectures. Using our method, training sequential models can be more than 10 times faster than the common sequential method without any meaningful difference in the training results. Leveraging this accelerated training, we discovered the efficacy of the Gated Recurrent Unit in a long time series classification problem with 17k time samples. By overcoming the training bottleneck, our work serves as the first step to unlock the potential of non-linear sequential models for long sequence problems.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- On the Parameterization and Initialization of Diagonal State Space Models 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
- Efficiently Modeling Long Sequences with Structured State Spaces 引用了 On the Parameterization and Initialization of Diagonal State Space Models
- On the Parameterization and Initialization of Diagonal State Space Models 引用了 Neural Controlled Differential Equations for Irregular Time Series
- Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models 引用了 On the Parameterization and Initialization of Diagonal State Space Models
- Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models 引用了 Resurrecting Recurrent Neural Networks for Long Sequences
- Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models 引用了 Neural Controlled Differential Equations for Irregular Time Series
- Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models 引用了 Towards Scalable and Stable Parallelization of Nonlinear RNNs
- 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
- It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization 引用了 Towards Scalable and Stable Parallelization of Nonlinear RNNs
- Efficiently Modeling Long Sequences with Structured State Spaces 引用了 Neural Controlled Differential Equations for Irregular Time Series
- Resurrecting Recurrent Neural Networks for Long Sequences 引用了 On the Parameterization and Initialization of Diagonal State Space Models
- 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 引用了 It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization
- ATLAS: Learning to Optimally Memorize the Context at Test Time 引用了 Towards Scalable and Stable Parallelization of Nonlinear RNNs
- Towards Scalable and Stable Parallelization of Nonlinear RNNs 引用了 Multiscale Deep Equilibrium Models
- Towards Scalable and Stable Parallelization of Nonlinear RNNs 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
- Towards Scalable and Stable Parallelization of Nonlinear RNNs 引用了 Resurrecting Recurrent Neural Networks for Long Sequences
引用它的顶会 Paper21
- 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 次引用
- ATLAS: Learning to Optimally Memorize the Context at Test TimeAli Behrouz, Zeman Li, Praneeth Kacham, Majid Daliri 等ICML 2026 · 57 次引用
- Towards Scalable and Stable Parallelization of Nonlinear RNNsXavier Gonzalez, Andrew Warrington, Jimmy T. H. Smith, Scott W. LindermanNeurIPS 2024 · 47 次引用
- Accelerating Parallel Sampling of Diffusion ModelsZhiwei Tang, Jiasheng Tang, Hao Luo, Fan Wang 等ICML 2024 · 30 次引用
- Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence ModelsBenjamin Walker, Lingyi Yang, Nicola Muca Cirone, Cristopher Salvi 等NeurIPS 2025 · 21 次引用
它引用的 Paper22
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 次引用
- Neural Controlled Differential Equations for Irregular Time SeriesPatrick Kidger, James Morrill, James Foster, Terry J. LyonsNeurIPS 2020 · 850 次引用
- On the Parameterization and Initialization of Diagonal State Space ModelsAlbert Gu, Karan Goel, Ankit Gupta, Christopher RéNeurIPS 2022 · 690 次引用
- Resurrecting Recurrent Neural Networks for Long SequencesAntonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando 等ICML 2023 · 474 次引用
- Multiscale Deep Equilibrium ModelsShaojie Bai, Vladlen Koltun, J. Zico KolterNeurIPS 2020 · 272 次引用
相关 Paper
- Parallel Training of GRU Networks with a Multi-Grid Solver for Long SequencesEuhyun Moon, Eric C. CyrICLR 2022 · 9 次引用
- Parallelizing Legendre Memory Unit TrainingNarsimha Reddy Chilkuri, Chris EliasmithICML 2021 · 47 次引用
- CKConv: Continuous Kernel Convolution For Sequential DataDavid W. Romero, Anna Kuzina, Erik J. Bekkers, Jakub Mikolaj Tomczak 等ICLR 2022 · 149 次引用
- Fast Saturating Gate for Learning Long Time Scales with Recurrent Neural NetworksKentaro Ohno, Sekitoshi Kanai, Yasutoshi IdaAAAI 2023 · 1 次引用
- DeepPCR: Parallelizing Sequential Operations in Neural NetworksFederico Danieli, Miguel Sarabia, Xavier Suau Cuadros, Pau Rodríguez 等NeurIPS 2023 · 13 次引用
