Hybrid Attention Network for Accurate Breast Tumor Segmentation in Ultrasound Images

Muhammad Azeem Aslam, Asim Naveed, Nisar Ahmed
6/19/2025
eess.IVcs.AIcs.CV

No official code found. Best implementation: nisarahmedrana/HA-Net (1 star, last commit 2025-09-24).

Abstract

Breast ultrasound imaging is a valuable tool for early breast cancer detection, but automated tumor segmentation is challenging due to inherent noise, variations in scale of lesions, and fuzzy boundaries. To address these challenges, we propose a novel hybrid attention-based network for lesion segmentation. Our proposed architecture integrates a pre-trained DenseNet121 in the encoder part for robust feature extraction with a multi-branch attention-enhanced decoder tailored for breast ultrasound images. The bottleneck incorporates Global Spatial Attention (GSA), Position Encoding (PE), and Scaled Dot-Product Attention (SDPA) to learn global context, spatial relationships, and relative positional features. The Spatial Feature Enhancement Block (SFEB) is embedded at skip connections to refine and enhance spatial features, enabling the network to focus more effectively on tumor regions. A hybrid loss function combining Binary Cross-Entropy (BCE) and Jaccard Index loss optimizes both pixel-level accuracy and region-level overlap metrics, enhancing robustness to class imbalance and irregular tumor shapes. Experiments on public datasets demonstrate that our method outperforms existing approaches, highlighting its potential to assist radiologists in early and accurate breast cancer diagnosis.

View on arXivView PDF

Code Implementations(1)

HA-Net: A Hybrid Attention Network for Accurate Breast Tumor Segmentation in Ultrasound Images

10Jupyter NotebookSep 23, 20251 years ago

Similar Papers

Cite this paper

@article{aslam2025hybrid,
  title  = {Hybrid Attention Network for Accurate Breast Tumor Segmentation in Ultrasound Images},
  author = {Muhammad Azeem Aslam and Asim Naveed and Nisar Ahmed},
  year   = {2025},
  eprint = {2506.16592},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.16592v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.16592.svg)](https://codeofpaper.com/paper/2506.16592)

Discussion