mlsanityData to 7 Oct 2026

2DMamba: Efficient State Space Model for Image Representation with Applications on Giga-Pixel Whole Slide Image Classification

arXiv 2412.00678 ↗First posted 1 Dec 2024cs.CVcited by 35

On the map: State-space sequence models (S4, Mamba) → Vision Mamba backbones

Abstract (arXiv)

Efficiently modeling large 2D contexts is essential for various fields including Giga-Pixel Whole Slide Imaging (WSI) and remote sensing. Transformer-based models offer high parallelism but face challenges due to their quadratic complexity for handling long sequences. Recently, Mamba introduced a selective State Space Model (SSM) with linear complexity and high parallelism, enabling effective and efficient modeling of wide context in 1D sequences. However, extending Mamba to vision tasks, which inherently involve 2D structures, results in spatial discrepancies due to the limitations of 1D sequence processing. On the other hand, current 2D SSMs inherently model 2D structures but they suffer from prohibitively slow computation due to the lack of efficient parallel algorithms. In this work, we propose 2DMamba, a novel 2D selective SSM framework that incorporates the 2D spatial structure of images into Mamba, with a highly optimized hardware-aware operator, adopting both spatial continuity and computational efficiency. We validate the versatility of our approach on both WSIs and natural images. Extensive experiments on 10 public datasets for WSI classification and survival analysis show that 2DMamba improves up to 2.48% in AUC, 3.11% in F1 score, 2.47% in accuracy and 5.52% in C-index. Additionally, integrating our method with VMamba for natural imaging yields 0.5 to 0.7 improvements in mIoU on the ADE20k semantic segmentation dataset, and 0.2% accuracy improvement on ImageNet-1K classification dataset. Our code is available at https://github.com/AtlasAnalyticsLab/2DMamba.

Key facts. Cited by 35 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 31 of its 49 references that are in the map. First posted on arXiv 1 Dec 2024.

Builds on

31 of 49 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mamba15 Mar
  2. 2024LocalMamba: Visual State Space Model with Windowed Selective Scan14 Mar
  3. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model17 Jan

Other references · 28

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  7. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  8. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  9. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  10. 2018Attention-based Deep Multiple Instance Learningcited by 1,077
  11. 2020Data Efficient and Weakly Supervised Computational Pathology on Whole Slide Imagescited by 738
  12. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
16 more
  1. 2017Understanding the Effective Receptive Field in Deep Convolutional Neural Networkscited by 549
  2. 2021TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classificationcited by 549
  3. 2020Dual-stream Multiple Instance Learning Network for Whole Slide Image Classification with Self-supervised Contrastive Learningcited by 473
  4. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  5. 2022Scaling Vision Transformers to Gigapixel Images via Hierarchical Self-Supervised Learningcited by 357
  6. 2022DTFD-MIL: Double-Tier Feature Distillation Multiple Instance Learning for Histopathology Whole Slide Image Classificationcited by 254
  7. 2021BRACS: A Dataset for BReAst Carcinoma Subtyping in H&E Histology Imagescited by 130
  8. 2024Multi-Scale VMamba: Hierarchy in Hierarchy Visual State Space Modelcited by 62
  9. 2023Structured State Space Models for Multiple Instance Learning in Digital Pathologycited by 41
  10. 2023Computational Pathology: A Survey Review and The Way Forwardcited by 30
  11. 2020Development and Evaluation of a Deep Neural Network for Histologic Classification of Renal Cell Carcinoma on Biopsy and Surgical Resection Slidescited by 24
  12. 2023Brain Diffuser: An End-to-End Brain Image to Brain Network Pipelinecited by 21
  13. 2023Prompt-MIL: Boosting Multi-Instance Learning Schemes via Task-specific Prompt Tuningcited by 15
  14. 2023MedPrompt: Cross-Modal Prompting for Multi-Task Medical Image Translationcited by 13
  15. 2024Towards a text-based quantitative and explainable histopathology image analysiscited by 7
  16. 2024GPC: Generative and General Pathology Image Classifiercited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 16; 2026: 18.

35 papers.

Sort:

By area:

  1. 2026Multimodal Model for Computational Pathology:Representation Learning and Image Compressioncited by 6
  2. 2025Small Vision-Language Models: A Survey on Compact Architectures and Techniquescited by 4
  3. 2024Mamba2D: A Natively Multi-Dimensional State-Space Model for Vision Taskscited by 3
  4. 2026Act Like a Pathologist: Tissue-Aware Whole Slide Image Reasoningcited by 3
  5. 2025GeoMaNO: Geometric Mamba Neural Operator for Partial Differential Equationscited by 2
  6. 2025pLSTM: parallelizable Linear Source Transition Mark networkscited by 2
  7. 2025SGPMIL: Sparse Gaussian Process Multiple Instance Learningcited by 2
  8. 2025ME-Mamba: Multi-Expert Mamba with Efficient Knowledge Capture and Fusion for Multimodal Survival Analysiscited by 2
  9. 2025Towards Ancient Plant Seed Classification: A Benchmark Dataset and Baseline Modelcited by 2
  10. 2026Cell-Type Prototype-Informed Neural Network for Gene Expression Estimation from Pathology Imagescited by 2
  11. 2025VLEER: Vision and Language Embeddings for Explainable Whole Slide Image Representationcited by 1
  12. 2025Polyline Path Masked Attention for Vision Transformercited by 1
23 more
  1. 2025LBMamba: Locally Bi-directional Mambacited by 1
  2. 2025PathMamba: A Hybrid Mamba-Transformer for Topologically Coherent Road Segmentation in Satellite Imagerycited by 1
  3. 2025MambaMIL+: Modeling Long-Term Contextual Patterns for Gigapixel Whole Slide Imagecited by 1
  4. 2025CellMamba: Adaptive Mamba for Accurate and Efficient Cell Detectioncited by 1
  5. 2026OCTOPUS: Enhancing the Spatial-Awareness of Vision SSMs with Multi-Dimensional Scans and Traversal Selectioncited by 1
  6. 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Modelscited by 1
  7. 2025Revisiting Data Challenges of Computational Pathology: A Pack-based Multiple Instance Learning Training Frameworkcited by 0
  8. 2025Gather-Scatter Mamba: Accelerating Propagation with Efficient State Space Modelcited by 0
  9. 2025DeltaMIL: Gated Memory Integration for Efficient and Discriminative Whole Slide Image Analysiscited by 0
  10. 2025Learning to Sense for Driving: Joint Optics-Sensor-Model Co-Design for Semantic Segmentationcited by 0
  11. 2026A Multi-scale Linear-time Encoder for Whole-Slide Image Analysiscited by 0
  12. 2026AINet: Anchor Instances Learning for Regional Heterogeneity in Whole Slide Imagecited by 0
  13. 2026Permutation-Equivariant 2D State Space Models: Theory and Canonical Architecture for Multivariate Time Seriescited by 0
  14. 2026Do VLMs Need Vision Transformers? Evaluating State Space Models as Vision Encoderscited by 0
  15. 2026Structured State-Space Regularization for Generation-Friendly Image Tokenizationcited by 0
  16. 2026TCP-SSM: Efficient Vision State Space Models with Token-Conditioned Polescited by 0
  17. 2026Spatial Blindness in Whole-Slide Multiple Instance Learningcited by 0
  18. 2026MambaRaw: Selective State Space Modeling for Efficient 4K Raw Image Reconstructioncited by 0
  19. 2026Pretraining Multiple Instance Learning Networks with Multi-Teacher Distillation from Pathology Slide Foundation Modelscited by 0
  20. 2026AdaSurvMamba: Dynamic Fusion and Semantic Scanning for Multimodal Survival Analysiscited by 0
  21. 2026A Multi-Cohort Validation of Censoring-Aware Conformal Lower Predictive Bounds for Pathology Survival Modelscited by 0
  22. 2026Semantic-Aware Subgraph State Space Model for WSI Classification in Histopathologycited by 0
  23. 2026MoSPR: Histology-to-Gene Expression Prediction with Morpho-Spatial Macrostates and Low-Rank Molecular Programscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024V2M: Visual 2-Dimensional Mamba for Image Representation Learning
  2. 2024A Survey on Visual Mamba
  3. 2024Spatial-Mamba: Effective Visual State Space Models via Structure-aware State Fusion
  4. 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognition
  5. 2026MFil-Mamba: Multi-Filter Scanning for Spatial Redundancy-Aware Visual State Space Models
  6. 2024StableMamba: Distillation-free Scaling of Large SSMs for Images and Videos
  7. 2025Vision Mamba in Remote Sensing: A Comprehensive Survey of Techniques, Applications and Outlook
  8. 2026MambaBack: Bridging Local Features and Global Contexts in Whole Slide Image Analysis