Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
Recent advances in efficient sequence modeling have led to attention-free layers, such as Mamba, RWKV, and various gated RNNs, all featuring sub-quadratic complexity in sequence length and excellent scaling properties, enabling the construction of a new type of foundation models. In this paper, we present a unified view of these models, formulating such layers as implicit causal self-attention layers. The formulation includes most of their sub-components and is not limited to a specific part of the architecture. The framework compares the underlying mechanisms on similar grounds for different layers and provides a direct means for applying explainability methods. Our experiments show that our attention matrices and attribution method outperform an alternative and a more limited formulation that was recently proposed for Mamba. For the other architectures for which our method is the first to provide such a view, our method is effective and competitive in the relevant metrics compared to the results obtained by state-of-the-art Transformer explainability methods. Our code is publicly available.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 60 of its 67 references that are in the map. First posted on arXiv 26 May 2024.
Builds on
60 of 67 references.
Closest ancestors · 8
Same direction, newest first
- 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar
- 2024The Hidden Attention of Mamba Models3 Mar
- 2024BlackMamba: Mixture of Experts for State-Space Models1 Feb
- 2024MambaByte: Token-free Selective State Space Model24 Jan
- 2023Gated Linear Attention Transformers with Hardware-Efficient Training11 Dec
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
- 2022Simplified State Space Layers for Sequence Modeling9 Aug
- 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct
Other references · 52
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,548
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
- 2024VMamba: Visual State Space Modelcited by 955
- 2019Attention is not Explanationcited by 916
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
38 more
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 316
- 2020Self-supervised Equivariant Attention Mechanism for Weakly Supervised Semantic Segmentationcited by 299
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 188
- 2022Mega: Moving Average Equipped Gated Attentioncited by 178
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 132
- 2017Parallelizing Linear Recurrent Neural Nets Over Sequence Lengthcited by 126
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2022Learning Affinity from Attention: End-to-End Weakly-Supervised Semantic Segmentation with Transformerscited by 118
- 2021An Attention Free Transformercited by 111
- 2022XAI for Transformers: Better Explanations through Conservative Propagationcited by 100
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 97
- 2024Graph Mamba: Towards Learning on Graphs with State Space Modelscited by 84
- 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
- 2023Token Contrast for Weakly-Supervised Semantic Segmentationcited by 64
- 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 57
- 2022Entropy-based Attention Regularization Frees Unintended Bias Mitigation from Listscited by 54
- 2022Pretraining Without Attentioncited by 51
- 2023Post Hoc Explanations of Language Models Can Improve Language Modelscited by 50
- 2019Relative Attributing Propagation: Interpreting the Comparative Contributions of Individual Units in Deep Neural Networkscited by 49
- 2023GateLoop: Fully Data-Controlled Linear Recurrence for Sequence Modelingcited by 45
- 2022Optimizing Relevance Maps of Vision Transformers Improves Robustnesscited by 41
- 2018Multi-Head Attention with Disagreement Regularizationcited by 35
- 2020Visualization of Supervised and Self-Supervised Neural Networks via Attribution Guided Factorizationcited by 23
- 20232-D SSM: A General Spatial Layer for Visual Transformerscited by 18
- 2023Focus Your Attention (with Adaptive IIR Filters)cited by 12
- 2023On the Long Range Abilities of Transformerscited by 10
- 2023Weigh Your Own Words: Improving Hate Speech Counter Narrative Generation via Attention Regularizationcited by 7
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2025: 6; 2026: 5.
11 papers.
- 2025Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainabilitycited by 6
- 2025TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video Understandingcited by 4
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approachcited by 3
- 2026Interpreting and Steering State-Space Models via Activation Subspace Bottleneckscited by 3
- 2025State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understandingcited by 2
- 2026TensorLens: End-to-End Transformer Analysis via High-Order Attention Tensorscited by 1
- 2026Towards Understanding What State Space Models Learn About Codecited by 1
- 2026RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic Segmentationcited by 1
- 2026SHiPPO: Recurrent Memory with Transported Polynomial Projectionscited by 1
- 2025Beyond BEV: Optimizing Point-Level Tokens for Collaborative Perceptioncited by 0
- 2025Beyond Semantics: How Temporal Biases Shape Retrieval in Transformer and State-Space Modelscited by 0
- 2026SHiPPO: Recurrent Memory with Transported Polynomial Projections3 Jul 2026
- 2026RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic Segmentation25 Mar 2026
- 2026Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks26 Feb 2026
- 2026Towards Understanding What State Space Models Learn About Code6 Feb 2026
- 2026TensorLens: End-to-End Transformer Analysis via High-Order Attention Tensors25 Jan 2026
- 2025TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video Understanding20 Nov 2025
- 2025Beyond Semantics: How Temporal Biases Shape Retrieval in Transformer and State-Space Models26 Oct 2025
- 2025State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understanding14 Oct 2025
- 2025Beyond BEV: Optimizing Point-Level Tokens for Collaborative Perception27 Aug 2025
- 2025Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainability2 Jun 2025
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approach4 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden States
- 2026SMat-Attention: Structured Long-Context Sequence Modeling
- 2025Log-Linear Attention
- 2024Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networks
- 2022Simplifying and Understanding State Space Models with Diagonal Linear RNNs
- 2025Linear Attention for Efficient Bidirectional Sequence Modeling
- 2025Gated Associative Memory: A Parallel O(N) Architecture for Efficient Sequence Modeling
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba