MambaMIC: An Efficient Baseline for Microscopic Image Classification with State Space Models

Shun Zou, Zhuo Zhang, Yi Zou, Guangwei Gao · DOI

Abstract

In recent years, CNN and Transformer-based methods have made significant progress in Microscopic Image Classification (MIC). However, existing approaches still face the dilemma between global modeling and efficient computation. While the Selective State Space Model (SSM) can simulate long-range dependencies with linear complexity, it still encounters challenges in MIC, such as local pixel forgetting, channel redundancy, and lack of local perception. To address these issues, we propose a simple yet efficient vision backbone for MIC tasks, named MambaMIC. Specifically, we introduce a Local-Global dual-branch aggregation module: the MambaMIC Block, designed to effectively capture and fuse local connectivity and global dependencies. Extensive benchmarking shows that MambaMIC achieves state-of-the-art performance across five datasets.

Introduction

Microscopic Image Classification (MIC) is a cornerstone of modern medical diagnosis, yet researchers face a persistent trade-off between efficiency and performance. Convolutional Neural Networks (CNNs) excel at capturing local textures, such as cell boundaries, but struggle with global context. Conversely, Vision Transformers (ViTs) capture global context effectively but suffer from quadratic computational complexity, making them difficult to deploy in resource-constrained clinical settings.

State Space Models (SSMs), specifically Mamba, have emerged as a promising alternative, offering global modeling with linear complexity. However, applying Mamba to 2D medical imaging presents challenges: flattening images into 1D sequences often leads to "pixel forgetting," where spatial relationships are lost. Additionally, standard SSMs can suffer from channel redundancy and a lack of fine-grained local perception, both critical for identifying subtle microscopic features.

Methodology

MambaMIC addresses these limitations through a "Local-Global" dual-branch architecture designed to harmonize local spatial awareness with global dependency modeling.

The MambaMIC Block

The core of the architecture is the MambaMIC Block, which splits feature processing into two distinct paths:

  • Local Branch: Utilizes depthwise convolutions to maintain spatial relationships and prevent the loss of local connectivity inherent in 1D sequence flattening.
  • Global Branch: Features the Residual Efficient Vision State Space Module (REVSSM). This module employs a parallel mechanism to handle the exponential increase in hidden states as channel counts grow, mitigating information bottlenecks.
The MambaMIC architecture features a dual-branch block combining local convolutions with a Residual Efficient Vision State Space Module (REVSSM).

Advanced Feature Refinement

Within the global branch, the Locally Aware Enhanced Filter (LAEF) selectively prunes and routes channels, enhancing local perception in specific subsets while allowing global information to circulate freely. To integrate these disparate features, the Feature Modulation Interaction Aggregation Module (FMIAM) adaptively weights the two branches and uses a simplified channel attention mechanism to "re-localize" key features before the next stage.

Experimental Results

MambaMIC was evaluated on five diverse public medical datasets: RPE Data (retinal cells), MHIST (colorectal polyps), SARS (malaria), TissueMNIST (kidney cells), and MedFM-Colon (pathological tissue).

Performance and Efficiency

MambaMIC consistently outperformed CNNs, Transformers, and other Mamba variants (such as MedMamba and VMamba) across all metrics.

Radar chart comparing MambaMIC (green) against state-of-the-art models across five datasets and efficiency metrics (Params, GMACs).

Key highlights include:

  • Extreme Efficiency: On the RPE dataset, MambaMIC-T achieved accuracy comparable to the much larger FastViT-ma36 while utilizing 90.2% fewer parameters (4.32M vs 44.07M) and 89.0% less computation (0.64 vs 6.07 GMACs).
  • Accuracy Gains: On the MHIST dataset, MambaMIC-T improved accuracy by 9.96% over the standard VMamba-T while saving nearly 80% of the parameters.
  • Scalability: The model demonstrated significant gains on high-volume datasets like TissueMNIST, proving its robustness for large-scale pathology tasks.

Conclusion

MambaMIC establishes a new state-of-the-art for efficient microscopic image classification. By integrating a dedicated local convolutional branch as a "spatial anchor" alongside a refined SSM, the model captures fine-grained textures and global context simultaneously. Future work will explore adapting this architecture for 3D volumetric data and expanding its application to segmentation and object detection tasks in microscopy.

Summary updated

BibTeX
@inproceedings{zou2025mambamic,
  author = {Shun Zou and Zhuo Zhang and Yi Zou and Guangwei Gao},
  title = {{MambaMIC: An Efficient Baseline for Microscopic Image Classification with State Space Models}},
  booktitle = {ICME},
  year = {2025},
  doi = {10.1109/icme59968.2025.11209808},
}
Figure