Selectivity Makes State-Space Models Universal Sequence Approximators
Yoshihiro Maruyama
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Selective State-Space Modeling · Type: theory · Keywords: selective state-space models, universal approximation, sequence modeling, linear-time recurrence, theoretical guarantees
Areas: Memory › Memory mechanisms › State-Space Memory; Model Architectures & Sequence Modeling › Language Model Architectures › State Space Models
Summary
The paper proves that selective state-space models, such as a clocked diagonal selective scan, can universally approximate any continuous causal sequence-to-sequence map over a finite horizon.
Explained to a 5-year-old
A robot reads symbols one by one and can choose which old symbols to keep and which to forget. It decides which past symbols are useful for each new symbol. By doing this, it can learn any simple rule that turns a sequence into another sequence. This works quickly without needing a lot of extra memory. It shows that flexible memory is powerful enough to solve many problems.
Explained to a 5-year-old, longer
Imagine a robot that reads a line of symbols one by one. It has a little memory that can hold onto some old symbols and let others fade away. The robot decides, for each new symbol, which old symbols are useful. By doing this, it can learn to follow any simple rule that maps a sequence to another sequence. This works even for complicated rules, as long as the rule is smooth and the input is not too big. The robot can do this quickly, without needing a huge amount of extra memory. It shows that this kind of flexible memory is enough to solve many problems. The proof shows that this idea is mathematically sound. It tells us why this kind of model can be powerful. It also explains why other models might need more complicated parts. This insight helps researchers design simpler, faster models for language and other sequences. It gives confidence that selective memory is a key ingredient for building intelligent systems.
For a technical reader
The paper shows that a class of linear-time recurrent models, which adapt their internal dynamics per input token, can approximate any continuous sequence-to-sequence function. By using input-dependent transitions and a simple linear readout, the model builds rich features over the sequence without extra layers. The proof constructs a specific architecture with contractive gates and demonstrates uniform approximation guarantees. This theoretical result suggests that selectivity alone, rather than complex attention or nonlinearities, can provide the expressive power needed for sequence modeling. Practitioners can therefore consider designing lightweight, linear-time models that focus on adaptive memory updates.
Problem
Understanding whether linear-time recurrent models can approximate any continuous causal sequence-to-sequence mapping remains open.
Method
The approach uses input-dependent state transitions combined with a linear readout to generate features over sequence prefixes, enabling uniform approximation of any continuous causal map.
Results
The approach uniformly approximates any continuous causal sequence-to-sequence map over a finite horizon, establishing theoretical universality.
Contributions
The paper provides a constructive proof that selective memory updates are sufficient for universal approximation in linear-time sequence models, identifying selectivity as a key mechanism.
Limitations and assumptions
The result holds only for compact input domains, finite horizons, and continuous causal maps, and requires strictly contractive gates.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction