SSM
A classic Java web back-end framework combination composed of Spring, Spring MVC, and MyBatis, used to build enterprise-grade web applications.
Core Facts
State space models represented by Mamba compress historical information by maintaining a fixed-size hidden state, with both time and space complexity of O(1) during inference.
SSMs have a linear time complexity advantage in processing long sequences, whereas the attention computation complexity of standard Transformers is quadratic with respect to sequence length.
SSM is a class of architectures that process sequences in a linear recurrent manner, with representatives such as Mamba and Mamba-2.
Timeline (last 90 days)
The KV cache size of global attention layers is proportional to context length, whereas the cache size of bounded-state layers (such as SSMs or linear attention) is relatively fixed.
Lattice's latent state differs from the memory mechanism of SSMs because the latent state directly participates in conditioning attention and the MLP, rather than serving only sequence mixing.
The original paper points out that both state souping and ordinary SSMs degrade in performance when facing long and crowded contexts.
The state souping method has the SSM independently encode token chunks such as documents, tool definitions, or memory records, cache the resulting state encodings, and then combine them as needed into the context for a downstream query.
SSM inference memory is independent of sequence length and computation can be parallelized linearly, which is its main efficiency advantage over Transformer attention mechanisms.
SSMs compress historical information through a recurrent state, so an information bottleneck is inherent.
The core finding of the paper "On the Importance of Gating: Memorization vs. In-Context Learning in State Space Models" is that SSM performance on in-context learning and precise retrieval is closely related to the design of the gating mechanism.
In SSMs, gating controls the flow and retention of information across time steps: when gating tends to retain information long-term, the model relies more on memory, and when gating allows more flexible state updates, the model is more likely to extract information from the current context.
SSM adoption has been slower than expected, partly due to their shortcomings in in-context learning and precise retrieval.
The paper warns that over-pursuing gating dynamism may impair the model's ability to retain long-term information, thereby affecting tasks that require persistent memory.
25 more timeline events
All Facts (20)
State space models represented by Mamba compress historical information by maintaining a fixed-size hidden state, with both time and space complexity of O(1) during inference.
85%VerifiedSSMs have a linear time complexity advantage in processing long sequences, whereas the attention computation complexity of standard Transformers is quadratic with respect to sequence length.
80%VerifiedSSM is a class of architectures that process sequences in a linear recurrent manner, with representatives such as Mamba and Mamba-2.
75%VerifiedState Space Models (SSMs) pull the direction back toward fixed-size recurrent memory, but use a different state structure and update rules.
75%VerifiedThe SSM framework consists of three frameworks: Spring, SpringMVC, and MyBatis.
70%VerifiedStandard self-attention has a computational complexity of O(n²); SSA reduces complexity by having each token attend only to the most relevant subset, theoretically compressible to O(n·log n) or even O(n) level.
65%VerifiedSpringBoot simplifies the XML configuration work of SSM through its Auto-Configuration and Starter dependency mechanisms.
65%UnverifiedIn autoregressive decoding, attention layers typically cache the Key and Value of all historical tokens (KV Cache), with memory growing linearly with sequence length, but each step only requires appending rather than recomputing; SSM layers, by contrast, retain only a fixed-size state.
70%UnverifiedThe mathematical roots of SSMs come from linear time-invariant systems in control theory, using matrices A, B, and C to describe how inputs update the hidden state and how the hidden state maps to outputs.
70%UnverifiedState space models (SSMs) have O(1) memory footprint and computation during inference, whereas the KV cache of Transformers grows linearly with sequence length.
70%UnverifiedThe KV cache size of global attention layers is proportional to context length, whereas the cache size of bounded-state layers (such as SSMs or linear attention) is relatively fixed.
50%UnverifiedLattice's latent state differs from the memory mechanism of SSMs because the latent state directly participates in conditioning attention and the MLP, rather than serving only sequence mixing.
50%UnverifiedThe state souping method has the SSM independently encode token chunks such as documents, tool definitions, or memory records, cache the resulting state encodings, and then combine them as needed into the context for a downstream query.
50%UnverifiedThe original paper points out that both state souping and ordinary SSMs degrade in performance when facing long and crowded contexts.
50%UnverifiedSSM adoption has been slower than expected, partly due to their shortcomings in in-context learning and precise retrieval.
50%UnverifiedThe core finding of the paper "On the Importance of Gating: Memorization vs. In-Context Learning in State Space Models" is that SSM performance on in-context learning and precise retrieval is closely related to the design of the gating mechanism.
50%UnverifiedIn SSMs, gating controls the flow and retention of information across time steps: when gating tends to retain information long-term, the model relies more on memory, and when gating allows more flexible state updates, the model is more likely to extract information from the current context.
50%UnverifiedSSMs compress historical information through a recurrent state, so an information bottleneck is inherent.
50%UnverifiedSSM inference memory is independent of sequence length and computation can be parallelized linearly, which is its main efficiency advantage over Transformer attention mechanisms.
50%UnverifiedThe paper argues that gating strategies should be designed for different task requirements: scenarios requiring strong contextual reasoning can use more dynamic, input-dependent gating, while tasks that rely more on knowledge memorization can favor stable state retention.
50%