potentialpaper

Motif-Mamba: natural network motif improved mamba for long-range sequence modeling

Chonghe Hao, Yue Sun, Jian Zhang, Yansong Wang, Wangzi Yao, Yao Yunjie, Tielin Zhang

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Efficient long-sequence modeling remains a central challenge for large language models, as self-attention scales quadratically with sequence length. Mamba offers a linear-time alternative through selective state space recurrence, but its predominantly diagonal state transitions restrict explicit interactions among state dimensions. We propose Motif-Mamba, a structured state space model that augments Mamba with a motif-constrained low-rank recurrent pathway. Inspired by the dynamics of natural three-node network motifs, the proposed pathway projects hidden states into a compact dynamical subspace, imposes motif-guided interactions, and maps the resulting dynamics back to the original state space. This design enhances cross-dimensional communication while preserving the linear-time recurrent structure of Mamba. Experiments on long-sequence extrapolation, language modeling benchmarks, and brain--computer interface decoding show consistent improvements over Mamba backbones, suggesting that motif-guided low-rank dynamics provide an effective structural prior for long-range sequence modeling.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
2 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The proposed Motif-Mamba framework introduces a motif-constrained low-rank recurrent pathway into the selective state-space updates of Mamba. Reviewers find the research motivation—addressing the limited cross-dimensional interaction in Mamba—to be meaningful and the approach of using network motifs as structural priors for low-rank recurrent dynamics to be novel. While the paper shows consistent improvements across several benchmarks, the overall gains over the vanilla Mamba baseline are noted as modest, and the experimental evaluation on long-context tasks remains limited.

To move toward an acceptance recommendation, the authors must address the following prioritized questions:

Clarify the Necessity of Motif Structure: Reviewers raised concerns that the observed improvements might be attributable to generic low-rank regularization rather than the specific topology of the motifs. To validate the causal claim, please provide additional control experiments, such as comparing the proposed motifs against random motifs, shuffled motif labels, or matrices with matched spectral radii and norms, to disentangle the effect of motif topology from generic coupling strength.

Stability and Theoretical Rigor: Please provide a more detailed stability analysis, including reports on the eigenvalues, spectral radii, and hidden-state norms of the different motif variants to substantiate the claim that the superiority of certain motifs (like Motif2) arises from their dynamical properties. Additionally, clarify the derivation of Eq. (8) from Eq. (4) and explicitly address the conditions under which the first-order approximation in Lemma 1 holds.

Experimental Rigor and Scope: The current results show only modest improvements and rely on synthetic tasks or short-context (2,048 tokens) language models. To justify the method's effectiveness for long-range sequence modeling, please report throughput and latency analyses compared to baselines. Furthermore, please include additional details on the experimental results from the appendix in the main paper and address the potential overlap in the naming of your method with recent existing work.

Final justification

The authors effectively resolved reviewer concerns by demonstrating that their low-rank decomposition (O(Lnr)O(Lnr) where r≪nr \ll n) successfully preserves Mamba's linear-time complexity and avoids prohibitive dense O(Ln2)O(Ln^2) costs. Furthermore, rigorous control experiments utilizing random, shuffled, and norm-matched baselines verified that performance gains stem directly from the specific topological priors rather than generic parameter overhead or regularization, while the inclusion of brain-computer interface decoding confirmed the broad domain generalization of the model.

Area Chair c5CC · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The proposed Motif-Mamba framework introduces a motif-constrained low-rank recurrent pathway into the selective state-space updates of Mamba. Reviewers find the research motivation—addressing the limited cross-dimensional interaction in Mamba—to be meaningful and the approach of using network motifs as structural priors for low-rank recurrent dynamics to be novel. While the paper shows consistent improvements across several benchmarks, the overall gains over the vanilla Mamba baseline are noted as modest, and the experimental evaluation on long-context tasks remains limited.

To move toward an acceptance recommendation, the authors must address the following prioritized questions:

Clarify the Necessity of Motif Structure: Reviewers raised concerns that the observed improvements might be attributable to generic low-rank regularization rather than the specific topology of the motifs. To validate the causal claim, please provide additional control experiments, such as comparing the proposed motifs against random motifs, shuffled motif labels, or matrices with matched spectral radii and norms, to disentangle the effect of motif topology from generic coupling strength.

Stability and Theoretical Rigor: Please provide a more detailed stability analysis, including reports on the eigenvalues, spectral radii, and hidden-state norms of the different motif variants to substantiate the claim that the superiority of certain motifs (like Motif2) arises from their dynamical properties. Additionally, clarify the derivation of Eq. (8) from Eq. (4) and explicitly address the conditions under which the first-order approximation in Lemma 1 holds.

Experimental Rigor and Scope: The current results show only modest improvements and rely on synthetic tasks or short-context (2,048 tokens) language models. To justify the method's effectiveness for long-range sequence modeling, please report throughput and latency analyses compared to baselines. Furthermore, please include additional details on the experimental results from the appendix in the main paper and address the potential overlap in the naming of your method with recent existing work.

Final justification

