A Mask-Conditioned Deep-Learning Framework with Quantitatively Evaluated Attention for Benign–Malignant Classification of Breast Ultrasound Images
Background/Objectives: Reading breast ultrasound depends strongly on the radiologist, and classifiers that rarely explain their predictions can be right for the wrong reason. We studied a classifier that receives the lesion mask as an extra input channel and how much its performance depends on that mask. Methods: EfficientNet-B3 received the RGB image and the lesion mask as a fourth channel on BUS-BRA (1875 images, 1064 patients; patient-level 70/15/15 split). We added bootstrap confidence intervals and paired tests, validation-selected operating points, a three-seed ROI-only comparison, zeroed and automatic masks, external BUSI testing with near-duplicate analysis, and quantitative Grad-CAM metrics with center-prior controls. Results: With the expert mask, accuracy was 0.870 and AUC 0.903 (95% CI 0.844–0.952) on BUS-BRA, and AUC 0.971 on BUSI. With an automatic mask the AUC fell to 0.849 (−0.054), and to 0.847 with the mask zeroed. The mask channel gave no AUC gain over ROI-only on BUS-BRA (−0.004) but did on BUSI (+0.057) and in the reverse direction (+0.077). Grad-CAM localization was not consistently better than a center prior. Sensitivity targets of 90% and 95% were not reached (0.773, 0.875). Conclusions: The design works well with expert masks and helps under distribution shift, but not with automatic masks; Grad-CAM gives only weak support for lesion-focused attention. It is a research prototype; domain-shift-robust mask generation and independent expert validation are needed. The code, weights and splits are public.
Authors
- Amani Yousef Owda (ORCID: https://orcid.org/0000-0002-6104-9508)
- Noora Ismail Abed Al-Latif Shawareb
Publication Details
- Journal
- Diseases
- Published
- 2026-11-25
- DOI
- https://doi.org/10.3390/diseases14120447
- Primary Topic
- AI in cancer detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00