2DMamba: Efficient State Space Model for Image Representation with Applications on Giga-Pixel Whole Slide Image Classification
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
- 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 · 28
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2018Attention-based Deep Multiple Instance Learningcited by 1,077
- 2020Data Efficient and Weakly Supervised Computational Pathology on Whole Slide Imagescited by 738
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
16 more
- 2017Understanding the Effective Receptive Field in Deep Convolutional Neural Networkscited by 549
- 2021TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classificationcited by 549
- 2020Dual-stream Multiple Instance Learning Network for Whole Slide Image Classification with Self-supervised Contrastive Learningcited by 473
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2022Scaling Vision Transformers to Gigapixel Images via Hierarchical Self-Supervised Learningcited by 357
- 2022DTFD-MIL: Double-Tier Feature Distillation Multiple Instance Learning for Histopathology Whole Slide Image Classificationcited by 254
- 2021BRACS: A Dataset for BReAst Carcinoma Subtyping in H&E Histology Imagescited by 130
- 2024Multi-Scale VMamba: Hierarchy in Hierarchy Visual State Space Modelcited by 62
- 2023Structured State Space Models for Multiple Instance Learning in Digital Pathologycited by 41
- 2023Computational Pathology: A Survey Review and The Way Forwardcited by 30
- 2020Development and Evaluation of a Deep Neural Network for Histologic Classification of Renal Cell Carcinoma on Biopsy and Surgical Resection Slidescited by 24
- 2023Brain Diffuser: An End-to-End Brain Image to Brain Network Pipelinecited by 21
- 2023Prompt-MIL: Boosting Multi-Instance Learning Schemes via Task-specific Prompt Tuningcited by 15
- 2023MedPrompt: Cross-Modal Prompting for Multi-Task Medical Image Translationcited by 13
- 2024Towards a text-based quantitative and explainable histopathology image analysiscited by 7
- 2024GPC: Generative and General Pathology Image Classifiercited by 4
Built on by
Citing papers per year: 2024: 1; 2025: 16; 2026: 18.
35 papers.
Sort:
By area:
- 2026Multimodal Model for Computational Pathology:Representation Learning and Image Compressioncited by 6
- 2025Small Vision-Language Models: A Survey on Compact Architectures and Techniquescited by 4
- 2024Mamba2D: A Natively Multi-Dimensional State-Space Model for Vision Taskscited by 3
- 2026Act Like a Pathologist: Tissue-Aware Whole Slide Image Reasoningcited by 3
- 2025GeoMaNO: Geometric Mamba Neural Operator for Partial Differential Equationscited by 2
- 2025pLSTM: parallelizable Linear Source Transition Mark networkscited by 2
- 2025SGPMIL: Sparse Gaussian Process Multiple Instance Learningcited by 2
- 2025ME-Mamba: Multi-Expert Mamba with Efficient Knowledge Capture and Fusion for Multimodal Survival Analysiscited by 2
- 2025Towards Ancient Plant Seed Classification: A Benchmark Dataset and Baseline Modelcited by 2
- 2026Cell-Type Prototype-Informed Neural Network for Gene Expression Estimation from Pathology Imagescited by 2
- 2025VLEER: Vision and Language Embeddings for Explainable Whole Slide Image Representationcited by 1
- 2025Polyline Path Masked Attention for Vision Transformercited by 1
23 more
- 2025LBMamba: Locally Bi-directional Mambacited by 1
- 2025PathMamba: A Hybrid Mamba-Transformer for Topologically Coherent Road Segmentation in Satellite Imagerycited by 1
- 2025MambaMIL+: Modeling Long-Term Contextual Patterns for Gigapixel Whole Slide Imagecited by 1
- 2025CellMamba: Adaptive Mamba for Accurate and Efficient Cell Detectioncited by 1
- 2026OCTOPUS: Enhancing the Spatial-Awareness of Vision SSMs with Multi-Dimensional Scans and Traversal Selectioncited by 1
- 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Modelscited by 1
- 2025Revisiting Data Challenges of Computational Pathology: A Pack-based Multiple Instance Learning Training Frameworkcited by 0
- 2025Gather-Scatter Mamba: Accelerating Propagation with Efficient State Space Modelcited by 0
- 2025DeltaMIL: Gated Memory Integration for Efficient and Discriminative Whole Slide Image Analysiscited by 0
- 2025Learning to Sense for Driving: Joint Optics-Sensor-Model Co-Design for Semantic Segmentationcited by 0
- 2026A Multi-scale Linear-time Encoder for Whole-Slide Image Analysiscited by 0
- 2026AINet: Anchor Instances Learning for Regional Heterogeneity in Whole Slide Imagecited by 0
- 2026Permutation-Equivariant 2D State Space Models: Theory and Canonical Architecture for Multivariate Time Seriescited by 0
- 2026Do VLMs Need Vision Transformers? Evaluating State Space Models as Vision Encoderscited by 0
- 2026Structured State-Space Regularization for Generation-Friendly Image Tokenizationcited by 0
- 2026TCP-SSM: Efficient Vision State Space Models with Token-Conditioned Polescited by 0
- 2026Spatial Blindness in Whole-Slide Multiple Instance Learningcited by 0
- 2026MambaRaw: Selective State Space Modeling for Efficient 4K Raw Image Reconstructioncited by 0
- 2026Pretraining Multiple Instance Learning Networks with Multi-Teacher Distillation from Pathology Slide Foundation Modelscited by 0
- 2026AdaSurvMamba: Dynamic Fusion and Semantic Scanning for Multimodal Survival Analysiscited by 0
- 2026A Multi-Cohort Validation of Censoring-Aware Conformal Lower Predictive Bounds for Pathology Survival Modelscited by 0
- 2026Semantic-Aware Subgraph State Space Model for WSI Classification in Histopathologycited by 0
- 2026MoSPR: Histology-to-Gene Expression Prediction with Morpho-Spatial Macrostates and Low-Rank Molecular Programscited by 0
- 2026MoSPR: Histology-to-Gene Expression Prediction with Morpho-Spatial Macrostates and Low-Rank Molecular Programs28 Sep 2026
- 2026Semantic-Aware Subgraph State Space Model for WSI Classification in Histopathology3 Sep 2026
- 2026A Multi-Cohort Validation of Censoring-Aware Conformal Lower Predictive Bounds for Pathology Survival Models23 Jul 2026
- 2026Pretraining Multiple Instance Learning Networks with Multi-Teacher Distillation from Pathology Slide Foundation Models16 Jul 2026
- 2026AdaSurvMamba: Dynamic Fusion and Semantic Scanning for Multimodal Survival Analysis28 Jun 2026
- 2026MambaRaw: Selective State Space Modeling for Efficient 4K Raw Image Reconstruction23 Jun 2026
- 2026Spatial Blindness in Whole-Slide Multiple Instance Learning17 May 2026
- 2026TCP-SSM: Efficient Vision State Space Models with Token-Conditioned Poles12 May 2026
- 2026Structured State-Space Regularization for Generation-Friendly Image Tokenization13 Apr 2026
- 2026Do VLMs Need Vision Transformers? Evaluating State Space Models as Vision Encoders19 Mar 2026
- 2026Multimodal Model for Computational Pathology:Representation Learning and Image Compression19 Mar 2026
- 2026Cell-Type Prototype-Informed Neural Network for Gene Expression Estimation from Pathology Images19 Mar 2026
23 more
- 2026Permutation-Equivariant 2D State Space Models: Theory and Canonical Architecture for Multivariate Time Series7 Mar 2026
- 2026Act Like a Pathologist: Tissue-Aware Whole Slide Image Reasoning28 Feb 2026
- 2026AINet: Anchor Instances Learning for Regional Heterogeneity in Whole Slide Image21 Feb 2026
- 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Models4 Feb 2026
- 2026A Multi-scale Linear-time Encoder for Whole-Slide Image Analysis2 Feb 2026
- 2026OCTOPUS: Enhancing the Spatial-Awareness of Vision SSMs with Multi-Dimensional Scans and Traversal Selection31 Jan 2026
- 2025CellMamba: Adaptive Mamba for Accurate and Efficient Cell Detection25 Dec 2025
- 2025Learning to Sense for Driving: Joint Optics-Sensor-Model Co-Design for Semantic Segmentation23 Dec 2025
- 2025DeltaMIL: Gated Memory Integration for Efficient and Discriminative Whole Slide Image Analysis22 Dec 2025
- 2025Towards Ancient Plant Seed Classification: A Benchmark Dataset and Baseline Model20 Dec 2025
- 2025MambaMIL+: Modeling Long-Term Contextual Patterns for Gigapixel Whole Slide Image19 Dec 2025
- 2025PathMamba: A Hybrid Mamba-Transformer for Topologically Coherent Road Segmentation in Satellite Imagery26 Nov 2025
- 2025Gather-Scatter Mamba: Accelerating Propagation with Efficient State Space Model1 Oct 2025
- 2025Revisiting Data Challenges of Computational Pathology: A Pack-based Multiple Instance Learning Training Framework25 Sep 2025
- 2025ME-Mamba: Multi-Expert Mamba with Efficient Knowledge Capture and Fusion for Multimodal Survival Analysis21 Sep 2025
- 2025SGPMIL: Sparse Gaussian Process Multiple Instance Learning11 Jul 2025
- 2025LBMamba: Locally Bi-directional Mamba19 Jun 2025
- 2025Polyline Path Masked Attention for Vision Transformer19 Jun 2025
- 2025pLSTM: parallelizable Linear Source Transition Mark networks13 Jun 2025
- 2025GeoMaNO: Geometric Mamba Neural Operator for Partial Differential Equations17 May 2025
- 2025Small Vision-Language Models: A Survey on Compact Architectures and Techniques9 Mar 2025
- 2025VLEER: Vision and Language Embeddings for Explainable Whole Slide Image Representation28 Feb 2025
- 2024Mamba2D: A Natively Multi-Dimensional State-Space Model for Vision Tasks20 Dec 2024
- 2024Mamba2D: A Natively Multi-Dimensional State-Space Model for Vision Taskscited by 3
- 2025GeoMaNO: Geometric Mamba Neural Operator for Partial Differential Equationscited by 2
- 2025pLSTM: parallelizable Linear Source Transition Mark networkscited by 2
- 2025ME-Mamba: Multi-Expert Mamba with Efficient Knowledge Capture and Fusion for Multimodal Survival Analysiscited by 2
- 2025LBMamba: Locally Bi-directional Mambacited by 1
- 2025PathMamba: A Hybrid Mamba-Transformer for Topologically Coherent Road Segmentation in Satellite Imagerycited by 1
- 2025CellMamba: Adaptive Mamba for Accurate and Efficient Cell Detectioncited by 1
- 2025Gather-Scatter Mamba: Accelerating Propagation with Efficient State Space Modelcited by 0
- 2026A Multi-scale Linear-time Encoder for Whole-Slide Image Analysiscited by 0
- 2026Structured State-Space Regularization for Generation-Friendly Image Tokenizationcited by 0
- 2026MambaRaw: Selective State Space Modeling for Efficient 4K Raw Image Reconstructioncited by 0
- 2026AdaSurvMamba: Dynamic Fusion and Semantic Scanning for Multimodal Survival Analysiscited by 0
- 2026AdaSurvMamba: Dynamic Fusion and Semantic Scanning for Multimodal Survival Analysis28 Jun 2026
- 2026MambaRaw: Selective State Space Modeling for Efficient 4K Raw Image Reconstruction23 Jun 2026
- 2026Structured State-Space Regularization for Generation-Friendly Image Tokenization13 Apr 2026
- 2026A Multi-scale Linear-time Encoder for Whole-Slide Image Analysis2 Feb 2026
- 2025CellMamba: Adaptive Mamba for Accurate and Efficient Cell Detection25 Dec 2025
- 2025PathMamba: A Hybrid Mamba-Transformer for Topologically Coherent Road Segmentation in Satellite Imagery26 Nov 2025
- 2025Gather-Scatter Mamba: Accelerating Propagation with Efficient State Space Model1 Oct 2025
- 2025ME-Mamba: Multi-Expert Mamba with Efficient Knowledge Capture and Fusion for Multimodal Survival Analysis21 Sep 2025
- 2025LBMamba: Locally Bi-directional Mamba19 Jun 2025
- 2025pLSTM: parallelizable Linear Source Transition Mark networks13 Jun 2025
- 2025GeoMaNO: Geometric Mamba Neural Operator for Partial Differential Equations17 May 2025
- 2024Mamba2D: A Natively Multi-Dimensional State-Space Model for Vision Tasks20 Dec 2024
- 2026Multimodal Model for Computational Pathology:Representation Learning and Image Compressioncited by 6
- 2025SGPMIL: Sparse Gaussian Process Multiple Instance Learningcited by 2
- 2025Towards Ancient Plant Seed Classification: A Benchmark Dataset and Baseline Modelcited by 2
- 2026Cell-Type Prototype-Informed Neural Network for Gene Expression Estimation from Pathology Imagescited by 2
- 2025Polyline Path Masked Attention for Vision Transformercited by 1
- 2025MambaMIL+: Modeling Long-Term Contextual Patterns for Gigapixel Whole Slide Imagecited by 1
- 2026OCTOPUS: Enhancing the Spatial-Awareness of Vision SSMs with Multi-Dimensional Scans and Traversal Selectioncited by 1
- 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Modelscited by 1
- 2025Revisiting Data Challenges of Computational Pathology: A Pack-based Multiple Instance Learning Training Frameworkcited by 0
- 2025DeltaMIL: Gated Memory Integration for Efficient and Discriminative Whole Slide Image Analysiscited by 0
- 2026AINet: Anchor Instances Learning for Regional Heterogeneity in Whole Slide Imagecited by 0
- 2026Permutation-Equivariant 2D State Space Models: Theory and Canonical Architecture for Multivariate Time Seriescited by 0
12 most cited of 19 All 19 (JSON)
- 2026MoSPR: Histology-to-Gene Expression Prediction with Morpho-Spatial Macrostates and Low-Rank Molecular Programs28 Sep 2026
- 2026Semantic-Aware Subgraph State Space Model for WSI Classification in Histopathology3 Sep 2026
- 2026A Multi-Cohort Validation of Censoring-Aware Conformal Lower Predictive Bounds for Pathology Survival Models23 Jul 2026
- 2026Pretraining Multiple Instance Learning Networks with Multi-Teacher Distillation from Pathology Slide Foundation Models16 Jul 2026
- 2026Spatial Blindness in Whole-Slide Multiple Instance Learning17 May 2026
- 2026TCP-SSM: Efficient Vision State Space Models with Token-Conditioned Poles12 May 2026
- 2026Do VLMs Need Vision Transformers? Evaluating State Space Models as Vision Encoders19 Mar 2026
- 2026Multimodal Model for Computational Pathology:Representation Learning and Image Compression19 Mar 2026
- 2026Cell-Type Prototype-Informed Neural Network for Gene Expression Estimation from Pathology Images19 Mar 2026
- 2026Permutation-Equivariant 2D State Space Models: Theory and Canonical Architecture for Multivariate Time Series7 Mar 2026
- 2026AINet: Anchor Instances Learning for Regional Heterogeneity in Whole Slide Image21 Feb 2026
- 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Models4 Feb 2026
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024V2M: Visual 2-Dimensional Mamba for Image Representation Learning
- 2024A Survey on Visual Mamba
- 2024Spatial-Mamba: Effective Visual State Space Models via Structure-aware State Fusion
- 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognition
- 2026MFil-Mamba: Multi-Filter Scanning for Spatial Redundancy-Aware Visual State Space Models
- 2024StableMamba: Distillation-free Scaling of Large SSMs for Images and Videos
- 2025Vision Mamba in Remote Sensing: A Comprehensive Survey of Techniques, Applications and Outlook
- 2026MambaBack: Bridging Local Features and Global Contexts in Whole Slide Image Analysis