The authors effectively resolved reviewer concerns by demonstrating that their low-rank decomposition (O(Lnr)O(Lnr) where r≪nr \ll n) successfully preserves Mamba's linear-time complexity and avoids prohibitive dense O(Ln2)O(Ln^2) costs. Furthermore, rigorous control experiments utilizing random, shuffled, and norm-matched baselines verified that performance gains stem directly from the specific topological priors rather than generic parameter overhead or regularization, while the inclusion of brain-computer interface decoding confirmed the broad domain generalization of the model.

1 comment
Authors · CommentOpenReview ↗

Dear Area Chair,

We thank you for the constructive metareview and for clearly identifying the main issues that should be resolved. In response, we added new control experiments, expanded the motif comparison, performed spectral analyses, clarified the theoretical derivations, measured runtime efficiency, and revised the positioning of the paper. We summarize our responses to the three prioritized concerns below.

Clarify the Necessity of Motif Structure

  • Necessity of Motif Structure: To address the concern that the gains may come from generic low-rank coupling rather than motif topology, raised most directly in Reviewer VeZ6’s Weakness3 and Question3, we added Motif-Random, Motif-Shuffled, Motif-Blank, and Norm-Matched controls. Motif2 achieves an average accuracy of 45.1%, compared with 44.7% for Motif-Random and 44.8% for both Motif-Shuffled and Norm-Matched. In particular, matching the layerwise interaction spectral norm does not reproduce Motif2’s performance. Together with the full thirteen-motif evaluation requested by Reviewers E2Pp and hkhP, these results indicate that the improvement cannot be explained solely by additional low-rank parameters, sparsity, or coupling magnitude.

Stability and Theoretical Rigor

  • Stability Analysis: In response to Reviewer VeZ6’s Weakness2 and Question2, we analyzed the layerwise spectral radius and second eigenvalue magnitude of Motif2, Motif12, and the Norm-Matched control. Motif12 has a larger spectral radius than Motif2 in most layers and frequently a larger second eigenvalue magnitude, indicating stronger recurrent modes. Although Norm-Matched reproduces Motif2’s spectral norm, it does not reproduce its two-mode eigenvalue organization. We also evaluated all thirteen motifs and found that Motif2 and Motif1 obtain the two highest average accuracies; both belong to the stability-oriented Level 1 of the established three-level hierarchy. This supports our original stability-based motif selection.

  • Eq. (8) and Lemma 1: Reviewer VeZ6’s Weakness1 and Question1 correctly identified imprecision in the theoretical presentation. We clarified that Lemma 1 uses a first-order approximation with local error O(Δt2)O(\Delta_t^2) under small-step and boundedness conditions. We also derived Eq. (8) through an explicitly defined effective transition operator. This makes clear that the low-rank recurrent term is incorporated into the operator before projection and is not omitted from the projected dynamics.

Experimental Rigor and Scope

  • Throughput and Latency: To address Reviewer E2Pp’s Weakness2, we measured throughput and forward latency for Mamba and Motif-Mamba under identical settings from 1,024 to 8,192 tokens. Motif-Mamba reduces throughput by 2.89% on average and increases latency by 3.03%. The overhead remains below 1% at sequence lengths of 1,024 and 2,048. These results show that the additional motif-constrained pathway introduces only modest practical overhead.

  • Appendix Results and Continued Pretraining: Reviewer E2Pp’s Question1 and Weakness3 asked whether the gains could be explained by continued pretraining and requested that important appendix results be moved to the main paper. We therefore continually pretrained the original Mamba checkpoints at 130M, 370M, 790M, and 1.4B scales using the same data, data order, tokenizer, sequence length, optimization settings, and additional 10M-token budget. Average accuracy remains unchanged at all four scales, with task-level differences of at most 0.1 percentage points. This shows that continued pretraining alone does not explain the Motif-Mamba gains.

  • Naming Overlap: Reviewer hkhP’s Weakness2 raised the overlap with concurrent work using similar terminology. We clarified that the concurrent work derives cortex-specific motif statistics from biological connectomes, whereas our method uses canonical directed motifs to regularize a trainable low-rank recurrent pathway for cross-dimensional interaction in Mamba. The overlap is therefore mainly terminological, while the motivation, source of motif priors, and intended dynamical effect are different.

We believe these additional experiments and clarifications directly address the prioritized concerns in the metareview and substantially strengthen the empirical rigor, theoretical precision, and positioning of the paper.

Sincerely, The Authors

Reviewer VeZ6OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes Motif-Mamba, which enhances interactions among different state dimensions by introducing low-rank recurrent pathways constrained by network motifs into Mamba’s selective state-space updates. Specifically, the method projects the high-dimensional state into a low-dimensional space, imposes three-node motif-structured constraints in this space, and then maps it back to the original state space. The authors evaluate the proposed method on synthetic long-sequence extrapolation tasks, language modeling benchmarks, and brain–computer interface decoding tasks. The results show that Motif-Mamba generally outperforms the corresponding Mamba baselines.

Strengths and weaknesses

