- Rating
- 3
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 1
- Significance
- 3
Read review
Summary
The paper attempts to investigate whether Mamba can, like nonlinear Transformers, extract hidden features of the current task from a small number of samples during in-context learning. They try to prove that Mamba's nonlinear gating can apply a nonlinear transformation to the label signal, making higher-order feature signals invisible to linear methods become visible.
Strengths and weaknesses
The motivation is sound. On the problem setup, I cannot determine whether it is deliberately aligned with Nishikawa's existing derivation path[1], but the two are indeed quite close in substance, which somewhat weakens my assessment of the paper's theoretical contribution. It puts forward an insightful mechanistic hypothesis for Mamba practice. Experimentally, it validates some trend-level predictions, but does not design experiments specifically for Proposition 4.1, which I consider a relatively important result, nor does it perform some simple manipulations on the gating to confirm its role. Overall, this is an impressive paper. Although there are still some issues that are not fully addressed, I believe the authors can resolve them during the rebuttal period—because they are not complicated.
Specific Issues in the Proof
However, regarding the proof itself, I found several issues that make me less confident in the correctness of the main theorem as currently written.
-
In the theorem statement, is set to , suggesting a large positive bias. However, parts of the proof seem to require a large negative bias, or equivalently a gate of the form involving , so that the sigmoid gate is small and the subsequent estimates scale as intended. This discrepancy is not merely cosmetic, since the sign of directly changes the behavior of the gating and forgetting factors.
-
I am concerned about the moment calculation involving the feature vector . The proof appears to use simplifications that would be valid if the squared coordinates of behaved like deterministic quantities. However, for a vector uniformly distributed on the sphere, the fourth moments introduce additional terms, such as coordinate-wise quadratic components, which do not seem to reduce to a function only of . This seems particularly relevant to Proposition 4.1 / Proposition C.5, where the Mamba output is claimed to be approximated by a function of . As far as I can tell, the extra terms are not obviously negligible and may be of the same order as the claimed signal in the even-link case.
-
In the generalization argument based on Rademacher complexity, the proof seems to pass from a high-probability bound on the normalized Mamba output to a bound on its second moment or expectation. A high-probability bound alone does not automatically imply the required expectation bound without an additional tail estimate, truncation argument, or moment control. I could not find such an argument in the current manuscript.
I examined the relevant steps related to these issues, but they do not seem to be explained by the paper itself. I would appreciate clarification from the authors on whether these are typographical mistakes, omitted arguments, or genuine gaps in the proof. In particular, the second issue seems potentially important for the validity of the stated test-time feature learning proposition.
[1]: Nishikawa, N., Song, Y., Oko, K., Wu, D. and Suzuki, T., 2025, October. Nonlinear transformers can perform inference-time feature learning. In Forty-second International Conference on Machine Learning.
Questions
-
As mentioned in the weaknesses, I would like the authors to verify the theoretical derivations and provide the corresponding explanations.
-
Could the authors design experiments related to Proposition 4.1, or perform simple interventions on the gating mechanism to verify its role? If the authors believe such experiments are unnecessary, I would also appreciate an explanation of why.
-
As an open question, do the authors believe that it is possible to go beyond single-index ICL and study a broader class of phenomena? What would be the main technical bottlenecks?
Limitations
yes.
Paper formatting concerns
No paper formatting concerns.
Final justification
The repaired theorem has a materially narrower scope than the original claim in the submitted version: it excludes the fixed- regime used in the experiments and only covers settings in which the intrinsic dimension grows sufficiently with . After the theorem was revised by introducing a new constraint on , the experiments in the original paper became substantially misaligned with the theory. In particular, the fixed values of used in the experiments do not satisfy the requirements of the revised theorem. Although the conceptual advance over the closely related nonlinear-Transformer analysis is meaningful, it is still incremental overall. This is a fragile score of 3: if the incorrect proof in the original submission is taken into account, I would strongly oppose accepting the paper in its current form.
We express our gratitude for your valuable comments. In the following, we address the points raised by the reviewer.
W, Q1. Issues in the proof
We thank the reviewer for the careful reading, and the reviewer is right on these points. Fortunately, they can be corrected cleanly, and under an additional growth condition on r the feature-learning mechanism and the stated sample-complexity results are preserved. Since the submission cannot be revised now, we explain each correction directly below, and we will incorporate them in the next version. In our own careful re-examination, the points the reviewer raised turned out to be exactly the major issues; we have addressed all of them, and we additionally fixed a few minor errors that we found in the process.
Issue 1. Sign of the gating bias
We thank the reviewer for catching this. Indeed, the bias in Theorem 3.3 should read b=−Cblogd (the current version Cblogd is a typo): a large negative b makes the gate σ(w⊤z+b) small (Θ(d−Cb)) and the "forgetting" effect negligible, and all downstream estimates (Lemma B.1 / C.1, Proposition C.5) then scale as intended. With this sign corrected, the rest of the argument goes through as before, so the mechanism and result are unaffected; we have also fixed a few typos of this kind throughout the manuscript.
Issue 2. Spherical moment calculation
We thank the reviewer for pointing this out, and we acknowledge that this is the most significant issue; we have corrected it as follows. Concretely, the step is the computation of ψ(β,a)⊤(c⊙ϕ(x)) in the proof of Proposition C.5, at line 805 of the submission. There, the degree-2 block was evaluated as
Eβ′[(∑iβ[i]x[i]β′[i]2)2];⟶;(Eβ′[∑iβ[i]x[i]β′[i]2])2=(r⟨β,x⟩)2.
This step is incorrect, since it ignores the variance of β′ and treats each β′[i]2 as the deterministic value 1/r. Using the exact spherical moments of β′, it should instead be
ψ(β,a)⊤(c⊙ϕ(x))=a02b0+a12b1r⟨β,x⟩+r(r+2)a22b2[21He2(⟨β,x⟩)+41(∑iβ[i]2x[i]2−1)].
Collecting the constant and quadratic coefficients, with P1′=a02b0 and P2′=2(r+2)a22b2r, this can be written compactly as
P1′+P2′(r⟨β,x⟩)2+Q(β,x),
where the residual is
Q(β,x)=4r(r+2)a22b2(∑iβ[i]2x[i]2−1).
Compared with the printed identity, both P1′ and P2′ differ from the printed constants P1 and P2 only by O(1) factors and are absorbed. The residual Q is genuinely not a function of ⟨β,x⟩. Using ∑iβ[i]4=O(1/r) for β uniform on the sphere, Var(∑iβ[i]2x[i]2)=2∑iβ[i]4=O(1/r), so ∑iβ[i]2x[i]2−1=O(r−1/2), and hence Q=O(P2′,r−5/2) with high probability.
To absorb this residual, we add to Theorem 3.3 the growth condition that r=ω((logd)Cr) for a sufficiently large constant Cr, and in the corresponding error bound we also loosen the tolerance in Lemma D.1,
o(P2,r−3ge(g\*)/2⋅polylog);⟶;o(P2,r−ge(g\*)⋅polylog).
This second change only loosens the tolerance in the error bound, and this looser tolerance is itself obtained by a tighter analysis in the generalization-error argument of Appendix E.2. Specifically, to obtain line 881 we do not simply apply the bound of Proposition C.5 (which the manuscript there mistakenly cites as Lemma B.1); instead we carry out a tighter analysis of this step, which shows that the coarser tolerance o(P2,r−ge(g\*)⋅polylog) still suffices for the same generalization guarantee. This is what lets the added condition on r absorb Q throughout. With both changes, Q is absorbed into the o(⋅) error of Proposition C.5, so the leading (⟨β,x⟩/r)ge(g\*) term, and hence the feature-learning mechanism and the stated sample-complexity results, are preserved.
Issue 3. From high-probability to expectation bound
We agree that this step needed justification, and we supply the missing argument here. Since the gating factors satisfy Gj,⋅(Z)∈[0,1], the output is bounded by ∣N−1Mamba∣≤∣γ∗∣∞∣ϕ(x)∣⋅N−1∑j∣yj∣,∣ϕ(xj)∣. Here ∣γ∗∣∞ is a fixed, well-bounded factor, while ϕ(x), ϕ(xj), and the labels yj are fixed-degree polynomials of Gaussian quantities: ϕ collects Hermite polynomials of degree at most two in the input, and each yj=g\*(⟨β,xj⟩)+ζj is a fixed-degree polynomial of a Gaussian plus additive noise with bounded moments. By standard Gaussian moment bounds, such polynomials have all moments finite, and the norms ∣ϕ(x)∣ and ∣ϕ(xj)∣ grow at most polynomially in d since ϕ has O(d2) coordinates; applying Hölder's inequality across the factors then bounds the fourth moment of the product, giving E[(N−1Mamba)4]≤poly(d). With E the high-probability event of Proposition C.5, E[N−2Mamba2]≤O~(1)+(E[N−4Mamba4])1/2P[E∁]1/2≤O~(1)+poly(d),d−Cwhp/2=O~(1), by Cauchy–Schwarz and P[E∁]≤d−Cwhp. This is exactly the tail and moment control that turns the high-probability bound into the required expectation bound, and we will add it. The conclusion is unchanged.
W. Comparison to Nishikawa et al. (2025)
We agree that our problem setting shares structure with Nishikawa et al. [1], namely a sequence model followed by an MLP together with layerwise pretraining. However, the first stage of our analysis requires genuinely different techniques, because the source of nonlinearity in Mamba is the gating rather than the softmax, which makes their analysis inapplicable to our setting. First, since the two nonlinearities are different, it is nontrivial to prove that the gating also reduces the information exponent to the generative exponent, and this requires arguments specific to the sigmoid gate in Proposition C.5. Second, the MLP plays a fundamentally different role in our Stage-I analysis: its nonlinearity is essential, since our input embedding uses only up-to-second-order terms and without the MLP nonlinearity the relevant Stage-I update vanishes when ie(g\*)>2, whereas the analysis of [1] operates in a regime where the MLP nonlinearity plays no role, because the softmax already generates the necessary higher-order functions of the input. We therefore handle the MLP nonlinearity with independent arguments in Lemmas B.3 and B.4, and this is exactly what yields our improved pretraining sample complexity over [1]. Thus, although the high-level setup is shared, the key technical steps are new and specific to Mamba.
Q2. Experiments for Proposition 4.1
We thank the reviewer for the suggestion. We ran this experiment with linear attention, a gating-free recurrence model, under the same setting as the base configuration in the paper.
Table. Test squared error vs. the number of in-context examples.
Without gating, the error is consistently higher than gated Mamba at every context length. Its loss also converges more slowly and plateaus well above gated Mamba, instead of continuing to decrease as Mamba does. This supports the prediction that nonlinear gating is important for the test-time feature learning of Proposition 4.1.
Q3. Beyond single-index models
We believe a broader class of tasks and data distributions can be studied. The most natural next step is the multi-index model, where the target depends on a few relevant directions rather than a single one, that is, y≈g(⟨β1,x⟩,…,⟨βk,x⟩). The main bottleneck is that the established theoretical tools differ from task to task: the information- and generative-exponent theory we rely on is specific to the single-index setting, so a different task would call for a different set of tools and, accordingly, different proof techniques.
We thank the reviewer for these points, which have improved the rigor of the paper. We hope that our response clarifies your concerns, and we would appreciate it if you could consider reassessing our submission.
Best regards,
Authors
References.
[1] Nishikawa et al. Nonlinear transformers can perform inference-time feature learning. ICML, 2025.
[2] Damian et al. Neural networks can learn representations with gradient descent. COLT, 2022.
[3] Oko et al. Pretrained Transformer efficiently learns low-dimensional target functions in-context. NeurIPS, 2024.