Command Palette
Search for a command to run...
State Space Model
State Space Models (SSMs) are a class of sequence modeling architectures originating from continuous-time state space representations in control theory, mapping input sequences to output sequences via hidden state vectors. Their continuous form is defined by the state equation x'(t) = Ax(t) + Bu(t) and the output equation y(t) = Cx(t) + Du(t): matrix A controls the temporal evolution of the hidden state, B determines how the input affects the state, and C maps the state to the output.
In deep learning, after discretization via zero-order hold, a continuous system can be expanded into convolutional form for parallel training, or recursively inferred step by step like an RNN, thereby achieving long-range modeling capability while maintaining linear time complexity. The 2020 HiPPO framework uses orthogonal polynomial bases to optimally project historical signals, providing SSMs with a parameterization that compresses long-range memory; the 2021 structured state space sequence model S4 uses structured parameterization (initializing the state matrix A with a HiPPO matrix) to enable SSMs to achieve substantial breakthroughs on long-sequence benchmarks.
In 2023, Albert Gu and Tri Dao from Carnegie Mellon University and Princeton University proposed the Mamba architecture, introducing an input-dependent selection mechanism that further narrowed the performance gap between SSMs and Transformers in language modeling. The work was initially published as an arXiv preprint titled "Mamba: Linear-Time Sequence Modeling with Selective State Spaces", and was subsequently accepted by COLM 2024. SSMs have now become an important architecture route alongside Transformers for long-sequence modeling.
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.