CellMamba: Adaptive Mamba for Accurate and Efficient Cell Detection
Ruochen Liu, Yi Tian, Jiahao Wang, Hongbin Liu, Xianxu Hou, Jingxin Liu
TL;DR
CellMamba targets accurate, efficient nucleus/cell detection in high-resolution pathology images by marrying a mixed Mamba-Transformer backbone with a novel Triple-Mapping Adaptive Coupling (TMAC) module and an Adaptive Mamba Head. TMAC employs dual-channel splitting and three attention maps to refine local spatial cues and suppress background noise, while the adaptive head fuses multi-scale features with learnable weights for varying cell sizes. On CoNSeP and CytoDArk0, CellMamba achieves state-of-the-art mAP with a compact 14.7M-parameter footprint and 1.6 ms inference per 256×256 patch, outperforming CNN-, Transformer-, and other Mamba-based baselines. This work demonstrates that structured state-space approaches can deliver both high accuracy and practical efficiency for dense, fine-grained biomedical detection tasks.
Abstract
Cell detection in pathological images presents unique challenges due to densely packed objects, subtle inter-class differences, and severe background clutter. In this paper, we propose CellMamba, a lightweight and accurate one-stage detector tailored for fine-grained biomedical instance detection. Built upon a VSSD backbone, CellMamba integrates CellMamba Blocks, which couple either NC-Mamba or Multi-Head Self-Attention (MSA) with a novel Triple-Mapping Adaptive Coupling (TMAC) module. TMAC enhances spatial discriminability by splitting channels into two parallel branches, equipped with dual idiosyncratic and one consensus attention map, adaptively fused to preserve local sensitivity and global consistency. Furthermore, we design an Adaptive Mamba Head that fuses multi-scale features via learnable weights for robust detection under varying object sizes. Extensive experiments on two public datasets-CoNSeP and CytoDArk0-demonstrate that CellMamba outperforms both CNN-based, Transformer-based, and Mamba-based baselines in accuracy, while significantly reducing model size and inference latency. Our results validate CellMamba as an efficient and effective solution for high-resolution cell detection.
