Where Should a Gate Look? Input vs. State Gating in Diagonal State Space Models
Not on the map. Why?
Abstract (arXiv)
Modern state-space models owe much of their computational efficiency to their linear, often diagonal, dynamics. Classical recurrent neural networks instead allow nonlinear state-to-state interactions, which can be beneficial when memory updates need to depend on the past context. In this paper, we ask whether state feedback through a simple gate regulating memory updates can enhance the expressivity of diagonal state-space models. To investigate this question, we compare gates that depend on the current input, the recurrent state, or both. We establish a strict expressivity separation: for scalar models, state gating solves induction-head tasks for arbitrary vocabulary size and sequence length, whereas input gating fails on a finite instance under standard stability assumptions on the state transition matrix. Experiments show that state gating retains its advantage on induction-head tasks in higher-dimensional models, whereas input gating performs better on selective copying tasks. Together, our results show that even a simple, diagonal form of state-feedback gating can unlock capabilities unavailable to input-controlled models, while input and state gating offer complementary strengths and achieve the strongest overall performance when combined.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 36 of its 50 references that are in the map. Submitted 8 Nov 2026.
Builds on
36 of 50 references.
References · 36
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,611
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,336
- 2022Simplified State Space Layers for Sequence Modelingcited by 818
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 523
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 455
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 441
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 415
- 2024Titans: Learning to Memorize at Test Timecited by 383
- 2024xLSTM: Extended Long Short-Term Memorycited by 359
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 245
24 more
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 236
- 2024The Illusion of State in State-Space Modelscited by 210
- 2022It's Raw! Audio Generation with State-Space Modelscited by 176
- 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 155
- 2017Parallelizing Linear Recurrent Neural Nets Over Sequence Lengthcited by 142
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 121
- 2024Unlocking State-Tracking in Linear RNNs Through Negative Eigenvaluescited by 119
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 95
- 2024Theoretical Foundations of Deep Selective State-Space Modelscited by 81
- 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 72
- 2020A Formal Hierarchy of RNN Architecturescited by 63
- 2023Parallelizing non-linear sequential models over the sequence lengthcited by 53
- 2024Were RNNs All We Needed?cited by 45
- 2024Towards Scalable and Stable Parallelization of Nonlinear RNNscited by 44
- 2023Universality of Linear Recurrences Followed by Non-linear Projections: Finite-Width Guarantees and Benefits of Complex Eigenvaluescited by 40
- 2023State-space Models with Layer-wise Nonlinearity are Universal Approximators with Exponential Decaying Memorycited by 40
- 2024State Space Models as Foundation Models: A Control Theoretic Overviewcited by 21
- 2025Structured Sparse Transition Matrices to Enable State Tracking in State-Space Modelscited by 21
- 2025ParaRNN: Unlocking Parallel Training of Nonlinear RNNs for Large Language Modelscited by 17
- 2026The Expressive Limits of Diagonal SSMs for State-Trackingcited by 14
- 2022Minimal Width for Universal Property of Deep RNNcited by 13
- 2025Parallelization of Non-linear State-Space Models: Scaling Up Liquid-Resistance Liquid-Capacitance Networks for Efficient Sequence Modelingcited by 11
- 2025Understanding Input Selectivity in Mamba: Impact on Approximation Power, Memorization, and Associative Recall Capacitycited by 9
- 2025Context-Selective State Space Models: Feedback is All You Needcited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026On the Importance of Gating: Memorization vs. In-Context Learning in State Space Models
- 2026SDG: State-Dependent Gating at Chunk Boundaries for Linear Attention
- 2024Mathematical Formalism for Memory Compression in Selective State Space Models
- 2026Improved state mixing in higher-order and block diagonal linear recurrent networks
- 2026Rethinking State Tracking in Recurrent Models Through Error Control Dynamics
- 2025Memory Determines Learning Direction: A Theory of Gradient-Based Optimization in State Space Models
- 2024State Soup: In-Context Skill Learning, Retrieval and Mixing
- 2023State space models can express n-gram languages