arXiv Machine Learning

Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba

arXiv:2503. 18970v4 Announce Type: replace Abstract: Structured State Space Models (SSMs) have become a prominent class of sequence models, developed against two long-standing difficulties: the sequential computation and gradient propagation limits of Recurrent Neural Networks (RNNs), and the quadratic time and memory cost of self-attention in Transformers.

arXiv AI
Nov 2

Dynamical Memory Transformer: Selective Recurrent Memories with Constant Cost Attention

The Dynamical Memory Transformer (DMT) is a hybrid architecture that decouples sequence encoding from information retrieval. It employs multiple memory units—each a dynamical system with a complex diagonal recurrent matrix—updated via an input‑dependent leak rate, while the decoder uses attention to read these units without accessing the full token history. This design enables an associative scan with linear total work and logarithmic parallel depth, keeping recurrent states and cache sizes constant during autoregressive inference. DMT outperforms Transformers on several cognitive tasks and matches their language‑modeling performance, though it lags behind Mamba in language modeling; it also shows superior length extrapolation on selective copy tasks.

By Yannis Bendi-Ouis (Mnemosyne), Xavier Hinaut (Mnemosyne)
arXiv Machine Learning
Oct 21

Interdomain Attention: Beyond Token-Level Key-Value Memory

The paper introduces Interdomain Attention (IA), a hybrid architecture that blends softmax attention with recurrent memory within a single layer, leveraging a kernel regression perspective to compress keys and values into a state‑space model (SSM) memory. IA reconstructs the attention matrix implicitly from memory states, preserving the computational efficiency of SSMs while achieving performance gains. Experiments on models ranging from 125 M to 1.3 B parameters show IA surpasses an S4D baseline at matched memory size, outperforms standard Transformers on perplexity and common‑sense reasoning, and matches or exceeds SSM‑based models on genomic downstream tasks.

By Naoki Kiyohara, Harrison Bo Hua Zhu, Riccardo El Hassanin, Zhuo Sun, Wenlong Chen, Samir Bhatt, Yingzhen Li
arXiv AI
Oct 2

Reshape and Recur: Improving SSMs with Input Reshaping and Depth Recurrence

The paper proposes two extensions to State Space Models (SSMs) to reduce memory usage and improve performance. First, it introduces depth recurrence, allowing a looped SSM with fewer parameters to match the performance of a larger, non-recurrent model. Second, it advocates using a fixed time granularity across tasks by reshaping input sequences, which enhances how information is presented to the model. Both techniques consistently benefit four representative SSM architectures (LRU, S5, LinOSS, LrcSSM).

By M\'onika Farsang, Ramin Hasani, Daniela Rus, Radu Grosu
arXiv Machine Learning
Aug 14

A Simple State Space Model Excels at Multivariate Time Series Classification

arXiv:2605. 27406v2 Announce Type: replace Abstract: Structured state space models (SSMs) have recently emerged as a promising foundation for sequence modeling, with Mamba-based architectures demonstrating strong performance through input-dependent state transitions, albeit at considerable complexity.

By Hassan Saadatmand, Geoffrey I. Webb, Hamid Rezatofighi, Mahsa Salehi
arXiv Machine Learning
Nov 11

SinkState: On-the-Fly SVD of Recurrent States for Efficient Hybrid LLM Serving

The paper introduces SinkState, a method for on-the-fly singular value decomposition (SVD) of recurrent states in hybrid language models that combine softmax and linear attention. By recognizing that linear attention states lie in a low‑dimensional subspace—termed the linear attention sink—SinkState stores each state in an adaptive low‑rank format, updating it with buffered SVD operations and consolidating residual components on the CPU. Experiments on hybrid models ranging from 4 B to 120 B parameters show that SinkState can reduce peak memory usage of recurrent states by up to 2.6× (average 1.9×) and accelerate decoding by up to 1.58× (average 1.25×) while preserving accuracy.

By Haolin Jiang, Weihang Li, Zhongzhu Zhou, Jinwen Pan, Santosh Pandey, Hang Liu
arXiv Machine Learning
Sep 24

DeltaS: Reading the Gated Linear Attention State for KV Cache Eviction in Streaming Video

DeltaS is a query‑agnostic, training‑free method for evicting key‑value cache entries in hybrid video‑language models that combine linear and full attention. It uses the change in the recurrent state of gated‑delta linear attention—called state drift—to decide which video chunks to keep, selecting those that induce larger normalized state changes. In experiments with a fixed memory budget, DeltaS outperforms position‑, attention‑, and key‑value‑based eviction signals, improving performance by 2.1 points on average across six long‑video benchmarks and 5.6 points on the longest benchmark, while adding only 1.9% of the forward‑pass cost.

By Taeyoun Kwon, Seungjin Kim, Hyeonyu Kim, Moon Hwan Kim