- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
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:
-
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.
-
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.
-
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.
-
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
-
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?
-
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?
-
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
Paper formatting concerns
No
Final justification
The response largely addresses my concern. I will consider increasing my score, while retaining Weakness 4 as a limitation.
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)
We clarify that Lemma 1 uses this first-order approximation and that the resulting a second-order error is O(Δt2).
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) 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), it would increase the computational constant, activation memory, and backpropagation overhead.
Since At and Btxt 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. 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=Ateffht, where Ateff is fixed over the interval Δt. For the discrete linear system, the corresponding one-step state displacement is
Δht=ht+1−ht=(Ateff−I)ht.
Defining zt=MJht and using the local pseudoinverse lifting ht≈MJ+zt, we obtain the projected one-step displacement
v(zt):=zt+1−zt≈MJAteffMJ+zt−zt.
For Motif-Mamba, setting xt=0 in Eq. (4) and using the first-order semi-exponential update in Eq. (5) gives ht+1=(e−ΔtAt+ΔtMIMJ)ht. Accordingly, the effective transition operator is
Ateff=e−ΔtAt+ΔtMIMJ.
Thus, MI is not omitted from Eq. (8), but is incorporated into Ateff. 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.
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=2, each layerwise matrix Lℓ has at most two nonzero eigenvalues. We therefore report its spectral radius ρ(Lℓ) and the magnitude of its second-largest eigenvalue ∣λ2(Lℓ)∣.
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.
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.