One change: parameters become functions of the input
Mamba (Gu & Dao, December 2023, arXiv:2312.00752) is a Selective State Space Model — abbreviated S6 — and the headline change in one sentence is: B, C, and Δ become functions of the current input x_t instead of being fixed. That's it. That's the entire conceptual difference from S4/S4D/H3.
The mechanism: B and C are produced by linear projections of x_t. Δ — the discretization step size, conceptually a per-token "how much should this token influence the state" gate — is also produced from x_t (through a linear projection followed by softplus to keep it positive). When Δ is large, the model strongly incorporates the current token; when Δ is small, the existing state dominates. Δ is the selectivity gate — it lets the model say "this token matters, remember it" or "this token is filler, skip it".
Why this is the right kind of expressiveness gain
The LTI restriction wasn't just a math limitation; it had a concrete cost. Pre-Mamba SSMs couldn't do content-aware compression. Every word was processed by the same time-invariant filter, regardless of whether it was a key fact or a stop word. With selectivity, the model can route the high-information tokens into the state and let the low-information ones pass through with minimal effect.
That's analogous to what gates in LSTMs and GRUs were doing — selectivity is, in a sense, the SSM family rediscovering content-dependent gating after S4/S4D/H3 had simplified it away. The difference is that selectivity sits inside the SSM framework, so you keep the rich connection to control theory and the hardware-friendly structure, while gaining the gate that LSTMs had decades ago.
The price: the convolution view dies
There's no free lunch. Once B, C, Δ depend on x_t, you can no longer unroll the recurrence into a single global convolution kernel — there isn't a kernel anymore, there's a different one at every timestep. So the FFT-based parallel training trick from S4 doesn't work. Mamba had to invent a different way to be parallel during training, which is the next lesson: the hardware-aware selective scan.