mlsanityData to 7 Oct 2026

M2RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling

arXiv 2603.14360 ↗First posted 15 Mar 2026cs.LG cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Transformers are highly parallel but are limited to computations in the TC0 complexity class, excluding tasks such as entity tracking and code execution that provably require greater expressive power. Motivated by this limitation, we revisit non-linear Recurrent Neural Networks (RNNs) for language modeling and introduce Matrix-to-Matrix RNN (M2RNN): an architecture with matrix-valued hidden states and expressive non-linear state transitions. We demonstrate that the language modeling performance of non-linear RNNs is limited by their state size, and show how the state size expansion mechanism enables efficient use of tensor cores. Empirically, M2RNN achieves perfect state tracking generalization at sequence lengths not seen during training. These benefits also translate to large-scale language modeling. In hybrid settings that interleave recurrent layers with attention, Hybrid M2RNN outperforms equivalent Gated DeltaNet hybrids by 0.4-0.5 perplexity points on a 7B MoE model, while using 3× smaller state sizes for the recurrent layers. Notably, replacing even a single recurrent layer with M2RNN in an existing hybrid architecture yields accuracy gains comparable to Hybrid M2RNN with minimal impact on training throughput. Further, the Hybrid Gated DeltaNet models with a single M2RNN layer also achieve superior long-context generalization, outperforming state-of-the-art hybrid linear attention architectures by up to 8 points on LongBench. Together, these results establish non-linear RNN layers as a compelling building block for efficient and scalable language models.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 68 of its 86 references that are in the map. First posted on arXiv 15 Mar 2026.

Builds on

68 of 86 references.

References · 68

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2025Qwen3 Technical Reportcited by 8,195
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  8. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  9. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  10. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  11. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  12. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
38 more
  1. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  2. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  3. 2016Pointer Sentinel Mixture Modelscited by 2,992
  4. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  6. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  7. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
  8. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  9. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  11. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  12. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  13. 2020GLU Variants Improve Transformercited by 1,724
  14. 2019Root Mean Square Layer Normalizationcited by 1,425
  15. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  16. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
  17. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  18. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  19. 2017Mixed Precision Trainingcited by 1,135
  20. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  21. 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 935
  22. 2020On Layer Normalization in the Transformer Architecturecited by 906
  23. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  24. 2017Crowdsourcing Multiple Choice Science Questionscited by 742
  25. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
  26. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  27. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
  28. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  29. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  30. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  31. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
  32. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  33. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
  34. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  35. 2021Random Feature Attentioncited by 350
  36. 2024xLSTM: Extended Long Short-Term Memorycited by 320
  37. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
  38. 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 227

50 most cited of 68 All 68 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 7.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Implicit Language Models are RNNs: Balancing Parallelization and Expressivity
  2. 2023State space models can express n-gram languages
  3. 2026A Single-Layer Model Can Do Language Modeling
  4. 2025Language Modeling With Factorization Memory
  5. 2024Linearizing Large Language Models
  6. 2024BabyHGRN: Exploring RNNs for Sample-Efficient Training of Language Models
  7. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models
  8. 2026DREAMSTATE: Diffusing States and Parameters for Recurrent Large Language Models