MGA-UNet: A Frequency-Aware Multi-Scale Mamba U-Net for Medical Image Segmentation
Abstract
1. Introduction
- We propose MGA-UNet, a frequency-aware global–local representation framework for medical image segmentation. The framework integrates frequency-specific feature extraction, hierarchical multi-scale aggregation, and bottleneck semantic refinement within a unified encoder–decoder architecture.
- We design the Wavelet-Mamba Backbone, which employs SS2D to model long-range dependencies in low-frequency structural features and depthwise convolution to preserve localized boundary and texture information in high-frequency features. This heterogeneous processing strategy enables complementary global structure modeling and local detail preservation.
- We introduce the Gated Multi-scale Aggregation Module to align and aggregate hierarchical encoder features. By applying content-dependent gating together with spatial and channel refinement, GMAM reduces semantic discrepancies among multi-resolution features during encoder–decoder feature interaction.
- We develop the Adaptive Sparse Attention Module for bottleneck feature refinement. ASAM combines adaptive sparse self-attention with an adaptive gated feed-forward network to emphasize informative semantic interactions and enhance global representation. Experiments on ISIC2017, ISIC2018, and Kvasir-SEG demonstrate the effectiveness and competitive performance of the proposed framework.
2. Related Work
2.1. Medical Image Segmentation
2.2. Selective State Space Models
2.3. Wavelet Transform
2.4. Self-Attention-Based Models
3. Method
3.1. Preliminaries
3.2. WMB Backbone
3.3. GMAM Module
3.4. ASAM Module
3.5. Loss Function
4. Experiments
4.1. Experimental Settings
4.1.1. Datasets
4.1.2. Training Details
4.1.3. Evaluation Metrics
4.2. Quantitative Results
4.3. Model Complexity Analysis
4.4. Ablation Studies
4.4.1. Contribution of WMB, GMAM, and ASAM
4.4.2. Impact of Multi-Scale Depthwise Convolution Kernels in GMAM
4.4.3. Influence of Wavelet Basis in WMB
4.4.4. Effect of Operator Assignment in WMB
5. Conclusions
6. Limitations
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Yuan, C.; Zhao, D.; Heidari, A.A.; Liu, L.; Chen, Y.; Wu, Z.; Chen, H. Artemisinin optimization based on malaria therapy: Algorithm and applications to medical image segmentation. Displays 2024, 84, 102740. [Google Scholar] [CrossRef] [Scilit]
- Li, L.; Ma, J.; Zou, B.; Liao, S.; Zhi, L. Explainable graph network with information fusion of data and medical knowledge for KOA diagnosis. Biomed. Signal Process. Control 2026, 127, 111097. [Google Scholar] [CrossRef] [Scilit]
- Ronneberger, O.; Fischer, P.; Brox, T. U-net: Convolutional networks for biomedical image segmentation. In Proceedings of the International Conference on Medical image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2015; pp. 234–241. [Google Scholar]
- Zhou, Z.; Rahman Siddiquee, M.M.; Tajbakhsh, N.; Liang, J. Unet++: A nested u-net architecture for medical image segmentation. In Proceedings of the International Workshop on Deep Learning in Medical Image Analysis; Springer: Berlin/Heidelberg, Germany, 2018; pp. 3–11. [Google Scholar]
- Jin, Q.; Meng, Z.; Sun, C.; Cui, H.; Su, R. RA-UNet: A hybrid deep attention-aware network to extract liver and tumor in CT scans. Front. Bioeng. Biotechnol. 2020, 8, 605132. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Feng, S.; Zhao, H.; Shi, F.; Cheng, X.; Wang, M.; Ma, Y.; Xiang, D.; Zhu, W.; Chen, X. CPFNet: Context pyramid fusion network for medical image segmentation. IEEE Trans. Med. Imaging 2020, 39, 3008–3018. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Diakogiannis, F.I.; Waldner, F.; Caccetta, P.; Wu, C. ResUNet-a: A deep learning framework for semantic segmentation of remotely sensed data. ISPRS J. Photogramm. Remote Sens. 2020, 162, 94–114. [Google Scholar] [CrossRef] [Scilit]
- Xia, Q.; Zheng, H.; Zou, H.; Luo, D.; Tang, H.; Li, L.; Jiang, B. A comprehensive review of deep learning for medical image segmentation. Neurocomputing 2025, 613, 128740. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Lv, Q.; Yang, Z.; Li, Y.; Lee, C.H.; Shen, L. Recent progress in transformer-based medical image analysis. Comput. Biol. Med. 2023, 164, 107268. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gu, A.; Dao, T. Mamba: Linear-time sequence modeling with selective state spaces. In Proceedings of the First Conference on Language Modeling, Philadelphia, PA, USA, 7–9 October 2024. [Google Scholar]
- Zhang, H.; Zhu, Y.; Wang, D.; Zhang, L.; Chen, T.; Wang, Z.; Ye, Z. A survey on visual mamba. Appl. Sci. 2024, 14, 5683. [Google Scholar] [CrossRef] [Scilit]
- Dong, B.; Wang, W.; Fan, D.P.; Li, J.; Fu, H.; Shao, L. Polyp-pvt: Polyp segmentation with pyramid vision transformers. arXiv 2021, arXiv:2108.06932. [Google Scholar]
- Hu, B.; Zhou, P.; Yu, H.; Dai, Y.; Wang, M.; Tan, S.; Sun, Y. LeaNet: Lightweight U-shaped architecture for high-performance skin cancer image segmentation. Comput. Biol. Med. 2024, 169, 107919. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Song, L.; Geoffrey, K.; Kaijian, H. Bottleneck feature supervised U-Net for pixel-wise liver and tumor segmentation. Expert Syst. Appl. 2020, 145, 113131. [Google Scholar] [CrossRef] [Scilit]
- Long, J.; Shelhamer, E.; Darrell, T. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA, 7–12 June 2015; pp. 3431–3440. [Google Scholar]
- Oktay, O.; Schlemper, J.; Folgoc, L.L.; Lee, M.; Heinrich, M.; Misawa, K.; Mori, K.; McDonagh, S.; Hammerla, N.Y.; Kainz, B.; et al. Attention u-net: Learning where to look for the pancreas. arXiv 2018, arXiv:1804.03999. [Google Scholar]
- Huang, X.; Deng, Z.; Li, D.; Yuan, X. Missformer: An effective medical image segmentation transformer. arXiv 2021, arXiv:2109.07162. [Google Scholar]
- Wang, J.; Gou, C.; Wu, Q.; Feng, H.; Han, J.; Ding, E.; Wang, J. RTFormer: Efficient design for real-time semantic segmentation with transformer. Adv. Neural Inf. Process. Syst. 2022, 35, 7423–7436. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Liu, H.; Hu, Q. Transfuse: Fusing transformers and cnns for medical image segmentation. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2021; pp. 14–24. [Google Scholar]
- Li, L.; Ma, J.; Zou, B.; Xu, H.; Liao, S.; Xiong, W.; Zhi, L. SymUnet-DynCFC: Multimodal MRI Fusion for Robust Cartilage Segmentation and Clinically Confirmed Moderate-to-Severe KOA Diagnosis. Inf. Fusion 2026, 104145. [Google Scholar] [CrossRef] [Scilit]
- Wen, Y.; Luo, B.; Shi, W.; Ji, J.; Cao, W.; Yang, X.; Sheng, B. Sat-net: Structure-aware transformer-based attention fusion network for low-quality retinal fundus images enhancement. IEEE Trans. Multimed. 2025, 27, 6198–6210. [Google Scholar] [CrossRef] [Scilit]
- Li, L.; Xing, Y.; Xiong, W.; Liao, S.; Zou, B.; Sun, X.; Zhi, L. SwMrNet: A Multi-Target Tissue Segmentation Method for Robust and Accurate Clinical Knee Diagnosis Assistance. Bioengineering 2026, 13, 784. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Liu, Y.; Tian, Y.; Zhao, Y.; Yu, H.; Xie, L.; Wang, Y.; Ye, Q.; Jiao, J.; Liu, Y. Vmamba: Visual state space model. Adv. Neural Inf. Process. Syst. 2024, 37, 103031–103063. [Google Scholar] [CrossRef] [Scilit]
- Wu, R.; Liu, Y.; Liang, P.; Chang, Q. H-vmunet: High-order vision mamba unet for medical image segmentation. Neurocomputing 2025, 624, 129447. [Google Scholar] [CrossRef] [Scilit]
- Liu, J.; Yang, H.; Zhou, H.Y.; Xi, Y.; Yu, L.; Li, C.; Liang, Y.; Shi, G.; Yu, Y.; Zhang, S.; et al. Swin-umamba: Mamba-based unet with imagenet-based pretraining. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2024; pp. 615–625. [Google Scholar]
- Ruan, J.; Li, J.; Xiang, S. Vm-unet: Vision mamba unet for medical image segmentation. In ACM Transactions on Multimedia Computing, Communications and Applications; Association for Computing Machinery: New York, NY, USA, 2024. [Google Scholar]
- Ma, J.; Li, F.; Wang, B. U-mamba: Enhancing long-range dependency for biomedical image segmentation. arXiv 2024, arXiv:2401.04722. [Google Scholar]
- Yang, Y.; Ma, C.; Yao, J.; Zhong, Z.; Zhang, Y.; Wang, Y. Remamber: Referring image segmentation with mamba twister. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2024; pp. 108–126. [Google Scholar]
- Chen, Q.; Xu, Z.; Fang, X. CaVMamba: Convolution-augmented VMamba for medical image segmentation. Vis. Comput. 2025, 41, 5855–5872. [Google Scholar] [CrossRef] [Scilit]
- Xu, J.; Zou, Y. FAN-Unet: Enhancing Unet with Vision Fourier Analysis Block for Skin Lesion Segmentation. In Proceedings of the International Conference on Intelligent Computing; Springer: Berlin/Heidelberg, Germany, 2025; pp. 62–73. [Google Scholar]
- Zhang, D. Wavelet transform. In Fundamentals of Image Data Mining: Analysis, Features, Classification and Retrieval; Springer: Berlin/Heidelberg, Germany, 2019; pp. 35–44. [Google Scholar]
- Nawaz, S.A.; Li, J.; Li, D.; Shoukat, M.U.; Bhatti, U.A.; Raza, M.A. Medical image zero watermarking algorithm based on dual-tree complex wavelet transform, AlexNet and discrete cosine transform. Appl. Soft Comput. 2025, 169, 112556. [Google Scholar] [CrossRef] [Scilit]
- Han, K.; Wang, Y.; Chen, H.; Chen, X.; Guo, J.; Liu, Z.; Tang, Y.; Xiao, A.; Xu, C.; Xu, Y.; et al. A survey on vision transformer. IEEE Trans. Pattern Anal. Mach. Intell. 2022, 45, 87–110. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chen, J.; Lu, Y.; Yu, Q.; Luo, X.; Adeli, E.; Wang, Y.; Lu, L.; Yuille, A.L.; Zhou, Y. Transunet: Transformers make strong encoders for medical image segmentation. arXiv 2021, arXiv:2102.04306. [Google Scholar]
- Liu, Z.; Lin, Y.; Cao, Y.; Hu, H.; Wei, Y.; Zhang, Z.; Lin, S.; Guo, B. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada, 11–17 October 2021; pp. 10012–10022. [Google Scholar]
- Cao, H.; Wang, Y.; Chen, J.; Jiang, D.; Zhang, X.; Tian, Q.; Wang, M. Swin-unet: Unet-like pure transformer for medical image segmentation. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2022; pp. 205–218. [Google Scholar]
- Wen, Y.; Shen, S.; Shi, W.; Cao, W.; Bi, L.; Yang, X.; Sheng, B. A Lightweight Depthwise Separable ConvNet with Frequency-domain Enhancement for Retinal Vessel Segmentation. ACM Trans. Multimed. Comput. Commun. Appl. 2025, 21, 1–23. [Google Scholar] [CrossRef] [Scilit]
- Berseth, M. ISIC 2017-skin lesion analysis towards melanoma detection. arXiv 2017, arXiv:1703.00523. [Google Scholar]
- Codella, N.; Rotemberg, V.; Tschandl, P.; Celebi, M.E.; Dusza, S.; Gutman, D.; Helba, B.; Kalloo, A.; Liopyris, K.; Marchetti, M.; et al. Skin lesion analysis toward melanoma detection 2018: A challenge hosted by the international skin imaging collaboration (isic). arXiv 2019, arXiv:1902.03368. [Google Scholar]
- Jha, D.; Smedsrud, P.H.; Riegler, M.A.; Halvorsen, P.; De Lange, T.; Johansen, D.; Johansen, H.D. Kvasir-seg: A segmented polyp dataset. In Proceedings of the International Conference on Multimedia Modeling; Springer: Berlin/Heidelberg, Germany, 2019; pp. 451–462. [Google Scholar]
- Zhang, M.; Yu, Y.; Jin, S.; Gu, L.; Ling, T.; Tao, X. VM-UNET-V2: Rethinking vision mamba UNet for medical image segmentation. In Proceedings of the International Symposium on Bioinformatics Research and Applications; Springer: Berlin/Heidelberg, Germany, 2024; pp. 335–346. [Google Scholar]






