Abstract
As Transformers face computational bottlenecks due to their quadratic complexity, Visual Mamba has emerged as a powerful alternative for computer vision. This survey reviews the adaptation of Selective State Space Models (SSMs) to visual data, highlighting their ability to provide global receptive fields with linear complexity. We categorize architectural strategies, scanning mechanisms, and hybrid designs, while summarizing performance across diverse visual benchmarks ranging from general classification to complex medical imaging.
Introduction: The Quadratic Wall
For years, the Vision Transformer (ViT) has been the gold standard for computer vision. However, its core mechanism—self-attention—suffers from a major flaw: computational cost grows quadratically ($O(L^2)$) with sequence length. This makes high-resolution images, long videos, and 3D medical volumes prohibitively expensive to process. While CNNs offer efficiency, they often struggle to capture long-range global dependencies.
The "Visual Mamba" movement seeks to bridge this gap. Based on the Mamba architecture originally designed for NLP, these models utilize Selective State Space Models (SSMs) to achieve $O(L)$ linear complexity while maintaining a global receptive field. The field has seen explosive growth, with a surge of papers appearing in early 2024 as researchers race to adapt 1D causal sequence models to the multi-dimensional nature of visual data.
Architectural Evolution: From H3 to Mamba
The success of Mamba is built upon the evolution of State Space Models. Unlike traditional SSMs which are Linear Time Invariant (LTI), Mamba’s parameters are input-dependent. This allows the model to "selectively" focus on relevant visual information and ignore noise, similar to gating in an LSTM but with significantly higher efficiency.
As shown in the architectural evolution, Mamba combines the strengths of H3 and Gated MLPs. Its hardware-awareness is a critical component; it utilizes fused kernels to minimize memory I/O between GPU HBM and SRAM, making it faster in practice than standard recurrent structures.
Adapting Mamba to Vision
Adapting a 1D sequence model to 2D images requires innovative scanning strategies. Key foundational blocks include:
- Vision Mamba (ViM): Uses a bidirectional SSM to capture information from both forward and backward directions.
- VMamba: Introduces the Cross-Scan Module (CSM), which scans images in four directions to bridge the spatial gap.
- Hybrid Approaches: Many researchers are now combining Mamba with CNNs for local feature extraction or with Attention for hybrid global modeling.
Key Results and Benchmarks
Visual Mamba models have demonstrated state-of-the-art performance across several domains:
- Efficiency: VMamba-Tiny achieves competitive accuracy on ImageNet with significantly lower GFLOPs than comparable ViTs.
- Medical Imaging: Models like U-Mamba and VM-UNet have set new benchmarks in 2D/3D segmentation, outperforming traditional UNets while remaining parameter-efficient.
- Scaling: Mamba models scale linearly with resolution, enabling the processing of 4K images or long video sequences that would typically exceed the memory limits of standard Transformers.
Future Directions and Limitations
Despite its promise, the field faces several hurdles. There is currently a gap in large-scale pre-training compared to established ViT models. Furthermore, interpretability remains a challenge; while "Attention Maps" are common for Transformers, standard methods for visualizing Mamba's focus are still being developed. Future work will likely focus on improving robustness against adversarial attacks and optimizing deployment for non-NVIDIA hardware.
Summary updated