mlsanityData to 7 Oct 2026

Simplifying and Understanding State Space Models with Diagonal Linear RNNs

arXiv 2212.00768 ↗First posted 1 Dec 2022cs.LG cs.CLcited by 23

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  3. 2016Layer Normalizationcited by 5,579
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  6. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  7. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  8. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  9. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  10. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  11. 2020On Layer Normalization in the Transformer Architecturecited by 906
  12. 2022Simplified State Space Layers for Sequence Modelingcited by 776
19 more
  1. 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 741
  2. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  3. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  4. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  5. 2016Language Modeling with Gated Convolutional Networkscited by 688
  6. 2022Mixture-of-Experts with Expert Choice Routingcited by 611
  7. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
  8. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
  9. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  10. 2022Long Range Language Modeling via Gated State Spacescited by 265
  11. 2022Mega: Moving Average Equipped Gated Attentioncited by 178
  12. 2022It's Raw! Audio Generation with State-Space Modelscited by 171
  13. 2021Are Large-scale Datasets Necessary for Self-Supervised Pre-training?cited by 117
  14. 2020Kernel Operations on the GPU, with Autodiff, without Memory Overflowscited by 101
  15. 2018Learning long-range spatial dependencies with horizontal gated-recurrent unitscited by 98
  16. 2022What Makes Convolutional Models Great on Long Sequence Modeling?cited by 86
  17. 2019Disentangling neural mechanisms for perceptual groupingcited by 28
  18. 2022Downstream Datasets Make Surprisingly Good Pretraining Corporacited by 20
  19. 2018Complex Gated Recurrent Neural Networkscited by 17

Built on by

Cited by year

Citing papers per year: 2023: 12; 2024: 8; 2025: 3.

23 papers.

Sort:

By area:

  1. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  2. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
  3. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
  4. 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
  5. 2024The Hidden Attention of Mamba Modelscited by 88
  6. 2024Mastering Memory Tasks with World Modelscited by 38
  7. 2023Universality of Linear Recurrences Followed by Non-linear Projections: Finite-Width Guarantees and Benefits of Complex Eigenvaluescited by 35
  8. 2023Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priorscited by 33
  9. 2023Facing Off World Model Backbones: RNNs, Transformers, and S4cited by 31
  10. 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrievalcited by 20
  11. 20232-D SSM: A General Spatial Layer for Visual Transformerscited by 18
  12. 2024Slot State Space Modelscited by 17
11 more
  1. 2023Focus Your Attention (with Adaptive IIR Filters)cited by 12
  2. 2023On the Long Range Abilities of Transformerscited by 10
  3. 2023Hieros: Hierarchical Imagination on Structured State Space Sequence World Modelscited by 8
  4. 2024RotRNN: Modelling Long Sequences with Rotationscited by 6
  5. 2023Multi-Dimensional Hyena for Spatial Inductive Biascited by 5
  6. 2024Test Time Learning for Time Series Forecastingcited by 5
  7. 2024FACTS: A Factored State-Space Framework For World Modellingcited by 4
  8. 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approachcited by 3
  9. 2025Differential Mambacited by 2
  10. 2024On the low-shot transferability of [V]-Mambacited by 1
  11. 2025Adjoint sharding for very long context training of state space modelscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba
  2. 2025MS-SSM: A Multi-Scale State Space Model for Efficient Sequence Modeling
  3. 2026DSSMs: State Space Models with Explicit Memory via Delay Differential Equations
  4. 2024Enhanced Structured State Space Models via Grouped FIR Filtering and Attention Sink Mechanisms
  5. 2026MuonSSM: Orthogonalizing State Space Models for Sequence Modeling
  6. 2024LongVQ: Long Sequence Modeling with Vector Quantization on Structured Memory
  7. 2023Block-State Transformers
  8. 2026Mamba-3: Improved Sequence Modeling using State Space Principles