Mamba-Sea: A Mamba-based Framework with Global-to-Local Sequence Augmentation for Generalizable Medical Image Segmentation

Zihan Cheng, Jintao Guo, Jian Zhang, Lei Qi, Luping Zhou +2 more
4/24/2025
53 citations
cs.CV
transformer-attentionstate-space-mamba

Official code: orange-czh/Mamba-Sea (21 stars, Python, last commit 2026-04-18).

Abstract

To segment medical images with distribution shifts, domain generalization (DG) has emerged as a promising setting to train models on source domains that can generalize to unseen target domains. Existing DG methods are mainly based on CNN or ViT architectures.

Show full abstract

Recently, advanced state space models, represented by Mamba, have shown promising results in various supervised medical image segmentation. The success of Mamba is primarily owing to its ability to capture long-range dependencies while keeping linear complexity with input sequence length, making it a promising alternative to CNNs and ViTs. Inspired by the success, in the paper, we explore the potential of the Mamba architecture to address distribution shifts in DG for medical image segmentation. Specifically, we propose a novel Mamba-based framework, Mamba-Sea, incorporating global-to-local sequence augmentation to improve the model's generalizability under domain shift issues. Our Mamba-Sea introduces a global augmentation mechanism designed to simulate potential variations in appearance across different sites, aiming to suppress the model's learning of domain-specific information. At the local level, we propose a sequence-wise augmentation along input sequences, which perturbs the style of tokens within random continuous sub-sequences by modeling and resampling style statistics associated with domain shifts. To our best knowledge, Mamba-Sea is the first work to explore the generalization of Mamba for medical image segmentation, providing an advanced and promising Mamba-based architecture with strong robustness to domain shifts. Remarkably, our proposed method is the first to surpass a Dice coefficient of 90% on the Prostate dataset, which exceeds previous SOTA of 88.61%. The code is available at https://github.com/orange-czh/Mamba-Sea.

View on arXivView PDF

Code Implementations(1)

214Python, ShellApr 23, 20257 months ago

Similar Papers

Cite this paper

@article{cheng2025mambasea,
  title  = {Mamba-Sea: A Mamba-based Framework with Global-to-Local Sequence Augmentation for Generalizable Medical Image Segmentation},
  author = {Zihan Cheng and Jintao Guo and Jian Zhang and Lei Qi and Luping Zhou and Yinghuan Shi and Yang Gao},
  year   = {2025},
  eprint = {2504.17515},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.17515v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.17515.svg)](https://codeofpaper.com/paper/2504.17515)

Discussion