M$^2$RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling
Update NeurIPS 2026 submission 1BghQYvh91: 10 notes
@openreview[bot] · 2026-11-24 15:44 UTC · 50e127686d80 ·
reviews/openreview/1bghqyvh91/notes/1rxktykan2.json added
+++ b/reviews/openreview/1bghqyvh91/notes/1rxktykan2.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "1rXktykAN2",+ "replyTo": "T52vJbNv2k",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer r7pd",+ "content": {+ "comment": "I thank the authors for their time, experiments, and clarifications. My assessment of the paper changes as follows:\n\n**Originality:**\n\n3. (Resolved) The positioning as the simplest parametrization between sLSTM and xLSTM provides helpful intuition. The clarification how efficiency and training stability lead to this specific \"simple\" parametrization was helpful and should also be reflected in Section 3.1.\n\n**Quality and Claims (2.):**\n\n1. (Partially Resolved) I'm honestly surprised that the authors were not aware of the link to the source code in the abstract of Flash-RNN, the main baseline over which they claimed conceptual superiority in their paper. I appreciate the confirmation that M2-RNN employs more FLOPS per step and nevertheless seems to show better throughput on longer sequences (but worse than GRU?). That being said, it is not clear how the experimental setup is controlled (what is the hardware? are kernels or models benchmarked? are the layers embedded in the same backbone? are they employed with comparable state size? what is the metric reported in the benchmark tables? what loss do these controlled experiments result in?) and my fundamental question \"whether the extra computation of M2-RNN is worth the additional cost\" is not transparently resolved.\n\n2. (Resolved): The ablation confirms the effect of state-size and forget gate on language modelling. Given that the authors seem to have an efficient custom implementation of GRU it would furthermore be interesting to see the effect of scaling state-size in a GRU on both performance and efficiency in comparison to M2-RNN. I also appreciate the effort to train without tanh, I still believe that this might be possible (their prove of non-stability would also apply with tanh) but we can leave this for future work.\n\n3. (Resolved) Thanks for clarifying this in the paper. I apologize for overlooking the distinction of time-invariant and time-varying linear RNNs with respect to state-tracking expressivity. \n\n4. (Not Resolved) The additional NIAH experiment does not provide an explanation why structured storage and read-out of key-value associations should work in a non-linearly modified $H\\_t$. If anything it shows that it doesn't work, given the bad scores (e.g. compared to the ones reported in the GatedDeltaNet paper).\n\n5. (Partially resolved) Thanks for fixing this statement in the paper and the explanations, this makes things clearer. Assuming SRAM could be programmed better with TileLang / CuTe-DSL, it is still not clear to me how $H\\_t$ can be recomputed and accessed in reverse direction on SRAM. One option would be caching multiple states $H\\_t$ in a chunk, but that would likely saturate available SRAM. So it remains unclear to me whether this is a fundamental barrier due to the non-linearity.\n\n**Conclusion:**\nI'm still hesitant to recommend acceptance, but trusting the authors will de-tone the overly strong statements, I'm willing to increase my score to 4 (borderline accept). I still find the experiments not very transparent as to where the M2-RNN layer lies on the expressivity-efficiency pareto frontier (wrt to GRU and sLSTM) and generally recommend the authors to focus more on this aspect. It would benefit the paper greatly."+ },+ "createdAt": "2026-08-04T10:40:16.525Z",+ "modifiedAt": "2026-11-19T17:20:10.972Z",+ "url": "https://openreview.net/forum?id=1BghQYvh91¬eId=1rXktykAN2",+ "license": "CC-BY-4.0"+}
reviews/openreview/1bghqyvh91/notes/2uxw5k1geb.json added
+++ b/reviews/openreview/1bghqyvh91/notes/2uxw5k1geb.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "2UXW5K1geb",+ "replyTo": "vgh7NVHrAK",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you again for your helpful comments. In our rebuttal we have answered the questions. If time permits, we would greatly appreciate any feedback on whether our response has addressed your concerns. We would be happy to clarify any remaining questions before the discussion period concludes.\n\nWe understand that this is a particularly busy period and sincerely appreciate your time."+ },+ "createdAt": "2026-08-03T04:53:08.866Z",+ "modifiedAt": "2026-11-19T17:20:11.230Z",+ "url": "https://openreview.net/forum?id=1BghQYvh91¬eId=2UXW5K1geb",+ "license": "CC-BY-4.0"+}
reviews/openreview/1bghqyvh91/notes/elrxv6r2fa.json added
+++ b/reviews/openreview/1bghqyvh91/notes/elrxv6r2fa.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "eLrxv6R2fA",+ "replyTo": "HSRczVa6Dh",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the meta-reviewer for the synthesis. We believe we have addressed the concerns to all the reviewers and we summarize the results:\n\n# 1. Isolating state size, non-linearity, and transition structure\n\nThis is the one point that needs consolidating rather than a pointer, since Table 7 alone doesn't isolate it. 3 controlled results, at fixed ~410M parameters, together do:\n\n**State size (varying K, V directly), Wikitext PPL:**\n\n| | K=16 | K=32 | K=64 |\n|---|---|---|---|\n| V=16 | 24.24 | 23.57 | 22.97 |\n| V=32 | 24.11 | 23.36 | **22.83** |\n\nRetrieval accuracy increases monotonically with the same sweep (FDA/SWDE/NQ/TriviaQA/SQuAD/DROP avg: 19.83 → 27.07 from k16-v16 to k64-v32). Please refer to the response to reviewer **r7pd** for the full results.\n\n**Forget gate × matrix-valued state (isolating the transition, not just size):**\n\n| Forget gate | Matrix-valued | Wikitext PPL | Lambada PPL | State size |\n|---|---|---|---|---|\n| ❌ | ❌ | 33.45 | 302.34 | 1,360 |\n| ✅| ❌ | 26.95 | 89.44 | 1,360 |\n| ❌ | ✅| 26.41 | 48.03 | 86,016 |\n| ✅| ✅ | **22.97** | **33.79** | 86,016 |\n\nBoth components contribute independently and additively; the matrix-valued state alone (holding the gate fixed) accounts for a comparable share of the gain to the gate alone, which is the isolation reviewer r7pd asked for.\n\n**Non-linearity vs. transition structure:** removing $\\tanh$ (dense $W$, unconstrained) diverges every time; training it requires per-step spectral-norm power iteration and remains the least stable configuration we tried. We prove the recurrence is unstable whenever $W$'s spectral radius is unbounded and a forget gate cannot compensate. A dense transition is only trainable non-linearly (via $\\tanh$) or under an explicit per-step norm constraint; Mamba-2/Gated DeltaNet avoid both because their transitions are already structured (scalar-valued / diagonal-plus-low-rank), so the norm bound reduces to the cheap gate they already apply.\n\nTogether these isolate state size, the forget gate, and non-linearity/transition-structure as three separate effects. We will restructure the ablation section around these three comparisons instead of the single RNN/GRU comparison.\n\n# 2. FlashRNN/xLSTM comparison\n\nSee our response to reviewer **r7pd** (throughput, 1k–16k context) and **2ToP** (inference throughput/memory vs. Transformer++). Summary: M$^2$RNN is the only kernel that scales past 4k–8k, where FlashRNN's fused kernels OOM, and already beats FlashRNN's CUDA-fused sLSTM at 2k context.\n\n# 3. Exact state sizes and backward memory\n\nSee our response to **r7pd** (Q7 and Q6): state sizes are 393,216 (Mamba-2/GDN), 262,144 (M$^2$RNN), 2,048 (RNN/GRU). We will correct L211–213 — HBM caching in the backward pass is a Triton-DSL SRAM-programmability limitation, not a consequence of non-diagonality or non-linearity.\n\n# 4. Positioning against xLSTM, Griffin, Titans\n\nSee our responses to **2ToP**: mLSTM (matrix state, linear update) and sLSTM (non-linear, vector state) each cover half of the design space M$^2$RNN combines; Griffin's gate is close to ours but our tested sigmoid alternative underperformed; Titans' MLP memory is more general but needs a chunkwise update we haven't evaluated here. We are also revising the associative-retrieval claim (L191–193): the Kronecker-flattening argument from **r7pd** is mathematically correct, but flattening explodes the projection parameter count; the empirical NIAH gap (RNN/GRU near-0% vs. M$^2$RNN, response to **A475**) supports the explicit parametrization as a practical inductive bias, not a capacity result.\n\n# 5. State-tracking and long-context robustness, multiple seeds\n\nSee our responses to **r7pd** ($S_5$ task: M$^2$RNN near-100% both within and beyond training length, vs. Gated DeltaProduct(4) degrading sharply beyond it), **3h4F** (400M 3-seed table: e.g. +0.71±0.4 avg accuracy for Hybrid GDN + M$^2$RNN-1 over Hybrid GDN, holding up under seeds and 7B per-task stderr), and **A475** (LongBench without TriviaQA: gain shrinks but persists, +4.1 to +3.8 avg points over Hybrid GDN; plus BabiLong and RULER NIAH, where M$^2$RNN/hybrids hold accuracy at 4$\\times$ training context vs. RNN/GRU collapsing to near-0%).\n\nFurther, we agree the non-associative transition rules out a scan-based context-parallel approach; our pipeline-parallel scheme (response to the **2ToP** thread) scales to 128k tokens in our tests, and we will state it as the proposed path rather than a solved problem.\n\n# Correction\n\nTable 7 isolates state size and the forget gate, not non-linearity — the non-linearity/transition-structure claim is supported separately by Section 1 above.\n\n# Conclusion\n\nWe believe the results above substantively address the meta-review's concerns, and would be grateful if the meta-reviewer reconsidered their assessment. Happy to clarify further."+ },+ "createdAt": "2026-08-04T08:08:00.997Z",+ "modifiedAt": "2026-11-19T17:20:11.242Z",+ "url": "https://openreview.net/forum?id=1BghQYvh91¬eId=eLrxv6R2fA",+ "license": "CC-BY-4.0"+}
reviews/openreview/1bghqyvh91/notes/hsrczva6dh.json modified
+++ b/reviews/openreview/1bghqyvh91/notes/hsrczva6dh.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair f5cm","content": {- "metareview": "### Summary\n\nThis paper proposes M²RNN, a non-linear recurrent layer with a matrix-valued hidden state. The main hypothesis is that the poor language-modeling performance of traditional non-linear RNNs is mainly caused by their small vector-valued state, rather than by non-linearity itself. M²RNN expands the state through an outer-product write, applies a dense non-linear recurrent transition, and uses an input-dependent forget gate. The experiments show that M²RNN can solve the synthetic S3 state-tracking task and generalize beyond the training length. As a standalone recurrent architecture, it becomes competitive with Mamba-2 and Gated DeltaNet, but remains computationally expensive. Its strongest results are obtained when one or several M²RNN layers are inserted into hybrid attention–linear-RNN models. At 410M dense and 7B MoE scales, these hybrid models improve language-model perplexity and several retrieval and LongBench results, while a one-layer configuration has a relatively small throughput reduction. \n\n### Strengths\n\nReviewer **r7pd** finds the paper _well organized and easy to follow with clean, meaningful, and consistent notation_. Reviewer **A475** similarly notes that the background section clearly motivates non-linear RNNs and makes the paper self-contained.\n\nReviewers **r7pd**, **2ToP**, and **A475** appreciate the algorithm–hardware co-design. Reviewer **r7pd** considers novel the idea that _matrix-valued non-linear RNNs could enable efficient kernels_, while Reviewer **2ToP** finds the discussion of _tensor-core tiling and Triton kernels valuable_. Reviewer **A475** also recognizes that substantial thought was given to making non-linear recurrence practically usable with GEMM operations.\n\nReviewers **2ToP**, **3h4F**, and **r7pd** consider the large-scale experiments meaningful. The models are trained on 100B tokens and evaluated at both 410M and 7B MoE scale. Reviewer **3h4F** particularly highlights Figure 2 as a clear demonstration of length generalization. Reviewer **r7pd** also considers the 7B language modeling, retrieval, and long-context experiments _a good signal in favour of investigating non-linear RNNs_.\n\nReviewer **2ToP** points out an interesting possible specialization inside the hybrid architecture: attention may handle exact retrieval, while M²RNN contributes non-linear state tracking or computation. This is a potentially important direction beyond the specific architecture proposed here.\n\n### Weaknesses\n\nThe most important issue, raised mainly by Reviewer **r7pd**, is that several central causal claims are not sufficiently isolated experimentally. The submission claims that state size, rather than non-linearity, explains the historical weakness of non-linear RNNs. However, Appendix F.5 compares M²RNN only against a vanilla RNN and GRU, with many simultaneous architectural differences. As r7pd states, _No ablation on the effect of state size or state transition in their M2-RNN setting is performed_. A controlled study varying (K), (V), non-linearity, and transition structure is missing.\n\nReviewer **r7pd** also questions the claimed hardware advantage over FlashRNN. The paper emphasizes padding waste when the local batch size is below 16, but its 7B setup appears to use a local batch size of exactly 16. A direct latency, throughput, FLOP, and memory comparison with FlashRNN/sLSTM is therefore needed. The current results establish that sparse use of M²RNN can be affordable, but not clearly that its recurrence is more hardware-efficient than competing non-linear RNN implementations.\n\nReviewers **r7pd** and **2ToP** find the relationship to prior non-linear recurrent architectures insufficiently discussed. In particular, the paper should more clearly compare its state and gating equations with LSTM, GRU, sLSTM, mLSTM/xLSTM, FlashRNN, Griffin, and Titans. At present, the architectural novelty relative to matrix-memory variants of xLSTM is not fully established.\n\nReviewers **3h4F**, **A475**, and **2ToP** express concern about the robustness and practical context-length limits. The model is trained only at 4K context and evaluated up to 16K, while modern models often target much longer contexts. Reviewer **3h4F** notes that the LongBench gains are uneven and partly concentrated in a few tasks; some Mamba-2 hybrids even regress after adding M²RNN. Reviewer **A475** also observes that the hybrid improvements are present but generally small or inconsistent.\n\nReviewer **A475** notes that the state-tracking claim is supported mainly by Figure 2 and is not connected to the later language-model experiments. Reviewer **r7pd** similarly asks for stronger tasks such as S5 and for ablations separating the effects of non-linearity from dense, non-diagonal transitions.\n\nSeveral important implementation details are also missing or unclear. Reviewer **r7pd** requests disclosure of the exact recurrent state sizes and a clearer explanation of associative retrieval after the non-linear state update. The backward-pass memory behavior also needs clarification. Reviewers **2ToP and A475** additionally ask about context-parallel training and the practical feasibility of extending BPTT to much longer sequences.\n\n### Assessment\n\nI lean toward **Reject** in the present form. The paper contains promising large-scale results and a potentially useful hybrid-layer design. However, the strongest scientific claims are presently broader than the supporting evidence. In particular, the submission does not cleanly separate the effects of state size, non-linearity, non-diagonality, outer-product memory, and implementation choices. The efficiency position relative to FlashRNN/xLSTM is also not established by a direct comparison. Since these claims form the main motivation and novelty of the work, this is more than a presentation issue. Clarification alone would improve the paper, but without at least some new controlled experiments, I do not think the present evidence is sufficient for acceptance. My assessment might change if the authors response provides:\n\n1. a fair FlashRNN/xLSTM throughput, latency, and memory comparison;\n2. exact state sizes and a clearer explanation of backward memory costs;\n3. substantially improved positioning against xLSTM, Griffin, and related non-linear recurrent models;\n4. more robust evidence for state tracking and long-context gains, preferably including multiple seeds at a feasible scale.\n\nIn addition, some reviewer comments themselves should be interpreted with care. Reviewer **3h4F** says that Table 7 demonstrates both state-size and non-linearity effects, but the table does not isolate non-linearity. Reviewer **A475**’s statement that improvements are _not significant_ is not statistically established without variance estimates, instead _small and inconsistent_ would be more accurate.\n\n### Update\n\nCorrected some mis-understanding during summarizing the metareview."+ "metareview": "### Summary\n\nThis paper proposes M²RNN, a non-linear recurrent layer with a matrix-valued hidden state. The main hypothesis is that the poor language-modeling performance of traditional non-linear RNNs is mainly caused by their small vector-valued state, rather than by non-linearity itself. M²RNN expands the state through an outer-product write, applies a dense non-linear recurrent transition, and uses an input-dependent forget gate. The experiments show that M²RNN can solve the synthetic S3 state-tracking task and generalize beyond the training length. As a standalone recurrent architecture, it becomes competitive with Mamba-2 and Gated DeltaNet, but remains computationally expensive. Its strongest results are obtained when one or several M²RNN layers are inserted into hybrid attention–linear-RNN models. At 410M dense and 7B MoE scales, these hybrid models improve language-model perplexity and several retrieval and LongBench results, while a one-layer configuration has a relatively small throughput reduction. \n\n### Strengths\n\nReviewer **r7pd** finds the paper _well organized and easy to follow with clean, meaningful, and consistent notation_. Reviewer **A475** similarly notes that the background section clearly motivates non-linear RNNs and makes the paper self-contained.\n\nReviewers **r7pd**, **2ToP**, and **A475** appreciate the algorithm–hardware co-design. Reviewer **r7pd** considers novel the idea that _matrix-valued non-linear RNNs could enable efficient kernels_, while Reviewer **2ToP** finds the discussion of _tensor-core tiling and Triton kernels valuable_. Reviewer **A475** also recognizes that substantial thought was given to making non-linear recurrence practically usable with GEMM operations.\n\nReviewers **2ToP**, **3h4F**, and **r7pd** consider the large-scale experiments meaningful. The models are trained on 100B tokens and evaluated at both 410M and 7B MoE scale. Reviewer **3h4F** particularly highlights Figure 2 as a clear demonstration of length generalization. Reviewer **r7pd** also considers the 7B language modeling, retrieval, and long-context experiments _a good signal in favour of investigating non-linear RNNs_.\n\nReviewer **2ToP** points out an interesting possible specialization inside the hybrid architecture: attention may handle exact retrieval, while M²RNN contributes non-linear state tracking or computation. This is a potentially important direction beyond the specific architecture proposed here.\n\n### Weaknesses\n\nThe most important issue, raised mainly by Reviewer **r7pd**, is that several central causal claims are not sufficiently isolated experimentally. The submission claims that state size, rather than non-linearity, explains the historical weakness of non-linear RNNs. However, Appendix F.5 compares M²RNN only against a vanilla RNN and GRU, with many simultaneous architectural differences. As r7pd states, _No ablation on the effect of state size or state transition in their M2-RNN setting is performed_. A controlled study varying (K), (V), non-linearity, and transition structure is missing.\n\nReviewer **r7pd** also questions the claimed hardware advantage over FlashRNN. The paper emphasizes padding waste when the local batch size is below 16, but its 7B setup appears to use a local batch size of exactly 16. A direct latency, throughput, FLOP, and memory comparison with FlashRNN/sLSTM is therefore needed. The current results establish that sparse use of M²RNN can be affordable, but not clearly that its recurrence is more hardware-efficient than competing non-linear RNN implementations.\n\nReviewers **r7pd** and **2ToP** find the relationship to prior non-linear recurrent architectures insufficiently discussed. In particular, the paper should more clearly compare its state and gating equations with LSTM, GRU, sLSTM, mLSTM/xLSTM, FlashRNN, Griffin, and Titans. At present, the architectural novelty relative to matrix-memory variants of xLSTM is not fully established.\n\nReviewers **3h4F**, **A475**, and **2ToP** express concern about the robustness and practical context-length limits. The model is trained only at 4K context and evaluated up to 16K, while modern models often target much longer contexts. Reviewer **3h4F** notes that the LongBench gains are uneven and partly concentrated in a few tasks; some Mamba-2 hybrids even regress after adding M²RNN. Reviewer **A475** also observes that the hybrid improvements are present but generally small or inconsistent.\n\nReviewer **A475** notes that the state-tracking claim is supported mainly by Figure 2 and is not connected to the later language-model experiments. Reviewer **r7pd** similarly asks for stronger tasks such as S5 and for ablations separating the effects of non-linearity from dense, non-diagonal transitions.\n\nSeveral important implementation details are also missing or unclear. Reviewer **r7pd** requests disclosure of the exact recurrent state sizes and a clearer explanation of associative retrieval after the non-linear state update. The backward-pass memory behavior also needs clarification. Reviewers **2ToP and A475** additionally ask about context-parallel training and the practical feasibility of extending BPTT to much longer sequences.\n\n### Assessment\n\nI lean toward **Reject** in the present form. The paper contains promising large-scale results and a potentially useful hybrid-layer design. However, the strongest scientific claims are presently broader than the supporting evidence. In particular, the submission does not cleanly separate the effects of state size, non-linearity, non-diagonality, outer-product memory, and implementation choices. The efficiency position relative to FlashRNN/xLSTM is also not established by a direct comparison. Since these claims form the main motivation and novelty of the work, this is more than a presentation issue. Clarification alone would improve the paper, but without at least some new controlled experiments, I do not think the present evidence is sufficient for acceptance. My assessment might change if the authors response provides:\n\n1. a fair FlashRNN/xLSTM throughput, latency, and memory comparison;\n2. exact state sizes and a clearer explanation of backward memory costs;\n3. substantially improved positioning against xLSTM, Griffin, and related non-linear recurrent models;\n4. more robust evidence for state tracking and long-context gains, preferably including multiple seeds at a feasible scale.\n\nIn addition, some reviewer comments themselves should be interpreted with care. Reviewer **3h4F** says that Table 7 demonstrates both state-size and non-linearity effects, but the table does not isolate non-linearity. Reviewer **A475**’s statement that improvements are _not significant_ is not statistically established without variance estimates, instead _small and inconsistent_ would be more accurate.\n\n### Update\n\nCorrected some mis-understanding during summarizing the metareview.",+ "final_justification": "The rebuttal substantially addresses the main concerns raised during review, including controlled ablations on state size and gating, additional efficiency comparisons, stronger long-context and multi-seed evidence, and clearer positioning relative to prior non-linear RNN architectures. While some questions about the precise expressivity–efficiency frontier remain, I view these as limitations rather than acceptance-blocking issues.\n\nFor the camera-ready, the authors should incorporate the new ablations and benchmarking details from the rebuttal, clarify state sizes and backward-pass memory behavior, strengthen the discussion of xLSTM/FlashRNN/Griffin/Titans and long-context/context-parallel limitations, and tone down or revise the remaining overly broad claims on associative retrieval and hardware superiority. They should also fix the noted cross-references and presentation issues."},"createdAt": "2026-07-19T15:33:50.412Z",- "modifiedAt": "2026-11-18T15:20:32.083Z",+ "modifiedAt": "2026-11-19T05:00:20.648Z","url": "https://openreview.net/forum?id=1BghQYvh91¬eId=HSRczVa6Dh","license": "CC-BY-4.0"}
reviews/openreview/1bghqyvh91/notes/ks0bfsitbl.json added
+++ b/reviews/openreview/1bghqyvh91/notes/ks0bfsitbl.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "kS0bFsiTbl",+ "replyTo": null,+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Area Chair f5cm",+ "content": {+ "comment": "Dear Reviewers,\n\nThe author response period has concluded, and the rebuttal for this submission is now available for review.\n\nPlease take the time to read the authors' responses and any revised manuscripts carefully. After reviewing their response:\n\n**Acknowledge**: Please confirm that you have read the rebuttal.\n\n**Update**: Update your review, scores, and confidence level accordingly to reflect any points clarified during this phase.\n\n**Discuss**: Engage in active discussion with the authors and fellow reviewers if further clarification is needed.\n\nTimely updates are critical for maintaining our evaluation schedule. Please complete your updates by August 3rd.\n\nThank you for your hard work and continued dedication to the review process.\n\nBest regards,\n\nArea Chair"+ },+ "createdAt": "2026-07-29T03:02:52.534Z",+ "modifiedAt": "2026-11-19T17:20:11.143Z",+ "url": "https://openreview.net/forum?id=1BghQYvh91¬eId=kS0bFsiTbl",+ "license": "CC-BY-4.0"+}
reviews/openreview/1bghqyvh91/notes/pkbslihu6u.json added
+++ b/reviews/openreview/1bghqyvh91/notes/pkbslihu6u.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "PkBSlihu6U",+ "replyTo": "jJv9xkL60e",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer r7pd",+ "content": {+ "comment": "Thank you for your extensive response, I'll answer in more detail later but would like to mention two short points to give you the chance to run some more experiments:\n1. The official code for the Flash-RNN implementation of LSTM is here: https://github.com/NX-AI/flashrnn. The paper has some quite extensive performance analysis, maybe this could help for inspiration: https://arxiv.org/abs/2412.07752\n2. For the non-linearity ablation, I was mostly interested in the recurrence $H\\_t = f\\_t H\\_\\{t-1\\} + (1 - f\\_t) (H\\_\\{t-1\\} W + k\\_t v\\_t^\\{\\top\\})$. Is this unstable in your experiments? I don't see a reason why this should be less stable than with the $tanh(\\\\cdot)$ present if the forget gate is still there. Of course the Jacobian of $tanh(\\\\cdot)$ also scales down the activations, but you could compensate for that with a manual downscaling for the purpose of the ablation. In the worst case, spectral normalization of the weight matrix should also not be too expensive for the purpose of a small-scale ablation, as the spectral norm can be computed with a fixed number of power iterations (e.g. 5) which torch.compile should handle quite well. If it is really difficult to train this, the claim should be that the non-linearity enables training stability instead of language modelling expressivity."+ },+ "createdAt": "2026-07-31T13:56:24.770Z",+ "modifiedAt": "2026-11-19T17:20:11.270Z",+ "url": "https://openreview.net/forum?id=1BghQYvh91¬eId=PkBSlihu6U",+ "license": "CC-BY-4.0"+}
reviews/openreview/1bghqyvh91/notes/q6dmdkyrgd.json added
+++ b/reviews/openreview/1bghqyvh91/notes/q6dmdkyrgd.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "Q6dmDkYRgd",+ "replyTo": "PkBSlihu6U",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thanks for both pointers.\n\n**1. FlashRNN.** We benchmarked the FlashRNN kernels against ours at 7B scale across context lengths. FlashRNN's CUDA-fused and Triton-fused implementations OOM at 8k and 4k context, respectively, whereas **our M$^2$RNN kernels are the only ones that scale to longer contexts for both GRU and M$^2$RNN**. Even at a short 2k context, **our kernels already outperform FlashRNN's CUDA-fused sLSTM** (13.19 vs. 12.14) and come close to its Triton-fused throughput. See the [throughput plot here](https://anonymous.4open.science/r/m2rnn/speed-slstm.svg) (throughput = 0 denotes OOM). That said, we'd gently note that throughput alone may not tell the full story here: sLSTM (and GRU) trail Transformers in perplexity by up to 4 points (FlashRNN paper, Table 1 [1]), which is a substantial gap, so we think the comparison is most meaningful once language modeling quality is taken into account alongside speed.\n\n| Model | 1024 | 2048 | 4096 | 8192 | 16384 |\n|---|---|---|---|---|---|\n| M$^2$RNN | 13.77 | 13.19 | 10.27 | 7.42 | 4.59 |\n| GRU | 12.81 | 12.62 | 12.44 | 10.12 | 7.63 |\n| sLSTM (CUDA) | 7.25 | 5.57 | 3.19 | 1.68 | 0.79 |\n| sLSTM (CUDA fused) | 15.37 | 12.14 | 7.55 | OOM | OOM |\n| sLSTM (Triton fused) | 21.29 | 14.65 | OOM | OOM | OOM |\n\n**2. Non-linearity ablation:** We attempted training without the non-linearity, and every attempt was unstable. The [loss plot here](https://anonymous.4open.science/r/m2rnn/loss.svg) shows our most stable run, which required spectral normalization via power iteration — viable only because $W$ is not input-dependent in M$^2$RNN. Making $W$ input-dependent, a natural direction for future work, would require running power iteration at every recurrent step, which would be infeasible in practice.\n\nWe haven't done a careful analysis, but we suspect that later in training, $W$'s spectral norm becomes harder to estimate accurately, and the 5 power-iteration steps we used stop being enough. $\\tanh$, by contrast, gives a much more reliable guarantee of a bounded, stable recurrence.\n\nWe also include a proof that the recurrence $H_t = f_t H_{t-1} + (1 - f_t)(H_{t-1}W + k_t v_t^\\top)$ is unstable whenever $W$'s spectral norm is unconstrained. We take $f_t = f$ constant for simplicity; the argument extends directly to time-varying $f_t$.\n\n### **Proposition**\n\nConsider the recurrence\n$$\nH_t = fH_{t-1} + (1-f)\\left(H_{t-1}W + k_tv_t^\\top\\right),\n$$\nwhere $f \\in (0,1)$. If the spectral radius of $W$ is unbounded, then the recurrence is unstable.\n\n### **Proof**\n\nRewrite the update as\n\n$$\nH_t = H_{t-1}A + B_t,\n$$\n\nwhere\n\n$$\nA = fI + (1-f)W,\n$$\n\nand\n\n$$\nB_t = (1-f)k_tv_t^\\top.\n$$\n\nIgnoring the input term,\n\n$$\nH_t = H_0A^t.\n$$\n\nSince $A$ is an affine function of $W$, every eigenvector of $W$ is also an\neigenvector of $A$. Indeed, if\n$$\nWx = \\lambda x,\n$$\n\nthen\n\n$$\nAx = \\left(f + (1-f)\\lambda\\right)x.\n$$\n\nThus every eigenvalue of $A$ is\n\n$$\n\\mu = f + (1-f)\\lambda.\n$$\n\nThe homogeneous system is asymptotically stable if and only if\n\n$$\n\\rho(A) < 1,\n$$\n\nwhere $\\rho(\\cdot)$ denotes the spectral radius. Now suppose the spectral radius of $W$ is unbounded. Then there exist eigenvalues $\\lambda$ with arbitrarily large magnitude. For such eigenvalues,\n\n$$\n|\\mu| = \\left|f + (1-f)\\lambda\\right| = (1-f)|\\lambda| + o(|\\lambda|),\n$$\n\nso\n\n$$\n|\\mu| \\rightarrow \\infty\n\\qquad\\text{as}\\qquad\n|\\lambda| \\rightarrow \\infty.\n$$\n\nHence, for sufficiently large $|\\lambda|$,\n\n$$\n|\\mu| > 1.\n$$\n\nChoose an initial condition $H_0$ with a nonzero projection onto the\ncorresponding eigenvector. Then\n\n$$\nH_t = H_0A^t,\n$$\n\nand\n\n$$\n\\|H_t\\|\n\\ge\nc|\\mu|^t\n$$\n\nfor some constant \\(c>0\\). Therefore the state grows exponentially. Adding the bounded input term\n\n$$\nB_t = (1-f)k_tv_t^\\top\n$$\n\ncannot remove this unstable mode except through exact cancellation at every\ntime step, which is nongeneric. Therefore the recurrence is unstable whenever the spectral radius of $W$ is unbounded. Since constraining the spectral norm also constrains the spectral radius, it suffices to constrain the spectral norm to guarantee a stable recurrence.\n\n**References**:\n\n[1] Pöppel, Korbinian, Maximilian Beck, and Sepp Hochreiter. \"FlashRNN: I/O-aware optimization of traditional RNNs on modern hardware.\" International Conference on Learning Representations. Vol. 2025. 2025."+ },+ "createdAt": "2026-08-02T14:28:54.130Z",+ "modifiedAt": "2026-11-19T17:20:11.064Z",+ "url": "https://openreview.net/forum?id=1BghQYvh91¬eId=Q6dmDkYRgd",+ "license": "CC-BY-4.0"+}
reviews/openreview/1bghqyvh91/notes/sjqt2tqtts.json added
+++ b/reviews/openreview/1bghqyvh91/notes/sjqt2tqtts.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "sjqT2TqTts",+ "replyTo": "NeBay76WYV",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer 3h4F",+ "content": {+ "comment": "Thanks the author for the reply, it resolve my concerns and I will keep my score"+ },+ "createdAt": "2026-08-02T04:04:29.215Z",+ "modifiedAt": "2026-11-19T17:20:11.270Z",+ "url": "https://openreview.net/forum?id=1BghQYvh91¬eId=sjqT2TqTts",+ "license": "CC-BY-4.0"+}
reviews/openreview/1bghqyvh91/notes/wvmpjxmdlc.json added
+++ b/reviews/openreview/1bghqyvh91/notes/wvmpjxmdlc.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "WVmpjXmdLc",+ "replyTo": "qeFRh09Cza",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer A475",+ "content": {+ "comment": "I thank the authors for answering my questions regarding significance of results and providing additional results on $S_5$ task and the BabiLong in regards to performance on long context.\n\nPlease confirm whether $S_5$ task used the same train-128/eval-512 protocol as Figure 2. \n\nIn the \"pipeline-style scheme\" instead of context-parallel, it's not clear if training on longer context is practically feasible and will result in rendering context-parallel for the other layers not needed or limited due to smaller microbatches. And the alternative of using tensor-parallel would place an upper-bound on the dimension due to heavy communication requirement imposed by TP."+ },+ "createdAt": "2026-07-30T00:42:41.520Z",+ "modifiedAt": "2026-11-19T17:20:11.115Z",+ "url": "https://openreview.net/forum?id=1BghQYvh91¬eId=WVmpjXmdLc",+ "license": "CC-BY-4.0"+}
reviews/openreview/1bghqyvh91/notes/yxe5cpqxuy.json added
+++ b/reviews/openreview/1bghqyvh91/notes/yxe5cpqxuy.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "YXe5CPqXuy",+ "replyTo": "WVmpjXmdLc",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "**$S_5$ protocol**: Yes — $S_5$ uses exactly the same protocol as $S_3$ in Figure 2: trained at 128 tokens, evaluated up to 512.\n\n**Feasibility of the pipeline-style scheme, and its effect on context-parallelism for the other layers**: We demonstrate the throughput comparison in [this plot](https://anonymous.4open.science/r/m2rnn/context-parallel.svg) (we also report the throughput in the table below). We use pipeline parallel style handoff for M$^2$RNN layers and use ring attention or Mamba CP for attention and Mamba-2 layers respectively.\n\nThe reviewer is right that microbatching is what saturates the pipeline and hides the bubble, and that headroom shrinks as batch size shrinks which is a real tension at long context. Hence, we run the CP experiments with only one microbatch which is the extreme case where it is not possible to hide any pipeline bubbles. Even when run with only a single microbatch and a naive implementation, we demonstrate ([plot here](https://anonymous.4open.science/r/m2rnn/context-parallel.svg)) that this is practical: scaled up to 128k tokens at CP world size 8, Hybrid Mamba-2 + M$^2$RNN (1 layer) beats both baselines in perplexity (as demonstrated in the paper) and is $2.6\\times$ faster than Transformer++ at 128k — a proper microbatched implementation should improve throughput further still.\n\n| length | CP world size | Transformer++ | Hybrid Mamba-2 + M²RNN (1 layer) | Hybrid Mamba-2 |\n|--------|----|---------------|----------------------------------|----------------|\n| 4k | 1 | 27.76 | 25.13 | 25.46 |\n| 8k | 1 | 25.23 | 23.88 | 25.17 |\n| 16k | 1 | 20.43 | 22.52 | 24.49 |\n| 32k | 2 | 10.28 | 15.93 | 17.95 |\n| 64k | 4 | 5.41 | 11.94 | 15.14 |\n| 128k | 8 | 2.82 | 7.32 | 9.94 |\n\n**Tensor parallelism**: The reviewer's point is correct — scaling to very large TP domains lowers memory but at a significant communication cost. To reach longer context, we believe the right approach might be to carefully balance the CP and TP world size. Combining PP-style context parallelism with a TP domain (roughly $4\\times$ to $8\\times$) could shrink the pipeline bubble further. Overlap approaches like distributed-GEMM [1], already adopted to hide communication cost for attention and MLP layers in current-generation Transformer models, could similarly help hide TP's communication cost here.\n\n**References**:\n[1] Hassani, A., et al. (2024). Distributed GEMM. SHI Labs. [https://blog.shi-labs.com/distributed-gemm-88be6a481e2b](https://blog.shi-labs.com/distributed-gemm-88be6a481e2b)"+ },+ "createdAt": "2026-08-02T08:24:27.013Z",+ "modifiedAt": "2026-11-19T17:20:11.277Z",+ "url": "https://openreview.net/forum?id=1BghQYvh91¬eId=YXe5CPqXuy",+ "license": "CC-BY-4.0"+}