potentialpaper

M$^2$RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:39 UTC · f9e22fdcde13 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,25 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "1BghQYvh91"
- }
- ],
- "title": "M$^2$RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling",
- "authors": [
- "Mayank Mishra",
- "Shawn Tan",
- "Ion Stoica",
- "Joseph E. Gonzalez",
- "Tri Dao"
- ],
- "abstract": "Transformers are limited to computations in the $\\mathsf{TC}^0$ complexity class, excluding tasks such as entity tracking and code execution that provably require greater expressivity. Motivated by this, we revisit non-linear Recurrent Neural Networks (RNNs) and introduce Matrix-to-Matrix RNN (M$^2$RNN): an architecture with matrix-valued hidden states and non-linear state transitions. We show that (i) the language modeling performance of non-linear RNNs is limited by their state size, and (ii) outer-product state expansion enables efficient tensor-core utilization. Empirically, M$^2$RNN achieves perfect state-tracking generalization at sequence lengths beyond training. These gains transfer to large-scale language modeling: at 7B MoE, Hybrid M$^2$RNN outperforms Hybrid Gated DeltaNet by $0.4$–$0.5$ perplexity points using $3\\times$ smaller recurrent states, and replacing even a single recurrent layer with M$^2$RNN yields accuracy gains comparable to Hybrid M$^2$RNN with minimal throughput cost. Hybrid Gated DeltaNet with a single M$^2$RNN layer also outperforms 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.",
- "year": 2026,
- "venue": "NeurIPS 2026",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "fae1a31f-db48-4a11-932a-c1ffeed11575"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,15 @@
+{
+ "title": "M$^2$RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling",
+ "authors": [
+ "Mayank Mishra",
+ "Shawn Tan",
+ "Ion Stoica",
+ "Joseph E. Gonzalez",
+ "Tri Dao"
+ ],
+ "abstract": "Transformers are limited to computations in the $\\mathsf{TC}^0$ complexity class, excluding tasks such as entity tracking and code execution that provably require greater expressivity. Motivated by this, we revisit non-linear Recurrent Neural Networks (RNNs) and introduce Matrix-to-Matrix RNN (M$^2$RNN): an architecture with matrix-valued hidden states and non-linear state transitions. We show that (i) the language modeling performance of non-linear RNNs is limited by their state size, and (ii) outer-product state expansion enables efficient tensor-core utilization. Empirically, M$^2$RNN achieves perfect state-tracking generalization at sequence lengths beyond training. These gains transfer to large-scale language modeling: at 7B MoE, Hybrid M$^2$RNN outperforms Hybrid Gated DeltaNet by $0.4$–$0.5$ perplexity points using $3\\times$ smaller recurrent states, and replacing even a single recurrent layer with M$^2$RNN yields accuracy gains comparable to Hybrid M$^2$RNN with minimal throughput cost. Hybrid Gated DeltaNet with a single M$^2$RNN layer also outperforms 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.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}