This paper addresses the lack of explicit interactions among state dimensions caused by the diagonal state-transition structure in Mamba, and the research motivation is meaningful. Introducing network motifs as structural priors into low-rank recurrent dynamics is novel and incurs only a small number of additional parameters. The paper covers language modeling, synthetic long-sequence tasks, and brain–computer interface applications. Through comparisons among Motifblank, Motif2, and Motif12, it also provides a preliminary distinction between the effects of the low-rank pathway and those of the motif constraints. The paper is generally well organized and provides both source code and a detailed appendix. However, the following issues remain:

  1. The theoretical statements require further verification. Lemma 1 in fact relies on a first-order approximation, but the main text presents it as a direct discretization result without discussing the approximation error or the conditions under which it holds. Lemma 2 recovers the hidden state given the initial state, all inputs, model parameters, and the history of the low-rank states. This is essentially an unrolling of the recurrence and does not sufficiently demonstrate that the low-dimensional state itself contains the complete information of the high-dimensional dynamics. In addition, the derivation connecting the vector-field expression in Eq. (8) to the state equation in Eq. (4) is unclear, particularly regarding how (M_I) in the low-rank coupling term enters the vector field.

  2. A stability analysis is missing. Introducing (M_I M_J h_{t-1}) changes the eigenvalues and spectral radius of the system and may lead to state amplification or instability. The paper attributes the superiority of Motif2 to its supposedly more stable motif structure, but it does not directly report the eigenvalues, spectral radii, state norms, or gradient stability of the different variants. Therefore, it remains unclear whether the observed performance differences truly arise from the dynamical properties of the motifs.

  3. The causal evidence for the effectiveness of the motif constraints remains insufficient. The paper mainly compares Motif2, Motif12, and an unconstrained low-rank pathway. However, the two motif types induce substantially different interaction strengths, creating a confounding factor between motif topology and coupling magnitude. The authors are encouraged to include additional controls, such as random motifs, shuffled motif labels, or structural priors matched in matrix norm or spectral radius, to verify whether the improvement genuinely results from the specific motif structure rather than from generic regularization or a more suitable interaction strength.

  4. The evidence on real-world long-context tasks is insufficient. The primary long-sequence experiment is the synthetic induction-head task, while the language models are trained with a context length of only 2,048 tokens. Figure 3 provides only one qualitative example, which is insufficient to demonstrate that the proposed method consistently outperforms Mamba on real long-document understanding, retrieval, or long-context question-answering tasks.

Questions
  1. How is Eq. (8) rigorously derived from Eq. (4)? Why is (M_I) not explicitly included in the vector-field expression? Are any simplifications made in the notation or in the process of lifting the low-dimensional state back to the original state space?

  2. Could the authors report the spectral radii, eigenvalue distributions, and hidden-state norms of different motif variants to validate the stability-based explanation for the superiority of Motif2?

  3. Could the authors include control experiments using random motifs, shuffled target motifs, or matrices with matched norms to disentangle the effects of motif topology from those of coupling strength?

Limitations

yes

Final justification

The response largely addresses my concern. I will consider increasing my score, while retaining Weakness 4 as a limitation.

Formatting concerns

No

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful and constructive evaluation. The comments were particularly helpful in improving both the theoretical precision and the empirical rigor of the paper. In response, we clarified the approximation and vector-field derivations, added direct spectral analyses of low-rank interactions, and introduce random, shuffled, and norm-matched controls to disentangle motif topology from generic structural regularization and coupling magnitude. We also clarified the scope of the current long-context evidence. These additions substantially strengthen the theoretical formulation and the topology-specific interpretation of our empirical results.

Weakness1 & Question1 — First-Order Discretization and Derivation of Eq. (8)

We agree that the wording in the main text was imprecise. Equation (5) is not the exact exponential-Euler update, but a first-order approximation obtained using

At−1(I−e−ΔtAt)=ΔtI+O(Δt2)A_t^{-1}\left(I-e^{-\Delta_t A_t}\right)=\Delta_t I+O(\Delta_t^2)

We clarify that Lemma 1 uses this first-order approximation and that the resulting a second-order error is O(Δt2)O(\Delta_t^2).

  • We adopt this approximation because it preserves the Mamba recurrence[1] and requires only one evaluation of the low-rank driving term MI(MJht−1)M_I(M_Jh_{t-1}) per time step. A second-order discretization would typically require an intermediate state and an additional evaluation of the input-dependent parameters and low-rank term. Although its time complexity may remain O(nr)O(nr), it would increase the computational constant, activation memory, and backpropagation overhead.

  • Since AtA_t and BtxtB_tx_t are held constant within each token interval, the discretization error arises solely from the first-order treatment of the linear hidden-state dynamics induced by −At+MIMJ-A_t+M_IM_J. Consequently, under bounded matrix norms, hidden states, and inputs, the approximation error therefore remains controlled.

We thank the reviewer for pointing out that the derivation of Eq. (8) was unclear. To make the derivation explicit, we restate Eq. (8) below using a clearly defined effective transition operator. Consider a general autonomous linear update ht+1=Ateffhth_{t+1}=A_t^{\mathrm{eff}}h_t, where AteffA_t^{\mathrm{eff}} is fixed over the interval Δt\Delta_t. For the discrete linear system, the corresponding one-step state displacement is

Δht =ht+1−ht=(Ateff−I)ht.\Delta h_t \:= h_{t+1}-h_t =(A^{\mathrm{eff}}_t-I)h_t.

Defining zt=MJhtz_t=M_Jh_t and using the local pseudoinverse lifting ht≈MJ+zth_t\approx M_J^{+}z_t, we obtain the projected one-step displacement

