Papers › VMamba: Visual State Space Model

VMamba: Visual State Space Model

18 Jan 2024arXiv:2401.10166archive 2025-07-28

Yue Liu, Yunjie Tian, Yuzhong Zhao, Hongtian Yu, Lingxi Xie, YaoWei Wang, Qixiang Ye, Jianbin Jiao, Yunfan Liu

Designing computationally efficient network architectures remains an ongoing necessity in computer vision. In this paper, we adapt Mamba, a state-space language model, into VMamba, a vision backbone with linear time complexity. At the core of VMamba is a stack of Visual State-Space (VSS) blocks with the 2D Selective Scan (SS2D) module. By traversing along four scanning routes, SS2D bridges the gap between the ordered nature of 1D selective scan and the non-sequential structure of 2D vision data, which facilitates the collection of contextual information from various sources and perspectives. Based on the VSS blocks, we develop a family of VMamba architectures and accelerate them through a succession of architectural and implementation enhancements. Extensive experiments demonstrate VMamba's promising performance across diverse visual perception tasks, highlighting its superior input scaling efficiency compared to existing benchmark models. Source code is available at https://github.com/MzeroMiko/VMamba.

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="2401.10166")

Code

Syntology Ran 20 of 46 code samples harvested from 5 repositories linked to this paper; 26 have no recorded run. Of those that ran: 1 ran · honoured contract; 5 ran · fixture could not drive it; 14 ran with no contract checked.

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

13 repositories listed; official and paper-mentioned ones first.

mzeromiko/vmamba officialmentioned in papermentioned on GitHubpytorch report
AmazingDay1/TAME mentioned on GitHubpytorch report
chenhongruixuan/mambacd mentioned on GitHubApache-2.0 report
hunto/localmamba mentioned on GitHubpytorch report
longshaocong/dgmamba mentioned on GitHubpytorch report
piskovskyi/fMRI-VisionMamba mentioned on GitHubpytorchMIT report
raytrun/mamba-clip mentioned on GitHubpytorch report
weitunglin/pixmamba mentioned on GitHubpytorch report
weiwang31/icemamba mentioned on GitHubpytorch report
yuhengsss/msvmamba mentioned on GitHubpytorch report
zs1314/microscopic-mamba mentioned on GitHubpytorchApache-2.0 report
zs1314/octamamba mentioned on GitHubpytorch report
zs1314/skinmamba mentioned on GitHubpytorchApache-2.0 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

46 samples harvested; 20 ran; 1 honoured the contract we drafted; 26 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
5ran · fixture could not drive it
14ran
26unverified

Licence: 0 of the 46 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 5 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.

cross_merge_fwd MzeroMiko/VMamba/vmamba.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 590aaaa7c8644eeb · report
cross_scan1b1_fwd MzeroMiko/VMamba/vmamba.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · e95046a63069075a · report
cross_scan_fwd MzeroMiko/VMamba/vmamba.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · ee0b8d655d08adf0 · report
Final_PatchExpand2D zs1314/octamamba/modelszoo/VM_UNet.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · ccec5a35b674c038 · report
PatchEmbed2D zs1314/octamamba/modelszoo/VM_UNet.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 79bd4e665fb7cc5c · report
PatchExpand2D zs1314/octamamba/modelszoo/VM_UNet.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · c9ac9c816177196c · report
PatchMerging2D zs1314/octamamba/modelszoo/VM_UNet.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · d74545ecbd87b7ed · report
SS2D zs1314/octamamba/modelszoo/VM_UNet.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 722c22ee72b8915d · report
VSSM zs1314/octamamba/modelszoo/VM_UNet.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 70f3d058a09ba16e · report
channel_shuffle zs1314/microscopic-mamba/baseline_other/mamba/medmamba.py community (archive-listed) ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 057445f270d16a96 · report
count_parameters zs1314/microscopic-mamba/utils.py community (archive-listed) ran · honoured contract Apache-2.0 (permissive) · f6b944f50d3f15ae · report
drop_path zs1314/microscopic-mamba/grad_cam/vit_model.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · fe7d4321dbeef661 · report
flops_selective_scan_ref zs1314/microscopic-mamba/baseline_other/mamba/medmamba.py community (archive-listed) ran Apache-2.0 (permissive) · c00dcf8428ee981b · report
get_logger zs1314/skinmamba/utils.py community (archive-listed) ran Apache-2.0 (permissive) · 23a1f34627822bb3 · report
get_optimizer zs1314/skinmamba/utils.py community (archive-listed) ran Apache-2.0 (permissive) · ae1a2dd9d62e7fad · report
get_scheduler zs1314/skinmamba/utils.py community (archive-listed) ran Apache-2.0 (permissive) · dea42821258184c2 · report
random_rot_flip zs1314/skinmamba/mydatasets/dataset.py community (archive-listed) ran Apache-2.0 (permissive) · 960b785e65a00358 · report
random_rotate zs1314/skinmamba/mydatasets/dataset.py community (archive-listed) ran Apache-2.0 (permissive) · 43fa66325ce3cafd · report
train_one_epoch zs1314/skinmamba/engine.py community (archive-listed) ran Apache-2.0 (permissive) · 4709d469c5e0a024 · report
val_one_epoch zs1314/skinmamba/engine.py community (archive-listed) ran Apache-2.0 (permissive) · 15d76d94bb1b8c16 · report
VSSBlock zs1314/octamamba/modelszoo/VM_UNet.py community (archive-listed) unverified Apache-2.0 (permissive) · b1a133903e053491 · report
VSSLayer zs1314/octamamba/modelszoo/VM_UNet.py community (archive-listed) unverified Apache-2.0 (permissive) · f20d039b90ff3c82 · report
VSSLayer_up zs1314/octamamba/modelszoo/VM_UNet.py community (archive-listed) unverified Apache-2.0 (permissive) · c452cd03dafb5b1d · report
calculate_mean_std zs1314/microscopic-mamba/get_means.py community (archive-listed) unverified Apache-2.0 (permissive) · 7ac1da235babac9c · report
create_lr_scheduler zs1314/microscopic-mamba/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 41d69c5cdeec70e0 · report
cross_selective_scan zs1314/microscopic-mamba/baseline_other/mamba/VsionMamba.py community (archive-listed) unverified Apache-2.0 (permissive) · 893b6b88ba8dc50f · report
densenet121 zs1314/microscopic-mamba/baseline_other/CNN/densenet.py community (archive-listed) unverified Apache-2.0 (permissive) · 28a7176a9777c76c · report
densenet169 zs1314/microscopic-mamba/baseline_other/CNN/densenet.py community (archive-listed) unverified Apache-2.0 (permissive) · 146200bf92a1418d · report
densenet201 zs1314/microscopic-mamba/baseline_other/CNN/densenet.py community (archive-listed) unverified Apache-2.0 (permissive) · fe873ee58a22c0f7 · report
drop_path_f zs1314/microscopic-mamba/grad_cam/swin_model.py community (archive-listed) unverified Apache-2.0 (permissive) · 2202fd90583e6341 · report
flops_selective_scan_fn piskovskyi/fMRI-VisionMamba/src/models/csms6s.py community (archive-listed) unverified MIT (permissive) · 9a3adc8e6de35ac1 · report
flops_selective_scan_fn zs1314/microscopic-mamba/microscopicmamba.py community (archive-listed) unverified Apache-2.0 (permissive) · da1a64838a2535e5 · report
flops_selective_scan_fn zs1314/microscopic-mamba/baseline_other/mamba/VsionMamba.py community (archive-listed) unverified Apache-2.0 (permissive) · 1366379c7d284cc9 · report
flops_selective_scan_ref piskovskyi/fMRI-VisionMamba/src/models/csms6s.py community (archive-listed) unverified MIT (permissive) · 4b9af31cf72b3d4a · report
flops_selective_scan_ref zs1314/microscopic-mamba/baseline_other/mamba/VsionMamba.py community (archive-listed) unverified Apache-2.0 (permissive) · 0b84e99fd1e93dd6 · report
get_config piskovskyi/fMRI-VisionMamba/src/config.py community (archive-listed) unverified MIT (permissive) · 73f7d4e07e583da3 · report
resnet18 zs1314/microscopic-mamba/baseline_other/CNN/resnet.py community (archive-listed) unverified Apache-2.0 (permissive) · a039eb8f1d0b3354 · report
resnet34 zs1314/microscopic-mamba/baseline_other/CNN/resnet.py community (archive-listed) unverified Apache-2.0 (permissive) · 4022952e5d693153 · report
resnet50 zs1314/microscopic-mamba/baseline_other/CNN/resnet.py community (archive-listed) unverified Apache-2.0 (permissive) · f9779263c018667b · report
selective_scan_flop_jit piskovskyi/fMRI-VisionMamba/src/models/csms6s.py community (archive-listed) unverified MIT (permissive) · eda8d821a5689bf0 · report
selective_scan_flop_jit zs1314/microscopic-mamba/microscopicmamba.py community (archive-listed) unverified Apache-2.0 (permissive) · 1ddca20292522088 · report
update_config piskovskyi/fMRI-VisionMamba/src/config.py community (archive-listed) unverified MIT (permissive) · e54f237243820492 · report
vit_base_patch16_224 zs1314/microscopic-mamba/grad_cam/vit_model.py community (archive-listed) unverified Apache-2.0 (permissive) · 3dbfd852a172ee6a · report
vit_base_patch16_224_in21k zs1314/microscopic-mamba/grad_cam/vit_model.py community (archive-listed) unverified Apache-2.0 (permissive) · ab4cbc78e4e78e94 · report
window_partition zs1314/microscopic-mamba/grad_cam/swin_model.py community (archive-listed) unverified Apache-2.0 (permissive) · 1244e2f07fb63623 · report
window_reverse zs1314/microscopic-mamba/grad_cam/swin_model.py community (archive-listed) unverified Apache-2.0 (permissive) · d14e0252b43325ae · report

Tasks

Computational EfficiencyLanguage ModelingLanguage ModellingMambaRepresentation Learningmodel

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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