Papers › VM-UNet: Vision Mamba UNet for Medical Image Segmentation

VM-UNet: Vision Mamba UNet for Medical Image Segmentation

4 Feb 2024arXiv:2402.02491archive 2025-07-28

Jiacheng Ruan, Jincheng Li, Suncheng Xiang

In the realm of medical image segmentation, both CNN-based and Transformer-based models have been extensively explored. However, CNNs exhibit limitations in long-range modeling capabilities, whereas Transformers are hampered by their quadratic computational complexity. Recently, State Space Models (SSMs), exemplified by Mamba, have emerged as a promising approach. They not only excel in modeling long-range interactions but also maintain a linear computational complexity. In this paper, leveraging state space models, we propose a U-shape architecture model for medical image segmentation, named Vision Mamba UNet (VM-UNet). Specifically, the Visual State Space (VSS) block is introduced as the foundation block to capture extensive contextual information, and an asymmetrical encoder-decoder structure is constructed with fewer convolution layers to save calculation cost. We conduct comprehensive experiments on the ISIC17, ISIC18, and Synapse datasets, and the results indicate that VM-UNet performs competitively in medical image segmentation tasks. To our best knowledge, this is the first medical image segmentation model constructed based on the pure SSM-based model. We aim to establish a baseline and provide valuable insights for the future development of more efficient and effective SSM-based segmentation systems. Our code is available at https://github.com/JCruan519/VM-UNet.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.02491")

Code

Syntology Ran 11 of 17 code samples harvested from 4 repositories linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · fixture could not drive it; 8 ran with no contract checked.

By repository: official repository: 9 samples from 1 repository, 9 ran; community (archive-listed): 8 samples from 3 repositories, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jcruan519/vm-unet officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
nobodyplayer1/vm-unetv2 mentioned on GitHubpytorchApache-2.0 report
pixdeep/mhs-vm mentioned on GitHubpytorchApache-2.0 report
weitunglin/pixmamba mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 11 ran; 1 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · fixture could not drive it
8ran
6unverified

Licence: 2 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

flops_selective_scan_ref jcruan519/vm-unet/models/vmunet/vmamba.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 91788abc3267bdda · report
get_logger jcruan519/vm-unet/utils.py official repository ran Apache-2.0 (permissive) · 23a1f34627822bb3 · report
get_optimizer jcruan519/vm-unet/utils.py official repository ran Apache-2.0 (permissive) · ae1a2dd9d62e7fad · report
get_scheduler jcruan519/vm-unet/utils.py official repository ran Apache-2.0 (permissive) · dea42821258184c2 · report
random_rot_flip jcruan519/vm-unet/datasets/dataset.py official repository ran Apache-2.0 (permissive) · 960b785e65a00358 · report
random_rotate jcruan519/vm-unet/datasets/dataset.py official repository ran Apache-2.0 (permissive) · 43fa66325ce3cafd · report
train_one_epoch jcruan519/vm-unet/engine.py official repository ran Apache-2.0 (permissive) · 4709d469c5e0a024 · report
train_one_epoch jcruan519/vm-unet/engine_synapse.py official repository ran Apache-2.0 (permissive) · 62b66c9a1c4f5a23 · report
val_one_epoch jcruan519/vm-unet/engine.py official repository ran Apache-2.0 (permissive) · 15d76d94bb1b8c16 · report
inv_transform weitunglin/pixmamba/analyze/convnexts4nd/src/models/sequence/kernels/ssm.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · 26b8695dba83b816 · report
param_transform weitunglin/pixmamba/analyze/convnexts4nd/src/models/sequence/kernels/ssm.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · 6f7ad7d857dc0d1e · report
calc_posarrays pixdeep/mhs-vm/routegen.py community (archive-listed) unverified Apache-2.0 (permissive) · 60928f8638ac0eaa · report
cons_scan_h pixdeep/mhs-vm/scanutils.py community (archive-listed) unverified Apache-2.0 (permissive) · fa24a063153b9bff · report
cons_scan_v pixdeep/mhs-vm/scanutils.py community (archive-listed) unverified Apache-2.0 (permissive) · e6b48de9f8d0e99f · report
diag_scan pixdeep/mhs-vm/scanutils.py community (archive-listed) unverified Apache-2.0 (permissive) · 07074cb904b5abc0 · report
val_one_epoch nobodyplayer1/vm-unetv2/engine.py community (archive-listed) unverified Apache-2.0 (permissive) · 9cfc13ef56c9f86d · report
val_one_epoch pixdeep/mhs-vm/engine.py community (archive-listed) unverified Apache-2.0 (permissive) · dbcdb8cb8d2977ce · report

Tasks

Image SegmentationMambaMedical Image Segmentation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Convolution

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections