Flatten Wisely: How Patch Order Shapes Mamba-Powered Vision for MRI Segmentation
On the map: State-space sequence models (S4, Mamba) → Mamba for medical image analysis
Abstract (arXiv)
Vision Mamba models promise transformer-level performance at linear computational cost, but their reliance on serializing 2D images into 1D sequences introduces a critical, yet overlooked, design choice: the patch scan order. In medical imaging, where modalities like brain MRI contain strong anatomical priors, this choice is non-trivial. This paper presents the first systematic study of how scan order impacts MRI segmentation. We introduce Multi-Scan 2D (MS2D), a parameter-free module for Mamba-based architectures that facilitates exploring diverse scan paths without additional computational cost. We conduct a large-scale benchmark of 21 scan strategies on three public datasets (BraTS 2020, ISLES 2022, LGG), covering over 70,000 slices. Our analysis shows conclusively that scan order is a statistically significant factor (Friedman test: chi220=43.9, p=0.0016), with performance varying by as much as 27 Dice points. Spatially contiguous paths -- simple horizontal and vertical rasters -- consistently outperform disjointed diagonal scans. We conclude that scan order is a powerful, cost-free hyperparameter, and provide an evidence-based shortlist of optimal paths to maximize the performance of Mamba models in medical imaging.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Mamba for medical image analysis, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 16 of its 23 references that are in the map. First posted on arXiv 15 Jul 2025.
Builds on
16 of 23 references.
Closest ancestors · 5
Same direction, newest first
- 2024MSVM-UNet: Multi-Scale Vision Mamba UNet for Medical Image Segmentation25 Aug
- 2024LKM-UNet: Large Kernel Vision Mamba UNet for Medical Image Segmentation12 Mar
- 2024VM-UNet: Vision Mamba UNet for Medical Image Segmentation4 Feb
- 2024SegMamba: Long-range Sequential Modeling Mamba For 3D Medical Image Segmentation24 Jan
- 2024U-Mamba: Enhancing Long-range Dependency for Biomedical Image Segmentation9 Jan
Other references · 11
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
- 2024VMamba: Visual State Space Modelcited by 955
- 2017Understanding the Effective Receptive Field in Deep Convolutional Neural Networkscited by 549
- 2018Identifying the Best Machine Learning Algorithms for Brain Tumor Segmentation, Progression Assessment, and Overall Survival Prediction in the BRATS Challengecited by 508
- 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognitioncited by 141
- 2022ISLES 2022: A multi-center magnetic resonance imaging stroke lesion segmentation datasetcited by 104
- 2024Rethinking Scanning Strategies with Vision Mamba in Semantic Segmentation of Remote Sensing Imagery: An Experimental Studycited by 24
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Patch-MoE Mamba: A Patch-Ordered Mixture-of-Experts State Space Architecture for Medical Image Segmentation
- 2025UD-Mamba: A pixel-level uncertainty-driven Mamba model for medical image segmentation
- 2024MedSegMamba: 3D CNN-Mamba Hybrid Architecture for Brain Segmentation
- 2025A Comprehensive Analysis of Mamba for 3D Volumetric Medical Image Segmentation
- 2024A Comprehensive Survey of Mamba Architectures for Medical Image Analysis: Classification, Segmentation, Restoration and Beyond
- 2025A Reverse Mamba Attention Network for Pathological Liver Segmentation
- 2025DRBD-Mamba for Robust and Efficient Brain Tumor Segmentation with Analytical Insights
- 2025HybridMamba: A Dual-domain Mamba for 3D Medical Image Segmentation