Simplifying and Understanding State Space Models with Diagonal Linear RNNs
Not on the map. Why?
Abstract (arXiv)
Sequence models based on linear state spaces (SSMs) have recently emerged as a promising choice of architecture for modeling long range dependencies across various modalities. However, they invariably rely on discretization of a continuous state space, which complicates their presentation and understanding. In this work, we dispose of the discretization step, and propose a model based on vanilla Diagonal Linear RNNs (DLR). We empirically show that, despite being conceptually much simpler, DLR is as performant as previously-proposed SSMs on a variety of tasks and benchmarks including Long Range Arena and raw speech classification. Moreover, we characterize the expressivity of SSMs (including DLR) and attention-based models via a suite of 13 synthetic sequence-to-sequence tasks involving interactions over tens of thousands of tokens, ranging from simple operations, such as shifting an input sequence, to detecting co-dependent visual features over long spatial ranges in flattened images. We find that while SSMs report near-perfect performance on tasks that can be modeled via textitfew convolutional kernels, they struggle on tasks requiring textitmany such kernels and especially when the desired sequence manipulation is textitcontext-dependent. Despite these limitations, DLR reaches high performance on two higher-order reasoning tasks ListOpsSubTrees and PathfinderSegmentation-256 with input lengths 8K and 65K respectively, and gives encouraging performance on PathfinderSegmentation-512 with input length 262K for which attention is not a viable choice.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 31 of its 51 references that are in the map. First posted on arXiv 1 Dec 2022.
Builds on
31 of 51 references.
References · 31
- 2017Attention Is All You Needcited by 59,932
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2016Layer Normalizationcited by 5,579
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2022Simplified State Space Layers for Sequence Modelingcited by 776
19 more
- 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 741
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2016Language Modeling with Gated Convolutional Networkscited by 688
- 2022Mixture-of-Experts with Expert Choice Routingcited by 611
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2022Mega: Moving Average Equipped Gated Attentioncited by 178
- 2022It's Raw! Audio Generation with State-Space Modelscited by 171
- 2021Are Large-scale Datasets Necessary for Self-Supervised Pre-training?cited by 117
- 2020Kernel Operations on the GPU, with Autodiff, without Memory Overflowscited by 101
- 2018Learning long-range spatial dependencies with horizontal gated-recurrent unitscited by 98
- 2022What Makes Convolutional Models Great on Long Sequence Modeling?cited by 86
- 2019Disentangling neural mechanisms for perceptual groupingcited by 28
- 2022Downstream Datasets Make Surprisingly Good Pretraining Corporacited by 20
- 2018Complex Gated Recurrent Neural Networkscited by 17
Built on by
Citing papers per year: 2023: 12; 2024: 8; 2025: 3.
23 papers.
Sort:
By area:
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
- 2024The Hidden Attention of Mamba Modelscited by 88
- 2024Mastering Memory Tasks with World Modelscited by 38
- 2023Universality of Linear Recurrences Followed by Non-linear Projections: Finite-Width Guarantees and Benefits of Complex Eigenvaluescited by 35
- 2023Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priorscited by 33
- 2023Facing Off World Model Backbones: RNNs, Transformers, and S4cited by 31
- 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrievalcited by 20
- 20232-D SSM: A General Spatial Layer for Visual Transformerscited by 18
- 2024Slot State Space Modelscited by 17
11 more
- 2023Focus Your Attention (with Adaptive IIR Filters)cited by 12
- 2023On the Long Range Abilities of Transformerscited by 10
- 2023Hieros: Hierarchical Imagination on Structured State Space Sequence World Modelscited by 8
- 2024RotRNN: Modelling Long Sequences with Rotationscited by 6
- 2023Multi-Dimensional Hyena for Spatial Inductive Biascited by 5
- 2024Test Time Learning for Time Series Forecastingcited by 5
- 2024FACTS: A Factored State-Space Framework For World Modellingcited by 4
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approachcited by 3
- 2025Differential Mambacited by 2
- 2024On the low-shot transferability of [V]-Mambacited by 1
- 2025Adjoint sharding for very long context training of state space modelscited by 0
- 2025Differential Mamba8 Jul 2025
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approach4 Feb 2025
- 2025Adjoint sharding for very long context training of state space models1 Jan 2025
- 2024FACTS: A Factored State-Space Framework For World Modelling28 Oct 2024
- 2024Test Time Learning for Time Series Forecasting21 Sep 2024
- 2024RotRNN: Modelling Long Sequences with Rotations9 Jul 2024
- 2024Slot State Space Models18 Jun 2024
- 2024HGRN2: Gated Linear RNNs with State Expansion11 Apr 2024
- 2024On the low-shot transferability of [V]-Mamba15 Mar 2024
- 2024Mastering Memory Tasks with World Models7 Mar 2024
- 2024The Hidden Attention of Mamba Models3 Mar 2024
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec 2023
11 more
- 2023On the Long Range Abilities of Transformers28 Nov 2023
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modeling8 Nov 2023
- 2023Hieros: Hierarchical Imagination on Structured State Space Sequence World Models8 Oct 2023
- 2023Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priors4 Oct 2023
- 2023Multi-Dimensional Hyena for Spatial Inductive Bias24 Sep 2023
- 2023Universality of Linear Recurrences Followed by Non-linear Projections: Finite-Width Guarantees and Benefits of Complex Eigenvalues21 Jul 2023
- 2023Facing Off World Model Backbones: RNNs, Transformers, and S45 Jul 2023
- 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrieval23 Jun 2023
- 20232-D SSM: A General Spatial Layer for Visual Transformers11 Jun 2023
- 2023Focus Your Attention (with Adaptive IIR Filters)24 May 2023
- 2023Resurrecting Recurrent Neural Networks for Long Sequences11 Mar 2023
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2024The Hidden Attention of Mamba Modelscited by 88
- 2024Slot State Space Modelscited by 17
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approachcited by 3
- 2025Differential Mambacited by 2
- 2024On the low-shot transferability of [V]-Mambacited by 1
- 2025Differential Mamba8 Jul 2025
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approach4 Feb 2025
- 2024Slot State Space Models18 Jun 2024
- 2024On the low-shot transferability of [V]-Mamba15 Mar 2024
- 2024The Hidden Attention of Mamba Models3 Mar 2024
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec 2023
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
- 2023Universality of Linear Recurrences Followed by Non-linear Projections: Finite-Width Guarantees and Benefits of Complex Eigenvaluescited by 35
- 2023Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priorscited by 33
- 20232-D SSM: A General Spatial Layer for Visual Transformerscited by 18
- 2023Focus Your Attention (with Adaptive IIR Filters)cited by 12
- 2023On the Long Range Abilities of Transformerscited by 10
- 2024RotRNN: Modelling Long Sequences with Rotationscited by 6
- 2023Multi-Dimensional Hyena for Spatial Inductive Biascited by 5
- 2024Test Time Learning for Time Series Forecastingcited by 5
- 2025Adjoint sharding for very long context training of state space modelscited by 0
- 2025Adjoint sharding for very long context training of state space models1 Jan 2025
- 2024Test Time Learning for Time Series Forecasting21 Sep 2024
- 2024RotRNN: Modelling Long Sequences with Rotations9 Jul 2024
- 2024HGRN2: Gated Linear RNNs with State Expansion11 Apr 2024
- 2023On the Long Range Abilities of Transformers28 Nov 2023
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modeling8 Nov 2023
- 2023Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priors4 Oct 2023
- 2023Multi-Dimensional Hyena for Spatial Inductive Bias24 Sep 2023
- 2023Universality of Linear Recurrences Followed by Non-linear Projections: Finite-Width Guarantees and Benefits of Complex Eigenvalues21 Jul 2023
- 20232-D SSM: A General Spatial Layer for Visual Transformers11 Jun 2023
- 2023Focus Your Attention (with Adaptive IIR Filters)24 May 2023
- 2023Resurrecting Recurrent Neural Networks for Long Sequences11 Mar 2023
Similar, not cited
Close in wording, no citation either way
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba
- 2025MS-SSM: A Multi-Scale State Space Model for Efficient Sequence Modeling
- 2026DSSMs: State Space Models with Explicit Memory via Delay Differential Equations
- 2024Enhanced Structured State Space Models via Grouped FIR Filtering and Attention Sink Mechanisms
- 2026MuonSSM: Orthogonalizing State Space Models for Sequence Modeling
- 2024LongVQ: Long Sequence Modeling with Vector Quantization on Structured Memory
- 2023Block-State Transformers
- 2026Mamba-3: Improved Sequence Modeling using State Space Principles