Collection of papers/repos on state-space models, hybrid models.
Raven: High-Recall Sequence Modeling with Sparse Memory Routing Arxiv
Interpolates between the two failure modes of linear-time recall: SSMs write densely (every token touches the whole state, causing interference) while sliding-window attention writes sparsely but hard-evicts past its window. Raven keeps a fixed set of memory slots and decays/updates only a routed subset per step, staying effective when extrapolated to 16x its training context.
Sparse Delta Memory: Scaling the State of Linear RNNs through Sparsity Arxiv
Extends Gated DeltaNet by replacing the dense key-value outer product with sparse reads and writes into a large explicit memory, buying orders of magnitude more state capacity without the usual FLOP cost. Under an isoFLOP and iso-parameter constraint the extra capacity clearly helps in-context learning and long-context retrieval; learning the initial memory turns it into a parametric store that also lifts knowledge and reasoning tasks.
[ICML 2026 Oral] MuonSSM: Orthogonalizing State Space Models for Sequence Modeling Arxiv
Conditions the geometry of the memory update rather than the recurrent transition matrix, adding a momentum pathway and a light Newton-Schulz transform on low-rank input injections while preserving parallel-scan complexity. Gives bounded, spectrally conditioned updates with theory for improved gradient propagation and reduced spectral amplification; gains hold across language, vision and time series on several SSM backbones.
Parallax: Parameterized Local Linear Attention for Language Modeling Arxiv
Upgrades softmax attention's local constant estimate to a local linear one from the test-time regression view, dropping LLA's numerical solver in favour of a learned projector that probes the KV covariance. The hardware-aware algorithm raises arithmetic intensity over FlashAttention, pushing attention into a more compute-bound regime; the prototype decode kernel matches or outperforms FlashAttention 2/3 across batch sizes and context lengths, and pretraining at 0.6B/1.7B is a Pareto improvement under both parameter- and compute-matched controls. Notable for identifying architecture-optimizer codesign — Muon specifically unlocks its capacity.
Flash PD-SSM: Memory-Optimized Structured Sparse State-Space Models Arxiv
Attacks the expressivity/efficiency tradeoff dictated by the transition matrix: it keeps a trainable set of structured sparse matrices and discretely selects one per time-step, reaching unstructured-matrix FSA expressivity at structured-SSM cost. Sets a new SoTA among SSMs on multivariate time series beyond 17k steps, and works as a drop-in replacement in hybrid LLMs with higher throughput and lower memory.
[ICLR 2026 Oral] Mamba-3: Improved Sequence Modeling using State Space Principles Arxiv
Replaces Mamba-2's first-order exponential-Euler discretization with a second-order exponential-trapezoidal rule, adds complex-valued state updates to recover state tracking, and introduces a MIMO formulation that raises arithmetic intensity at decode. Matches Mamba-2 perplexity at half the state size; at 1.5B it improves average downstream accuracy by 0.6 points over Gated DeltaNet, and by 1.8 points for the MIMO variant.
M$^2$RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling Arxiv
Revisits non-linear RNNs with matrix-valued hidden states, arguing their language-modeling quality is bottlenecked by state size and that expanding the state is what lets the recurrence use tensor cores efficiently. Achieves perfect state-tracking generalization beyond training length, and dropping even a single M$^2$RNN layer into a Gated DeltaNet hybrid gains up to 8 points on LongBench.
Learning State-Tracking from Code Using Linear RNNs Arxiv
Closes the awkward gap in the state-tracking literature: permutation composition is a seq-to-seq task, incompatible with next-token prediction, so this recasts it as code via REPL traces that interleave state reveals through prints. Linear RNNs that can state-track excel here while Transformers still fail — but when actions are only partially observable (a probabilistic FSA with deterministic reveals), linear RNNs can be worse than non-linear ones.
[NeurIPS 2025] Nested Learning: The Illusion of Deep Learning Architectures Arxiv
Reframes a model as a set of nested, multi-level optimization problems, each with its own context flow, arguing that the architecture and the optimizer are the same kind of object rather than two separate design choices. The proof-of-concept model Hope targets continual learning and catastrophic forgetting; this is the direct follow-up to Titans, below, from the same group.
End-to-End Test-Time Training for Long Context Arxiv GitHub
Treats long context as continual learning rather than architecture design: a plain sliding-window Transformer keeps learning on the given context at test time via next-token prediction, with its initialization meta-learned at training time. At 3B/164B tokens it scales with context length the way full attention does — which Mamba-2 and Gated DeltaNet do not — while keeping RNN-style constant inference latency, 2.7x faster than full attention at 128K.
Kimi Linear: An Expressive, Efficient Attention Architecture Arxiv GitHub
[ICLR 2026 Oral] To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Models Arxiv
Proves a clean negative result first: because the state is fixed-size, an SSM cannot accurately solve any truly long-form generation problem (formally defined) — which is exactly the regime their efficiency argument is built on. The fix is not architectural but interactive: with the right tool access and problem-dependent training data, SSMs can learn any tractable problem and generalize to arbitrary length, demonstrated on arithmetic, reasoning and coding tasks.
Design Principles for Sequence Models via Coefficient Dynamics Arxiv
Casts every sequence model's output as a linear combination of past values whose coefficients are themselves the impulse response of an autonomous linear system — a framing that covers softmax attention, SSMs and gated linear RNNs in one object, and is genuinely distinct from the usual linear-attention-equivalence route. Derives design principles rather than another benchmark entry: expressivity/implementation tradeoffs, geometric constraints on input selectivity, and stability conditions for training.
Revisiting associative recall in modern recurrent models Arxiv
A careful negative-result-and-diagnosis paper: learning rate turns out to be critical for recurrent models in a way it is not for Transformers, which means several previously reported AR comparisons may be measuring optimization rather than architecture. Also shows recurrent and attention models benefit oppositely from width vs. depth, and that 1-layer Transformers form induction-head-like dynamics despite failing the task.
Falcon-H1: A Family of Hybrid-Head Language Models Redefining Efficiency and Performance Arxiv GitHub
[ICLR 2026] Dynamic Chunking for End-to-End Hierarchical Sequence Modeling (H-Net) Arxiv
Learns content- and context-dependent segmentation jointly with the model, replacing the tokenizer-LM-detokenizer pipeline with a single end-to-end hierarchical network. At matched compute and data, byte-level H-Net beats a strong BPE Transformer, and the gap widens exactly where tokenization heuristics are weakest — Chinese, code, and DNA (nearly 4x data efficiency).
[ICML 2025] Understanding and Improving Length Generalization in Recurrent Models Arxiv PMLR
Proposes and tests the unexplored states hypothesis: recurrent models fail to length-generalize because training only ever exposes them to a narrow subset of attainable states. The payoff is unusually practical — ~500 post-training steps (about 0.1% of the pre-training budget), initializing the state with noise or with another sequence's final state, takes models from 2k to 128k context.
RWKV-X: A Linear Complexity Hybrid Language Model Arxiv
Understanding the Skill Gap in Recurrent Language Models: The Role of the Gather-and-Aggregate Mechanism Arxiv
M1: Towards Scalable Test-Time Compute with Mamba Reasoning Models Arxiv
Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Models Arxiv
[NeurIPS 2025 Spotlight] Fixed-Point RNNs: Interpolating from Diagonal to Dense Arxiv
Parameterizes a large class of dense linear RNNs as fixed points of parallelizable diagonal ones, so the diagonal/dense tradeoff becomes a dial rather than a hard architectural choice. A clean answer to why current SSMs lose state-tracking expressivity: SOTA on the $A_5$ and $S_5$ state-tracking benchmarks at a fixed parameter count, while holding performance on copying.
[ICLR 2025] Forgetting Transformer: Softmax Attention with a Forget Gate Arxiv
[NeurIPS 2025] DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products Arxiv
[ICML 2025 Spotlight] Implicit Language Models are RNNs: Balancing Parallelization and Expressivity Arxiv
Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach Arxiv
[NeurIPS 2025] Generalization Error Analysis for Selective State-Space Models Through the Lens of Attention Arxiv
[NeurIPS 2025] Titans: Learning to Memorize at Test Time Arxiv
[ICLR 2025 Spotlight] Hymba: A Hybrid-head Architecture for Small Language Models Arxiv
GoldFinch: High Performance RWKV/Transformer Hybrid with Linear Pre-Fill and Extreme KV-Cache Compression Arxiv
Zamba: A Compact 7B SSM Hybrid Model Arxiv
Peer-reviewed architecture work on language and vision tasks. The rating in brackets is the one the authors report on arXiv. This is a curated, non-exhaustive selection.
[NeurIPS 2025 Spotlight] Structured Sparse Transition Matrices to Enable State Tracking in State-Space Models (PD-SSM) Arxiv GitHub
Parametrizes the transition matrix as a column one-hot $P$ times a complex diagonal $D$, so parallel scan stays linear in state size while the model gains genuine FSA state tracking. One layer of dimension $N$ emulates any $N$-state automaton — a strict improvement on previous structured-SSM guarantees — and it tracks an FSA whose transitions are variable-length English sentences. Flash PD-SSM above is the follow-up.
[ICLR 2026 Oral] From Markov to Laplace: How Mamba In-Context Learns Markov Chains Arxiv
Shows a single-layer Mamba learns the in-context Laplacian smoothing estimator, which is both Bayes and minimax optimal, and characterizes the representation capacity that makes this possible. Identifies the convolution as the component doing the work; the authors describe it as the first formal link between Mamba and an optimal statistical estimator.
[ICML 2025 Spotlight] Training Dynamics of In-Context Learning in Linear Attention Arxiv
Solves the gradient-descent dynamics of multi-head linear self-attention trained on in-context linear regression, for both the merged-$KQ$ parametrization common in theory and the separate-$K$/$Q$ one used in practice. The parametrization decides the shape of learning: merged gives two fixed points and one abrupt loss drop, separate gives exponentially many and saddle-to-saddle dynamics that amount to principal component regression with components added over training.
[ICLR 2023 Spotlight] Hungry Hungry Hippos: Towards Language Modeling with State Space Models (H3) Arxiv GitHub
Diagnoses the SSM-vs-attention gap in language as two missing abilities — recalling earlier tokens and comparing tokens across the sequence — and designs the H3 layer for exactly those. Also introduces FlashConv (fused block FFT plus state passing), giving 2x on Long Range Arena; the 125M hybrid keeping just two attention layers already beats a Transformer on OpenWebText.
[CVPR 2026 Oral] ViT$^3$: Unlocking Test-Time Training in Vision Arxiv GitHub
A systematic empirical study of test-time-training designs for visual sequence modeling, distilled into six design principles for the inner module and its inner training loop. The resulting pure-TTT, linear-complexity ViT$^3$ matches or beats Mamba and linear-attention vision models across classification, generation, detection and segmentation.
[ICCV 2025 Highlight] Rectifying Magnitude Neglect in Linear Attention (MALA) Arxiv GitHub
Locates one concrete reason linear attention trails softmax: it discards the magnitude of the query entirely, so the score distribution cannot adapt as the query scales. Folding magnitude back in yields a score distribution close to softmax's, and the fix carries across classification, detection, segmentation, NLP, speech recognition and image generation.
[CVPR 2025 Highlight] Mamba as a Bridge: Where Vision Foundation Models Meet Vision Language Models for Domain-Generalized Semantic Segmentation (MFuser) Arxiv GitHub
Uses Mamba to fuse a VFM's fine-grained features with a VLM's text alignment for domain-generalized segmentation, which attention makes awkward because joint patch tokens blow up the sequence. Linear in sequence length, and reaches 68.20 mIoU synthetic-to-real / 71.87 real-to-real.
[WACV 2025 Oral] PTQ4VM: Post-Training Quantization for Visual Mamba Arxiv GitHub
Shows Visual Mamba's fixed token access order creates quantization problems attention does not have — token-wise variance, channel-wise outliers, and a long activation tail. Per-token static quantization plus jointly learned smoothing scale and step size converts a pretrained backbone in under 15 minutes for up to 1.83x speedup at negligible accuracy loss.
TODO
Autocorrelation Matters: Understanding the Role of Initialization Schemes for State Space Models (https://openreview.net/forum?id=sZJNkorXMk) Arxiv
HOPE for a Robust Parameterization of Long-memory State Space Models (https://openreview.net/forum?id=RZwtbg3qYD) Arxiv
Tuning Frequency Bias of State Space Models (https://openreview.net/forum?id=wkHcXDv7cv) Arxiv
Demystifying the Token Dynamics of Deep Selective State Space Models (https://openreview.net/forum?id=qtTIP5Gjc5) Arxiv
Gated Delta Networks: Improving Mamba2 with Delta Rule (https://openreview.net/forum?id=r8H7xhYPwz) Arxiv
Forgetting Transformer: Softmax Attention with a Forget Gate (https://openreview.net/forum?id=q2Lnyegkr8)
Unlocking State-Tracking in Linear RNNs Through Negative Eigenvalues (https://openreview.net/forum?id=UvTo3tVBk2) Arxiv
Understanding Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing (https://openreview.net/forum?id=pymXpl4qvi) Arxiv GitHub
Oscillatory State-Space Models (https://openreview.net/forum?id=GRMfXcAAFh) Arxiv
FlashRNN: I/O-Aware Optimization of Traditional RNNs on modern hardware (https://openreview.net/forum?id=l0ZzTvPfTw)
LoLCATs: On Low-Rank Linearizing of Large Language Models (https://openreview.net/forum?id=8VtGeyJyx9)
LONGHORN: STATE SPACE MODELS ARE AMORTIZED ONLINE LEARNERS (https://openreview.net/forum?id=8jOqCcLzeO) Arxiv
Rodimus*: Breaking the Accuracy-Efficiency Trade-Off with Efficient Attentions (https://openreview.net/forum?id=IIVYiJ1ggK)
FACTS: A Factored State-Space Framework for World Modelling (https://openreview.net/forum?id=dmCGjPFVhF) GitHub
StableSSM: Alleviating the Curse of Memory in State-space Models through Stable Reparameterization (https://arxiv.org/abs/2311.14495)
Gated Linear Attention Transformers with Hardware-Efficient Training (https://arxiv.org/abs/2312.06635)
Transformers are SSMs: Generalized Models and Efficient Algorithms with Structured State Space Duality (https://arxiv.org/abs/2405.21060)
From generalization analysis to optimization designs for state space models (https://arxiv.org/abs/2405.02670)
The Illusion of State in State-Space Models (https://arxiv.org/abs/2404.08819)
State-Free Inference of State-Space Models: The Transfer Function Approach (https://arxiv.org/abs/2405.06147) GitHub
PAC-Bayesian Error Bound, via Renyi Divergence, for a Class of Linear Time-Invariant State-Space Models (https://openreview.net/pdf?id=a1Olc2QhPv)
Hierarchical State Space Models for Continuous Sequence-to-Sequence Modeling (https://arxiv.org/abs/2402.10211) GitHub
Repeat After Me: Transformers are Better than State Space Models at Copying (https://arxiv.org/abs/2402.01032) GitHub
SLAB: Efficient Transformers with Simplified Linear Attention and Progressive Re-parameterized Batch Normalization (https://www.arxiv.org/abs/2405.11582)
Short-Long Convolutions Help Hardware-Efficient Linear Attention to Focus on Long Sequences (https://arxiv.org/abs/2406.08128)
When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models (https://arxiv.org/abs/2406.07368)
Simple linear attention language models balance the recall-throughput tradeoff (https://arxiv.org/abs/2402.18668) GitHub
Universality of Linear Recurrences Followed by Non-linear Projections: Finite-Width Guarantees and Benefits of Complex Eigenvalues (https://arxiv.org/abs/2307.11888)
Mamba (https://arxiv.org/abs/2312.00752) Official GitHub
$$g_k = \sigma(Linear(x_k)),$$ $$h_{k+1} = (1-g_k) h_{k} + g_k x_k.$$
The activation is SiLU / Swish. The continuous form is $$\frac{dh_t}{dt} = g_t (x_t - h_t).$$
Various (unofficial) implementations:
[ICML2024] Gated Linear Attention (GLA) (https://arxiv.org/abs/2312.06635) Official GitHub
The following repo aims at providing a collection of efficient Triton-based implementations for state-of-the-art linear attention models. Flash-linear-attention
[Video] Long Movie Clip Classification with State-Space Video Models (https://arxiv.org/abs/2204.01692) GitHub
[Language model] Pretraining Without Attention (https://arxiv.org/abs/2212.10544) GitHub
Feature: Bidirectional Language Modeling with State-space Model
[Reinforcement Learning] Structured State Space Models for In-Context Reinforcement Learning (https://arxiv.org/abs/2303.03982) GitHub
[Diffusion Model] Diffusion Models Without Attention (https://arxiv.org/abs/2311.18257) (NeurIPS 2023 Workshop on Diffusion Models)
[Graph] Recurrent Distance Filtering for Graph Representation Learning (https://arxiv.org/abs/2312.01538) GitHub
[Mixture of Experts] MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts (https://arxiv.org/abs/2401.04081) GitHub
[Bio] U-Mamba, a versatile network designed specifically for biomedical image segmentation. (https://arxiv.org/abs/2401.04722) GitHub
[Vision] VMamba: Visual State Space Model. (https://arxiv.org/abs/2401.10166) GitHub
[Tabular data] MambaTab: A Plug-and-Play Model for Learning Tabular Data (https://arxiv.org/abs/2401.08867)
[RWKV-TS] RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Tasks (https://arxiv.org/abs/2401.09093) GitHub
[Vision] Vision Mamba (Vim) is 2.8× faster than DeiT and saves 86.8% GPU memory when performing batch inference to extract features on images with a resolution of 1248×1248. (https://arxiv.org/abs/2401.09417) GitHub
[Vision] SegMamba: Long-range Sequential Modeling Mamba For 3D Medical Image Segmentation. (https://arxiv.org/abs/2401.13560) GitHub
[Token-free language models] MambaByte: Token-free Selective State Space Model. (https://arxiv.org/abs/2401.13660) GitHub
Token-free language models learn directly from raw bytes and remove the bias of subword tokenization.
[Vision] MambaMorph: a Mamba-based Framework for Medical MR-CT Deformable Registration. (https://arxiv.org/abs/2401.13934) GitHub
[Video] Vivim: a Video Vision Mamba for Medical Video Object Segmentation (https://arxiv.org/abs/2401.14168) GitHub
[Document Summarization] LOCOST: State-Space Models for Long Document Abstractive Summarization (https://arxiv.org/abs/2401.17919) GitHub
[Graph] Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spaces (https://arxiv.org/abs/2402.00789) GitHub
[Mixture of Experts] BlackMamba: Mixture of Experts for State-Space Models (https://arxiv.org/abs/2402.01771) GitHub
[Vision] Swin-UMamba: Mamba-based UNet with ImageNet-based pretraining (https://arxiv.org/abs/2402.03302) GitHub
[Bio] VM-UNet: Vision Mamba UNet for Medical Image Segmentation (https://arxiv.org/abs/2402.02491) GitHub
[IN-CONTEXT LEARNING] IS MAMBA CAPABLE OF IN-CONTEXT LEARNING? (https://arxiv.org/abs/2402.03170)
[Bio] nnMamba: 3D Biomedical Image Segmentation, Classification and Landmark Detection with State Space Model (https://arxiv.org/abs/2402.03526) GitHub
[IN-CONTEXT LEARNING] Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks (https://arxiv.org/abs/2402.04248)
[Diffusion Model] Scalable Diffusion Models with State Space Backbone (https://arxiv.org/abs/2402.05608) GitHub
[Vision] Mamba-ND: Selective State Space Modeling for Multi-Dimensional Data (https://arxiv.org/abs/2402.05892) GitHub
[Vision] FD-Vision Mamba for Endoscopic Exposure Correction (https://arxiv.org/abs/2402.06378)
[Vision] Semi-Mamba-UNet: Pixel-Level Contrastive and Pixel-Level Cross-Supervised Visual Mamba-based UNet for Semi-Supervised Medical Image Segmentation (https://arxiv.org/abs/2402.07245) GitHub
[Segmentation] P-Mamba: Marrying Perona Malik Diffusion with Mamba for Efficient Pediatric Echocardiographic Left Ventricular Segmentation: (https://arxiv.org/abs/2402.08506)
[Graph] [KDD 2024] Graph Mamba: Towards Learning on Graphs with State Space Models (https://arxiv.org/abs/2402.08678)
[Theory] Spectral State Space Models (https://arxiv.org/abs/2312.06837v3) GitHub
[Point Cloud Analysis] PointMamba: A Simple State Space Model for Point Cloud Analysis (https://arxiv.org/abs/2402.10739) GitHub
[Vision] RES-VMAMBA: FINE-GRAINED FOOD CATEGORY VISUAL CLASSIFICATION USING SELECTIVE STATE SPACE MODELS WITH DEEP RESIDUAL LEARNING (https://arxiv.org/abs/2402.15761) GitHub
[Theory] Model Compression Method for S4 with Diagonal State Space Layers using Balanced Truncation (https://arxiv.org/abs/2402.15993)
[Financial data] MambaStock: Selective state space model for stock prediction (https://arxiv.org/abs/2402.18959) GitHub
[Theory] Theoretical Foundations of Deep Selective State-Space Models (https://arxiv.org/abs/2402.19047)
Theoretical analysis from the perspective of rough path theory (sig- nature transform).
[Scale-up] Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models (https://arxiv.org/abs/2402.19427)
[Point Cloud Analysis] Point Cloud Mamba: Point Cloud Learning via State Space Model (https://arxiv.org/abs/2403.00762) GitHub
[Language Model] DenseMamba: State Space Models with Dense Hidden Connection for Efficient Large Language Models (https://arxiv.org/abs/2403.00818) GitHub
[Vision] The Hidden Attention of Mamba Models (https://arxiv.org/abs/2403.01590) GitHub
[Target Detection] MiM-ISTD: Mamba-in-Mamba for Efficient Infrared Small Target Detection (https://arxiv.org/abs/2403.02148) GitHub
[Time Series] TimeMachine: A Time Series is Worth 4 Mambas for Long-term Forecasting (https://arxiv.org/abs/2403.09898) GitHub
[Time Series] Is Mamba Effective for Time Series Forecasting? (https://arxiv.org/abs/2403.11144) GitHub
[Recommendation] Mamba4Rec: Towards Efficient Sequential Recommendation with Selective State Space Models (https://arxiv.org/abs/2403.03900) GitHub
[Speech] Multichannel Long-Term Streaming Neural Speech Enhancement for Static and Moving Speakers (https://arxiv.org/abs/2403.07675) GitHub
[Vision] On the low-shot transferability of [V]-Mamba (https://arxiv.org/abs/2403.10696)
[Diffusion Model] ZigMa: A DiT-style Zigzag Mamba Diffusion Model (ECCV 2024) (https://arxiv.org/abs/2403.13802) GitHub
[Scale-up] Jamba: SSM-Transformer Model (https://www.ai21.com/blog/announcing-jamba)
Total 52B parameters. SSM-Transformer hybrid architecture, 256K context window
[Control] State Space Models as Foundation Models: A Control Theoretic Overview (https://arxiv.org/abs/2403.16899) GitHub
[3D reconstruction] Gamba: Marry Gaussian Splatting with Mamba for single view 3D reconstruction (https://arxiv.org/abs/2403.18795)
MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selection (https://arxiv.org/abs/2403.19888)
[Semantic Segmentation] Sigma: Siamese Mamba Network for Multi-Modal Semantic Segmentation (https://arxiv.org/abs/2404.04256) GitHub
[Scale-up] RecurrentGemma: Moving Past Transformers for Efficient Open Language Models (https://storage.googleapis.com/deepmind-media/gemma/recurrentgemma-report.pdf) GitHub
HGRN2: Gated Linear RNNs with State Expansion (https://arxiv.org/abs/2404.07904) GitHub
[Theory] State-Space Systems as Dynamic Generative Models (https://arxiv.org/abs/2404.08717)
This paper studies the conditions for stochastic echo state property, which is a generalisation of deterministic case.
[Survey] State Space Model for New-Generation Network Alternative to Transformers: A Survey (https://arxiv.org/abs/2404.09516) GitHub
[DNA] Caduceus: Bi-Directional Equivariant Long-Range DNA Sequence Modeling (https://arxiv.org/abs/2403.03234) GitHub
[Vision] ViM-UNet: Vision Mamba for Biomedical Segmentation (https://arxiv.org/abs/2404.07705) GitHub
SST: Multi-Scale Hybrid Mamba-Transformer Experts for Time Series Forecasting (https://arxiv.org/abs/2404.14757) GitHub
xLSTM: Extended Long Short-Term Memory (https://arxiv.org/abs/2405.04517)
MambaOut: Do We Really Need Mamba for Vision? (https://arxiv.org/abs/2405.07992) GitHub
[Transformer_to_Recurrent] Linearizing Large Language Models (https://arxiv.org/abs/2405.06640) GitHub
Not All Language Model Features Are One-Dimensionally Linear (https://arxiv.org/abs/2405.14860)
Attention as an RNN (https://arxiv.org/abs/2405.13956)
I2I-Mamba: Multi-modal medical image synthesis via selective state space modeling (https://arxiv.org/abs/2405.14022) GitHub
There is HOPE to Avoid HiPPOs for Long-memory State Space Models (https://arxiv.org/abs/2405.13975)
Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networks (https://arxiv.org/abs/2405.15731) GitHub
The Expressive Capacity of State Space Models: A Formal Language Perspective (https://arxiv.org/abs/2405.17394)
Efficient Time Series Processing for Transformers and State-Space Models through Token Merging (https://arxiv.org/abs/2405.17951)
DiG: Scalable and Efficient Diffusion Models with Gated Linear Attention (https://arxiv.org/abs/2405.18428)
ViG: Linear-complexity Visual Sequence Learning with Gated Linear Attention (https://arxiv.org/abs/2405.18425)
State Space Models are Provably Comparable to Transformers in Dynamic Token Selection (https://arxiv.org/abs/2405.19036)
Recurrent neural networks: vanishing and exploding gradients are not the end of the story (https://arxiv.org/abs/2405.21064)
Parallelizing Linear Transformers with the Delta Rule over Sequence Length (https://arxiv.org/abs/2406.06484)
An Empirical Study of Mamba-based Language Models (https://arxiv.org/abs/2406.07887)
Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling (https://arxiv.org/abs/2406.07522)
Learning to (Learn at Test Time): RNNs with Expressive Hidden States (https://arxiv.org/abs/2407.04620) GitHub
Towards a theory of learning dynamics in deep state space models (https://arxiv.org/abs/2407.07279)
Towards Scalable and Stable Parallelization of Nonlinear RNNs (https://arxiv.org/abs/2407.19115)
PackMamba: Efficient Processing of Variable-Length Sequences in Mamba training (https://arxiv.org/abs/2408.03865)
Long Range Switching Time Series Prediction via State Space Model (https://arxiv.org/abs/2407.19201)
B’MOJO: Hybrid State Space Realizations of Foundation Models with Eidetic and Fading Memory (https://arxiv.org/abs/2407.06324)
FalconMamba (https://huggingface.co/blog/falconmamba)
The first strong attention-free 7B model
Jamba-1.5: Hybrid Transformer-Mamba Models at Scale (https://arxiv.org/abs/2408.12570) HuggingFace
Shuffle Mamba: State Space Models with Random Shuffle for Multi-Modal Image Fusion (https://arxiv.org/abs/2409.01728)
GSA: Gated Slot Attention for Efficient Linear-Time Sequence Modeling (http://arxiv.org/abs/2409.07146)
A Diagonal Structured State Space Model on Loihi 2 for Efficient Streaming Sequence Processing (https://arxiv.org/abs/2409.15022)
Uncertainty Representations in State-Space Layers for Deep Reinforcement Learning under Partial Observability (https://arxiv.org/abs/2409.16824)
[WACV 2025] SUM: Saliency Unification through Mamba for Visual Attention Modeling (https://www.arxiv.org/abs/2406.17815) GitHub
Mathematical Formalism for Memory Compression in Selective State Space Models (https://arxiv.org/abs/2410.03158)
I try to use the most important 2-3 sentences in the abstract to summarize the paper. (https://openreview.net/group?id=ICLR.cc/2024/Conference)
FlashFFTConv (https://openreview.net/forum?id=gPKTTAfYBp)
FlashFFTConv speeds up exact FFT convolutions by up to 8.7 over PyTorch and achieves up to 4.4 speedup end-to-end. GitHub.
Variational quantization for state space models (https://openreview.net/forum?id=EAkjVCtRO2)
In this work, we propose a new forecasting model that combines discrete state space hidden Markov models with recent neural network architectures and training procedures inspired by vector quantized variational autoencoders. We introduce a variational discrete posterior distribution of the latent states given the observations and a two-stage training procedure to alternatively train the parameters of the latent states and of the emission distributions.
Efficient Long Sequence Modeling via State Space Augmented Transformer (https://openreview.net/forum?id=xuxYaBMd9F)
We propose SPADE, short for State Space Augmented Transformer. Specifically, we augment a SSM into the bottom layer of SPADE, and we employ efficient local attention methods for the other layers.
SSM + Transformer GitHub
StableSSM: Alleviating the Curse of Memory in State-space Models through Stable Reparameterization (https://openreview.net/forum?id=BwG8hwohU4)
Our analysis identifies this ``curse of memory'' as a result of the recurrent weights converging to a stability boundary, suggesting that a reparameterization technique can be effective. To this end, we introduce a class of reparameterization techniques for SSMs that effectively lift its memory limitations. Besides improving approximation capabilities, we further illustrate that a principled choice of reparameterization scheme can also enhance optimization stability.
Stability, more on parameterisation
Robustifying State-space Models for Long Sequences via Approximate Diagonalization (https://openreview.net/forum?id=DjeQ39QoLQ)
We introduce a generic, backward-stable ''perturb-then-diagonalize'' (PTD) methodology, which is based on the pseudospectral theory of non-normal operators, and which may be interpreted as the approximate diagonalization of the non-normal matrices defining SSMs. Based on this, we introduce the S4-PTD and S5-PTD models. Through theoretical analysis of the transfer functions of different initialization schemes, we demonstrate that the S4-PTD/S5-PTD initialization strongly converges to the HiPPO framework, while the S4D/S5 initialization only achieves weak convergences.
Robustness, more on initialization
From generalization analysis to optimization designs for state space models (https://openreview.net/forum?id=EGjvMcKrrl)
In this paper, we theoretically study the generalization of SSMs and propose improvements to training algorithms based on the generalization results. Specifically, we give a data-dependent generalization bound for SSMs, showing an interplay between the SSM parameters and the temporal dependencies of the training sequences. Leveraging the generalization bound, we (1) set up a scaling rule for model initialization based on the proposed generalization measure, which significantly improves the robustness of SSMs to different temporal patterns in the sequence data; (2) introduce a new regularization method for training SSMs to enhance the generalization performance. Numerical results are conducted to validate our results.
A 2-Dimensional State Space Layer for Spatial Inductive Bias (https://openreview.net/forum?id=BGkqypmGvm)
We leverage an expressive variation of the multidimensional State Space Model (SSM). Our approach introduces efficient parameterization, accelerated computation, and a suitable normalization scheme. Empirically, we observe that incorporating our layer at the beginning of each transformer block of Vision Transformers (ViT) significantly enhances performance for multiple ViT backbones and across datasets. The new layer is effective even with a negligible amount of additional parameters and inference time.
Vision task
Hieros: Hierarchical Imagination on Structured State Space Sequence World Models (https://openreview.net/forum?id=5j6wtOO6Fk)
We propose HIEROS, a hierarchical policy that learns time abstracted world representations and imagines trajectories at multiple time scales in latent space. HIEROS uses an S5 layer-based world model, which predicts next world states in parallel during training and iteratively during environment interaction. Due to the special properties of S5 layers, our method can train in parallel and predict next world states iteratively during imagination. This allows for more efficient training than RNN-based world models and more efficient imagination than Transformer-based world models.
Reinforcement Learning (Use SSM instead of Transformer)
S4++: Elevating Long Sequence Modeling with State Memory Reply (https://openreview.net/forum?id=bdnw4qjfH9)
Our findings indicate that NSS primarily results from the sampling steps, and the integration of multi-state inputs into the current state significantly contributes to the mitigation of NSS. Building upon these theoretical analyses and findings, we propose a simple, yet effective, theoretically grounded State Memory Reply (SMR) mechanism that leverages learnable memories to incorporate multi-state information into the current state.
Stability
Mamba: Linear-Time Sequence Modeling with Selective State Spaces (https://openreview.net/forum?id=AL1fq05o7H)
Many subquadratic-time architectures such as linear attention, gated convolution and recurrent models, and structured state space models (SSMs) have been developed to address Transformers' computational inefficiency on long sequences, but they have not performed as well as attention on important modalities such as language. We identify that a key weakness of such models is their inability to perform content-based reasoning, and make several improvements. First, simply letting the SSM parameters be functions of the input addresses their weakness with discrete modalities, allowing the model to selectively propagate or forget information along the sequence length dimension depending on the current token. Second, even though this change prevents the use of efficient convolutions, we design a hardware-aware parallel algorithm in recurrent mode. We integrate these selective SSMs into a simplified end-to-end neural network architecture without attention or even MLP blocks (Mamba).
Time-dependent or input-dependent state-space models + Hardware acceleration
A very nice analysis in Chinese: https://zhuanlan.zhihu.com/p/661237120.
Gated recurrent neural networks discover attention (https://openreview.net/forum?id=rfSfDSFrRL)
These modern RNNs feature a prominent design pattern: linear recurrent layers interconnected by feedforward paths with multiplicative gating. Here, we show how RNNs equipped with these two design elements can exactly implement (linear) self-attention, the main building block of Transformers.
By reverse-engineering a set of trained RNNs, we find that gradient descent in practice discovers our construction. In particular, we examine RNNs trained to solve simple in-context learning tasks on which Transformers are known to excel and find that gradient descent instills in our RNNs the same attention-based in-context learning algorithm used by Transformers.
Naive question: What's the difference in contribution sense against Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention.
Universality of SSM + Optimization verification over ICL
GateLoop: Fully Data-Controlled Linear Recurrence for Sequence Modeling (https://openreview.net/forum?id=02Ug9N8DCI)
We develop GateLoop, a foundational sequence model that generalizes linear recurrent models such as S4, S5, LRU and RetNet, by employing data-controlled state transitions. Furthermore, we derive an $O(l^2)$ surrogate-attention mode, revealing remarkable implications for Transformer and recently proposed architectures. While many existing models solely rely on data-controlled cumulative sums for context aggregation, our findings suggest that incorporating data-controlled complex cumulative products may be a crucial step towards more powerful sequence models.
Data-controlled state transitions sound similar to 9, TODO comparison Official GitHub Unofficial GitHub
Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priors (https://openreview.net/forum?id=PdaPky8MUn)
In this work, we show that random initialization leads to gross overestimation of the differences between architectures and that pretraining with standard denoising objectives, using only the downstream task data, leads to dramatic gains across multiple architectures and to very small gaps between Transformers and state space models (SSMs). In stark contrast to prior works, we find vanilla Transformers to match the performance of S4 on Long Range Arena when properly pretrained, and we improve the best reported results of SSMs on the PathX-256 task by 20 absolute points. Subsequently, we analyze the utility of previously-proposed structured parameterizations for SSMs and show they become mostly redundant in the presence of data-driven initialization obtained through pretraining. Our work shows that, when evaluating different architectures on supervised tasks, incorporation of data-driven priors via pretraining is essential for reliable performance estimation, and can be done efficiently.
Mastering Memory Tasks with World Models (https://openreview.net/forum?id=1vDArHJ68h)
To improve temporal coherence, we integrate a new family of state space models (SSMs) in world models of MBRL agents to present a new method, Recall to Imagine (R2I). This integration aims to enhance both long-term memory and long-horizon credit assignment. Through a diverse set of illustrative tasks, we systematically demonstrate that R2I establishes a new state-of-the-art performance in challenging memory and credit assignment RL tasks, such as Memory Maze, BSuite, and POPGym. We also show that R2I is faster than the state-of-the-art MBRL method, DreamerV3, resulting in faster wall-time convergence.
Reinforcement Learning GitHub
RetNet (https://arxiv.org/abs/2307.08621) GitHub
Zoology (https://arxiv.org/abs/2312.04927) GitHub
Structured state-space models are deep Wiener models (https://arxiv.org/abs/2312.06211)
State-space Models with Layer-wise Nonlinearity are Universal Approximators with Exponential Decaying Memory (https://arxiv.org/abs/2309.13414)
The authors show that the layer-wise nonlinearity is enough to achieve the universality when the state-space models are multi-layer.
It is also shown that similar to traditional nonlinear recurrent neural networks, SSMs also suffer from the aymptotically exponential memory decay.
Sparse Modular Activation for Efficient Sequence Modeling (SMA) (https://arxiv.org/abs/2306.11197) GitHub
SSM + Attention, SOTA at LRA.
We design a novel neural architecture, SeqBoat, which employs SMA to sparsely activate a Gated Attention Unit (GAU) based on the state representations learned from an SSM.
Laughing Hyena Distillery: Extracting Compact Recurrences from Convolutions (https://arxiv.org/abs/2310.18780)
Given a convolution-based Hyena model, the authors want to extract the recurrent weights for the convolution kernel so that the convolution model can be converted into a recurrent models. Method used are based on Hankel matrix SVD.
Structured State Space Models for In-Context Reinforcement Learning (https://arxiv.org/abs/2303.03982) GitHub
We propose a modification to a variant of S4 that enables us to initialise and reset the hidden state in parallel, allowing us to tackle reinforcement learning tasks. We show that our modified architecture runs asymptotically faster than Transformers in sequence length and performs better than RNN's on a simple memory-based task.
Convolutional State Space Models for Long-Range Spatiotemporal Modeling (https://arxiv.org/abs/2310.19694) GitHub
(Spotlight) Hierarchically Gated Recurrent Neural Network for Sequence Modeling (https://arxiv.org/abs/2311.04823) GitHub
Resurrecting Recurrent Neural Networks for Long Sequences (https://icml.cc/virtual/2023/oral/25438)
Hyena Hierarchy: Towards Larger Convolutional Language Models (https://arxiv.org/abs/2302.10866) GitHub
Neural Continuous-Discrete State Space Models for Irregularly-Sampled Time Series (https://icml.cc/virtual/2023/oral/25554) GitHub
See github repo State-spaces for S4, including HiPPO, LSSL, SaShiMi, DSS, HTTYH, S4D, and S4ND, GSS
[S5] Simplified State Space Layers for Sequence Modeling (ICLR 2023) (https://openreview.net/forum?id=Ai8Hw3AXqks) GitHub
[Liquid SSM] Liquid Structural State-Space Models (ICLR 2023) (https://openreview.net/forum?id=g4OTKRKfS7R) GitHub
[Parallel scan] Parallelizing Linear Recurrent Neural Nets Over Sequence Length (ICLR 2018) (https://openreview.net/forum?id=HyUNwulC-) GitHub
Bayesian state-space models GitHub.
Another very good note is: Bayesian State Space Methods by Gary Koop (archived; the Strathclyde original is gone).
Mega: Moving Average Equipped Gated Attention (Mega) GitHub
The State Space of Complex Systems (thesis by Frank Heilmann) https://d-nb.info/1212365704/34
174 commits
1 commits
Collection of papers/repos on state-space models, hybrid models.
Raven: High-Recall Sequence Modeling with Sparse Memory Routing Arxiv
Interpolates between the two failure modes of linear-time recall: SSMs write densely (every token touches the whole state, causing interference) while sliding-window attention writes sparsely but hard-evicts past its window. Raven keeps a fixed set of memory slots and decays/updates only a routed subset per step, staying effective when extrapolated to 16x its training context.
Sparse Delta Memory: Scaling the State of Linear RNNs through Sparsity Arxiv
Extends Gated DeltaNet by replacing the dense key-value outer product with sparse reads and writes into a large explicit memory, buying orders of magnitude more state capacity without the usual FLOP cost. Under an isoFLOP and iso-parameter constraint the extra capacity clearly helps in-context learning and long-context retrieval; learning the initial memory turns it into a parametric store that also lifts knowledge and reasoning tasks.
[ICML 2026 Oral] MuonSSM: Orthogonalizing State Space Models for Sequence Modeling Arxiv
Conditions the geometry of the memory update rather than the recurrent transition matrix, adding a momentum pathway and a light Newton-Schulz transform on low-rank input injections while preserving parallel-scan complexity. Gives bounded, spectrally conditioned updates with theory for improved gradient propagation and reduced spectral amplification; gains hold across language, vision and time series on several SSM backbones.
Parallax: Parameterized Local Linear Attention for Language Modeling Arxiv
Upgrades softmax attention's local constant estimate to a local linear one from the test-time regression view, dropping LLA's numerical solver in favour of a learned projector that probes the KV covariance. The hardware-aware algorithm raises arithmetic intensity over FlashAttention, pushing attention into a more compute-bound regime; the prototype decode kernel matches or outperforms FlashAttention 2/3 across batch sizes and context lengths, and pretraining at 0.6B/1.7B is a Pareto improvement under both parameter- and compute-matched controls. Notable for identifying architecture-optimizer codesign — Muon specifically unlocks its capacity.
Flash PD-SSM: Memory-Optimized Structured Sparse State-Space Models Arxiv
Attacks the expressivity/efficiency tradeoff dictated by the transition matrix: it keeps a trainable set of structured sparse matrices and discretely selects one per time-step, reaching unstructured-matrix FSA expressivity at structured-SSM cost. Sets a new SoTA among SSMs on multivariate time series beyond 17k steps, and works as a drop-in replacement in hybrid LLMs with higher throughput and lower memory.
[ICLR 2026 Oral] Mamba-3: Improved Sequence Modeling using State Space Principles Arxiv
Replaces Mamba-2's first-order exponential-Euler discretization with a second-order exponential-trapezoidal rule, adds complex-valued state updates to recover state tracking, and introduces a MIMO formulation that raises arithmetic intensity at decode. Matches Mamba-2 perplexity at half the state size; at 1.5B it improves average downstream accuracy by 0.6 points over Gated DeltaNet, and by 1.8 points for the MIMO variant.
M$^2$RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling Arxiv
Revisits non-linear RNNs with matrix-valued hidden states, arguing their language-modeling quality is bottlenecked by state size and that expanding the state is what lets the recurrence use tensor cores efficiently. Achieves perfect state-tracking generalization beyond training length, and dropping even a single M$^2$RNN layer into a Gated DeltaNet hybrid gains up to 8 points on LongBench.
Learning State-Tracking from Code Using Linear RNNs Arxiv
Closes the awkward gap in the state-tracking literature: permutation composition is a seq-to-seq task, incompatible with next-token prediction, so this recasts it as code via REPL traces that interleave state reveals through prints. Linear RNNs that can state-track excel here while Transformers still fail — but when actions are only partially observable (a probabilistic FSA with deterministic reveals), linear RNNs can be worse than non-linear ones.
[NeurIPS 2025] Nested Learning: The Illusion of Deep Learning Architectures Arxiv
Reframes a model as a set of nested, multi-level optimization problems, each with its own context flow, arguing that the architecture and the optimizer are the same kind of object rather than two separate design choices. The proof-of-concept model Hope targets continual learning and catastrophic forgetting; this is the direct follow-up to Titans, below, from the same group.
End-to-End Test-Time Training for Long Context Arxiv GitHub
Treats long context as continual learning rather than architecture design: a plain sliding-window Transformer keeps learning on the given context at test time via next-token prediction, with its initialization meta-learned at training time. At 3B/164B tokens it scales with context length the way full attention does — which Mamba-2 and Gated DeltaNet do not — while keeping RNN-style constant inference latency, 2.7x faster than full attention at 128K.
Kimi Linear: An Expressive, Efficient Attention Architecture Arxiv GitHub
[ICLR 2026 Oral] To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Models Arxiv
Proves a clean negative result first: because the state is fixed-size, an SSM cannot accurately solve any truly long-form generation problem (formally defined) — which is exactly the regime their efficiency argument is built on. The fix is not architectural but interactive: with the right tool access and problem-dependent training data, SSMs can learn any tractable problem and generalize to arbitrary length, demonstrated on arithmetic, reasoning and coding tasks.
Design Principles for Sequence Models via Coefficient Dynamics Arxiv
Casts every sequence model's output as a linear combination of past values whose coefficients are themselves the impulse response of an autonomous linear system — a framing that covers softmax attention, SSMs and gated linear RNNs in one object, and is genuinely distinct from the usual linear-attention-equivalence route. Derives design principles rather than another benchmark entry: expressivity/implementation tradeoffs, geometric constraints on input selectivity, and stability conditions for training.
Revisiting associative recall in modern recurrent models Arxiv
A careful negative-result-and-diagnosis paper: learning rate turns out to be critical for recurrent models in a way it is not for Transformers, which means several previously reported AR comparisons may be measuring optimization rather than architecture. Also shows recurrent and attention models benefit oppositely from width vs. depth, and that 1-layer Transformers form induction-head-like dynamics despite failing the task.
Falcon-H1: A Family of Hybrid-Head Language Models Redefining Efficiency and Performance Arxiv GitHub
[ICLR 2026] Dynamic Chunking for End-to-End Hierarchical Sequence Modeling (H-Net) Arxiv
Learns content- and context-dependent segmentation jointly with the model, replacing the tokenizer-LM-detokenizer pipeline with a single end-to-end hierarchical network. At matched compute and data, byte-level H-Net beats a strong BPE Transformer, and the gap widens exactly where tokenization heuristics are weakest — Chinese, code, and DNA (nearly 4x data efficiency).
[ICML 2025] Understanding and Improving Length Generalization in Recurrent Models Arxiv PMLR
Proposes and tests the unexplored states hypothesis: recurrent models fail to length-generalize because training only ever exposes them to a narrow subset of attainable states. The payoff is unusually practical — ~500 post-training steps (about 0.1% of the pre-training budget), initializing the state with noise or with another sequence's final state, takes models from 2k to 128k context.
RWKV-X: A Linear Complexity Hybrid Language Model Arxiv
Understanding the Skill Gap in Recurrent Language Models: The Role of the Gather-and-Aggregate Mechanism Arxiv
M1: Towards Scalable Test-Time Compute with Mamba Reasoning Models Arxiv
Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Models Arxiv
[NeurIPS 2025 Spotlight] Fixed-Point RNNs: Interpolating from Diagonal to Dense Arxiv
Parameterizes a large class of dense linear RNNs as fixed points of parallelizable diagonal ones, so the diagonal/dense tradeoff becomes a dial rather than a hard architectural choice. A clean answer to why current SSMs lose state-tracking expressivity: SOTA on the $A_5$ and $S_5$ state-tracking benchmarks at a fixed parameter count, while holding performance on copying.
[ICLR 2025] Forgetting Transformer: Softmax Attention with a Forget Gate Arxiv
[NeurIPS 2025] DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products Arxiv
[ICML 2025 Spotlight] Implicit Language Models are RNNs: Balancing Parallelization and Expressivity Arxiv
Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach Arxiv
[NeurIPS 2025] Generalization Error Analysis for Selective State-Space Models Through the Lens of Attention Arxiv
[NeurIPS 2025] Titans: Learning to Memorize at Test Time Arxiv
[ICLR 2025 Spotlight] Hymba: A Hybrid-head Architecture for Small Language Models Arxiv
GoldFinch: High Performance RWKV/Transformer Hybrid with Linear Pre-Fill and Extreme KV-Cache Compression Arxiv
Zamba: A Compact 7B SSM Hybrid Model Arxiv
Peer-reviewed architecture work on language and vision tasks. The rating in brackets is the one the authors report on arXiv. This is a curated, non-exhaustive selection.
[NeurIPS 2025 Spotlight] Structured Sparse Transition Matrices to Enable State Tracking in State-Space Models (PD-SSM) Arxiv GitHub
Parametrizes the transition matrix as a column one-hot $P$ times a complex diagonal $D$, so parallel scan stays linear in state size while the model gains genuine FSA state tracking. One layer of dimension $N$ emulates any $N$-state automaton — a strict improvement on previous structured-SSM guarantees — and it tracks an FSA whose transitions are variable-length English sentences. Flash PD-SSM above is the follow-up.
[ICLR 2026 Oral] From Markov to Laplace: How Mamba In-Context Learns Markov Chains Arxiv
Shows a single-layer Mamba learns the in-context Laplacian smoothing estimator, which is both Bayes and minimax optimal, and characterizes the representation capacity that makes this possible. Identifies the convolution as the component doing the work; the authors describe it as the first formal link between Mamba and an optimal statistical estimator.
[ICML 2025 Spotlight] Training Dynamics of In-Context Learning in Linear Attention Arxiv
Solves the gradient-descent dynamics of multi-head linear self-attention trained on in-context linear regression, for both the merged-$KQ$ parametrization common in theory and the separate-$K$/$Q$ one used in practice. The parametrization decides the shape of learning: merged gives two fixed points and one abrupt loss drop, separate gives exponentially many and saddle-to-saddle dynamics that amount to principal component regression with components added over training.
[ICLR 2023 Spotlight] Hungry Hungry Hippos: Towards Language Modeling with State Space Models (H3) Arxiv GitHub
Diagnoses the SSM-vs-attention gap in language as two missing abilities — recalling earlier tokens and comparing tokens across the sequence — and designs the H3 layer for exactly those. Also introduces FlashConv (fused block FFT plus state passing), giving 2x on Long Range Arena; the 125M hybrid keeping just two attention layers already beats a Transformer on OpenWebText.
[CVPR 2026 Oral] ViT$^3$: Unlocking Test-Time Training in Vision Arxiv GitHub
A systematic empirical study of test-time-training designs for visual sequence modeling, distilled into six design principles for the inner module and its inner training loop. The resulting pure-TTT, linear-complexity ViT$^3$ matches or beats Mamba and linear-attention vision models across classification, generation, detection and segmentation.
[ICCV 2025 Highlight] Rectifying Magnitude Neglect in Linear Attention (MALA) Arxiv GitHub
Locates one concrete reason linear attention trails softmax: it discards the magnitude of the query entirely, so the score distribution cannot adapt as the query scales. Folding magnitude back in yields a score distribution close to softmax's, and the fix carries across classification, detection, segmentation, NLP, speech recognition and image generation.
[CVPR 2025 Highlight] Mamba as a Bridge: Where Vision Foundation Models Meet Vision Language Models for Domain-Generalized Semantic Segmentation (MFuser) Arxiv GitHub
Uses Mamba to fuse a VFM's fine-grained features with a VLM's text alignment for domain-generalized segmentation, which attention makes awkward because joint patch tokens blow up the sequence. Linear in sequence length, and reaches 68.20 mIoU synthetic-to-real / 71.87 real-to-real.
[WACV 2025 Oral] PTQ4VM: Post-Training Quantization for Visual Mamba Arxiv GitHub
Shows Visual Mamba's fixed token access order creates quantization problems attention does not have — token-wise variance, channel-wise outliers, and a long activation tail. Per-token static quantization plus jointly learned smoothing scale and step size converts a pretrained backbone in under 15 minutes for up to 1.83x speedup at negligible accuracy loss.
TODO
Autocorrelation Matters: Understanding the Role of Initialization Schemes for State Space Models (https://openreview.net/forum?id=sZJNkorXMk) Arxiv
HOPE for a Robust Parameterization of Long-memory State Space Models (https://openreview.net/forum?id=RZwtbg3qYD) Arxiv
Tuning Frequency Bias of State Space Models (https://openreview.net/forum?id=wkHcXDv7cv) Arxiv
Demystifying the Token Dynamics of Deep Selective State Space Models (https://openreview.net/forum?id=qtTIP5Gjc5) Arxiv
Gated Delta Networks: Improving Mamba2 with Delta Rule (https://openreview.net/forum?id=r8H7xhYPwz) Arxiv
Forgetting Transformer: Softmax Attention with a Forget Gate (https://openreview.net/forum?id=q2Lnyegkr8)
Unlocking State-Tracking in Linear RNNs Through Negative Eigenvalues (https://openreview.net/forum?id=UvTo3tVBk2) Arxiv
Understanding Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing (https://openreview.net/forum?id=pymXpl4qvi) Arxiv GitHub
Oscillatory State-Space Models (https://openreview.net/forum?id=GRMfXcAAFh) Arxiv
FlashRNN: I/O-Aware Optimization of Traditional RNNs on modern hardware (https://openreview.net/forum?id=l0ZzTvPfTw)
LoLCATs: On Low-Rank Linearizing of Large Language Models (https://openreview.net/forum?id=8VtGeyJyx9)
LONGHORN: STATE SPACE MODELS ARE AMORTIZED ONLINE LEARNERS (https://openreview.net/forum?id=8jOqCcLzeO) Arxiv
Rodimus*: Breaking the Accuracy-Efficiency Trade-Off with Efficient Attentions (https://openreview.net/forum?id=IIVYiJ1ggK)
FACTS: A Factored State-Space Framework for World Modelling (https://openreview.net/forum?id=dmCGjPFVhF) GitHub
StableSSM: Alleviating the Curse of Memory in State-space Models through Stable Reparameterization (https://arxiv.org/abs/2311.14495)
Gated Linear Attention Transformers with Hardware-Efficient Training (https://arxiv.org/abs/2312.06635)
Transformers are SSMs: Generalized Models and Efficient Algorithms with Structured State Space Duality (https://arxiv.org/abs/2405.21060)
From generalization analysis to optimization designs for state space models (https://arxiv.org/abs/2405.02670)
The Illusion of State in State-Space Models (https://arxiv.org/abs/2404.08819)
State-Free Inference of State-Space Models: The Transfer Function Approach (https://arxiv.org/abs/2405.06147) GitHub
PAC-Bayesian Error Bound, via Renyi Divergence, for a Class of Linear Time-Invariant State-Space Models (https://openreview.net/pdf?id=a1Olc2QhPv)
Hierarchical State Space Models for Continuous Sequence-to-Sequence Modeling (https://arxiv.org/abs/2402.10211) GitHub
Repeat After Me: Transformers are Better than State Space Models at Copying (https://arxiv.org/abs/2402.01032) GitHub
SLAB: Efficient Transformers with Simplified Linear Attention and Progressive Re-parameterized Batch Normalization (https://www.arxiv.org/abs/2405.11582)
Short-Long Convolutions Help Hardware-Efficient Linear Attention to Focus on Long Sequences (https://arxiv.org/abs/2406.08128)
When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models (https://arxiv.org/abs/2406.07368)
Simple linear attention language models balance the recall-throughput tradeoff (https://arxiv.org/abs/2402.18668) GitHub
Universality of Linear Recurrences Followed by Non-linear Projections: Finite-Width Guarantees and Benefits of Complex Eigenvalues (https://arxiv.org/abs/2307.11888)
Mamba (https://arxiv.org/abs/2312.00752) Official GitHub
$$g_k = \sigma(Linear(x_k)),$$ $$h_{k+1} = (1-g_k) h_{k} + g_k x_k.$$
The activation is SiLU / Swish. The continuous form is $$\frac{dh_t}{dt} = g_t (x_t - h_t).$$
Various (unofficial) implementations:
[ICML2024] Gated Linear Attention (GLA) (https://arxiv.org/abs/2312.06635) Official GitHub
The following repo aims at providing a collection of efficient Triton-based implementations for state-of-the-art linear attention models. Flash-linear-attention
[Video] Long Movie Clip Classification with State-Space Video Models (https://arxiv.org/abs/2204.01692) GitHub
[Language model] Pretraining Without Attention (https://arxiv.org/abs/2212.10544) GitHub
Feature: Bidirectional Language Modeling with State-space Model
[Reinforcement Learning] Structured State Space Models for In-Context Reinforcement Learning (https://arxiv.org/abs/2303.03982) GitHub
[Diffusion Model] Diffusion Models Without Attention (https://arxiv.org/abs/2311.18257) (NeurIPS 2023 Workshop on Diffusion Models)
[Graph] Recurrent Distance Filtering for Graph Representation Learning (https://arxiv.org/abs/2312.01538) GitHub
[Mixture of Experts] MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts (https://arxiv.org/abs/2401.04081) GitHub
[Bio] U-Mamba, a versatile network designed specifically for biomedical image segmentation. (https://arxiv.org/abs/2401.04722) GitHub
[Vision] VMamba: Visual State Space Model. (https://arxiv.org/abs/2401.10166) GitHub
[Tabular data] MambaTab: A Plug-and-Play Model for Learning Tabular Data (https://arxiv.org/abs/2401.08867)
[RWKV-TS] RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Tasks (https://arxiv.org/abs/2401.09093) GitHub
[Vision] Vision Mamba (Vim) is 2.8× faster than DeiT and saves 86.8% GPU memory when performing batch inference to extract features on images with a resolution of 1248×1248. (https://arxiv.org/abs/2401.09417) GitHub
[Vision] SegMamba: Long-range Sequential Modeling Mamba For 3D Medical Image Segmentation. (https://arxiv.org/abs/2401.13560) GitHub
[Token-free language models] MambaByte: Token-free Selective State Space Model. (https://arxiv.org/abs/2401.13660) GitHub
Token-free language models learn directly from raw bytes and remove the bias of subword tokenization.
[Vision] MambaMorph: a Mamba-based Framework for Medical MR-CT Deformable Registration. (https://arxiv.org/abs/2401.13934) GitHub
[Video] Vivim: a Video Vision Mamba for Medical Video Object Segmentation (https://arxiv.org/abs/2401.14168) GitHub
[Document Summarization] LOCOST: State-Space Models for Long Document Abstractive Summarization (https://arxiv.org/abs/2401.17919) GitHub
[Graph] Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spaces (https://arxiv.org/abs/2402.00789) GitHub
[Mixture of Experts] BlackMamba: Mixture of Experts for State-Space Models (https://arxiv.org/abs/2402.01771) GitHub
[Vision] Swin-UMamba: Mamba-based UNet with ImageNet-based pretraining (https://arxiv.org/abs/2402.03302) GitHub
[Bio] VM-UNet: Vision Mamba UNet for Medical Image Segmentation (https://arxiv.org/abs/2402.02491) GitHub
[IN-CONTEXT LEARNING] IS MAMBA CAPABLE OF IN-CONTEXT LEARNING? (https://arxiv.org/abs/2402.03170)
[Bio] nnMamba: 3D Biomedical Image Segmentation, Classification and Landmark Detection with State Space Model (https://arxiv.org/abs/2402.03526) GitHub
[IN-CONTEXT LEARNING] Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks (https://arxiv.org/abs/2402.04248)
[Diffusion Model] Scalable Diffusion Models with State Space Backbone (https://arxiv.org/abs/2402.05608) GitHub
[Vision] Mamba-ND: Selective State Space Modeling for Multi-Dimensional Data (https://arxiv.org/abs/2402.05892) GitHub
[Vision] FD-Vision Mamba for Endoscopic Exposure Correction (https://arxiv.org/abs/2402.06378)
[Vision] Semi-Mamba-UNet: Pixel-Level Contrastive and Pixel-Level Cross-Supervised Visual Mamba-based UNet for Semi-Supervised Medical Image Segmentation (https://arxiv.org/abs/2402.07245) GitHub
[Segmentation] P-Mamba: Marrying Perona Malik Diffusion with Mamba for Efficient Pediatric Echocardiographic Left Ventricular Segmentation: (https://arxiv.org/abs/2402.08506)
[Graph] [KDD 2024] Graph Mamba: Towards Learning on Graphs with State Space Models (https://arxiv.org/abs/2402.08678)
[Theory] Spectral State Space Models (https://arxiv.org/abs/2312.06837v3) GitHub
[Point Cloud Analysis] PointMamba: A Simple State Space Model for Point Cloud Analysis (https://arxiv.org/abs/2402.10739) GitHub
[Vision] RES-VMAMBA: FINE-GRAINED FOOD CATEGORY VISUAL CLASSIFICATION USING SELECTIVE STATE SPACE MODELS WITH DEEP RESIDUAL LEARNING (https://arxiv.org/abs/2402.15761) GitHub
[Theory] Model Compression Method for S4 with Diagonal State Space Layers using Balanced Truncation (https://arxiv.org/abs/2402.15993)
[Financial data] MambaStock: Selective state space model for stock prediction (https://arxiv.org/abs/2402.18959) GitHub
[Theory] Theoretical Foundations of Deep Selective State-Space Models (https://arxiv.org/abs/2402.19047)
Theoretical analysis from the perspective of rough path theory (sig- nature transform).
[Scale-up] Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models (https://arxiv.org/abs/2402.19427)
[Point Cloud Analysis] Point Cloud Mamba: Point Cloud Learning via State Space Model (https://arxiv.org/abs/2403.00762) GitHub
[Language Model] DenseMamba: State Space Models with Dense Hidden Connection for Efficient Large Language Models (https://arxiv.org/abs/2403.00818) GitHub
[Vision] The Hidden Attention of Mamba Models (https://arxiv.org/abs/2403.01590) GitHub
[Target Detection] MiM-ISTD: Mamba-in-Mamba for Efficient Infrared Small Target Detection (https://arxiv.org/abs/2403.02148) GitHub
[Time Series] TimeMachine: A Time Series is Worth 4 Mambas for Long-term Forecasting (https://arxiv.org/abs/2403.09898) GitHub
[Time Series] Is Mamba Effective for Time Series Forecasting? (https://arxiv.org/abs/2403.11144) GitHub
[Recommendation] Mamba4Rec: Towards Efficient Sequential Recommendation with Selective State Space Models (https://arxiv.org/abs/2403.03900) GitHub
[Speech] Multichannel Long-Term Streaming Neural Speech Enhancement for Static and Moving Speakers (https://arxiv.org/abs/2403.07675) GitHub
[Vision] On the low-shot transferability of [V]-Mamba (https://arxiv.org/abs/2403.10696)
[Diffusion Model] ZigMa: A DiT-style Zigzag Mamba Diffusion Model (ECCV 2024) (https://arxiv.org/abs/2403.13802) GitHub
[Scale-up] Jamba: SSM-Transformer Model (https://www.ai21.com/blog/announcing-jamba)
Total 52B parameters. SSM-Transformer hybrid architecture, 256K context window
[Control] State Space Models as Foundation Models: A Control Theoretic Overview (https://arxiv.org/abs/2403.16899) GitHub
[3D reconstruction] Gamba: Marry Gaussian Splatting with Mamba for single view 3D reconstruction (https://arxiv.org/abs/2403.18795)
MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selection (https://arxiv.org/abs/2403.19888)
[Semantic Segmentation] Sigma: Siamese Mamba Network for Multi-Modal Semantic Segmentation (https://arxiv.org/abs/2404.04256) GitHub
[Scale-up] RecurrentGemma: Moving Past Transformers for Efficient Open Language Models (https://storage.googleapis.com/deepmind-media/gemma/recurrentgemma-report.pdf) GitHub
HGRN2: Gated Linear RNNs with State Expansion (https://arxiv.org/abs/2404.07904) GitHub
[Theory] State-Space Systems as Dynamic Generative Models (https://arxiv.org/abs/2404.08717)
This paper studies the conditions for stochastic echo state property, which is a generalisation of deterministic case.
[Survey] State Space Model for New-Generation Network Alternative to Transformers: A Survey (https://arxiv.org/abs/2404.09516) GitHub
[DNA] Caduceus: Bi-Directional Equivariant Long-Range DNA Sequence Modeling (https://arxiv.org/abs/2403.03234) GitHub
[Vision] ViM-UNet: Vision Mamba for Biomedical Segmentation (https://arxiv.org/abs/2404.07705) GitHub
SST: Multi-Scale Hybrid Mamba-Transformer Experts for Time Series Forecasting (https://arxiv.org/abs/2404.14757) GitHub
xLSTM: Extended Long Short-Term Memory (https://arxiv.org/abs/2405.04517)
MambaOut: Do We Really Need Mamba for Vision? (https://arxiv.org/abs/2405.07992) GitHub
[Transformer_to_Recurrent] Linearizing Large Language Models (https://arxiv.org/abs/2405.06640) GitHub
Not All Language Model Features Are One-Dimensionally Linear (https://arxiv.org/abs/2405.14860)
Attention as an RNN (https://arxiv.org/abs/2405.13956)
I2I-Mamba: Multi-modal medical image synthesis via selective state space modeling (https://arxiv.org/abs/2405.14022) GitHub
There is HOPE to Avoid HiPPOs for Long-memory State Space Models (https://arxiv.org/abs/2405.13975)
Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networks (https://arxiv.org/abs/2405.15731) GitHub
The Expressive Capacity of State Space Models: A Formal Language Perspective (https://arxiv.org/abs/2405.17394)
Efficient Time Series Processing for Transformers and State-Space Models through Token Merging (https://arxiv.org/abs/2405.17951)
DiG: Scalable and Efficient Diffusion Models with Gated Linear Attention (https://arxiv.org/abs/2405.18428)
ViG: Linear-complexity Visual Sequence Learning with Gated Linear Attention (https://arxiv.org/abs/2405.18425)
State Space Models are Provably Comparable to Transformers in Dynamic Token Selection (https://arxiv.org/abs/2405.19036)
Recurrent neural networks: vanishing and exploding gradients are not the end of the story (https://arxiv.org/abs/2405.21064)
Parallelizing Linear Transformers with the Delta Rule over Sequence Length (https://arxiv.org/abs/2406.06484)
An Empirical Study of Mamba-based Language Models (https://arxiv.org/abs/2406.07887)
Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling (https://arxiv.org/abs/2406.07522)
Learning to (Learn at Test Time): RNNs with Expressive Hidden States (https://arxiv.org/abs/2407.04620) GitHub
Towards a theory of learning dynamics in deep state space models (https://arxiv.org/abs/2407.07279)
Towards Scalable and Stable Parallelization of Nonlinear RNNs (https://arxiv.org/abs/2407.19115)
PackMamba: Efficient Processing of Variable-Length Sequences in Mamba training (https://arxiv.org/abs/2408.03865)
Long Range Switching Time Series Prediction via State Space Model (https://arxiv.org/abs/2407.19201)
B’MOJO: Hybrid State Space Realizations of Foundation Models with Eidetic and Fading Memory (https://arxiv.org/abs/2407.06324)
FalconMamba (https://huggingface.co/blog/falconmamba)
The first strong attention-free 7B model
Jamba-1.5: Hybrid Transformer-Mamba Models at Scale (https://arxiv.org/abs/2408.12570) HuggingFace
Shuffle Mamba: State Space Models with Random Shuffle for Multi-Modal Image Fusion (https://arxiv.org/abs/2409.01728)
GSA: Gated Slot Attention for Efficient Linear-Time Sequence Modeling (http://arxiv.org/abs/2409.07146)
A Diagonal Structured State Space Model on Loihi 2 for Efficient Streaming Sequence Processing (https://arxiv.org/abs/2409.15022)
Uncertainty Representations in State-Space Layers for Deep Reinforcement Learning under Partial Observability (https://arxiv.org/abs/2409.16824)
[WACV 2025] SUM: Saliency Unification through Mamba for Visual Attention Modeling (https://www.arxiv.org/abs/2406.17815) GitHub
Mathematical Formalism for Memory Compression in Selective State Space Models (https://arxiv.org/abs/2410.03158)
I try to use the most important 2-3 sentences in the abstract to summarize the paper. (https://openreview.net/group?id=ICLR.cc/2024/Conference)
FlashFFTConv (https://openreview.net/forum?id=gPKTTAfYBp)
FlashFFTConv speeds up exact FFT convolutions by up to 8.7 over PyTorch and achieves up to 4.4 speedup end-to-end. GitHub.
Variational quantization for state space models (https://openreview.net/forum?id=EAkjVCtRO2)
In this work, we propose a new forecasting model that combines discrete state space hidden Markov models with recent neural network architectures and training procedures inspired by vector quantized variational autoencoders. We introduce a variational discrete posterior distribution of the latent states given the observations and a two-stage training procedure to alternatively train the parameters of the latent states and of the emission distributions.
Efficient Long Sequence Modeling via State Space Augmented Transformer (https://openreview.net/forum?id=xuxYaBMd9F)
We propose SPADE, short for State Space Augmented Transformer. Specifically, we augment a SSM into the bottom layer of SPADE, and we employ efficient local attention methods for the other layers.
SSM + Transformer GitHub
StableSSM: Alleviating the Curse of Memory in State-space Models through Stable Reparameterization (https://openreview.net/forum?id=BwG8hwohU4)
Our analysis identifies this ``curse of memory'' as a result of the recurrent weights converging to a stability boundary, suggesting that a reparameterization technique can be effective. To this end, we introduce a class of reparameterization techniques for SSMs that effectively lift its memory limitations. Besides improving approximation capabilities, we further illustrate that a principled choice of reparameterization scheme can also enhance optimization stability.
Stability, more on parameterisation
Robustifying State-space Models for Long Sequences via Approximate Diagonalization (https://openreview.net/forum?id=DjeQ39QoLQ)
We introduce a generic, backward-stable ''perturb-then-diagonalize'' (PTD) methodology, which is based on the pseudospectral theory of non-normal operators, and which may be interpreted as the approximate diagonalization of the non-normal matrices defining SSMs. Based on this, we introduce the S4-PTD and S5-PTD models. Through theoretical analysis of the transfer functions of different initialization schemes, we demonstrate that the S4-PTD/S5-PTD initialization strongly converges to the HiPPO framework, while the S4D/S5 initialization only achieves weak convergences.
Robustness, more on initialization
From generalization analysis to optimization designs for state space models (https://openreview.net/forum?id=EGjvMcKrrl)
In this paper, we theoretically study the generalization of SSMs and propose improvements to training algorithms based on the generalization results. Specifically, we give a data-dependent generalization bound for SSMs, showing an interplay between the SSM parameters and the temporal dependencies of the training sequences. Leveraging the generalization bound, we (1) set up a scaling rule for model initialization based on the proposed generalization measure, which significantly improves the robustness of SSMs to different temporal patterns in the sequence data; (2) introduce a new regularization method for training SSMs to enhance the generalization performance. Numerical results are conducted to validate our results.
A 2-Dimensional State Space Layer for Spatial Inductive Bias (https://openreview.net/forum?id=BGkqypmGvm)
We leverage an expressive variation of the multidimensional State Space Model (SSM). Our approach introduces efficient parameterization, accelerated computation, and a suitable normalization scheme. Empirically, we observe that incorporating our layer at the beginning of each transformer block of Vision Transformers (ViT) significantly enhances performance for multiple ViT backbones and across datasets. The new layer is effective even with a negligible amount of additional parameters and inference time.
Vision task
Hieros: Hierarchical Imagination on Structured State Space Sequence World Models (https://openreview.net/forum?id=5j6wtOO6Fk)
We propose HIEROS, a hierarchical policy that learns time abstracted world representations and imagines trajectories at multiple time scales in latent space. HIEROS uses an S5 layer-based world model, which predicts next world states in parallel during training and iteratively during environment interaction. Due to the special properties of S5 layers, our method can train in parallel and predict next world states iteratively during imagination. This allows for more efficient training than RNN-based world models and more efficient imagination than Transformer-based world models.
Reinforcement Learning (Use SSM instead of Transformer)
S4++: Elevating Long Sequence Modeling with State Memory Reply (https://openreview.net/forum?id=bdnw4qjfH9)
Our findings indicate that NSS primarily results from the sampling steps, and the integration of multi-state inputs into the current state significantly contributes to the mitigation of NSS. Building upon these theoretical analyses and findings, we propose a simple, yet effective, theoretically grounded State Memory Reply (SMR) mechanism that leverages learnable memories to incorporate multi-state information into the current state.
Stability
Mamba: Linear-Time Sequence Modeling with Selective State Spaces (https://openreview.net/forum?id=AL1fq05o7H)
Many subquadratic-time architectures such as linear attention, gated convolution and recurrent models, and structured state space models (SSMs) have been developed to address Transformers' computational inefficiency on long sequences, but they have not performed as well as attention on important modalities such as language. We identify that a key weakness of such models is their inability to perform content-based reasoning, and make several improvements. First, simply letting the SSM parameters be functions of the input addresses their weakness with discrete modalities, allowing the model to selectively propagate or forget information along the sequence length dimension depending on the current token. Second, even though this change prevents the use of efficient convolutions, we design a hardware-aware parallel algorithm in recurrent mode. We integrate these selective SSMs into a simplified end-to-end neural network architecture without attention or even MLP blocks (Mamba).
Time-dependent or input-dependent state-space models + Hardware acceleration
A very nice analysis in Chinese: https://zhuanlan.zhihu.com/p/661237120.
Gated recurrent neural networks discover attention (https://openreview.net/forum?id=rfSfDSFrRL)
These modern RNNs feature a prominent design pattern: linear recurrent layers interconnected by feedforward paths with multiplicative gating. Here, we show how RNNs equipped with these two design elements can exactly implement (linear) self-attention, the main building block of Transformers.
By reverse-engineering a set of trained RNNs, we find that gradient descent in practice discovers our construction. In particular, we examine RNNs trained to solve simple in-context learning tasks on which Transformers are known to excel and find that gradient descent instills in our RNNs the same attention-based in-context learning algorithm used by Transformers.
Naive question: What's the difference in contribution sense against Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention.
Universality of SSM + Optimization verification over ICL
GateLoop: Fully Data-Controlled Linear Recurrence for Sequence Modeling (https://openreview.net/forum?id=02Ug9N8DCI)
We develop GateLoop, a foundational sequence model that generalizes linear recurrent models such as S4, S5, LRU and RetNet, by employing data-controlled state transitions. Furthermore, we derive an $O(l^2)$ surrogate-attention mode, revealing remarkable implications for Transformer and recently proposed architectures. While many existing models solely rely on data-controlled cumulative sums for context aggregation, our findings suggest that incorporating data-controlled complex cumulative products may be a crucial step towards more powerful sequence models.
Data-controlled state transitions sound similar to 9, TODO comparison Official GitHub Unofficial GitHub
Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priors (https://openreview.net/forum?id=PdaPky8MUn)
In this work, we show that random initialization leads to gross overestimation of the differences between architectures and that pretraining with standard denoising objectives, using only the downstream task data, leads to dramatic gains across multiple architectures and to very small gaps between Transformers and state space models (SSMs). In stark contrast to prior works, we find vanilla Transformers to match the performance of S4 on Long Range Arena when properly pretrained, and we improve the best reported results of SSMs on the PathX-256 task by 20 absolute points. Subsequently, we analyze the utility of previously-proposed structured parameterizations for SSMs and show they become mostly redundant in the presence of data-driven initialization obtained through pretraining. Our work shows that, when evaluating different architectures on supervised tasks, incorporation of data-driven priors via pretraining is essential for reliable performance estimation, and can be done efficiently.
Mastering Memory Tasks with World Models (https://openreview.net/forum?id=1vDArHJ68h)
To improve temporal coherence, we integrate a new family of state space models (SSMs) in world models of MBRL agents to present a new method, Recall to Imagine (R2I). This integration aims to enhance both long-term memory and long-horizon credit assignment. Through a diverse set of illustrative tasks, we systematically demonstrate that R2I establishes a new state-of-the-art performance in challenging memory and credit assignment RL tasks, such as Memory Maze, BSuite, and POPGym. We also show that R2I is faster than the state-of-the-art MBRL method, DreamerV3, resulting in faster wall-time convergence.
Reinforcement Learning GitHub
RetNet (https://arxiv.org/abs/2307.08621) GitHub
Zoology (https://arxiv.org/abs/2312.04927) GitHub
Structured state-space models are deep Wiener models (https://arxiv.org/abs/2312.06211)
State-space Models with Layer-wise Nonlinearity are Universal Approximators with Exponential Decaying Memory (https://arxiv.org/abs/2309.13414)
The authors show that the layer-wise nonlinearity is enough to achieve the universality when the state-space models are multi-layer.
It is also shown that similar to traditional nonlinear recurrent neural networks, SSMs also suffer from the aymptotically exponential memory decay.
Sparse Modular Activation for Efficient Sequence Modeling (SMA) (https://arxiv.org/abs/2306.11197) GitHub
SSM + Attention, SOTA at LRA.
We design a novel neural architecture, SeqBoat, which employs SMA to sparsely activate a Gated Attention Unit (GAU) based on the state representations learned from an SSM.
Laughing Hyena Distillery: Extracting Compact Recurrences from Convolutions (https://arxiv.org/abs/2310.18780)
Given a convolution-based Hyena model, the authors want to extract the recurrent weights for the convolution kernel so that the convolution model can be converted into a recurrent models. Method used are based on Hankel matrix SVD.
Structured State Space Models for In-Context Reinforcement Learning (https://arxiv.org/abs/2303.03982) GitHub
We propose a modification to a variant of S4 that enables us to initialise and reset the hidden state in parallel, allowing us to tackle reinforcement learning tasks. We show that our modified architecture runs asymptotically faster than Transformers in sequence length and performs better than RNN's on a simple memory-based task.
Convolutional State Space Models for Long-Range Spatiotemporal Modeling (https://arxiv.org/abs/2310.19694) GitHub
(Spotlight) Hierarchically Gated Recurrent Neural Network for Sequence Modeling (https://arxiv.org/abs/2311.04823) GitHub
Resurrecting Recurrent Neural Networks for Long Sequences (https://icml.cc/virtual/2023/oral/25438)
Hyena Hierarchy: Towards Larger Convolutional Language Models (https://arxiv.org/abs/2302.10866) GitHub
Neural Continuous-Discrete State Space Models for Irregularly-Sampled Time Series (https://icml.cc/virtual/2023/oral/25554) GitHub
See github repo State-spaces for S4, including HiPPO, LSSL, SaShiMi, DSS, HTTYH, S4D, and S4ND, GSS
[S5] Simplified State Space Layers for Sequence Modeling (ICLR 2023) (https://openreview.net/forum?id=Ai8Hw3AXqks) GitHub
[Liquid SSM] Liquid Structural State-Space Models (ICLR 2023) (https://openreview.net/forum?id=g4OTKRKfS7R) GitHub
[Parallel scan] Parallelizing Linear Recurrent Neural Nets Over Sequence Length (ICLR 2018) (https://openreview.net/forum?id=HyUNwulC-) GitHub
Bayesian state-space models GitHub.
Another very good note is: Bayesian State Space Methods by Gary Koop (archived; the Strathclyde original is gone).
Mega: Moving Average Equipped Gated Attention (Mega) GitHub
The State Space of Complex Systems (thesis by Frank Heilmann) https://d-nb.info/1212365704/34
174 commits
1 commits