The Hidden Attention of Mamba Models
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
The Mamba layer offers an efficient selective state space model (SSM) that is highly effective in modeling multiple domains, including NLP, long-range sequence processing, and computer vision. Selective SSMs are viewed as dual models, in which one trains in parallel on the entire sequence via an IO-aware parallel scan, and deploys in an autoregressive manner. We add a third view and show that such models can be viewed as attention-driven models. This new perspective enables us to empirically and theoretically compare the underlying mechanisms to that of the self-attention layers in transformers and allows us to peer inside the inner workings of the Mamba model with explainability methods. Our code is publicly available.
Key facts. Cited by 88 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 76 of its 84 references that are in the map. First posted on arXiv 3 Mar 2024.
Builds on
76 of 84 references.
Closest ancestors · 12
Same direction, newest first
- 2024Mamba-ND: Selective State Space Modeling for Multi-Dimensional Data8 Feb
- 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks6 Feb
- 2024Is Mamba Capable of In-Context Learning?5 Feb
- 2024BlackMamba: Mixture of Experts for State-Space Models1 Feb
- 2024MambaByte: Token-free Selective State Space Model24 Jan
- 2024MambaTab: A Plug-and-Play Model for Learning Tabular Data16 Jan
- 2024MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts8 Jan
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
- 2023Structured State Space Models for In-Context Reinforcement Learning7 Mar
- 2022Simplified State Space Layers for Sequence Modeling9 Aug
- 2022Diagonal State Spaces are as Effective as Structured State Spaces27 Mar
- 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct
Other references · 64
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2020GLU Variants Improve Transformercited by 1,724
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
- 2024VMamba: Visual State Space Modelcited by 955
38 more
- 2019Attention is not Explanationcited by 916
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
- 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 611
- 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
- 2024U-Mamba: Enhancing Long-range Dependency for Biomedical Image Segmentationcited by 412
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 316
- 2024VM-UNet: Vision Mamba UNet for Medical Image Segmentationcited by 286
- 2024SegMamba: Long-range Sequential Modeling Mamba For 3D Medical Image Segmentationcited by 266
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2022Transformer Quality in Linear Timecited by 189
- 2024Swin-UMamba: Mamba-based UNet with ImageNet-based pretrainingcited by 179
- 2022Mega: Moving Average Equipped Gated Attentioncited by 178
- 2022It's Raw! Audio Generation with State-Space Modelscited by 171
- 2022Anti-Oversmoothing in Deep Vision Transformers via the Fourier Domain Analysis: From Theory to Practicecited by 136
- 2024Mamba-UNet: UNet-Like Pure Visual Mamba for Medical Image Segmentationcited by 133
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 132
- 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
- 2017Parallelizing Linear Recurrent Neural Nets Over Sequence Lengthcited by 126
- 2021CKConv: Continuous Kernel Convolution For Sequential Datacited by 117
- 2023Selective Structured State-Spaces for Long-Form Video Understandingcited by 105
- 2022XAI for Transformers: Better Explanations through Conservative Propagationcited by 100
- 2022Global Context Vision Transformerscited by 98
- 2017Explaining Recurrent Neural Network Predictions in Sentiment Analysiscited by 87
- 2024Graph Mamba: Towards Learning on Graphs with State Space Modelscited by 84
- 2023Diffusion Models Without Attentioncited by 75
- 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
- 2023Token Contrast for Weakly-Supervised Semantic Segmentationcited by 64
- 2024Vivim: a Video Vision Mamba for Medical Video Segmentationcited by 51
- 2019Relative Attributing Propagation: Interpreting the Comparative Contributions of Individual Units in Deep Neural Networkscited by 49
- 2021Vision Transformers with Patch Diversificationcited by 45
- 2024nnMamba: 3D Biomedical Image Segmentation, Classification and Landmark Detection with State Space Modelcited by 45
- 2023Replacing softmax with ReLU in Vision Transformerscited by 43
- 2022Optimizing Relevance Maps of Vision Transformers Improves Robustnesscited by 41
- 2023Mitigating Over-smoothing in Transformers via Regularized Nonlocal Functionalscited by 31
50 most cited of 64 All 64 (JSON)
Built on by
Citing papers per year: 2024: 44; 2025: 31; 2026: 13.
88 papers.
Sort:
By area:
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 95
- 2024ZigMa: A DiT-style Zigzag Mamba Diffusion Modelcited by 84
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2024TimeMachine: A Time Series is Worth 4 Mambas for Long-term Forecastingcited by 63
- 2024State Space Model for New-Generation Network Alternative to Transformers: A Surveycited by 59
- 2024DeciMamba: Exploring the Length Extrapolation Potential of Mambacited by 45
- 2024Visual Mamba: A Survey and New Outlookscited by 41
- 2024MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selectioncited by 40
38 more
- 2025LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargementcited by 36
- 2024Locating and Editing Factual Associations in Mambacited by 35
- 2024MambaLRP: Explaining Selective State Space Sequence Modelscited by 31
- 2024Towards Universality: Studying Mechanistic Similarity Across Language Model Architecturescited by 31
- 2024Exploring Token Pruning in Vision State Space Modelscited by 27
- 2024Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networkscited by 26
- 2024VFIMamba: Video Frame Interpolation with State Space Modelscited by 22
- 2024State Space Models as Foundation Models: A Control Theoretic Overviewcited by 18
- 2024Mamba in Vision: A Comprehensive Survey of Techniques and Applicationscited by 18
- 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothingcited by 17
- 2024Mimetic Initialization Helps State Space Models Learn to Recallcited by 15
- 2025Understanding the Skill Gap in Recurrent Language Models: The Role of the Gather-and-Aggregate Mechanismcited by 15
- 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insightscited by 13
- 2024Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulationcited by 11
- 2024TSCMamba: Mamba Meets Multi-View Learning for Time Series Classificationcited by 10
- 2024Provable Benefits of Complex Parameterizations for Structured State Space Modelscited by 9
- 2024Deep Continuous-Time State-Space Models for Marked Event Sequencescited by 9
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mambacited by 9
- 2025MamBEV: Enabling State Space Models to Learn Birds-Eye-View Representationscited by 8
- 2024Is Mamba Compatible with Trajectory Optimization in Offline Reinforcement Learning?cited by 7
- 2025Revisiting associative recall in modern recurrent modelscited by 7
- 2024Mamba4KT:An Efficient and Effective Mamba-based Knowledge Tracing Modelcited by 6
- 20241.5-Pints Technical Report: Pretraining in Days, Not Months -- Your Language Model Thrives on Quality Datacited by 6
- 2025Dynamic Vision Mambacited by 6
- 2025Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainabilitycited by 6
- 2024Mamba-ST: State Space Model for Efficient Style Transfercited by 5
- 2025Generalization Error Analysis for Selective State-Space Models Through the Lens of Attentioncited by 5
- 2025OuroMamba: A Data-Free Quantization Framework for Vision Mambacited by 5
- 2024Cross-attention Inspired Selective State Space Models for Target Sound Extractioncited by 4
- 2024Lambda-Skip Connections: the architectural component that prevents Rank Collapsecited by 4
- 2024START: A Generalized State Space Model with Saliency-Driven Token-Aware Transformationcited by 4
- 2025Mamba Knockout for Unraveling Factual Information Flowcited by 4
- 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridgecited by 4
- 2025TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video Understandingcited by 4
- 2024UmambaTSF: A U-shaped Multi-Scale Long-Term Time Series Forecasting Method Using Mambacited by 3
- 2024NIMBA: Towards Robust and Principled Processing of Point Clouds With SSMscited by 3
- 2024A Comparative Study on Dynamic Graph Embedding based on Mamba and Transformerscited by 3
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approachcited by 3
50 most cited of 88 All 88 (JSON)
- 2026DR-net-Mamba: Selective State-Space Modeling for Long-Range ECG Time-Series Denoising28 Sep 2026
- 2026Token Clustering and Semantic Sequence Mamba for Hyperspectral Image Classification23 Sep 2026
- 2026The Attention Within: Consensus Dynamics in Selective State Space Models16 Sep 2026
- 2026An Exact Instrument for State Usage in Selective State-Space Models, and the Input-Driven Migration It Reveals13 Jul 2026
- 2026All Routes Lead to Collapse21 Jun 2026
- 2026A Circuit, Not The Circuit: Non-Unique Causal Localisation of the Mamba-2 State Sink30 May 2026
- 2026Density Field State Space Models: 1-Bit Distillation, Efficient Inference, and Knowledge Organization in Mamba-228 Apr 2026
- 2026DeformTrace: A Deformable State Space Model with Relay Tokens for Temporal Forgery Localization5 Mar 2026
- 2026MixerCSeg: An Efficient Mixer Architecture for Crack Segmentation via Decoupled Mamba Attention2 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
38 more
- 2026Power-based Partial Attention: Bridging Linear-Complexity and Full Attention24 Jan 2026
- 2025PerfMamba: Performance Analysis and Pruning of Selective State Space Models28 Nov 2025
- 2025RNN as Linear Transformer: A Closer Investigation into Representational Potentials of Visual Mamba Models23 Nov 2025
- 2025Controllability Analysis of State Space-based Language Model22 Nov 2025
- 2025TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video Understanding20 Nov 2025
- 2025X-VMamba: Explainable Vision Mamba16 Nov 2025
- 2025Dual Mamba for Node-Specific Representation Learning: Tackling Over-Smoothing with Selective State Space Modeling10 Nov 2025
- 2025Beyond Semantics: How Temporal Biases Shape Retrieval in Transformer and State-Space Models26 Oct 2025
- 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridge22 Oct 2025
- 2025Evaluating protein binding interfaces with PUMBA19 Oct 2025
- 2025Design Principles for Sequence Models via Coefficient Dynamics10 Oct 2025
- 2025A Comparative Analysis of Contextual Representation Flow in State-Space and Transformer Architectures8 Oct 2025
- 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insights6 Oct 2025
- 2025SSM-CGM: Interpretable State-Space Forecasting Model of Continuous Glucose Monitoring for Personalized Diabetes Management5 Oct 2025
- 2025How Can Mamba Learn In Context with Outliers and Generalize Provably?1 Oct 2025
- 2025Sequential Token Merging: Revisiting Hidden States19 Sep 2025
- 2025Revisiting associative recall in modern recurrent models26 Aug 2025
- 2025Change of Thought: Adaptive Test-Time Computation17 Jul 2025
- 2025Differential Mamba8 Jul 2025
- 2025Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainability2 Jun 2025
- 2025Mamba Knockout for Unraveling Factual Information Flow30 May 2025
- 2025Sparsified State-Space Models are Efficient Highway Networks27 May 2025
- 2025Understanding the Skill Gap in Recurrent Language Models: The Role of the Gather-and-Aggregate Mechanism22 Apr 2025
- 2025LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargement22 Apr 2025
- 2025Dynamic Vision Mamba7 Apr 2025
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba22 Mar 2025
- 2025MamBEV: Enabling State Space Models to Learn Birds-Eye-View Representations18 Mar 2025
- 2025OuroMamba: A Data-Free Quantization Framework for Vision Mamba13 Mar 2025
- 2025MambaFlow: A Mamba-Centric Architecture for End-to-End Optical Flow Estimation10 Mar 2025
- 2025LaTIM: Measuring Latent Token-to-Token Interactions in Mamba Models21 Feb 2025
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approach4 Feb 2025
- 2025Generalization Error Analysis for Selective State-Space Models Through the Lens of Attention3 Feb 2025
- 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing31 Dec 2024
- 2024Deep Continuous-Time State-Space Models for Marked Event Sequences27 Dec 2024
- 2024A Comparative Study on Dynamic Graph Embedding based on Mamba and Transformers15 Dec 2024
- 2024Hymba: A Hybrid-head Architecture for Small Language Models20 Nov 2024
- 2024SambaMixer: State of Health Prediction of Li-ion Batteries using Mamba State Space Models31 Oct 2024
- 2024NIMBA: Towards Robust and Principled Processing of Point Clouds With SSMs31 Oct 2024
50 newest of 88 All 88 (JSON)
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
- 2024TimeMachine: A Time Series is Worth 4 Mambas for Long-term Forecastingcited by 63
- 2024DeciMamba: Exploring the Length Extrapolation Potential of Mambacited by 45
- 2024Visual Mamba: A Survey and New Outlookscited by 41
- 2024MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selectioncited by 40
- 2025LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargementcited by 36
- 2024Locating and Editing Factual Associations in Mambacited by 35
- 2024MambaLRP: Explaining Selective State Space Sequence Modelscited by 31
- 2024Towards Universality: Studying Mechanistic Similarity Across Language Model Architecturescited by 31
- 2024Mamba in Vision: A Comprehensive Survey of Techniques and Applicationscited by 18
- 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothingcited by 17
12 most cited of 57 All 57 (JSON)
- 2026DR-net-Mamba: Selective State-Space Modeling for Long-Range ECG Time-Series Denoising28 Sep 2026
- 2026Token Clustering and Semantic Sequence Mamba for Hyperspectral Image Classification23 Sep 2026
- 2026The Attention Within: Consensus Dynamics in Selective State Space Models16 Sep 2026
- 2026An Exact Instrument for State Usage in Selective State-Space Models, and the Input-Driven Migration It Reveals13 Jul 2026
- 2026A Circuit, Not The Circuit: Non-Unique Causal Localisation of the Mamba-2 State Sink30 May 2026
- 2026Density Field State Space Models: 1-Bit Distillation, Efficient Inference, and Knowledge Organization in Mamba-228 Apr 2026
- 2026MixerCSeg: An Efficient Mixer Architecture for Crack Segmentation via Decoupled Mamba Attention2 Mar 2026
- 2026Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks26 Feb 2026
- 2025PerfMamba: Performance Analysis and Pruning of Selective State Space Models28 Nov 2025
- 2025RNN as Linear Transformer: A Closer Investigation into Representational Potentials of Visual Mamba Models23 Nov 2025
- 2025Controllability Analysis of State Space-based Language Model22 Nov 2025
- 2025X-VMamba: Explainable Vision Mamba16 Nov 2025
12 newest of 57 All 57 (JSON)
- 2024ZigMa: A DiT-style Zigzag Mamba Diffusion Modelcited by 84
- 2024Mamba-ST: State Space Model for Efficient Style Transfercited by 5
- 2024Mamba-ST: State Space Model for Efficient Style Transfer16 Sep 2024
- 2024ZigMa: A DiT-style Zigzag Mamba Diffusion Model20 Mar 2024
- 2024Exploring Token Pruning in Vision State Space Modelscited by 27
- 2025Sparsified State-Space Models are Efficient Highway Networkscited by 0
- 2025Sparsified State-Space Models are Efficient Highway Networks27 May 2025
- 2024Exploring Token Pruning in Vision State Space Models27 Sep 2024
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar 2024
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 95
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2024State Space Model for New-Generation Network Alternative to Transformers: A Surveycited by 59
- 2024Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networkscited by 26
- 2024VFIMamba: Video Frame Interpolation with State Space Modelscited by 22
- 2024State Space Models as Foundation Models: A Control Theoretic Overviewcited by 18
- 2025Understanding the Skill Gap in Recurrent Language Models: The Role of the Gather-and-Aggregate Mechanismcited by 15
- 2024Deep Continuous-Time State-Space Models for Marked Event Sequencescited by 9
- 2025MamBEV: Enabling State Space Models to Learn Birds-Eye-View Representationscited by 8
- 2025Revisiting associative recall in modern recurrent modelscited by 7
- 20241.5-Pints Technical Report: Pretraining in Days, Not Months -- Your Language Model Thrives on Quality Datacited by 6
12 most cited of 25 All 25 (JSON)
- 2026All Routes Lead to Collapse21 Jun 2026
- 2026DeformTrace: A Deformable State Space Model with Relay Tokens for Temporal Forgery Localization5 Mar 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
- 2026Power-based Partial Attention: Bridging Linear-Complexity and Full Attention24 Jan 2026
- 2025Beyond Semantics: How Temporal Biases Shape Retrieval in Transformer and State-Space Models26 Oct 2025
- 2025Design Principles for Sequence Models via Coefficient Dynamics10 Oct 2025
- 2025A Comparative Analysis of Contextual Representation Flow in State-Space and Transformer Architectures8 Oct 2025
- 2025SSM-CGM: Interpretable State-Space Forecasting Model of Continuous Glucose Monitoring for Personalized Diabetes Management5 Oct 2025
- 2025Revisiting associative recall in modern recurrent models26 Aug 2025
- 2025Change of Thought: Adaptive Test-Time Computation17 Jul 2025
- 2025Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainability2 Jun 2025
12 newest of 25 All 25 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Visual Attention Exploration in Vision-Based Mamba Models
- 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic data
- 2026InfoMamba: An Attention-Free Hybrid Mamba-Transformer Model
- 2024An Empirical Study of Mamba-based Language Models
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognition
- 2024MambaOut: Do We Really Need Mamba for Vision?
- 2024A Survey on Visual Mamba
- 2025A Separable Self-attention Inspired by the State Space Model for Computer Vision