Demystify Mamba in Vision: A Linear Attention Perspective
On the map: State-space sequence models (S4, Mamba) → Vision Mamba backbones
Abstract (arXiv)
Mamba is an effective state space model with linear computation complexity. It has recently shown impressive efficiency in dealing with high-resolution inputs across various vision tasks. In this paper, we reveal that the powerful Mamba model shares surprising similarities with linear attention Transformer, which typically underperform conventional Transformer in practice. By exploring the similarities and disparities between the effective Mamba and subpar linear attention Transformer, we provide comprehensive analyses to demystify the key factors behind Mamba's success. Specifically, we reformulate the selective state space model and linear attention within a unified formulation, rephrasing Mamba as a variant of linear attention Transformer with six major distinctions: input gate, forget gate, shortcut, no attention normalization, single-head, and modified block design. For each design, we meticulously analyze its pros and cons, and empirically evaluate its impact on model performance in vision tasks. Interestingly, the results highlight the forget gate and block design as the core contributors to Mamba's success, while the other four designs are less crucial. Based on these findings, we propose a Mamba-Inspired Linear Attention (MILA) model by incorporating the merits of these two key designs into linear attention. The resulting model outperforms various vision Mamba models in both image classification and high-resolution dense prediction tasks, while enjoying parallelizable computation and fast inference speed. Code is available at https://github.com/LeapLabTHU/MLLA.
Key facts. Cited by 101 papers in the map (data through 7 Oct 2026). Placed in Vision Mamba backbones, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 53 of its 58 references that are in the map. First posted on arXiv 26 May 2024.
Builds on
53 of 58 references.
Closest ancestors · 5
Same direction, newest first
- 2024MambaOut: Do We Really Need Mamba for Vision?13 May
- 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognition26 Mar
- 2024EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mamba15 Mar
- 2024LocalMamba: Visual State Space Model with Windowed Selective Scan14 Mar
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model17 Jan
Other references · 48
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2017Mask R-CNNcited by 7,259
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022A ConvNet for the 2020scited by 3,545
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
36 more
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2020Rethinking Attention with Performerscited by 1,584
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2017Random Erasing Data Augmentationcited by 1,235
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2024VMamba: Visual State Space Modelcited by 955
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 516
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2021Conditional Positional Encodings for Vision Transformerscited by 402
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2018Efficient Attention: Attention with Linear Complexitiescited by 366
- 2022Vision Transformer with Deformable Attentioncited by 293
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 286
- 2022Neighborhood Attention Transformercited by 235
- 2022cosFormer: Rethinking Softmax in Attentioncited by 212
- 2022Transformer Quality in Linear Timecited by 189
- 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 170
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
- 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
- 2022Sharpness-Aware Training for Freecited by 95
- 2023Agent Attention: On the Integration of Softmax and Linear Attentioncited by 90
- 2024The Hidden Attention of Mamba Modelscited by 88
- 2024Mamba-ND: Selective State Space Modeling for Multi-Dimensional Datacited by 84
- 2024ZigMa: A DiT-style Zigzag Mamba Diffusion Modelcited by 84
- 2023Diffusion Models Without Attentioncited by 75
- 2022Dilated Neighborhood Attention Transformercited by 64
- 2021On the Connection between Local Attention and Dynamic Depth-wise Convolutioncited by 61
- 2022Hydra Attention: Efficient Attention with Many Headscited by 55
- 2022Deep Incubation: Training Large Models by Divide-and-Conqueringcited by 13
- 2022Demystify Transformers & Convolutions in Modern Image Deep Networkscited by 7
- 2021What Makes for Hierarchical Vision Transformer?cited by 4
Built on by
Citing papers per year: 2024: 24; 2025: 49; 2026: 28.
101 papers.
Sort:
By area:
- 2024MambaIRv2: Attentive State Space Restorationcited by 90
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 63
- 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
- 2024LinFusion: 1 GPU, 1 Minute, 16K Imagecited by 42
- 2024Spatial-Mamba: Effective Visual State Space Models via Structure-aware State Fusioncited by 40
- 2024A Survey of Mambacited by 39
- 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
- 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
- 2024QMambaBSR: Burst Image Super-Resolution with Query State Space Modelcited by 27
- 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Upcited by 26
- 2024Mamba in Vision: A Comprehensive Survey of Techniques and Applicationscited by 18
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Dualitycited by 17
38 more
- 2025Rectifying Magnitude Neglect in Linear Attentioncited by 16
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformerscited by 16
- 2025ViT3: Unlocking Test-Time Training in Visioncited by 15
- 2024SpikMamba: When SNN meets Mamba in Event-based Human Action Recognitioncited by 10
- 2024MambaVLT: Time-Evolving Multimodal State Space Model for Vision-Language Trackingcited by 9
- 2025PMA: Towards Parameter-Efficient Point Cloud Understanding via Point Mamba Adaptercited by 9
- 2024ENAT: Rethinking Spatial-temporal Interactions in Token-based Image Synthesiscited by 8
- 2024Mamba-FSCIL: Dynamic Adaptation with Selective State Space Model for Few-Shot Class-Incremental Learningcited by 7
- 2025TransMamba: A Sequence-Level Hybrid Transformer-Mamba Language Modelcited by 7
- 2026Distilled Large Language Model-Driven Dynamic Sparse Expert Activation Mechanismcited by 7
- 2024Exploring the Limitations of Mamba in COPY and CoT Reasoningcited by 6
- 2025Detail Matters: Mamba-Inspired Joint Unfolding Network for Snapshot Spectral Compressive Imagingcited by 6
- 2025DiCo: Revitalizing ConvNets for Scalable and Efficient Diffusion Modelingcited by 6
- 2024CARE Transformer: Mobile-Friendly Linear Visual Transformer via Decoupled Dual Interactioncited by 5
- 2025OuroMamba: A Data-Free Quantization Framework for Vision Mambacited by 5
- 2025ViT-Linearizer: Distilling Quadratic Knowledge into Linear-Time Vision Modelscited by 5
- 2025Linear Attention for Efficient Bidirectional Sequence Modelingcited by 4
- 2025An Efficient and Mixed Heterogeneous Model for Image Restorationcited by 4
- 2025Adaptive Dual-domain Learning for Underwater Image Enhancementcited by 4
- 2025Causal Spatio-Temporal Prediction: An Effective and Efficient Multi-Modal Approachcited by 4
- 2025Scaling Recurrent Neural Networks to a Billion Parameters with Zero-Order Optimizationcited by 4
- 2025VCMamba: Bridging Convolutions with Multi-Directional Mamba for Efficient Visual Representationcited by 4
- 2025URNet: Uncertainty-aware Refinement Network for Event-based Stereo Depth Estimationcited by 4
- 2025Linear Differential Vision Transformer: Learning Visual Contrasts via Pairwise Differentialscited by 4
- 2026ViT-AdaLA: Adapting Vision Transformers with Linear Attentioncited by 4
- 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformerscited by 4
- 2024Rate-Adaptive Generative Semantic Communication Using Conditional Diffusion Modelscited by 3
- 2024Why mamba is effective? Exploit Linear Transformer-Mamba Network for Multi-Modality Image Fusioncited by 3
- 2024OSMamba: Omnidirectional Spectral Mamba with Dual-Domain Prior Generator for Exposure Correctioncited by 3
- 2025MANTA: Diffusion Mamba for Efficient and Effective Stochastic Long-Term Dense Anticipationcited by 3
- 2025MambaFusion: Height-Fidelity Dense Global Fusion for Multi-modal 3D Object Detectioncited by 3
- 2025SAGA: Selective Adaptive Gating for Efficient and Expressive Linear Attentioncited by 3
- 2025MedVSR: Medical Video Super-Resolution with Cross State-Space Propagationcited by 3
- 2025Transformers as Intrinsic Optimizers: Forward Inference through the Energy Principlecited by 3
- 2026Interpreting and Steering State-Space Models via Activation Subspace Bottleneckscited by 3
- 2026Artificial Intelligence for Detecting Fetal Orofacial Clefts and Advancing Medical Educationcited by 3
- 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernelcited by 3
- 2024MLLA-UNet: Mamba-like Linear Attention in an Efficient U-Shape Model for Medical Image Segmentationcited by 2
50 most cited of 101 All 101 (JSON)
- 2026VisionHOPE: Visual Backbones as Self-Modifying Learning Systems27 Sep 2026
- 2026Efficient and High-Quality Depth Estimation via Pixel-Space Diffusion with Linear Attention31 Aug 2026
- 2026VideoSEMA: a scalable and efficient Mamba-like attention for video understanding16 Jul 2026
- 2026Vision Non-Causal Trapezoidal Mamba: Eliminating Directional Scanning in Vision SSMs with Second-Order Dynamics3 Jul 2026
- 2026MambaCount: Efficient Text-guided Open-vocabulary Object Counting with Spatial Sparse State Space Duality Block16 Jun 2026
- 2026Cross-Modality Feature Fusion Based on Structured State Space Duality for Multimodal Image Registration Network2 Jun 2026
- 2026Small Models, Strong Priors: Architectural Inductive Bias for Parameter-Efficient Neural PDE Solvers25 May 2026
- 2026USEMA: a Scalable Efficient Mamba Like Attention for Medical Image Segmentation11 May 2026
- 2026Vision SmolMamba: Spike-Guided Token Pruning for Energy-Efficient Spiking State-Space Vision Models28 Apr 2026
- 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernel22 Apr 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
- 2026Bridging the Geometry Mismatch: Frequency-Aware Anisotropic Serialization for Thin-Structure SSMs30 Mar 2026
38 more
- 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformers27 Mar 2026
- 2026RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic Segmentation25 Mar 2026
- 2026Distilled Large Language Model-Driven Dynamic Sparse Expert Activation Mechanism21 Mar 2026
- 2026Dual-Domain Representation Alignment: Bridging 2D and 3D Vision via Geometry-Aware Architecture Search20 Mar 2026
- 2026ViT-AdaLA: Adapting Vision Transformers with Linear Attention17 Mar 2026
- 2026M2IR: Proactive All-in-One Image Restoration via Mamba-style Modulation and Mixture-of-Experts16 Mar 2026
- 2026Rotation Equivariant Mamba for Vision Tasks10 Mar 2026
- 2026Artificial Intelligence for Detecting Fetal Orofacial Clefts and Advancing Medical Education6 Mar 2026
- 2026CATNet: Collaborative Alignment and Transformation Network for Cooperative Perception5 Mar 2026
- 2026Gated Differential Linear Attention: A Linear-Time Decoder for High-Fidelity Medical Segmentation3 Mar 2026
- 2026Self-Attention And Beyond the Infinite: Towards Linear Transformers with Infinite Self-Attention26 Feb 2026
- 2026Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks26 Feb 2026
- 2026MirrorLA: Reflecting Feature Map for Vision Linear Attention4 Feb 2026
- 2026BioTamperNet: Affinity-Guided State-Space Model Detecting Tampered Biomedical Images1 Feb 2026
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformers1 Feb 2026
- 2026DeMa: Dual-Path Delay-Aware Mamba for Efficient Multivariate Time Series Analysis9 Jan 2026
- 2025ViT3: Unlocking Test-Time Training in Vision1 Dec 2025
- 2025RNN as Linear Transformer: A Closer Investigation into Representational Potentials of Visual Mamba Models23 Nov 2025
- 2025Transformers as Intrinsic Optimizers: Forward Inference through the Energy Principle2 Nov 2025
- 2025Linear Differential Vision Transformer: Learning Visual Contrasts via Pairwise Differentials2 Nov 2025
- 2025Versatile and Efficient Medical Image Super-Resolution Via Frequency-Gated Mamba31 Oct 2025
- 2025DeshadowMamba: Deshadowing as 1D Sequential Similarity28 Oct 2025
- 2025Multi-dataset Joint Pre-training of Emotional EEG Enables Generalizable Affective Computing25 Oct 2025
- 2025State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understanding14 Oct 2025
- 2025How Can Mamba Learn In Context with Outliers and Generalize Provably?1 Oct 2025
- 2025An Enhanced Pyramid Feature Network Based on Long-Range Dependencies for Multi-Organ Medical Image Segmentation29 Sep 2025
- 2025Clebsch-Gordan Transformer: Fast and Global Equivariant Attention28 Sep 2025
- 2025MedVSR: Medical Video Super-Resolution with Cross State-Space Propagation25 Sep 2025
- 2025On Theoretical Interpretations of Concept-Based In-Context Learning25 Sep 2025
- 2025Sequential Token Merging: Revisiting Hidden States19 Sep 2025
- 2025URNet: Uncertainty-aware Refinement Network for Event-based Stereo Depth Estimation18 Sep 2025
- 2025SAGA: Selective Adaptive Gating for Efficient and Expressive Linear Attention16 Sep 2025
- 2025VCMamba: Bridging Convolutions with Multi-Directional Mamba for Efficient Visual Representation4 Sep 2025
- 2025Keyword Mamba: Spoken Keyword Spotting with State Space Models10 Aug 2025
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognition22 Jul 2025
- 2025Training-free Token Reduction for Vision Mamba18 Jul 2025
- 2025MambaFusion: Height-Fidelity Dense Global Fusion for Multi-modal 3D Object Detection6 Jul 2025
- 2025Degrees of Freedom for Linear Attention: Distilling Softmax Attention with Optimal Feature Efficiency4 Jul 2025
50 newest of 101 All 101 (JSON)
- 2024MambaIRv2: Attentive State Space Restorationcited by 90
- 2024Spatial-Mamba: Effective Visual State Space Models via Structure-aware State Fusioncited by 40
- 2024A Survey of Mambacited by 39
- 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
- 2024Mamba in Vision: A Comprehensive Survey of Techniques and Applicationscited by 18
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Dualitycited by 17
- 2024SpikMamba: When SNN meets Mamba in Event-based Human Action Recognitioncited by 10
- 2024MambaVLT: Time-Evolving Multimodal State Space Model for Vision-Language Trackingcited by 9
- 2025PMA: Towards Parameter-Efficient Point Cloud Understanding via Point Mamba Adaptercited by 9
- 2024Mamba-FSCIL: Dynamic Adaptation with Selective State Space Model for Few-Shot Class-Incremental Learningcited by 7
- 2025TransMamba: A Sequence-Level Hybrid Transformer-Mamba Language Modelcited by 7
- 2025Detail Matters: Mamba-Inspired Joint Unfolding Network for Snapshot Spectral Compressive Imagingcited by 6
12 most cited of 46 All 46 (JSON)
- 2026VideoSEMA: a scalable and efficient Mamba-like attention for video understanding16 Jul 2026
- 2026Vision Non-Causal Trapezoidal Mamba: Eliminating Directional Scanning in Vision SSMs with Second-Order Dynamics3 Jul 2026
- 2026MambaCount: Efficient Text-guided Open-vocabulary Object Counting with Spatial Sparse State Space Duality Block16 Jun 2026
- 2026Cross-Modality Feature Fusion Based on Structured State Space Duality for Multimodal Image Registration Network2 Jun 2026
- 2026USEMA: a Scalable Efficient Mamba Like Attention for Medical Image Segmentation11 May 2026
- 2026RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic Segmentation25 Mar 2026
- 2026Rotation Equivariant Mamba for Vision Tasks10 Mar 2026
- 2026Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks26 Feb 2026
- 2026DeMa: Dual-Path Delay-Aware Mamba for Efficient Multivariate Time Series Analysis9 Jan 2026
- 2025RNN as Linear Transformer: A Closer Investigation into Representational Potentials of Visual Mamba Models23 Nov 2025
- 2025Versatile and Efficient Medical Image Super-Resolution Via Frequency-Gated Mamba31 Oct 2025
- 2025DeshadowMamba: Deshadowing as 1D Sequential Similarity28 Oct 2025
12 newest of 46 All 46 (JSON)
- 2024LinFusion: 1 GPU, 1 Minute, 16K Imagecited by 42
- 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Upcited by 26
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformerscited by 16
- 2025DiCo: Revitalizing ConvNets for Scalable and Efficient Diffusion Modelingcited by 6
- 2024Rate-Adaptive Generative Semantic Communication Using Conditional Diffusion Modelscited by 3
- 2024OSMamba: Omnidirectional Spectral Mamba with Dual-Domain Prior Generator for Exposure Correctioncited by 3
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformers1 Feb 2026
- 2025DiCo: Revitalizing ConvNets for Scalable and Efficient Diffusion Modeling16 May 2025
- 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Up20 Dec 2024
- 2024OSMamba: Omnidirectional Spectral Mamba with Dual-Domain Prior Generator for Exposure Correction22 Nov 2024
- 2024Rate-Adaptive Generative Semantic Communication Using Conditional Diffusion Models4 Sep 2024
- 2024LinFusion: 1 GPU, 1 Minute, 16K Image3 Sep 2024
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 63
- 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
- 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
- 2024QMambaBSR: Burst Image Super-Resolution with Query State Space Modelcited by 27
- 2025Rectifying Magnitude Neglect in Linear Attentioncited by 16
- 2025ViT3: Unlocking Test-Time Training in Visioncited by 15
- 2024ENAT: Rethinking Spatial-temporal Interactions in Token-based Image Synthesiscited by 8
- 2024CARE Transformer: Mobile-Friendly Linear Visual Transformer via Decoupled Dual Interactioncited by 5
- 2025ViT-Linearizer: Distilling Quadratic Knowledge into Linear-Time Vision Modelscited by 5
- 2025Linear Attention for Efficient Bidirectional Sequence Modelingcited by 4
- 2025Adaptive Dual-domain Learning for Underwater Image Enhancementcited by 4
- 2025Causal Spatio-Temporal Prediction: An Effective and Efficient Multi-Modal Approachcited by 4
12 most cited of 45 All 45 (JSON)
- 2026VisionHOPE: Visual Backbones as Self-Modifying Learning Systems27 Sep 2026
- 2026Efficient and High-Quality Depth Estimation via Pixel-Space Diffusion with Linear Attention31 Aug 2026
- 2026Small Models, Strong Priors: Architectural Inductive Bias for Parameter-Efficient Neural PDE Solvers25 May 2026
- 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernel22 Apr 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
- 2026Bridging the Geometry Mismatch: Frequency-Aware Anisotropic Serialization for Thin-Structure SSMs30 Mar 2026
- 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformers27 Mar 2026
- 2026Dual-Domain Representation Alignment: Bridging 2D and 3D Vision via Geometry-Aware Architecture Search20 Mar 2026
- 2026ViT-AdaLA: Adapting Vision Transformers with Linear Attention17 Mar 2026
- 2026Artificial Intelligence for Detecting Fetal Orofacial Clefts and Advancing Medical Education6 Mar 2026
- 2026CATNet: Collaborative Alignment and Transformation Network for Cooperative Perception5 Mar 2026
- 2026Gated Differential Linear Attention: A Linear-Time Decoder for High-Fidelity Medical Segmentation3 Mar 2026
12 newest of 45 All 45 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024A Survey on Visual Mamba
- 20262Mamba2Furious: Linear in Complexity, Competitive in Accuracy
- 2025Visual Attention Exploration in Vision-Based Mamba Models
- 2024Visual Mamba: A Survey and New Outlooks
- 2025A Survey on Mamba Architecture for Vision Applications
- 2026SF-Mamba: Rethinking State Space Model for Vision
- 2024Mamba in Speech: Towards an Alternative to Self-Attention
- 2025LBMamba: Locally Bi-directional Mamba