HCMA-UNet: A Hybrid CNN-Mamba UNet with Axial Self-Attention for Efficient Breast Cancer Segmentation

Haoxuan Li, Wei Song, Peiwu Qin, Xi Yuan, Zhenglin Chen

TL;DR

This paper introduces HCMA-UNet, a novel hybrid deep learning architecture that combines the strengths of Convolutional Neural Networks (CNNs) and Mamba models for efficient and accurate breast cancer lesion segmentation in DCE-MRI. Their approach achieves state-of-the-art performance with significantly reduced computational cost, aided by a new loss function called FRLoss.

What Problem Does This Paper Address?

Accurate segmentation of breast cancer lesions in Dynamic Contrast-Enhanced Magnetic Resonance Imaging (DCE-MRI) is crucial for early diagnosis, treatment planning, and patient prognosis. However, this task is notoriously difficult due to the heterogeneous nature of tumors, their often indistinct boundaries, and the inherent challenges of medical image analysis. Current deep learning models, while powerful, often face a trade-off between capturing fine-grained local details and understanding broader contextual information, or they suffer from high computational demands. Manual segmentation, the current clinical standard, is time-consuming and prone to subjective errors.

Methods

The core innovation is the HCMA-UNet, a hybrid architecture designed to overcome the limitations of purely CNN-based or Transformer-based (and by extension, Mamba-based) models.

  • Hybrid CNN-Mamba Backbone: HCMA-UNet integrates a lightweight CNN backbone for efficient local feature extraction with a novel Multi-view Axial Self-Attention Mamba (MISM) module.
  • MISM Module: This module is designed to leverage Mamba's ability to model long-range dependencies while addressing its limitations with 3D data. It achieves this by:
  • Multi-view Processing: Analyzing 2D slices along the axial, coronal, and sagittal planes to capture comprehensive spatial correlations.
  • Visual State Space Block (VSSB): Used for efficient bidirectional scanning within each 2D slice to capture intra-slice features.
  • Axial Self-Attention (ASA): Applied to model inter-slice dependencies, enhancing the capture of anatomical relationships across different layers.
  • Asymmetric Split Channel (ASC): A strategy to reduce computational redundancy by allocating more channels to the axial plane, which is considered more informative for breast cancer segmentation.
  • Lightweight Res Block: A modified residual block inspired by MobileNetV2 and ResNet-D is used for efficient downsampling, further reducing the model's parameter count.
  • Feature-guided Region-aware Loss (FRLoss): A novel loss function designed to improve segmentation accuracy by addressing challenges like high similarity between positive and negative pixels. It comprises three components:
  • Positive Compactness Loss: Encourages features of positive (lesion) pixels to be cohesive.
  • Boundary Aware Loss: Focuses on improving the delineation of lesion boundaries.
  • Hard Negative Pixels Mining Loss: Specifically targets difficult-to-classify negative pixels that resemble lesion features.

Datasets

The authors evaluated their approach on three datasets:

  • Private Dataset (Dataset I): A dataset of 907 DCE-MRI patient cases collected from two medical centers, with annotations validated by experienced physicians. It was split into 725 training and 182 testing samples.
  • Public Dataset (Dataset II - MAMA-MIA): Contains 1506 breast cancer DCE-MRI cases with expert annotations. The first post-contrast images were used, with 1204 for training and 302 for testing.
  • Public Dataset (Dataset III - Yunnan Cancer Hospital): A publicly available dataset with post-contrast enhanced images, randomly split into 75 training and 25 testing samples.

Key Insights and Ideas

  • Hybridization is Key: The paper strongly advocates for hybrid architectures that combine the local feature extraction power of CNNs with the long-range dependency modeling capabilities of Mamba (or Transformers) for complex 3D medical image segmentation.
  • Mamba for 3D Challenges: The MISM module demonstrates a clever way to adapt Mamba's sequential processing for 3D volumetric data by leveraging multi-view analysis and axial self-attention, overcoming the limitations of simply flattening 3D volumes.
  • FRLoss for Nuanced Segmentation: The FRLoss function is a significant contribution, showing that carefully designed loss functions can directly address specific segmentation challenges like boundary ambiguity and false positives, leading to more robust and accurate results.
  • Efficiency Matters: The proposed HCMA-UNet achieves state-of-the-art performance with a remarkably low parameter count and computational cost, making it more practical for clinical deployment.

Key Results

  • State-of-the-Art Performance: HCMA-UNet achieved Dice scores of 80.28%, 76.14%, and 78.05% on the three respective datasets, outperforming several mainstream models.
  • Significant Improvement with FRLoss: The FRLoss consistently improved performance across various metrics and architectures, demonstrating its effectiveness. For instance, on a challenging case, HCMA-UNet with FRLoss achieved a Dice score of 91.10%, a substantial improvement over the baseline.
  • Computational Efficiency: The model boasts only 2.87M parameters and 126.44 GFLOPs, significantly less than models like UMamba (69.37M parameters, 13447.52 GFLOPs) and nnU-Net (30.45M parameters, 2610.66 GFLOPs).
  • Ablation Studies: Experiments confirmed the effectiveness of each component of MISM (VSSB, ASC, ASA) and FRLoss, showing progressive improvements as components were added.

Limitations and Future Work

  • Limitations: While the paper demonstrates strong performance, the primary limitation is the reliance on a private dataset, which might introduce biases. The computational efficiency, while improved, could still be a bottleneck for extremely large datasets or real-time applications.
  • Future Work: The authors suggest exploring the application of their HCMA-UNet and FRLoss to other medical imaging modalities and segmentation tasks. Further research into optimizing the MISM module and exploring more advanced Mamba variants for 3D data could also be promising directions. The paper also highlights the potential for further reducing computational complexity while maintaining high accuracy.

Summary updated

Abstract

Breast cancer lesion segmentation in DCE-MRI remains challenging due to heterogeneous tumor morphology and indistinct boundaries. To address these challenges, this study proposes a novel hybrid segmentation network, HCMA-UNet, for lesion segmentation of breast cancer. Our network consists of a lightweight CNN backbone and a Multi-view Axial Self-Attention Mamba (MISM) module. The MISM module integrates Visual State Space Block (VSSB) and Axial Self-Attention (ASA) mechanism, effectively reducing parameters through Asymmetric Split Channel (ASC) strategy to achieve efficient tri-directional feature extraction. Our lightweight model achieves superior performance with 2.87M parameters and 126.44 GFLOPs. A Feature-guided Region-aware loss function (FRLoss) is proposed to enhance segmentation accuracy. Extensive experiments on one private and two public DCE-MRI breast cancer datasets demonstrate that our approach achieves state-of-the-art performance while maintaining computational efficiency. FRLoss also exhibits good cross-architecture generalization capabilities. The source code is available at https://github.com/Haoxuanli-Thu/HCMA-UNet.
BibTeX
@misc{li2025hcma,
  author = {Haoxuan Li and Wei Song and Peiwu Qin and Xi Yuan and Zhenglin Chen},
  title = {{HCMA-UNet: A Hybrid CNN-Mamba UNet with Axial Self-Attention for Efficient Breast Cancer Segmentation}},
  year = {2025},
  eprint = {2501.00751},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.00751},
}
Figure