Medical image segmentation is a fundamental task in the fields of computer vision and medical image analysis1,2,3. It involves partitioning an image into multiple regions or objects for further analysis and processing. This technology is particularly important in medical imaging because it assists clinicians in identifying and localizing pathological regions, thereby improving diagnostic accuracy and treatment planning. With the advancement of medical imaging technologies, such as magnetic resonance imaging (MRI), computed tomography (CT), and positron emission tomography (PET), the demand for accurate medical image segmentation techniques has continued to increase. Current methods for medical image segmentation can be broadly categorized into three main approaches: convolutional neural network (CNN)-based methods4, Transformer-based methods5, and state-space model (SSM)-based methods6,7. CNN-based methods typically employ U-shaped network architectures for medical image segmentation. The most widely used architecture in this category is U-Net8, which demonstrated the effectiveness of a U-shaped encoder–decoder architecture for biomedical image segmentation. U-Net3+ combines dense skip connections from UNet++9 with full-scale skip connections to enhance multiscale feature aggregation. However, CNN-based methods have limited ability to capture long-range dependencies and, therefore, may not effectively model long-range contextual information.
Transformer-based methods effectively capture long-range dependencies through the self-attention mechanism, which enables parallel computation and assigns different attention weights to different regions of interest. UNETR++10 introduces the Efficient Paired Attention (EPA) module to reduce the number of parameters and computational cost. nnFormer11 combines interleaved convolutional and self-attention operations and introduces a local–global volume-based self-attention mechanism for learning volumetric representations in three-dimensional (3D) medical image segmentation. H2Former12 proposes an efficient hierarchical hybrid Vision Transformer that combines attention mechanisms with CNN-based feature extraction in the encoder. However, Transformer-based methods exhibit quadratic computational complexity with increasing sequence length, resulting in substantially higher computational cost. Figure 1 illustrates the motivation for MVM-UNet and compares the proposed multiview scanning strategy with existing SSM-based segmentation frameworks.

Figure 1. Comparison of MVM-UNet with existing pure state-space-model (SSM)-based segmentation architectures. Comparison between a conventional pure state-space model (SSM)-based segmentation framework and the proposed Multi-View Mamba U-Net (MVM-UNet) architecture. The upper panel illustrates MVM-UNet, in which the Multi-View 4-Directional (MV4D) module extracts complementary features using zigzag, hierarchical, spiral, and radial scan pairs that are integrated by Spatial Fusion Mamba (SFusion Mamba), while Multistage Fusion Mamba (MFusion Mamba) aggregates multiscale encoder features before decoding. The lower panel shows a representative pure SSM-based architecture using Selective Scan 2-Dimensional (SS2D) modules with cross scanning. The figure highlights the architectural differences between conventional SSM-based segmentation networks and the proposed MVM-UNet. Please click here to view a larger version of this figure.
SSM-based methods combine the global modeling capability of Transformers with linear computational complexity. The Mamba architecture selectively processes input information using a selective state-space model (Selective-SSM), enabling the model to dynamically adjust its parameters according to the input while filtering irrelevant information and emphasizing informative features. Vim13 and VMamba14 adapt the Mamba architecture for computer vision tasks. U-Mamba15 employs a hybrid CNN–SSM architecture to explore the application of SSMs in medical image segmentation, whereas Mamba-UNet16 adopts a fully SSM-based encoder–decoder architecture for medical image segmentation. These methods achieve competitive performance while using substantially fewer parameters. However, current SSM/Mamba-based methods primarily extract image features using simple image patches and SS2D scanning strategies, which present several limitations for medical image segmentation. First, SS2D and patch-based techniques are primarily designed for general computer vision tasks. Local Mamba17 and Motion Mamba18 have suggested that the SS2D scanning strategy is insufficient for all visual tasks because different scanning strategies capture different types of visual information. Second, the SS2D scanning strategy is relatively simple, relying only on horizontal and vertical scanning directions. Consequently, it may not adequately capture complex spatial relationships and fine structural details. Medical image segmentation requires simultaneous modeling of both global spatial context and precise local anatomical features. Furthermore, current SSM/Mamba-based methods provide limited feature fusion between the encoder and decoder. Architectures such as UNet++ and FATNet improve segmentation accuracy through enhanced feature fusion, highlighting the importance of effective feature integration for medical image segmentation.
To address these limitations, this paper proposes a novel Mamba-based medical image segmentation framework, termed MVM-UNet. As shown in Figure 1, the proposed Multi-View Four-Directional (MV4D) module serves as the core feature extraction component of MVM-UNet and is specifically designed for medical image segmentation by integrating information from four distinct scanning strategies. Each scanning strategy extracts complementary image features and represents a different view of the input image. Zigzag scanning19 alternates the traversal direction at the end of each row or column, thereby balancing local and global spatial information. In contrast, spiral and radial scanning schemes20 provide comprehensive coverage by extending either outward from the center or inward from the periphery. Hierarchical scanning18 captures both local and global features at multiple scales. To improve the robustness of each scanning strategy, scan pairs are merged before being input to the S6 Block. The Scan-view Fusion Mamba (SFusion Mamba) module subsequently integrates the features extracted from the four scanning modalities. To effectively utilize multiscale encoder features, this paper further proposes a multiscale Mamba fusion module (MFusion Mamba), which accumulates and fuses the outputs from each encoder stage before passing the fused features to the decoder. MVM-UNet was evaluated on the ISIC 2017, ISIC 2018, and Synapse datasets. Experimental results demonstrate that MVM-UNet achieves competitive segmentation performance on the ISIC 2017, ISIC 2018, and Synapse datasets.
Representative segmentation architectures have further advanced medical image segmentation. U-Net has also been successfully applied to biomedical image analysis tasks such as cell counting, detection, and morphometry21. Attention-enhanced CNN architectures, such as CA-Net22, improve feature representation through comprehensive attention mechanisms. Representative Transformer-based segmentation frameworks, including TransUNet23, Pyramid Medical Transformer24, Swin U-Net25, TransAttUNet26, and TransCUNet27, further demonstrate the effectiveness of attention-based global feature modeling for medical image segmentation.
The design of MVM-UNet is motivated by two limitations of existing SSM/Mamba-based segmentation methods. First, many current Vision Mamba models rely on simple two-dimensional scanning strategies, which may be insufficient for medical images containing irregular lesion boundaries, small target regions, and multiscale anatomical structures. Second, conventional U-shaped encoder–decoder architectures primarily transfer features through corresponding skip connections, limiting the direct use of multistage encoder information during decoding. Therefore, MVM-UNet introduces MV4D to enhance multiview spatial modeling and MFusion Mamba to explicitly aggregate multistage encoder features. This design is intended to adapt Mamba-based long-range modeling to the specific requirements of medical image segmentation.
Although MVM-UNet is built upon the general encoder–decoder paradigm and Mamba-based sequence modeling, its novelty lies in how these components are adapted and integrated for medical image segmentation. Rather than simply incorporating a standard Mamba block into a U-shaped network backbone, the proposed framework redesigns the spatial modeling process through multiple task-oriented scan-pair branches, introduces SFusion Mamba to integrate scan-specific representations, enhances the MVV Block with residual and projection pathways, and inserts MFusion Mamba between the encoder and decoder to aggregate multistage encoder features before decoding. This architecture-level design aims to address the irregular boundaries, small target regions, and multiscale anatomical structures commonly observed in medical images.
This protocol is most appropriate for segmentation tasks requiring simultaneous modeling of long-range contextual information, irregular object boundaries, and multiscale anatomical structures in two-dimensional medical images. Compared with CNN-based segmentation methods, the Mamba-based encoder–decoder design provides an effective context-modeling mechanism while retaining a U-shaped workflow familiar to medical image segmentation researchers. Compared with Transformer-based methods, the proposed framework avoids the direct use of quadratic self-attention and is intended for researchers seeking global contextual modeling using a relatively efficient sequence-modeling mechanism. Accordingly, this protocol is suitable for skin lesion segmentation, abdominal organ segmentation, and similar two-dimensional medical image segmentation tasks in which both global structural information and local boundary details are important.
This protocol also has limitations that should be considered before use. It may not be necessary for relatively simple segmentation tasks in which a lightweight CNN already provides sufficient performance. In addition, it is not directly designed for full three-dimensional volumetric segmentation without architectural adaptation. Researchers with very limited annotated data, limited graphics processing unit (GPU) resources, or a requirement for highly interpretable classical models should also consider these constraints before applying the protocol. Overall, this method is intended for researchers seeking to reproduce and evaluate a Mamba-based U-shaped segmentation framework that balances long-range context modeling, local boundary representation, and multistage feature fusion.
The key contributions are as follows:
1. This paper presents a novel Mamba-based medical image segmentation framework, termed MVM-UNet. Unlike approaches that directly incorporate existing SS2D-based or standard Mamba blocks, MVM-UNet introduces MV4D to model medical image features from four complementary scan-pair views, including zigzag, hierarchical, spiral, and radial scanning.
2. This paper designs SFusion Mamba and the MVV Block to integrate scan-specific representations and enhance feature transformation. SFusion Mamba fuses the features extracted from different scan-pair branches, whereas the residual and Up-Down Projection branches within the MVV Block provide complementary feature pathways that stabilize and enrich feature representations.
3. This paper introduces MFusion Mamba as an intermediate multistage fusion module between the encoder and decoder. Unlike conventional skip connections that primarily transfer corresponding-stage features, MFusion Mamba explicitly aggregates multistage encoder features through coarse-to-fine fusion and provides enriched information for decoding.
4. Extensive experimental results demonstrate that the proposed MVM-UNet achieves competitivesegmentation performance on the ISIC 2017 and ISIC 2018 datasets and strong performance on the Synapse multiorgan segmentation dataset. Furthermore, comprehensive ablation studies validate the contribution of each component within MVM-UNet.