potentialpaper

Selectivity Makes State-Space Models Universal Sequence Approximators

Yoshihiro Maruyama

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.

TL;DR. Selectivity as in Mamba gives even a simple state-space model surprisingly broad expressive power.

Abstract. Selective state-space models such as Mamba replace fixed linear state transitions by input-dependent transitions, yielding recurrent sequence models that retain linear-time inference at fixed model size while adapting their memory dynamics to the current token. We show that even a simple form of this selective memory update has universal approximation power. Specifically, for every compact input domain, finite horizon, and continuous causal sequence-to-sequence map, a clocked diagonal selective state-space scan with strictly contractive gates and a linear-in-state readout uniformly approximates the target map. The proof is constructive: input-dependent diagonal propagation generates tensor-product partition features over prefixes, and the linear-in-state readout combines these features with sampled target values. Thus the high-order interactions required for universality are produced inside the selective scan itself, rather than by attention, nonlinear hidden-state dynamics, or a universal multilayer perceptron applied after a sequence encoder. These results identify selectivity as a mathematically sufficient mechanism for expressive linear-time state-space sequence modeling. Selectivity lets the model decide, token by token, which parts of the past should be preserved, faded, or combined with the present. The universal approximation theorem shows that this adaptive use of memory is sufficient to reproduce any well-behaved causal sequence rule.

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 (spotlight)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (spotlight) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

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

Reviewers generally regard this submission as a well-written and timely theoretical contribution, and three of four recommend acceptance. The pivotal concern for the discussion, raised by the fourth reviewer, is that the theorem is proved for a model class considerably broader than selective SSMs as used in practice: the transition gates and the input/output maps are permitted to be arbitrary continuous functions of the input (and, in the clock-free two-layer construction, to depend on hidden state), whereas practical models restrict these to specific finite-dimensional parameterizations. This arguably makes universality easier to establish and weakens its interpretation as a statement about the architecture. Notably, one of the accepting reviewers independently raises a related point, that a similarly enriched version of the paper's simplified non-selective comparison model might itself become universal, which bears directly on the central claim that selectivity is what enables universality. A second limitation is that the construction is existential, with hidden dimension growing exponentially in horizon and partition width, but such limitations are common in universality results. Reviewers also request a clearer statement of how the analyzed model relates to the actual Mamba/S6 update, some additional proof details, and discussion of extensions. For the rebuttal I would prioritize: (1) clarifying whether universality, and specifically the claim that selectivity is its source, survives when the gates and readout are properly parameterized rather than arbitrary continuous functions; (2) making explicit whether the enriched comparison model would also be universal, since this underpins the selectivity claim; and (3) stating the exponential-cost caveat prominently. The extension questions and proof clarifications are welcome but secondary in my opinion.

Final justification

All reviewers view the submission as a well-written theory paper and recommend acceptance. They found its core mechanism (input-dependent selective gates building tensor-product prefix features inside the scan) novel and illuminating, the proofs sound, and the non-selective counterexample a clean demonstration that selectivity is the source of expressivity. An unusually thorough rebuttal resolved the main concerns, confirming that the construction is finitely parameterized and preserves linear-time scanning. Two limitations should be made explicit in the camera-ready: the result covers a neural-parameterized selective-SSM class rather than the exact stock Mamba/S6 parameterization, and the construction is existential with hidden dimension exponential in horizon. Neither undermines the contribution, and I recommend acceptance.

Area Chair 489N · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Reviewers generally regard this submission as a well-written and timely theoretical contribution, and three of four recommend acceptance. The pivotal concern for the discussion, raised by the fourth reviewer, is that the theorem is proved for a model class considerably broader than selective SSMs as used in practice: the transition gates and the input/output maps are permitted to be arbitrary continuous functions of the input (and, in the clock-free two-layer construction, to depend on hidden state), whereas practical models restrict these to specific finite-dimensional parameterizations. This arguably makes universality easier to establish and weakens its interpretation as a statement about the architecture. Notably, one of the accepting reviewers independently raises a related point, that a similarly enriched version of the paper's simplified non-selective comparison model might itself become universal, which bears directly on the central claim that selectivity is what enables universality. A second limitation is that the construction is existential, with hidden dimension growing exponentially in horizon and partition width, but such limitations are common in universality results. Reviewers also request a clearer statement of how the analyzed model relates to the actual Mamba/S6 update, some additional proof details, and discussion of extensions. For the rebuttal I would prioritize: (1) clarifying whether universality, and specifically the claim that selectivity is its source, survives when the gates and readout are properly parameterized rather than arbitrary continuous functions; (2) making explicit whether the enriched comparison model would also be universal, since this underpins the selectivity claim; and (3) stating the exponential-cost caveat prominently. The extension questions and proof clarifications are welcome but secondary in my opinion.

Final justification

All reviewers view the submission as a well-written theory paper and recommend acceptance. They found its core mechanism (input-dependent selective gates building tensor-product prefix features inside the scan) novel and illuminating, the proofs sound, and the non-selective counterexample a clean demonstration that selectivity is the source of expressivity. An unusually thorough rebuttal resolved the main concerns, confirming that the construction is finitely parameterized and preserves linear-time scanning. Two limitations should be made explicit in the camera-ready: the result covers a neural-parameterized selective-SSM class rather than the exact stock Mamba/S6 parameterization, and the construction is existential with hidden dimension exponential in horizon. Neither undermines the contribution, and I recommend acceptance.

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

Paper provides a rigorously proved theorem that shows Mamba/S6's expressivity, i.e.,it can approximate any causal/continuous mapping FF on reasonable conditions (input token space X being compact). The authors additionally show that its expressivity is explicitly attributed to Mamba's selectivity, and provide tighter conditions to meet universal approximation property.

Strengths and weaknesses

Strengths:

  • To the best of my knowledge, this paper reveals a novel and refreshing perspective to prove universal approximation theory of S6/Mamba, and the first attempt to explicitly attribute this property to selectivity.
  • I particularly liked the proof of Thm 3.1, where the r-net plays role to find partition approximates. The intuitive view how Mamba architecture finds coordinates as a tree search with soft weights multiplication was very intriguing.
  • The paper provides how it is different from previous UA theorems related to RNNs or MLPs, which cleared the doubts that readers might have during reading.
  • Compared to the previous attempt of similar goal [1], I believe the perspective suggested in this paper is clearer and simpler. I enjoyed reading this paper, and was quite intrigued.

Weaknesses:

  • The only related article I can think of is [1], which brings the concept of linear CDEs to explain expressivity of selective SSMs. The conceptual difference and comparison would be very helpful to identify the distinction between two papers that share the same goal.

References

[1] Theoretical Foundation of Deep Selective State-Space Models (Cirone et al., NeurIPS 2024)

Questions

It would be fun to see the actual training dynamics of Mamba on a simple dataset, and see how it actually learns actually is relatable to Thm 3.1-(ii); one can build a continuous sequence mapping that we already know in advance and see how the Mamba weights are realized to fit the sequence mapping.

Limitations

yes

Final justification

Well-structured, intriguing paper that everyone would agree. I maintain the rating at 5,

Formatting concerns

I do not see any major issues in this paper with respect to violation of formatting or anonymity.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We are grateful to the reviewer for your careful reading of the paper and constructive feedback.


Reply to the experiment question.

Thank you for this excellent suggestion. Following it, we trained a transparent Mamba-style selective scan on the continuous causal map Qt(x1:t)=∏s=1ttanh⁡(xs)Q_t(x_{1:t})=\prod_{s=1}^t\tanh(x_s) for xs∈[−1,1]x_s\in[-1,1] and T=3T=3. Using ϕ±(x)=1/(1+e∓2x)\phi_\pm(x)=1/(1+e^{\mp 2x}), the construction in Theorem 3.1(ii) has 1414 recurrent coordinates satisfying htj1,…,jt=∏s=1tϕjs(xs)h_t^{j_1,\ldots,j_t}=\prod_{s=1}^t\phi_{j_s}(x_s), followed by a linear parity-sign readout.

We trained the selector slopes, biases, and readout coefficients from random initialization. Across three seeds, the learned slopes recovered their exact value 22 with RMSE 4.07×10−74.07\times10^{-7}, while the hidden-state and readout RMSEs reached 1.66×10−81.66\times10^{-8} and 2.57×10−72.57\times10^{-7}, respectively. The final time-three dense-grid output RMSE was 5.26×10−95.26\times10^{-9}.

The training trajectories provide a direct empirical visualization of the mechanism in Theorem 3.1(ii), that is, the Mamba selectors learn the local partition functions, the recurrent state forms the predicted prefix-product features, and the linear readout combines them into the desired continuous sequence mapping.


Reply to the related work question.

Thank you for pointing us to Cirone et al. [1]. Cirone et al. develop a continuous-time perspective, representing selective SSMs as linear CDEs and using path signatures and rough-path theory to characterize their expressive structure.

Our work provides a complementary constructive discrete-time perspective: on compact finite-horizon sequence domains, clock-conditioned diagonal gates explicitly generate the ordered prefix features ∏s=1tϕjs(xs)\prod_{s=1}^t\phi_{j_s}(x_s), which yield uniform approximation of every continuous causal sequence-to-sequence map with strictly contractive dynamics and a readout linear in the state. The autonomous-clock result further shows how the position signal is generated within a depth-two selective SSM.

Thus the two papers provide complementary continuous-time and discrete-time explanations of how selectivity creates expressive causal sequence models.


Many thanks again for your review. We will improve the paper taking all of your precious comments into account.

Reviewer HVho · CommentOpenReview ↗

Thanks for the response. I am satisfied with the response and keep my positive assessment as it is.

Authors · CommentOpenReview ↗

Many thanks again for your review and feedback.

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

The paper is concerned with a universal approximation theorem for state-space models with selectivity. The model, defined in (3) and (4), is a linear system with state-dependent coefficients. It is an abstraction of the Mamba/S6 sate-space update. In the main result, Theorem 3.1, the paper shows that a universal approximation result (uniformly on compact domains) for causal and continuous sequence-to-sequence maps. The proof is constructive: it uses uniform continuity of the target maps, partitions the underlying domain and defines Gaussian basis functions on the partition. The selector functions are constructed from these basis functions and shown to indeed approximate the target map. In Section 4, the authors then consider a simpler model without selectivity and show that such a model can not be universal. Finally, as the result depends on using a clock (essentially allowing the selector functions to be time-dependent), in Section 5 the paper then shows that adding an extra layer allows to use autonomous clocks instead.

Strengths and weaknesses

This is a very relevant and well-written theoretical paper. The mathematical assumptions and results are clearly formulated. Proofs are original and appear to be correct (there is just one point at which further clarification would be helpful, see below). The paper shows that selectivity by itself already yields universal approximation. Thereby, the paper further advances our understanding of universality of sequence-to-sequence models. Overall, the paper makes a significant contribution to the literature on foundational understanding of state-space models.

There are a few very minor weaknesses regarding clarity, addressing these would further strengthen the paper. The proof of Theorem 3.1 could benefit from a few more details (e.g. in an Appendix) at two places: First, line (155-156) you introduce a(x), but don’t use it any more explicitly. You use it in the estimate leading to (16), but I think it would help the reader to add a bit more detail here. Second, lines 160-163. This part is a bit unclear. The bound (18) concerns sums, but in (19) you need to bound a product. I think here a few more steps with actual estimates would help.

Questions
  1. Section 2.3: I think it would help to clarify and further extend Section 2.3 (potentially also in an Appendix, if space is an issue), writing out again the definition of the Mamba/S6 state-space model. After reading it, I am unsure about whether this model fully captures the practically relevant setting.

  2. Causal maps: the definition is a bit unclear, as the specification of F in (1) already assumes causality but then in line 103 you write “[a sequence to sequence map F] is called causal”, even though you already assumed it is causal by (1). It's a minor point, but maybe worth clarifying.

  3. Line 109: One-hot clock codes: can you add more details here (e.g. an example choice)?

  4. In comparison to the previous model, the model in Section 4 seems a bit overly simplified. If you allow \beta, \gamma and \kappa in (31) to depend not just on x_t, but on (x_t,e_t), then it seems that an appropriate choice of A might still make the same construction used in the proof of Theorem 3.1 work; i.e. this could still be universal. Could you comment on this?

  5. Extensions: could you comment on possible extensions of the result using your proof? E.g. for time series applications, it is important to have universality for L^p-integrable (not necessarily continuous) functions (potentially on non-compact sets). Would you expect your technique of proof to work also in that case? For example, for RNNs different variants of this question (random inputs / non-compact sets or L^p norms) were studied here: L. Gonon and J. -P. Ortega, "Reservoir Computing Universality With Stochastic Inputs," in IEEE Transactions on Neural Networks and Learning Systems, vol. 31, no. 1, pp. 100-112, Jan. 2020, doi: 10.1109/TNNLS.2019.2899649. A. Bishop, "Universal time-uniform trajectory approximation for random dynamical systems with recurrent neural networks." arXiv preprint arXiv:2211.08018 (2022).

Limitations

Limitations are only partially addressed: the universality result is purely qualitative. Obtaining quantitative universal approximation results would require further smoothness assumptions and probably a different proof technique, but I think it is still important to mention this.

Final justification

This is a timely and very well-written theoretical paper; the rebuttal has clarified all remaining concerns regarding the role of parametrized functions and the enriched comparison model. Therefore, based on the original reviews and rebuttal my recommendation would be to accept the paper.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We are grateful to the reviewer for your careful reading of the paper and constructive feedback.


Reply to Q1.

We agree that expanding Section 2.3 will make the connection with practical Mamba/S6 implementations clearer. We will restate the S6 model explicitly. For an input xt∈RDx_t\in\mathbb{R}^D and state Ht∈RD×NH_t\in\mathbb{R}^{D\times N}, S6 constructs token-dependent parameters Δt=softplus⁡(sΔ(xt))\Delta_t=\operatorname{softplus}(s_\Delta(x_t)), Bt=sB(xt)B_t=s_B(x_t), and Ct=sC(xt)C_t=s_C(x_t), together with a fixed negative diagonal generator AA.

The resulting recurrence is Ht,dn=exp⁡(Δt,dAdn)Ht−1,dn+Bˉt,dnxt,dH_{t,dn}=\exp(\Delta_{t,d}A_{dn})H_{t-1,dn}+\bar B_{t,dn}x_{t,d}, yt,d=∑nCt,nHt,dn+Ddxt,dy_{t,d}=\sum_n C_{t,n}H_{t,dn}+D_dx_{t,d}, where Bˉt\bar B_t is the discretized input map. Under zero-order-hold discretization, Bˉt,dn=(exp⁡(Δt,dAdn)−1)Adn−1Bt,n\bar B_{t,dn}=(\exp(\Delta_{t,d}A_{dn})-1)A_{dn}^{-1}B_{t,n}. After flattening HtH_t, this is precisely the selective recurrence studied in the paper, ht=λ(xt)⊙ht−1+b(xt)h_t=\lambda(x_t)\odot h_{t-1}+b(x_t), with λdn(xt)=exp⁡(Δt,dAdn)\lambda_{dn}(x_t)=\exp(\Delta_{t,d}A_{dn}).

Thus, our formulation encompasses the practical diagonal S6 scan. We will also explain how the selector maps correspond to the learned projections generating Δt\Delta_t, BtB_t, and CtC_t, and how the surrounding causal convolution, gating, skip connection, and input/output projections form the complete Mamba block. A detailed dimensional correspondence and parameterization map will be included in the appendix.


Reply to Q2.

Let us clarify it. Fix a finite horizon T∈NT\in\mathbb{N}, input dimension dd, output dimension mm, and compact input set X⊂RdX\subset\mathbb{R}^d. A sequence-to-sequence map F:XT→(Rm)TF:X^T\to(\mathbb{R}^m)^T is called causal when there exist prefix maps Ft:Xt→RmF_t:X^t\to\mathbb{R}^m such that F(x1:T)=(F1(x1),F2(x1:2),…,FT(x1:T))F(x_{1:T})=(F_1(x_1),F_2(x_{1:2}),\ldots,F_T(x_{1:T})). Thus, the output at time tt is determined by the input prefix x1:tx_{1:t}. Throughout, continuity of FF means that every prefix map FtF_t is continuous on the compact product domain XtX^t.


Reply to Q3.

Let us explain more. Let ET=e1,…,eT⊂RTE_T={e_1,\ldots,e_T}\subset\mathbb{R}^T denote the standard one-hot clock codes, where ete_t has value 11 in coordinate tt and 00 in every other coordinate. For example, when T=4T=4, one may choose e1=(1,0,0,0)e_1=(1,0,0,0), e2=(0,1,0,0)e_2=(0,1,0,0), e3=(0,0,1,0)e_3=(0,0,1,0), and e4=(0,0,0,1)e_4=(0,0,0,1). At scan step tt, the model receives ut=(xt,et)u_t=(x_t,e_t), allowing the selectors to specialize their behavior to each position in the sequence. For instance, b(x,e1)b(x,e_1) can initialize a state coordinate, and λ(x,e2)\lambda(x,e_2) can perform the desired second-step update. These fixed clock codes provide a simple and explicit representation of sequence position. A preliminary SSM layer can also generate the clock internally, as discussed later in the paper.


Reply to Q4.

Thank you for this observation. Allowing β\beta, γ\gamma, and κ\kappa to depend on (xt,et)(x_t,e_t) gives a natural time-aware formulation. The construction of Theorem 3.1 then arises by also using an input-clock-dependent transition A(xt,et)A(x_t,e_t). For each prefix coordinate q=(ℓ,j1,…,jℓ)q=(\ell,j_1,\ldots,j_\ell), choosing the corresponding diagonal entry at time tt as ϕjt(xt)\phi_{j_t}(x_t) gives htq=ϕjt(xt)ht−1q=∏s=1tϕjs(xs)h_t^q=\phi_{j_t}(x_t)h_{t-1}^q=\prod_{s=1}^t\phi_{j_s}(x_s). A clock-dependent readout γ(xt,et)\gamma(x_t,e_t) can then select and combine precisely the coordinates of length tt.

Thus the time-aware model with a selective transition recovers the tensor-partition construction and is universal. This formulation also makes especially clear that transition selectivity is the mechanism generating the required higher-order interactions.


Reply to Q5.

Thank you for this valuable suggestion. Yes, for every fixed finite horizon, our proof extends directly to measurable LpL^p-integrable causal maps and non-compact input domains. Let X⊆RdX \subseteq \mathbb R^d be Borel, let 1≤p<∞1 \le p < \infty, and let μ\mu be any probability law on XTX^T, with prefix marginal μt\mu_t on XtX^t. If each causal coordinate Ft:Xt→RmF_t:X^t \to \mathbb R^m is Borel measurable and belongs to Lp(μt)L^p(\mu_t), then for every ε>0\varepsilon>0 there exists a clocked diagonal selective SSM with continuous selectors, gates satisfying 0<λi≤ρ<10<\lambda_i\le\rho<1, and a linear-in-state readout such that (∫XTmax⁡1≤t≤T∣Ft(x1:t)−y^t(x1:t)∣2p,dμ(x1:T))1/p<ε\left(\int_{X^T}\max_{1\le t\le T}|F_t(x_{1:t})-\widehat y_t(x_{1:t})|2^p,d\mu(x{1:T})\right)^{1/p}<\varepsilon.

The proof uses the same selective tensor-product mechanism. First, bounded continuous functions are dense in Lp(μt)L^p(\mu_t), so we choose bounded continuous maps GtG_t that approximate FtF_t in LpL^p. By tightness, there is a compact set K⊂XK\subset X such that every μt((Kt)c)\mu_t((K^t)^c) is arbitrarily small. We apply our existing uniform tensor-partition construction to GtG_t on KtK^t. The same Gaussian selectors define globally continuous functions on XX, and the scan realizes Qt(x1:t)=∑j1,…,jtGt(ξj1,…,ξjt)∏s=1tϕjs(xs)Q_t(x_{1:t})=\sum_{j_1,\ldots,j_t}G_t(\xi_{j_1},\ldots,\xi_{j_t})\prod_{s=1}^t\phi_{j_s}(x_s). Since the weights are nonnegative and sum to one, QtQ_t is globally bounded by B=max⁡t∣Gt∣∞B=\max_t|G_t|\infty. Consequently, ∣Gt−Qt∣Lp(μt)≤sup⁡Kt∣Gt−Qt∣2+2Bμt((Kt)c)1/p|G_t-Q_t|{L^p(\mu_t)}\le\sup_{K^t}|G_t-Q_t|_2+2B\mu_t((K^t)^c)^{1/p}, and both terms can be made arbitrarily small. Scaling the active gates to ρϕj\rho\phi_j and compensating by ρ−(t−1)\rho^{-(t-1)} in the readout gives a uniform contraction margin without changing the output. Thus neither continuity of the target nor compact support of the random inputs is required; no independence, stationarity, or input-moment assumption is needed beyond pp-integrability of the target.

For semi-infinite stochastic histories, the convergence E[H∣Z−L:0]→H\mathbb E[H\mid Z_{-L:0}]\to H in LpL^p reduces the problem to increasingly long finite windows, to which the same construction applies. This provides a direct connection with the stochastic-input universality framework of Gonon and Ortega. For time-uniform trajectory approximation, the tensor-partition construction can be combined with the stationary and exponentially pp-contractive setting studied by Bishop, where stability turns the accumulated one-step errors into a convergent geometric series. These directions provide natural extensions of our result to stochastic time series and long-horizon dynamical systems.


Many thanks again for your review. We will improve the paper taking all of your precious comments into account.

Reviewer MgP1 · CommentOpenReview ↗

Thank you for clarifying my questions, this addresses all my points and confirms my positive assessment. As a minor side comment based on your reply to Q4: here you again assume that AA also depends on (xt,et)(x_t,e_t). There is still an intermediate regime (with systems that are "in between" those considered in your Sections 3 and 4); namely, systems as considered in Section 4, but for which β\beta, γ\gamma, κ\kappa depend on (xt,et)(x_t,e_t), but AA does not. It would be insightful to examine (e.g. in a follow-up work) whether such systems are still universal, i.e. either prove a result like Theorem 3.1 for this case or provide a counterexample (like your Proposition 4.2) for this family of systems.

Authors · CommentOpenReview ↗

Thank you very much for your reply and for identifying this intermediate regime.


Let us consider the suggested case where β\beta, γ\gamma, and κ\kappa depend on (xt,et)(x_t,e_t) while AA remains fixed.

In fact, Proposition 4.2 extends to this intermediate class. Writing βt(x)=β(x,et)\beta_t(x)=\beta(x,e_t), and similarly for γt\gamma_t and κt\kappa_t, we obtain y3=γ3(x3)⊤A2β1(x1)+γ3(x3)⊤Aβ2(x2)+γ3(x3)⊤β3(x3)+κ3(x3)y_3=\gamma_3(x_3)^\top A^2\beta_1(x_1)+\gamma_3(x_3)^\top A\beta_2(x_2)+\gamma_3(x_3)^\top\beta_3(x_3)+\kappa_3(x_3).

For each fixed x3x_3, this remains additively separable in x1x_1 and x2x_2. Its mixed rectangle difference is therefore zero, whereas that of the target x1x2x_1x_2 is 44.

Consequently, the uniform approximation error is at least 11, independently of the state dimension and the choice of the fixed matrix AA. Thus this intermediate class is still not universal.

We will make this extension explicit and clarify that input dependence of the transition matrix is the decisive ingredient.


Many thanks again for your review and helpful feedback.

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

The authors provide a constructive proof showing that clocked selective state-space models are capable of approximating finite-horizon causal sequence-to-sequence maps on compact input domains. The manuscript identifies selectivity as the key mechanism that enables cross-token interactions inside the scan. The paper also extends the proof to be adapted to autonomous clocks and Mamba-style exponential gates.

Strengths and weaknesses

Quality: The main proof in the manuscript appears technically sound. While the proof relies on a specific instantiation of a clocked selective SSM, they extend the formulation to include autonomous clocks and Mamba-style models.

The manuscript discusses formal assumptions of the theorem (compact input domain, fixed finite horizon, continuity). However, I believe there are important practical limitations that are not fully discussed. In particular, the construction requires a hidden coordinate for every tuple of net indices at every prefix length, leading to exponential dependence on the horizon and the width of the net. This substantially limits the practical interpretation of the result, and the paper should discuss this more explicitly.

Clarity: The framing of the manuscript is well-written and sufficient background material is provided to understand the problem setting and architecture. The main proof in Section 3 is generally understandable, but there are a few moments when providing a high-level intuition with words would improve the readability of the proof and help highlight the key insights from this work. For example, Equation 19 is a sum over all tuples of net points, weighted the product of soft partition weights. Although this is implicit in the equation, a brief written explanation would help orient the reader.

Significance: Understanding the theoretical capacity of selective SSMs to represent causal sequence maps is a useful and timely question. However, the construction is existential rather than efficient, with exponential dependence on the horizon. As such, the result is best viewed as a theoretical expressivity result rather than direct evidence that practical SSM architectures can efficiently approximate arbitrary causal maps. I do not believe this severely impacts the significance of the work, but it does limit how directly the result can be interpreted as evidence about practical SSM architectures.

Originality: To my knowledge, the construction is novel. The proof identifies a specific mechanism by which input-dependent diagonal gates build tensor-product prefix features inside the recurrent scan, rather than relying on attention, nonlinear hidden-state dynamics, or a universal post-scan MLP.

Questions

As stated above, the construction requires model size to grow exponentially with the sequence length and with the width of the net. Could the authors comment on whether there may be more efficient representations of the tensor-product features, or whether this exponential dependence is intrinsic to the proof technique?

How would this framework apply to deeper selective SSMs? For example, could the tensor-product computations be distributed across multiple SSM layers in a way that reduces the required width?

The selective recurrence can be viewed as an input-conditioned linear dynamical system, and in this sense seems related to switching linear dynamical systems. Could the authors comment whether their construction has any formal relationship to switching linear dynamical systems, perhaps as a continuous, diagonal analogue? Are there existing expressivity results for switching linear systems that are relevant to the universality mechanism developed here?

Could the theoretical results be extended beyond continuous causal maps, for example to functions with finitely many discontinuities or piecewise-continuous structure? If so, would this require partitions that explicitly align with the discontinuity sets?

Limitations

Partially. The authors are clear about the formal assumptions of the proof, including compact input domains, fixed finite horizon, and continuity of the target map. However, I believe it would be helpful for the paper to more explicitly address the practical limitations of the construction, especially the exponential growth in hidden dimension with sequence length and partition width.

Formatting concerns

None.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We are grateful to the reviewer for your careful reading of the paper and constructive feedback. Let us answer the listed questions.


Reply to Q1.

The width of our construction is N=M+M2+⋯+MT=(MT+1−M)/(M−1)N = M + M^2 + \cdots + M^T = (M^{T+1}-M)/(M-1). Thus, the scaling reflects the explicit full tensor-product representation used in the constructive proof, with one state coordinate for each prefix multi-index (j1,…,jt)(j_1,\ldots,j_t).

This construction was chosen because it makes the universality mechanism transparent: selective gates generate tensor-product features directly within the recurrent scan. More efficient representations are a promising direction. In particular, low-rank CP or tensor-train factorizations, sparse and adaptive partitions, and hierarchical feature sharing could exploit structure in the target map while retaining selective multiplicative updates. The present result therefore provides an explicit universal construction and a foundation for developing compressed, rank-adaptive selective SSMs with substantially improved width scaling.


Reply to Q2.

The theorem provides the explicit construction bound N=∑ℓ=1TMℓN=\sum_{\ell=1}^{T}M^\ell. For any integer per-layer width W≥1W\geq 1, the tensor-product coordinates can be divided among L=⌈N/W⌉L=\lceil N/W\rceil residual selective SSM blocks, each retaining access to the original token and clock. Each block computes at most WW product coordinates, while the residual stream sums their readouts. The resulting depth-LL model realizes exactly the same tensor-partition approximant as the original width-NN model. This provides a flexible depth-width tradeoff satisfying LW≥NLW\geq N.

A further reduction in total complexity is available when the sampled coefficient tensor admits a gate-compatible low-rank factorization. Writing (At):,j1,…,jt=Ft(ξj1,…,ξjt)(A_t){:,j_1,\ldots,j_t}=F_t(\xi{j_1},\ldots,\xi_{j_t}), suppose that (At):,j1,…,jt≈∑r=1Rtvt,r∏s=1tat,s,r(js)(A_t){:,j_1,\ldots,j_t}\approx\sum{r=1}^{R_t}v_{t,r}\prod_{s=1}^{t}a_{t,s,r}(j_s) and define gt,s,r(x)=∑j=1Mat,s,r(j)ϕj(x)g_{t,s,r}(x)=\sum_{j=1}^{M}a_{t,s,r}(j)\phi_j(x). If the factors can be normalized, with the corresponding constants absorbed into vt,rv_{t,r}, so that gt,s,r(x)∈(0,1)g_{t,s,r}(x)\in(0,1) for every x∈Xx\in X and s≥2s\geq 2, then one selective coordinate computes each feature ∏s=1tgt,s,r(xs)\prod_{s=1}^{t}g_{t,s,r}(x_s).

Consequently, the required width becomes ∑t=1TRt\sum_{t=1}^{T}R_t rather than ∑t=1TMt\sum_{t=1}^{T}M^t. Nonzero nonnegative CP factors satisfy this gate condition after normalization. If the coefficient factorization has maximal vector error δt\delta_t, the induced additional uniform output error at time tt is at most δt\delta_t, because the tensor-partition weights are nonnegative and sum to one.

Hierarchical and tensor-train factorizations offer additional promising compression mechanisms when selective blocks include input-dependent cross-channel mixing. Such extensions can exploit compositional structure while preserving the recurrent selective computation.

Thus, residual depth provides universal control of the maximum per-layer width, while gate-compatible low-rank and hierarchical structure can substantially reduce total complexity.


Reply to Q3.

Writing A(u)=diag(λ(u))A(u)=diag(\lambda(u)), our recurrence is an input-scheduled affine system ht=A(ut)ht−1+b(ut)h_t=A(u_t)h_{t-1}+b(u_t) and can be viewed as a continuous, diagonal analogue of an input-switched affine system, with the current token providing the scheduling variable.

Classical switched-system realization theory encodes the effect of a mode sequence through products of mode-dependent transition matrices. Our result develops a continuous, input-selective analogue for state-space models: a clocked diagonal Mamba-form recurrence with strictly contractive gates generates tensor-product prefix features ∏s=1tϕjs(xs)\prod_{s=1}^t\phi_{j_s}(x_s), which a linear state readout combines to uniformly approximate any continuous causal map on a compact fixed-horizon domain.


Reply to Q4.

Yes, we can extend as follows. Let Xt=Pt,1∪˙⋯∪˙Pt,RtX^t=P_{t,1}\mathbin{\dot\cup}\cdots\mathbin{\dot\cup}P_{t,R_t} be a finite measurable causal partition, and suppose that each restriction Ft∣Pt,rF_t|{P{t,r}} admits a continuous branch extension ft,r:Xt→Rmf_{t,r}:X^t\to\mathbb{R}^m.

Then the discontinuity set satisfies Dt⊆⋃r=1Rt∂Pt,rD_t\subseteq\bigcup_{r=1}^{R_t}\partial P_{t,r}. A bank of selective SSM experts can approximate the continuous branch maps ft,rf_{t,r}, while an exact causal router rt:Xt→1,…,Rtr_t:X^t\to{1,\ldots,R_t} selects the branch containing the current prefix. If every expert has uniform approximation error at most ε\varepsilon, then the routed model also has global uniform error at most ε\varepsilon.

The tensor-product construction naturally supports product-shaped causal cells and product-form soft routers. More general cells can be represented by a prefix-dependent router. This gives a mixture-of-selective-SSMs extension for uniformly approximating finite piecewise-continuous causal maps.

For Lp(μt)L^p(\mu_t) approximation, where 1≤p<∞1\leq p<\infty and μt\mu_t is a finite Borel measure, continuous soft routers also suffice under standard boundary regularity. In particular, if FtF_t is bounded and μt!(⋃r=1Rt∂Pt,r)=0\mu_t!\left(\bigcup_{r=1}^{R_t}\partial P_{t,r}\right)=0, the router can transition inside shrinking neighborhoods of the boundaries, yielding approximation error converging to zero in Lp(μt)L^p(\mu_t).


Many thanks again for your review. We will improve the paper taking all of your precious comments into account.

Reviewer S6XX · CommentOpenReview ↗

Thank you for addressing my questions. I believe it would be worthwhile to incorporate the points made in your response to Questions 1 and 2 in the discussion. That being said, I maintain my positive assessment of the work.

Authors · CommentOpenReview ↗

Yes, we will do so definitely. Many thanks again for your review and feedback.

Reviewer CL3qOpenReview ↗
Rating
5/6
Confidence
4/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 authors claim to prove a universality theorem for selective SSMs where the universality is meant to come from the selectivity mechanism itself, and not from adding an extra external nonlinearity such as an MLP after the sequence model.

Strengths and weaknesses

The paper looks well-structured and well written. I found the overall organization easy to follow.

First, the contribution of the paper looks quite limited. The paper lists three contributions, but to me they look more like one contribution broken into three pieces. The core point is just a universality theorem. The other two points read more like follow-up refinements of the same construction than separate contributions. Because of this, I did not find the overall contribution significant enough in its current form.

Second, the theorem assumes a model class that is much broader than selective SSMs as they are usually used in deep learning. In the theorem, the state transition (written either as AA or as the diagonal gates λ\lambda), and also the matrices BB and CC, are allowed to be "arbitrary continuous functions" of the input and the clock. But in Mamba-style selective SSMs, these objects are much more restricted. In particular, they are parametrized by some weight vectors and matrices. Once one assumes that these parts of the model can be "arbitrary continuous functions", a universality theorem becomes much easier to prove. For a universal approximation theorem to be meaningful in the context of machine learning models, the function class should be parameterized by vectors, matrices, or other finite-dimensional objects that can be understood as "model parameters", rather than by arbitrary continuous functions.

Third, in removing the external clock from the one-layer construction, the paper introduces a depth-two selective SSM stack, and here the model seems to move even further away from the usual selective SSM setting. The construction has a lower-layer state ctc_t and an upper-layer state hth_t, and the upper-layer matrices like BB and CC are allowed to depend on ctc_t in addition to the current input. So at that point the relevant matrices are no longer just input-dependent, but state-dependent. This looks beyond the scope of selective SSMs as they are usually defined in the deep learning literature. Moreover, once these coefficients depend on another hidden state, it is not clear that one still keeps the usual selective-scan interpretation or the computational advantage that motivates architectures like Mamba relative to Transformers.

Questions

I have the following technical question about the stability assumption. The paper assumes the diagonal entries of the transition, written as λ\lambda, lie in (0,1)(0,1). Why is this restriction needed, rather than the more general contractive range (−1,1)(-1,1)? More importantly, if the theorem only constructs stable or contractive state-space models, how should one interpret universality for arbitrary continuous causal maps? Is the claim that every such map can always be represented or uniformly approximated by a stable selective SSM on a fixed finite horizon, even if one might think of the target map as coming from an unstable underlying dynamical system? I would appreciate more discussion of why the stability restriction does not reduce the approximation class in the finite-horizon setting.

Limitations

I think the second and third weaknesses raised above are essentially limitations.

Final justification

Overall, the rebuttal has addressed the major technical concerns in my original review. In my initial assessment, I overlooked the fact that allowing highly expressive selector functions for AA, BB, and CC does not automatically yield universality for causal sequence-to-sequence maps, since these selectors act only on the current token. The paper’s main result shows that selectivity in the recurrence enables the necessary cross-token interactions. I have therefore raised my rating to accept.

Formatting concerns

I see no paper formatting concern.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We are grateful to the reviewer for your careful reading of the paper and constructive feedback.

Let us focus on the second and third weaknesses in the reviewer comments as the area chair prioritizes them. Please note that 1-4 below addresses the second weakness, 5-6 the third weakness, and 7 concludes these discussions. Then, in 8, we address the reviewer's question on the assumption.


  1. The construction is finitely parameterized

The criticism conflates the broad ambient class with the much smaller witness class as actually used in the proof. It does not treat arbitrary continuous functions as infinite-dimensional model parameters. It constructs the selectors explicitly from the normalized Gaussian features ϕj(x)=exp⁡(−∥x−ξj∥22/σ2)∑k=1Mexp⁡(−∥x−ξk∥22/σ2)\phi_j(x)=\frac{\exp(-\lVert x-\xi_j\rVert_2^2/\sigma^2)}{\sum_{k=1}^M\exp(-\lVert x-\xi_k\rVert_2^2/\sigma^2)}, together with constants and the finite coefficient table {Ft(ξj1,…,ξjt):1≤t≤T, js∈1,…,MF_t(\xi_{j_1},\ldots,\xi_{j_t}):1\leq t\leq T,\ j_s\in{1,\ldots,M}}. For fixed MM and TT, every constructed model is thus specified by finitely many real parameters: the centers ξ1,…,ξM\xi_1,\ldots,\xi_M, the scale σ\sigma, and finitely many readout vectors.

Indeed, the theorem remains valid if the ambient class of arbitrary continuous selectors is replaced by this explicit finite-parameter RBF-selector family. Continuity is used only as a convenient language for stating the model class; it is not the source of universality.


  1. Arbitrary local selectors do not make universality automatic

Each selector sees only the current token xtx_t, not the complete prefix (x1,…,xt)(x_1,\ldots,x_t), and therefore cannot directly encode the target value Ft(x1,…,xt)F_t(x_1,\ldots,x_t). The fixed-transition obstruction in the paper makes this distinction rigorous. That result already permits the additive input map and the current-token readout coefficients to be arbitrary continuous functions, yet proves that the resulting model cannot uniformly approximate even the elementary mixed interaction x1x2x_1x_2 with error smaller than 11. Thus unrestricted local functions are not sufficient for sequence universality.

The essential source of expressive power is instead the selective multiplication performed inside the recurrence. A state coordinate evolves according to htq=ϕjt(xt)ht−1qh_t^q=\phi_{j_t}(x_t)h_{t-1}^q and consequently satisfies htq=∏s=1tϕjs(xs)h_t^q=\prod_{s=1}^t\phi_{j_s}(x_s). The scan itself therefore constructs cross-token tensor-product features. These interactions are not supplied by an arbitrary selector, a nonlinear hidden-state update, or a universal post-scan readout. This is precisely why the corresponding fixed-transition model fails even when its input and output functions are allowed to be arbitrary continuous functions.


  1. Finite neural-network selectors preserve the theorem

The finite-parameter conclusion also holds if the selectors are required to be ordinary neural networks. First construct the ideal selective scan with approximation error smaller than ε/2\varepsilon/2. Since it contains only finitely many continuous selector components on a compact domain, each component can be approximated uniformly by a finite feedforward network with weight matrices and bias vectors.

The finite-horizon stability estimate in the paper shows that selector error at most η\eta produces output error at most KTηK_T\eta, where KT<∞K_T<\infty. Choosing η<ε/(2KT)\eta<\varepsilon/(2K_T) therefore gives total approximation error smaller than ε\varepsilon. Hence every model required by the theorem can be represented using finitely many conventional model parameters.


  1. The recurrence retains the exponential selective-SSM form

The recurrent gates retain the standard exponential selective-SSM form. One may choose Ai=−1A_i=-1 and Δi(u)=−log⁡λi(u)\Delta_i(u)=-\log\lambda_i(u), which gives λi(u)=exp⁡(AiΔi(u))\lambda_i(u)=\exp(A_i\Delta_i(u)). The additive term is obtained by choosing Bi(u)=bi(u)/(1−λi(u))B_i(u)=b_i(u)/(1-\lambda_i(u)).

Thus the construction does not replace the selective SSM recurrence with an arbitrary recurrent neural network. It uses a diagonal exponential transition that remains linear in the previous state. The expressive mechanism is specifically the input-dependent multiplication of the previous state, not unrestricted nonlinear hidden-state dynamics.


  1. The autonomous clock is not arbitrary state dependence

The autonomous-clock construction does not introduce general hidden-state-dependent dynamics. The only lower-layer state used in the proof is the deterministic scalar ct=ρct−1+1=(1−ρt)/(1−ρ)c_t=\rho c_{t-1}+1=(1-\rho^t)/(1-\rho). This state is independent of every input token and contains no learned content-dependent summary of the past. Dependence on ctc_t is merely an internal representation of the time index. Since the finitely many values c1,…,cTc_1,\ldots,c_T are distinct, the required clock selectors can also be implemented by explicit finite-parameter piecewise-linear functions.

Moreover, the upper-layer coefficients do not depend on the upper layer’s own hidden state. The recurrence remains ht=Λ(xt,ct)⊙ht−1+B(xt,ct)h_t=\Lambda(x_t,c_t)\odot h_{t-1}+B(x_t,c_t), with a diagonal transition that is affine in ht−1h_{t-1}. This is triangular inter-layer conditioning: a higher layer consumes the current representation generated by a lower layer. It is not recurrent feedback of the form Λ(xt,ht−1)\Lambda(x_t,h_{t-1}). Such inter-layer dependence is standard in stacked sequence models, including stacked Mamba-style blocks.


  1. The selective-scan computation is preserved

For a diagonal affine update, let Ta,b(h)=a⊙h+bT_{a,b}(h)=a\odot h+b. Two consecutive updates satisfy Ta2,b2∘Ta1,b1=Ta2⊙a1,a2⊙b1+b2T_{a_2,b_2}\circ T_{a_1,b_1}=T_{a_2\odot a_1,a_2\odot b_1+b_2}. This composition law is associative. The lower layer can therefore be evaluated by one selective scan, after which the upper layer is evaluated by a second selective scan. For fixed widths pp and NN, the total work remains O(T(p+N))\mathcal{O}(T(p+N)), rather than O(T2)\mathcal{O}(T^2). Autoregressive inference retains only the current states ctc_t and hth_t, and no pairwise token-interaction matrix or Transformer-style key-value cache is introduced. Depth two changes the constant factor, but not linear scaling in sequence length or constant-state recurrent inference.


  1. The scope of the theorem

The theorem does not establish universality under every particular low-rank projection, channel-sharing constraint, or fixed selector parameterization used in one specific stock Mamba implementation. It establishes the more fundamental mechanism-level result that an explicit, finitely parameterized diagonal selective scan has universal finite-horizon causal approximation power.

Please note that the actual mathematical content of the paper does not support the claims that the theorem relies on infinite-dimensional parameters, becomes trivial because of arbitrary continuous selectors, abandons the selective-scan architecture, or loses linear scaling in sequence length, as we have explained above.


  1. Reply to the reviewer's question on the assumption.

The choice λi(u)∈(0,1)λ_i(u) ∈ (0,1) matches the standard Mamba/S6 parameterization λi(u)=exp(AiΔi(u))λ_i(u) = exp(A_iΔ_i(u)) with Ai<0A_i < 0 and Δi(u)>0Δ_i(u) > 0. Since (0,1)(0,1) is contained in the general contractive range (−1,1)(-1,1), proving universality for this smaller positive-gate class also proves universality for the larger contractive class.

Contractivity restricts only how hidden-state perturbations propagate, not the finite-horizon input--output maps the model can express. Selective gates generate tensor-product features ∏s=1tφjs(xs)∏_{s=1}^t φ_{j_s}(x_s), and the linear readout combines them to approximate any continuous causal map. Therefore, even if the target is generated by an unstable dynamical system, its continuous behavior on a compact fixed horizon can be uniformly approximated by a stable selective SSM. Stability thus preserves the full finite-horizon approximation class while maintaining the natural Mamba/S6 structure.


Many thanks again for your review. We will improve the paper taking all of your precious comments into account.

Reviewer CL3q · CommentOpenReview ↗

Thanks for your extensive response!

I appreciate the authors’ detailed response. The rebuttal resolves several of my concerns. First, the construction is finitely parameterized through a finite Gaussian/RBF feature construction, rather than relying on infinite-dimensional function parameters. Second, in the two-layer construction, each layer can still be evaluated using a separate selective scan, so the computational advantage is preserved. Third, the stability assumption is reasonable: the exponential parameterization naturally gives transition entries in (0,1)(0,1), and this restriction does not appear to reduce expressivity over a fixed finite horizon.

I also acknowledge that the selector networks act only on the current token and therefore do not, by themselves, make sequence-to-sequence universality automatic. The selective recurrence provides the essential cross-token multiplication used in the proof. Thus, the theorem identifies a meaningful expressive mechanism specific to selective recurrence.

My main remaining concern is about the scope of the result. The theorem uses normalized Gaussian features, or more generally neural networks, to parameterize the selector functions AA, BB, and CC. This is broader than the parameterization used in standard Mamba-style models, where selectors such as B(x)B(x) and C(x)C(x) are typically generated by linear projections, Δ(x)\Delta(x) is obtained by applying softplus to a linear projection, and the transition matrix has the structured form Aˉ(x)=exp⁡(Δ(x)Ac).\bar A(x)=\exp\big(\Delta(x)A_c\big).

Consequently, I interpret the result as a mechanism-level universality theorem for a broader class of neural-parameterized selective SSMs, rather than as a universality theorem for the standard Mamba/S6 parameterization. I encourage the authors to make this distinction explicit in the paper.

I also note that Theorem 1 assumes an external clock. Removing the clock requires a depth-two stack in which the first layer constructs it. Thus, the universality result without an externally supplied clock applies to a depth-two selective SSM rather than to a single standard selective SSM layer. This is not a fatal limitation, but it should be stated clearly when summarizing the main result.

Overall, the rebuttal has addressed the major technical concerns in my original review. In my initial assessment, I overlooked the fact that allowing highly expressive selector functions for AA, BB, and CC does not automatically yield universality for causal sequence-to-sequence maps, since these selectors act only on the current token. The paper’s main result shows that selectivity in the recurrence enables the necessary cross-token interactions. I have therefore raised my rating to accept.

Authors · CommentOpenReview ↗

Thank you very much for the further comments.

To address your scope concern, we have come up with the following theorem.

Briefly it says: a sufficiently wide single Mamba-1 mixer can uniformly approximate any continuous causal sequence-to-sequence map on a compact domain over any fixed finite horizon.

More details are as follows. (Due to latex command limitations on openreview, we use simplified notations.)


Theorem.

Let XX be a nonempty compact subset of Rd\mathbb R^d, let TT be finite, and let Ft:Xt→RmF_t:X^t\to\mathbb R^m be continuous for every t≤Tt\le T.

For every ε>0\varepsilon>0, there exists a sufficiently wide unnormalized Mamba-1 mixer such that sup⁡x1:T∈XTmax⁡t≤T∣y^t−Ft(x1:t)∣2<ε\sup_{x_{1:T}\in X^T}\max_{t\le T}|\widehat y_t-F_t(x_{1:t})|2<\varepsilon.

It is enough to use dstate=1d{\mathrm{state}}=1, A=−1A=-1, D=0D=0, a write gate that is one only at the first step, and Ct=1C_t=1. The active timestep rank is at most (T−1)(d+1)(T-1)(d+1).


Proof.

Finite sums of terms of the form SiLU(a1Tx1+b1)∏s=2tσ(asTxs+bs)\mathrm{SiLU}(a_1^T x_1+b_1)\prod_{s=2}^t\sigma(a_s^T x_s+b_s) are dense in C(Xt)C(X^t). Thus every FtF_t can be approximated by finitely many such terms.

Assign one Mamba channel to each term. At the first step, the channel stores SiLU(a1Tx1+b1)\mathrm{SiLU}(a_1^T x_1+b_1). At each later step ss, choose the Mamba transition so that its multiplicative factor is σ(asTxs+bs)\sigma(a_s^T x_s+b_s). The channel state at time tt is then exactly the required product.

The transition logits depend only on the clocked features ere_r and erxje_r x_j for 2≤r≤T2\le r\le T and 1≤j≤d1\le j\le d. Hence they require at most (T−1)(d+1)(T-1)(d+1) active timestep directions. The output gate exposes each channel only at its assigned time, and the linear output projection combines the channels with the desired coefficients.

Finally, the map r↦e−softplus(r)r\mapsto e^{-\mathrm{softplus}(r)} is 1/41/4-Lipschitz. Therefore sufficiently accurate approximation of the timestep logits gives arbitrarily small state and output errors over the finite horizon. Combining this error with the initial function-approximation error proves the result.


Many thanks again for your review and constructive discussion.

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

Missing a submission?

Loading the discussion…