| Method | mIoU | DSC | AC | SP | SE |
|---|---|---|---|---|---|
| U-Net [3] | 84.91 | 86.74 | 94.46 | 96.71 | 86.03 |
| Att-UNet [16] | 86.49 | 88.20 | 95.16 | 97.66 | 85.79 |
| U-Net++ [4] | 86.51 | 88.22 | 95.02 | 97.64 | 85.90 |
| Residual U-Net [7] | 85.09 | 86.89 | 94.68 | 96.88 | 86.59 |
| TransUNet [34] | 83.65 | 84.99 | 94.52 | 96.53 | 85.78 |
| Swin-UNet [36] | 84.84 | 86.57 | 94.53 | 97.42 | 83.71 |
| VM-UNet [26] | 85.35 | 88.52 | 94.47 | 96.86 | 85.15 |
| VM-UNetv2 [41] | 86.55 | 88.61 | 94.58 | 97.17 | 86.54 |
| H-VMUNet [24] | 86.47 | 88.83 | 94.55 | 96.30 | 86.09 |
| MGA-UNet (Ours) |
| Method | mIoU | DSC | AC | SP | SE |
|---|---|---|---|---|---|
| U-Net [3] | 77.08 | 85.99 | 94.99 | 97.43 | 86.82 |
| Att-UNet [16] | 77.29 | 86.35 | 95.02 | 96.52 | 85.75 |
| U-Net++ [4] | 76.98 | 85.79 | 94.85 | 96.75 | 85.92 |
| Residual U-Net [7] | 77.48 | 86.52 | 95.84 | 97.05 | 86.54 |
| TransUNet [34] | 77.30 | 87.11 | 96.42 | 98.68 | 87.67 |
| Swin-UNet [36] | 77.22 | 86.78 | 96.02 | 97.67 | 85.78 |
| VM-UNet [26] | 76.97 | 86.98 | 95.72 | 97.78 | 85.48 |
| VM-UNetv2 [41] | 78.05 | 87.67 | 95.92 | 97.76 | 86.73 |
| H-VMUNet [24] | 77.86 | 87.81 | 94.35 | 97.04 | 86.51 |
| MGA-UNet (Ours) |
| Method | mIoU | DSC | AC | SP | SE |
|---|---|---|---|---|---|
| U-Net [3] | 73.29 | 84.35 | 94.85 | 95.88 | 84.83 |
| Att-UNet [16] | 73.95 | 83.96 | 95.01 | 96.25 | 84.92 |
| U-Net++ [4] | 74.05 | 84.06 | 94.94 | 96.59 | 85.20 |
| Residual U-Net [7] | 73.89 | 83.65 | 93.68 | 96.47 | 84.87 |
| TransUNet [34] | 74.56 | 85.89 | 95.84 | 95.40 | 84.85 |
| Swin-UNet [36] | 75.29 | 85.66 | 94.81 | 96.93 | 83.73 |
| VM-UNet [26] | 75.01 | 84.93 | 94.85 | 96.25 | 84.98 |
| VM-UNetv2 [41] | 75.25 | 85.88 | 95.69 | 97.53 | 85.53 |
| H-VMUNet [24] | 75.36 | 85.41 | 94.52 | 97.24 | 85.61 |
| MGA-UNet (Ours) |
| Method | Parameters (M) ↓ | GFLOPs ↓ | FPS ↑ |
|---|---|---|---|
| U-Net [3] | 1.95 | 8.20 | 117.39 |
| Att-UNet [16] | 34.88 | 51.02 | 109.23 |
| TransUNet [34] | 105.28 | 80.68 | 71.59 |
| Swin-UNet [36] | 27.18 | 7.72 | 162.50 |
| VM-UNet [26] | 27.43 | 4.11 | 92.53 |
| VM-UNetv2 [41] | 17.91 | 4.40 | 98.71 |
| MGA-UNet (Ours) | 21.62 | 5.06 | 97.68 |
| WMB | GMAM | ASAM | ISIC2018 | ISIC2017 | Kvasir-SEG |
|---|---|---|---|---|---|
| × | × | × | 88.52 | 86.98 | 84.93 |
| ✓ | × | × | 88.64 | 87.06 | 85.34 |
| × | ✓ | × | 88.56 | 87.20 | 85.08 |
| × | × | ✓ | 88.65 | 86.99 | 85.16 |
| ✓ | ✓ | × | 88.90 | 87.80 | 85.81 |
| × | ✓ | ✓ | 88.69 | 87.61 | 85.76 |
| ✓ | × | ✓ | 88.78 | 87.86 | 85.54 |
| ✓ | ✓ | ✓ | 88.95 | 87.97 | 85.96 |
| Branch 1 | Branch 2 | Branch 3 | DSC |
|---|---|---|---|
| DWConv 3 × 3 | DWConv 3 × 3 | DWConv 3 × 3 | 88.57 |
| DWConv 5 × 5 | DWConv 5 × 5 | DWConv 5 × 5 | 88.63 |
| DWConv 7 × 7 | DWConv 7 × 7 | DWConv 7 × 7 | 88.58 |
| DWConv 3 × 3 | DWConv 5 × 5 | DWConv 5 × 5 | 88.79 |
| DWConv 3 × 3 | DWConv 5 × 5 | DWConv 7 × 7 | 88.95 |
| Wavelet Family | ISIC2018 | ISIC2017 | Kvasir-SEG |
|---|---|---|---|
| Haar | 88.95 | 87.97 | 85.96 |
| Daubechies | 88.72 | 87.83 | 85.75 |
| Coiflet | 88.75 | 87.69 | 85.01 |
| Low-Frequency Branch | High-Frequency Branch | DSC (%) ↑ | GFLOPs ↓ |
|---|---|---|---|
| DWConv | DWConv | 85.42 | 9.05 |
| SS2D | SS2D | 86.21 | 4.24 |
| DWConv | SS2D | 86.24 | 7.24 |
| SS2D | DWConv | 88.95 | 5.06 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Qiu, S.; Wang, X.; Su, K.; Song, Y.; Zheng, Q.; Cao, Z. MGA-UNet: A Frequency-Aware Multi-Scale Mamba U-Net for Medical Image Segmentation. Sensors 2026, 26, 5416. https://doi.org/10.3390/s26175416
Qiu S, Wang X, Su K, Song Y, Zheng Q, Cao Z. MGA-UNet: A Frequency-Aware Multi-Scale Mamba U-Net for Medical Image Segmentation. Sensors. 2026; 26(17):5416. https://doi.org/10.3390/s26175416
Chicago/Turabian StyleQiu, Shuaikang, Xuan Wang, Kaile Su, Yongchao Song, Qiang Zheng, and Zhenbo Cao. 2026. "MGA-UNet: A Frequency-Aware Multi-Scale Mamba U-Net for Medical Image Segmentation" Sensors 26, no. 17: 5416. https://doi.org/10.3390/s26175416
APA StyleQiu, S., Wang, X., Su, K., Song, Y., Zheng, Q., & Cao, Z. (2026). MGA-UNet: A Frequency-Aware Multi-Scale Mamba U-Net for Medical Image Segmentation. Sensors, 26(17), 5416. https://doi.org/10.3390/s26175416

