Lune

ICLR2024Top-tier venue

Parallelizing non-linear sequential models over the sequence length

Yi Heng Lim, Qi Zhu, Joshua Selfridge, Muhammad Firmansyah Kasim

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

21 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • On the Parameterization and Initialization of Diagonal State Space Models cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Efficiently Modeling Long Sequences with Structured State Spaces cites On the Parameterization and Initialization of Diagonal State Space Models
  • On the Parameterization and Initialization of Diagonal State Space Models cites Neural Controlled Differential Equations for Irregular Time Series
  • Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models cites On the Parameterization and Initialization of Diagonal State Space Models
  • Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models cites Resurrecting Recurrent Neural Networks for Long Sequences
  • Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models cites Neural Controlled Differential Equations for Irregular Time Series
  • Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models cites Towards Scalable and Stable Parallelization of Nonlinear RNNs
  • It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization cites Efficiently Modeling Long Sequences with Structured State Spaces
  • It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization cites Resurrecting Recurrent Neural Networks for Long Sequences
  • It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization cites Towards Scalable and Stable Parallelization of Nonlinear RNNs
  • Efficiently Modeling Long Sequences with Structured State Spaces cites Neural Controlled Differential Equations for Irregular Time Series
  • Resurrecting Recurrent Neural Networks for Long Sequences cites On the Parameterization and Initialization of Diagonal State Space Models
  • Resurrecting Recurrent Neural Networks for Long Sequences cites Efficiently Modeling Long Sequences with Structured State Spaces
  • ATLAS: Learning to Optimally Memorize the Context at Test Time cites 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 cites Towards Scalable and Stable Parallelization of Nonlinear RNNs
  • Towards Scalable and Stable Parallelization of Nonlinear RNNs cites Multiscale Deep Equilibrium Models
  • Towards Scalable and Stable Parallelization of Nonlinear RNNs cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Towards Scalable and Stable Parallelization of Nonlinear RNNs cites Resurrecting Recurrent Neural Networks for Long Sequences
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  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 citations
  2. ATLAS: Learning to Optimally Memorize the Context at Test TimeAli Behrouz, Zeman Li, Praneeth Kacham, Majid Daliri et al.ICML 2026 · 57 citations
  3. Towards Scalable and Stable Parallelization of Nonlinear RNNsXavier Gonzalez, Andrew Warrington, Jimmy T. H. Smith, Scott W. LindermanNeurIPS 2024 · 47 citations
  4. Accelerating Parallel Sampling of Diffusion ModelsZhiwei Tang, Jiasheng Tang, Hao Luo, Fan Wang et al.ICML 2024 · 30 citations
  5. Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence ModelsBenjamin Walker, Lingyi Yang, Nicola Muca Cirone, Cristopher Salvi et al.NeurIPS 2025 · 21 citations

Builds on22

  1. Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
  2. Neural Controlled Differential Equations for Irregular Time SeriesPatrick Kidger, James Morrill, James Foster, Terry J. LyonsNeurIPS 2020 · 850 citations
  3. On the Parameterization and Initialization of Diagonal State Space ModelsAlbert Gu, Karan Goel, Ankit Gupta, Christopher RéNeurIPS 2022 · 690 citations
  4. Resurrecting Recurrent Neural Networks for Long SequencesAntonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando et al.ICML 2023 · 474 citations
  5. Multiscale Deep Equilibrium ModelsShaojie Bai, Vladlen Koltun, J. Zico KolterNeurIPS 2020 · 272 citations

Related papers

  1. Parallel Training of GRU Networks with a Multi-Grid Solver for Long SequencesEuhyun Moon, Eric C. CyrICLR 2022 · 9 citations
  2. Parallelizing Legendre Memory Unit TrainingNarsimha Reddy Chilkuri, Chris EliasmithICML 2021 · 47 citations
  3. CKConv: Continuous Kernel Convolution For Sequential DataDavid W. Romero, Anna Kuzina, Erik J. Bekkers, Jakub Mikolaj Tomczak et al.ICLR 2022 · 149 citations
  4. Fast Saturating Gate for Learning Long Time Scales with Recurrent Neural NetworksKentaro Ohno, Sekitoshi Kanai, Yasutoshi IdaAAAI 2023 · 1 citation
  5. DeepPCR: Parallelizing Sequential Operations in Neural NetworksFederico Danieli, Miguel Sarabia, Xavier Suau Cuadros, Pau Rodríguez et al.NeurIPS 2023 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines