A Log-Timescale Perturbation Bound for Selective State Space Models at Every Sequence Length
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
Mamba models deployed on streaming data, such as limit order book updates, run far past the sequence lengths they were trained on. A guarantee on how much a small change of input can move the hidden state therefore has to hold at every length. The closest existing bound we know of measures the change of the timescale additively, and it grows linearly with the sequence length unless the timescale is bounded away from zero. In this paper, we measure the change on a log scale instead. The key observation is that the decay factor of each step then moves by at most a fixed fraction of that step's input weight, so the per-step errors cannot pile up. Using this, we prove that two runs of a selective-scan cell from a common start stay within a bound that holds at every length, shrinks to zero with the size of the change and needs no lower bound on the timescale. We give a construction showing that, for small changes, this bound is within a factor of about 2 of the best possible, and we extend it to the update used in Mamba's released code when the timescale is bounded above. We then evaluate block-level bounds built from the theorem on two small models trained on one day of order book data. With a bounded timescale, a bound built on the existing analysis is tighter than ours for at most the first 8 steps. With Mamba's softplus timescale, whose certified lower bound is as small as 10-21, it is looser at every length. Our bounds hold for every input to a block, but they remain more than five orders of magnitude above the changes that gradient attacks find.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 21 of its 31 references that are in the map. Submitted 16 Nov 2026, announced 18 Nov 2026.
Builds on
21 of 31 references.
Closest ancestors · 6
Same direction, newest first
- 2026Distributed Learning with Selective State Space Models: Architecture-Aware Convergence Analysis2 Oct
- 2026Sessa: Selective State Space Attention20 Apr
- 2026Mamba-3: Improved Sequence Modeling using State Space Principles16 Mar
- 2025Regularity and Stability Properties of Selective SSMs with Discontinuous Gating16 May
- 2024Mamba State-Space Models Are Lyapunov-Stable Learners31 May
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
Other references · 15
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 618
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 441
- 2018Can recurrent neural networks warp time?cited by 61
- 2023On the Expressivity Role of LayerNorm in Transformers' Attentioncited by 39
- 2024Recurrent neural networks: vanishing and exploding gradients are not the end of the storycited by 31
- 2020Verifying Recurrent Neural Networks using Invariant Inferencecited by 27
- 2020On the stability properties of Gated Recurrent Units neural networkscited by 20
- 2026TorchLean: Formalizing Neural Networks in Leancited by 10
- 2024Geometry and Dynamics of LayerNormcited by 4
- 2026On the Generalization Properties of Selective State-Space Models for Filtering Tasks for Unknown Systemscited by 2
- 2025LTL Verification of Memoryful Neural Agentscited by 1
- 2026Stability properties of Minimal Gated Unit neural networkscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Demystifying the Token Dynamics of Deep Selective State Space Models
- 2026An Exact Instrument for State Usage in Selective State-Space Models, and the Input-Driven Migration It Reveals
- 2026TIDES: Implicit Time-Awareness in Selective State Space Models
- 2025Rethinking Selectivity in State Space Models: A Minimal Predictive Sufficiency Approach
- 2024Theoretical Foundations of Deep Selective State-Space Models
- 2025Block-Biased Mamba for Long-Range Sequence Processing
- 2025SeRpEnt: Selective Resampling for Expressive State Space Models
- 2026Low-Discrepancy Dither for Quantized Recurrent State Caches