v(zt):=zt+1−zt≈MJAteffMJ+zt−zt.v(z_t):= z_{t+1}-z_t \approx M_J A^{\mathrm{eff}}_t M_J^{+}z_t-z_t.

For Motif-Mamba, setting xt=0x_t=0 in Eq. (4) and using the first-order semi-exponential update in Eq. (5) gives ht+1=(e−ΔtAt+ΔtMIMJ)hth_{t+1}=\left(e^{-\Delta_tA_t}+\Delta_tM_IM_J\right)h_t. Accordingly, the effective transition operator is

Ateff=e−ΔtAt+ΔtMIMJ.A^{\mathrm{eff}}_t=e^{-\Delta_tA_t}+\Delta_tM_IM_J.

Thus, MIM_I is not omitted from Eq. (8), but is incorporated into AteffA^{\mathrm{eff}}_t. We will revise Eq. (8) to define this operator explicitly and clarify that it represents an approximate projected discrete vector field under the pseudoinverse-lifting.

Weakness3&Question3—Disentangling Motif Topology from Coupling Magnitude

We thank the reviewer for highlighting the confounding factor between motif topology and coupling interaction magnitude. To disentangle these factors, we added three controls: Motif-Random, Motif-Shuffled, and Norm-Matched. Motif-Random uses an Erdős–Rényi random graph with the same sparsity as Motif-2-Mamba, whereas Motif-Shuffled mixes the Motif2 and Motif12 targets. Norm-Matched removes the motif constraint while matching the interaction spectral norm of Motif2 layer by layer.

Model LAMBADA HellaSwag PIQA ARC-E ARC-C WinoGrande Avg.
Motif-2-Mamba 44.7 35.7 64.7 48.5 24.6 52.4 45.1
Motif-12-Mamba 44.2 35.5 64.6 48.4 24.5 51.9 44.9
Motif-shuffled-Mamba 44.4 35.3 64.3 48.2 24.1 52.4 44.8
Motif-blank-Mamba(norm-matched) 44.3 35.3 64.4 47.9 24.6 52.4 44.8
Motif-random-Mamba 44.4 35.5 64.4 47.9 24.1 52.0 44.7

As shown in below table , neither Motif-Random nor Motif-Shuffled reached the performance of Motif2. The previously reported unconstrained Motif-blank baseline further shows that the gain cannot be explained simply by introducing an additional generic low-rank interaction.

Most importantly, Norm-Matched model reproduced the layerwise interaction spectral-norm profile of Motif2 (Figure: https://anonymous.4open.science/r/fig-D947/interaction_spectral_norm_layers_and_all_model_means.png) but achieved a lower average accuracy of 44.8%, compared with 45.1% for Motif2. This control directly addresses the confounding effect of interaction magnitude and shows that matching coupling strength alone does not reproduce the Motif2 improvement. Instead, the results provide stronger evidence that the specific Motif2 topology contributes to the performance improvement.

Weakness2&Question2—Stability Analysis of Different Motifs

We thank the reviewer for requesting a direct analysis of the motif-dependent dynamics. Since the interaction rank is r=2r=2, each layerwise matrix LℓL_\ell has at most two nonzero eigenvalues. We therefore report its spectral radius ρ(Lℓ)\rho(L_\ell) and the magnitude of its second-largest eigenvalue ∣λ2(Lℓ)∣|\lambda_2(L_\ell)|.

As shown in Figure: https://anonymous.4open.science/r/fig-D947/selected_layer_eigenvalue_comparison.png, Motif12 exhibits a larger spectral radius than Motif2 in most layers and frequently has a larger second eigenvalue magnitude, indicating stronger recurrent modes within the low-rank interaction subspace. In contrast, although Norm-Matched-Motif2 matches the layerwise spectral norm of Motif2, its second eigenvalue magnitude remains close to zero across almost all layers. Thus, matching the overall interaction magnitude does not reproduce the two-mode eigenvalue organization induced by the Motif2 topology.

For additional context, previous studies have shown that the 13 directed three-node motifs can be grouped into a three-level dynamical hierarchy, with different motif groups corresponding to distinct stability and flexibility regimes [2,3]. Within this hierarchy, Level-1 motifs exhibit the most stable dynamics. Mamba uses a diagonal state matrix with negative diagonal entries, providing stable decaying dynamics. Consequently, incorporating Level-1 motifs as low-rank interactions is less likely to erode this stablility than introducing other motifs. Among the 13 motif variants shown in the below, Motif2 and Motif1 achieved the two highest average accuracies, and both belong to Level 1. This ranking is therefore consistent with the three-level hypothesis that preserving the stable Mamba backbone while introducing structured interactions is beneficial for the evaluated tasks.

Model LAMBADA HellaSwag PIQA ARC-E ARC-C WinoGrande Avg.
Mamba 44.3 35.3 64.5 48.0 24.3 51.9 44.7
Motif-1-Mamba 44.6† 35.5† 64.7 48.2 24.4 52.3 45.0†
Motif-2-Mamba 44.7 35.7 64.7 48.5† 24.6 52.4† 45.1
Motif-3-Mamba 44.4 35.3 64.3 47.7 24.1 52.3 44.7
Motif-4-Mamba 44.1 35.3 63.6 48.2 24.3 52.4† 44.7
Motif-5-Mamba 44.4 35.3 64.3 48.8 24.4 52.0 44.9
Motif-6-Mamba 44.2 35.1 64.4 47.8 24.4 52.0 44.7
Motif-7-Mamba 43.8 35.1 64.5 48.2 24.5† 51.9 44.7
Motif-8-Mamba 44.2 35.2 64.6† 48.2 24.3 52.1 44.8
Motif-9-Mamba 43.9 35.1 63.9 47.9 24.5† 52.4† 44.6
Motif-10-Mamba 44.4 35.2 64.4 48.4 24.3 52.5 44.9
Motif-11-Mamba 44.0 35.1 63.8 48.1 24.3 52.5 44.6
Motif-12-Mamba 44.2 35.5† 64.6† 48.4 24.5† 51.9 44.9
Motif-13-Mamba 44.0 35.4 64.4 48.4 24.2 51.4 44.6

The unconstrained Motif-blank, Motif-Random, and Motif-Shuffled controls did not reproduce the Motif2 improvement. Moreover, Norm-Matched model matched the interaction spectral norm of Motif2 but did not reproduce either its second-eigenvalue structure or its task performance. Therefore, the Motif2 advantage cannot be explained by interaction magnitude alone and is more consistently associated with the specific organization of its low-rank recurrent modes.

Weakness4—Limited Evidence on Real-World Tasks

We thank the reviewer for highlighting this important limitation. We acknowledge that the current experiments do not establish performance on real-world long-document understanding or long-context question answering. Representative long-context benchmarks are typically evaluated on language models at approximately the 6B/7B scale or larger, and even models at these scales often degrade substantially as the context length increases [4,5]. Our current checkpoints range from 130M to 1.4B parameters. A meaningful evaluation would therefore require scaling both Mamba and Motif-Mamba to at least the 6B scale and training them under matched long-context settings, which is beyond our present computational budget. In the revision, we will state this limitation explicitly and temper the corresponding real-world long-context claims. We plan to conduct large-scale evaluations on long-document retrieval and question-answering benchmarks in future work.

References [1] Gu, A., and Dao, T. “Mamba: Linear-Time Sequence Modeling with Selective State Spaces”. arXiv preprint arXiv:2312.00752, 2023.

[2] J. Zhang et al. “Functional Building Blocks of Neural Networks: From Network Motifs to Collective Dynamics.” Proceedings of ICML, 2026.

[3] R. J. Prill et al. “Dynamic Properties of Network Motifs Contribute to Biological Network Organization.” PLoS Biology, 3(11):e343, 2005.

[4] Y. Bai et al. “LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding.” Proceedings of ACL, 2024.

[5] C.-P. Hsieh et al. “RULER: What’s the Real Context Size of Your Long-Context Language Models?” arXiv preprint arXiv:2404.06654, 2024.

Reviewer VeZ6 · CommentOpenReview ↗

The response largely addresses my concern. I will consider increasing my score, while retaining Weakness 4 as a limitation.

Reviewer hkhPOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors have presented an interesting variant of Mamba that uses Motifs. The authors have shown that by using Motif-constrained mamba, results have improved on text and non-text temporal modeling. For long sequence text extrapolation, the proposed motif-mamba shows more stability than the original mamba.

Strengths and weaknesses

Strength: Detailed evaluation of Motif-mamba and its variants.

Weakness:

  1. It is not clear why only 2 motifs (2 and 12) are selected instead of 13. 2.Motif-mamba name overlap with another work presented in https://www.biorxiv.org/content/10.64898/2026.06.12.732007v1.full.pdf
Questions

N/A

Limitations

Yes

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive assessment and for recognizing the detailed evaluation of our method and its variants. The reviewer raises two focused concerns: the rationale for initially selecting Motif2 and Motif12, and the naming overlap with a recent concurrent work. We address these points below through a complete thirteen-motif comparison and a direct clarification of the distinction between the two studies. These responses also align with the Area Chair's prioritized concerns regarding the necessity of motif structure and the positioning of our method relative to recent work.


Weakness1 — Rationale for Motif2/Motif12 and Full Thirteen-Motif Evaluation

Reviewer comment. It is not clear why only two motifs (Motif2 and Motif12) are selected instead of all thirteen motifs.

Our initial motif selection was motivated by the stability of Mamba’s state dynamics, and the complete thirteen-motif evaluation provides empirical support for this design rationale. In Mamba, the diagonal entries of the continuous-time state matrix are constrained to be negative, which promotes stable decay of the recurrent state. Our method introduces an additional cross-dimensional recurrent pathway. Although this pathway improves interaction among state dimensions, it can also modify the effective transition dynamics and potentially weaken the stability inherited from the original diagonal state matrix.

Previous studies organize the thirteen directed three-node motifs into a three-level dynamical hierarchy corresponding to different stability–flexibility regimes [1,2]. Based on this hierarchy, we first selected Motif2 from the stability-oriented Level 1 as the primary structural prior for the added recurrent pathway. We additionally selected Motif12 from a different dynamical level as a contrasting case, allowing us to examine whether motif choice affects the resulting model behavior. Thus, Motif2 and Motif12 were selected according to an a priori stability consideration, rather than through an exhaustive search for the best-performing motif.

This established hierarchy describes the intrinsic dynamical tendencies of canonical motif structures and is independent of our learned-eigenvalue analysis, which examines the effective dynamics after training. The two original variants use the same Mamba backbone, low-rank dimension r=2r=2, parameter budget, initialization, training data, and continued-pretraining budget, isolating motif structure as the main experimental difference.

To address the concern about selective motif choice, we evaluated all thirteen motifs using the same Mamba-130M backbone and additional 10M-token budget.

The best result in each column is shown in bold, and † indicates the second-best result.

Model LAMBADA HellaSwag PIQA ARC-E ARC-C WinoGrande Avg.
Mamba 44.3 35.3 64.5 48.0 24.3 51.9 44.7
Motif-1-Mamba 44.6† 35.5† 64.7 48.2 24.4 52.3 45.0†
Motif-2-Mamba 44.7 35.7 64.7 48.5† 24.6 52.4† 45.1
Motif-3-Mamba 44.4 35.3 64.3 47.7 24.1 52.3 44.7
Motif-4-Mamba 44.1 35.3 63.6 48.2 24.3 52.4† 44.7
Motif-5-Mamba 44.4 35.3 64.3 48.8 24.4 52.0 44.9
Motif-6-Mamba 44.2 35.1 64.4 47.8 24.4 52.0 44.7
Motif-7-Mamba 43.8 35.1 64.5 48.2 24.5† 51.9 44.7
Motif-8-Mamba 44.2 35.2 64.6† 48.2 24.3 52.1 44.8
Motif-9-Mamba 43.9 35.1 63.9 47.9 24.5† 52.4† 44.6
Motif-10-Mamba 44.4 35.2 64.4 48.4 24.3 52.5 44.9
Motif-11-Mamba 44.0 35.1 63.8 48.1 24.3 52.5 44.6
Motif-12-Mamba 44.2 35.5† 64.6† 48.4 24.5† 51.9 44.9
Motif-13-Mamba 44.0 35.4 64.4 48.4 24.2 51.4 44.6

Motif2 achieves the highest average accuracy of 45.1%, followed by Motif1 with 45.0%. Notably, both belong to the stability-oriented Level 1. This result is consistent with our initial hypothesis that a stability-oriented motif prior can introduce cross-dimensional interaction without excessively disrupting Mamba’s original state dynamics. Motif12 achieves 44.9%, compared with 44.7% for Mamba, showing that the contrasting motif remains beneficial but is less effective on average than Motif2.

The full comparison therefore supports the original stability-based motivation, while also showing that the benefit is not restricted to a single motif. Nevertheless, these results do not establish that Level 1 is universally optimal or prove a causal relationship between motif level and downstream accuracy. In the revision, we will include the complete comparison and clarify both the original selection rationale and the scope of this interpretation.


Weakness2 — Distinction from Concurrent Motif-Mamba Work

Reviewer comment. The name “Motif-Mamba” overlaps with another recent work presented in the referenced bioRxiv preprint.

Although the two studies share similar terminology, they differ substantially in their primary motivation, source of motif priors, and intended dynamical effect. The referenced work is biologically motivated and asks whether connectivity patterns observed in mouse cortical and hippocampal connectomes can improve the functional properties of artificial neural networks. Its motif priors are therefore derived from empirical, cortex-specific motif distributions measured from biological data [3].

Our work instead addresses a specific architectural limitation of Mamba: its approximately diagonal state evolution provides limited explicit interaction among state dimensions. Rather than extracting motif statistics from a biological connectome, we use canonical directed three-node motifs selected according to their structural and dynamical properties. These motifs regularize a trainable low-rank recurrent pathway added to the selective state-space update.

The intended dynamical effect is also different. The referenced work aims to reproduce biologically observed connectivity organization and study its functional relevance. Our method uses motif topology to control structured cross-dimensional recurrent interaction, with the goal of improving state dynamics while preserving Mamba’s low computational complexity.

Therefore, the overlap is primarily terminological. In the revision, we will cite the referenced study as concurrent related work and explicitly clarify these distinctions in the related-work and method sections.

References

[1] J. Zhang, Y. Sun, W. Yao, and T. Zhang. “Functional Building Blocks of Neural Networks: From Network Motifs to Collective Dynamics.” Proceedings of ICML, 2026.

[2] R. J. Prill, P. A. Iglesias, and A. Levchenko. “Dynamic Properties of Network Motifs Contribute to Biological Network Organization.” PLoS Biology, 3(11):e343, 2005.

[3] Y. Sun et al. Incorporation of single-neuron projectome-based connectivity motifs enhances the cortex-specific performance of artificial neural networks. bioRxiv, 2026.

Reviewer E2PpOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The quadratic cost complexity of self-attention has motivated linear-time alternatives like Mamba. The authors present that Mamba's near-diagonal state-transition matrix results in state dimensions to evolve largely independently. Therefore, this limits the cross-dimensional interaction and long-range dependency modeling. Therefore, the authors propose for a low-rank coupling term to be added into the selective SSM update. This projects the hidden state into a compact subspace, mixes dimensions there, and maps back, preserving effectively linear complexity. The authors use the idea of a network motif as a design principle where they push the learning matrix to statistically resemble a chosen motif. The intuition borrowed from the motif literature is that different three-node motifs occupy distinct stability/flexibility regimes, so the structural prior should shape hidden-state dynamics in a controlled, interpretable way. The paper evaluates the idea on induction-head extrapolation, standard language modeling benchmarks, and BCI decoding. Across these settings, the reported results are consistently better than the corresponding Mamba baselines, but the improvement is very modest.

Strengths and weaknesses

Strengths:

  1. The paper is well-motivated since in Mamba the cross-dimensional interaction is limited.
  2. The idea presented by the authors is also novel where instead of just adding an unconstrained low-rank adapter, the paper combines the adapter to a motif structure.
  3. The paper show that the gains come mainly from the motif-based structural constraint than simply adding a low-rank path through ablation studies.
  4. The proposed method is also computationally light, i.e. the added parameters are comparably less.
  5. The analysis and the ablations provided in the paper are quite comprehensive and detailed.

Weaknesses:

  1. The improvement over vanilla Mamba (Tables 1, 2) due to the proposed method is very limited.
  2. The paper shows a complexity analysis in Section 2.2.1, but presenting a latency or throughput analysis compared with the baselines would enhance it.
  3. The observed improvement in the results may be due to the continued training - some results are in Appendix D.3, but it may be better motivated.
Questions
  1. This reviewer would suggest to include some details about the results presented in Appendix D in the main section of the paper.
  2. It is unclear why only Motif2 and Motif12 considered for experiments?
  3. Can the authors throw some light on why Motif2-Mamba-130M performs better than Motif12-Mamba-130M in table 2?
Limitations

yes

Formatting concerns

no

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the constructive assessment and for recognizing the motivation, novelty, and efficiency of our approach. The main concerns focus on whether the gains arise from continued pretraining, why Motif2 and Motif12 were selected, whether the practical runtime remains efficient, and how the modest improvements should be interpreted. We address these points below through controlled continued-pretraining results, a complete thirteen-motif comparison, and empirical throughput and latency measurements. These responses also directly address the Area Chair's prioritized concerns regarding motif necessity, stability, and experimental rigor.


Question1 & Weakness3 — Continued-Pretraining Control and Appendix Results

Reviewer comment. The observed improvement in the results may be due to the continued training; some results are presented in Appendix D.3, but the comparison could be better motivated. The reviewer also suggests including important details about the results presented in Appendix D in the main section of the paper.

Continued pretraining alone does not explain the improvements of Motif-Mamba. To isolate the effect of the proposed motif-constrained recurrent pathway from that of the additional training budget, we continually pretrained the original Mamba checkpoints using exactly the same data, data order, tokenizer, sequence length, optimization configuration, and additional 10M-token training budget as the corresponding Motif-Mamba models.

The results are summarized below.

Model LAMBADA HellaSwag PIQA ARC-E ARC-C WinoGrande Avg.
Mamba-130M 44.3 35.3 64.5 48.0 24.3 51.9 44.7
Mamba-130M-continued 44.3 35.3 64.5 48.0 24.3 51.9 44.7
Mamba-370M 55.6 46.5 69.5 55.1 28.0 55.3 51.6
Mamba-370M-continued 55.6 46.4 69.5 55.1 28.0 55.3 51.6
Mamba-790M 62.7 55.1 72.1 61.2 29.5 56.1 56.1
Mamba-790M-continued 62.7 55.1 72.1 61.2 29.6 56.1 56.1
Mamba-1.4B 64.9 59.1 74.2 65.5 32.8 61.5 59.7
Mamba-1.4B-continued 64.9 59.0 74.2 65.5 32.9 61.5 59.7

Across all four model scales, continued pretraining leaves the average accuracy unchanged. The changes on individual tasks are at most 0.1 percentage points. This controlled comparison indicates that the improvements of Motif-Mamba cannot be attributed simply to the additional continued-pretraining tokens.

Following the reviewer’s suggestion, in the revision we plan to move this continued-pretraining control from Appendix D.3 to the main paper. We will also add the corresponding experimental details to clarify that the original Mamba models and the Motif-Mamba variants are trained under the same continued-pretraining conditions.


Question2 & Question3 — Motif2 vs. Motif12 and Full Motif Evaluation

Reviewer comment. It is unclear why only Motif2 and Motif12 are considered in the experiments. Can the authors explain why Motif2-Mamba-130M performs better than Motif12-Mamba-130M in Table 2?

Our initial motif selection was motivated by stability considerations, and the complete thirteen-motif evaluation supports this original design hypothesis. In Mamba, the diagonal entries of the state-transition matrix are parameterized to be negative, promoting stable decay of the recurrent state. Adding a cross-dimensional recurrent interaction term may change the spectrum of the state update and potentially weaken this stability.

Previous studies organize the thirteen directed three-node motifs into a three-level dynamical hierarchy associated with different stability–flexibility regimes [1,2]. Based on this hierarchy, we first selected Motif2 as a stability-oriented prior for the added interaction pathway. We then included Motif12 as a representative motif from a contrasting dynamical level to examine whether the choice of motif structure materially affects performance. This established hierarchy motivated the initial motif selection and is independent of the learned-eigenvalue analysis conducted after training.

We agree that evaluating only these two motifs does not fully characterize the role of motif choice. We therefore evaluated all thirteen motif variants using the same Mamba-130M backbone, low-rank dimension, parameter budget, training data, and additional 10M-token continued-pretraining budget.

The best result in each column is shown in bold, and † indicates the second-best result.

Model LAMBADA HellaSwag PIQA ARC-E ARC-C WinoGrande Avg.
Mamba 44.3 35.3 64.5 48.0 24.3 51.9 44.7
Motif-1-Mamba 44.6† 35.5† 64.7 48.2 24.4 52.3 45.0†
Motif-2-Mamba 44.7 35.7 64.7 48.5† 24.6 52.4† 45.1
Motif-3-Mamba 44.4 35.3 64.3 47.7 24.1 52.3 44.7
Motif-4-Mamba 44.1 35.3 63.6 48.2 24.3 52.4† 44.7
Motif-5-Mamba 44.4 35.3 64.3 48.8 24.4 52.0 44.9
Motif-6-Mamba 44.2 35.1 64.4 47.8 24.4 52.0 44.7
Motif-7-Mamba 43.8 35.1 64.5 48.2 24.5† 51.9 44.7
Motif-8-Mamba 44.2 35.2 64.6† 48.2 24.3 52.1 44.8
Motif-9-Mamba 43.9 35.1 63.9 47.9 24.5† 52.4† 44.6
Motif-10-Mamba 44.4 35.2 64.4 48.4 24.3 52.5 44.9
Motif-11-Mamba 44.0 35.1 63.8 48.1 24.3 52.5 44.6
Motif-12-Mamba 44.2 35.5† 64.6† 48.4 24.5† 51.9 44.9
Motif-13-Mamba 44.0 35.4 64.4 48.4 24.2 51.4 44.6

Motif2 achieves the highest average accuracy of 45.1%, followed by Motif1 with 45.0%. Both motifs belong to the stability-oriented first level of the established hierarchy. This result supports our initial hypothesis that a stability-oriented motif prior is well suited to introducing cross-dimensional interaction without excessively disrupting Mamba’s original stable state evolution.

Motif12 achieves 44.9%, compared with 44.7% for the Mamba baseline. Although it still improves over Mamba, its lower average accuracy than Motif2 is consistent with the possibility that motif structures from more flexible dynamical levels introduce larger perturbations to the recurrent state. We regard this as supporting evidence rather than a causal conclusion, and complement it with analyses of learned eigenvalues, spectral properties, and state dynamics.


Weakness2 — Throughput and Latency Analysis

Reviewer comment. The paper shows a complexity analysis in Section 2.2.1, but presenting a latency or throughput analysis compared with the baselines would enhance it.

We conducted an empirical throughput and latency comparison between Mamba and Motif-Mamba. Both models are evaluated using the same model scale, hardware environment, numerical precision, batch size, and sequence lengths. Throughput is measured in tokens per second, and latency denotes the time required for one full-sequence forward.

Seq. Len. Mamba Tok/s Motif Tok/s ΔTok (%) Mamba Lat. (ms) Motif Lat. (ms) ΔLat. (%)
1,024 43,835.09 ± 276.62 43,653.18 ± 201.99 -0.41 23.36 ± 0.15 23.46 ± 0.11 +0.42
2,048 86,736.62 ± 307.66 85,984.23 ± 242.88 -0.87 23.61 ± 0.08 23.82 ± 0.07 +0.88
4,096 110,734.37 ± 293.82 105,848.10 ± 290.18 -4.41 36.99 ± 0.10 38.70 ± 0.11 +4.62
8,192 130,242.33 ± 702.54 122,628.55 ± 412.81 -5.85 62.90 ± 0.34 66.80 ± 0.22 +6.21

Across sequence lengths from 1,024 to 8,192, Motif-Mamba reduces throughput by 2.89% on average and increases forward latency by 3.03%. At sequence lengths of 1,024 and 2,048, the runtime overhead is below 1%. At the longest evaluated sequence length of 8,192, throughput decreases by 5.85%, while latency increases by 6.21%. These results indicate that the motif-constrained low-rank pathway introduces a modest practical overhead while retaining the efficient scaling behavior of the Mamba backbone.


Weakness1 — Modest Gains with Minimal Overhead

Reviewer comment. The improvement over vanilla Mamba in Tables 1 and 2 due to the proposed method is very limited.

We agree that the absolute gains over vanilla Mamba are modest. Our method is intended as a lightweight structural modification rather than an increase in model capacity or pretraining compute. It adds only a small low-rank recurrent pathway and incurs limited runtime overhead.

All models are adapted with the same additional 10M-token budget, and continued pretraining of the original Mamba checkpoints produces almost no performance change. Therefore, the observed gains are attributable to the proposed structural modification rather than additional training.

In the revision, we will avoid overstating the magnitude of the gains and clarify that the contribution is a consistent improvement over Mamba with minimal additional parameters and computation.

References

[1] J. Zhang, Y. Sun, W. Yao, and T. Zhang. “Functional Building Blocks of Neural Networks: From Network Motifs to Collective Dynamics.” Proceedings of ICML, 2026.

[2] R. J. Prill, P. A. Iglesias, and A. Levchenko. “Dynamic Properties of Network Motifs Contribute to Biological Network Organization.” PLoS Biology, 3(11):e343, 2005.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…