Swarm intelligence–driven mobilenet optimization for breast cancer classification in ultrasound images

Marwa A. ElShenawy, Rania Kadry

Abstract


This study examines the effectiveness of swarm intelligence algorithms for optimizing MobileNet hyperparameters in breast cancer classification using ultrasound images (BCMID). Three optimization methods—Artificial Bee Colony (ABC), Particle Swarm Optimization (PSO), and the Whale Optimization Algorithm (WOA)—were applied to identify optimal learning rates, dropout rate, and the optimizer. The best hyperparameter sets discovered by each algorithm were used to retrain MobileNet to verify consistency and performance stability. The dataset consisted of clinically annotated breast ultrasound images representing benign, malignant, and normal cases. Model performance was assessed using accuracy, macro-precision, macro-recall, and macro-F1-score. The optimized models outperformed the baseline configuration, with ABC achieving 62%, PSO achieving 66%, and WOA achieving 62%. In terms of computational time, PSO required 7710 seconds, ABC 14,148 seconds, and WOA 7622 seconds, highlighting notable differences in optimization efficiency. These findings demonstrate that swarm-based optimization can enhance MobileNet’s diagnostic performance while exhibiting varying computational costs, offering a reliable framework for computer-aided breast cancer detection in ultrasound imaging.

 

Received on, 15 November 2025

Accepted on, 24 November 2025

Published on, 22 December 2025


Full Text:

PDF

References


G. Galvin, “Breast cancer deaths expected to climb by 68% worldwide by 2050, WHO warns ,” Dec. 2025, euronews.com. [Online]. Available: https://www.euronews.com/health/2025/02/25/breast-cancer-deaths-expected-to-climb-by-68-worldwide-by-2050-who-warns

“Latest global cancer data: Cancer burden rises to 19.3 million new cases and 10.0 million cancer deaths in 2020 – IARC,” Dec. 2020. [Online]. Available: https://www.iarc.who.int/news-events/latest-global-cancer-data-cancer-burden-rises-to-19-3-million-new-cases-and-10-0-million-cancer-deaths-in-2020/

U. Nations, “Breast cancer cases projected to rise by nearly 40 per cent by 2050, WHO warns,” Dec. 2025. [Online]. Available: https://news.un.org/en/story/2025/02/1160391

E. N. Huhulea et al., “Artificial Intelligence Advancements in Oncology: A Review of Current Trends and Future Directions,” Biomedicines, vol. 13, no. 4, p. 951, Apr. 2025, doi: 10.3390/biomedicines13040951.

J. Zhang, X. Guo, B. Wang, and W. Cui, “Automatic Detection of Invasive Ductal Carcinoma Based on the Fusion of Multi-Scale Residual Convolutional Neural Network and SVM,” IEEE Access, vol. 9, pp. 40308–40317, 2021, doi: 10.1109/ACCESS.2021.3063803.

A. Esteva et al., “A guide to deep learning in healthcare,” Nat Med, vol. 25, no. 1, pp. 24–29, Jan. 2019, doi: 10.1038/s41591-018-0316-z.

F. Jiang et al., “Artificial intelligence in healthcare: past, present and future,” Stroke Vasc Neurol, vol. 2, no. 4, pp. 230–243, Dec. 2017, doi: 10.1136/svn-2017-000101.

H. Afrin, N. B. Larson, M. Fatemi, and A. Alizad, “Deep Learning in Different Ultrasound Methods for Breast Cancer, from Diagnosis to Prognosis: Current Trends, Challenges, and an Analysis,” Cancers (Basel), vol. 15, no. 12, p. 3139, Jun. 2023, doi: 10.3390/cancers15123139.

M. Islam, M. Hossain, and S. Ahmed, “Enhancing breast cancer classification with an Efficient Deep Convolutional Neural Network (EDCNN),” Computers in Biology and Medicine , p. 174, 2024.

Q. He, Q. Yang, and M. Xie, “HCTNet: A hybrid CNN-transformer network for breast ultrasound image segmentation,” Comput Biol Med, vol. 155, p. 106629, Mar. 2023, doi: 10.1016/j.compbiomed.2023.106629.

C. Kormpos, F. Zantalis, S. Katsoulis, and G. Koulouras, “Evaluating Deep Learning Architectures for Breast Tumor Classification and Ultrasound Image Detection Using Transfer Learning,” Big Data and Cognitive Computing, vol. 9, no. 5, p. 111, Apr. 2025, doi: 10.3390/bdcc9050111.

E. Ahishakiye and F. Kanobe, “Breast cancer classification using breast ultrasound images with a hybrid of transfer learning and Bayesian-optimized fast learning network,” Discover Artificial Intelligence, vol. 5, no. 1, p. 81, May 2025, doi: 10.1007/s44163-025-00335-4.

K. Aguerchi, Y. Jabrane, M. Habba, and A. H. El Hassani, “A CNN Hyperparameters Optimization Based on Particle Swarm Optimization for Mammography Breast Cancer Classification,” J Imaging, vol. 10, no. 2, p. 30, Jan. 2024, doi: 10.3390/jimaging10020030.

A. Fauzi, L. E. Lubis, R. Wandira, and S. Musthofa, “Hyperparameter optimization of breast ultrasound image classification models using ant colony optimization based on texture features,” Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics, vol. 7, no. 4, pp. 673–686, Oct. 2025, doi: 10.35882/ijeeemi.v7i4.266.

J. H. Holland, Adaptation in Natural and Artificial Systems. University of Michigan Press, 1975.

S. Mirjalili, S. M. Mirjalili, and A. Lewis, “Grey Wolf Optimizer,” Advances in Engineering Software, vol. 69, pp. 46–61, Mar. 2014, doi: 10.1016/j.advengsoft.2013.12.007.

S. Mirjalili and A. Lewis, “The Whale Optimization Algorithm,” Advances in Engineering Software, vol. 95, pp. 51–67, May 2016, doi: 10.1016/j.advengsoft.2016.01.008.

R. Storn and K. Price, “Differential Evolution – A Simple and Efficient Heuristic for global Optimization over Continuous Spaces,” Journal of Global Optimization, vol. 11, no. 4, pp. 341–359, Dec. 1997, doi: 10.1023/A:1008202821328.

X. S. Yang, “Firefly algorithm, stochastic test functions and design optimisation,” International Journal of Bio-Inspired Computation, vol. 2, no. 2, p. 78, 2010, doi: 10.1504/IJBIC.2010.032124.

X.-S. Yang and Suash Deb, “Cuckoo Search via Lévy flights,” in 2009 World Congress on Nature & Biologically Inspired Computing (NaBIC), IEEE, 2009, pp. 210–214. doi: 10.1109/NABIC.2009.5393690.

S. Tawfik, N. Ghatwary, A. Elgendy, O. Nasr, xujiong ye, and M. Elshenawy, “BCMID: Breast Cancer Multimodal Imaging Dataset (Updated),” Zenodo (CERN European Organization for Nuclear Research), Dec. 2025, doi: 10.5281/zenodo.14970847.

A. G. Howard et al., “MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications,” arXiv:1704.04861, 2017.

E. Bonabeau, M. Dorigo, and G. Theraulaz, Swarm Intelligence: From Natural to Artificial Systems. Oxford University Press, 1999. doi: 10.1093/oso/9780195131581.001.0001.

J. Kennedy and R. Eberhart, “Particle swarm optimization,” in Proceedings of ICNN’95 - International Conference on Neural Networks, IEEE, pp. 1942–1948. doi: 10.1109/ICNN.1995.488968.

S. Mirjalili and A. Lewis, “The Whale Optimization Algorithm,” Advances in Engineering Software, vol. 95, pp. 51–67, May 2016, doi: 10.1016/j.advengsoft.2016.01.008.

D. Karaboga, “An Idea Based on Honey Bee Swarm for Numerical Optimization,” Technical Report–Erciyes University, 2005.

N. Van Thieu and S. Mirjalili, “MEALPY: An open-source library for latest meta-heuristic algorithms in Python,” Journal of Systems Architecture, vol. 139, p. 102871, Jun. 2023, doi: 10.1016/j.sysarc.2023.102871.




DOI: https://dx.doi.org/10.21622/ACE.2025.05.2.1799

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Marwa A. ElShenawy, Rania Kadry


Advances in Computing and Engineering

E-ISSN: 2735-5985

P-ISSN: 2735-5977

 

Published by:

Academy Publishing Center (APC)

Arab Academy for Science, Technology and Maritime Transport (AASTMT)

Alexandria, Egypt

ace@aast.edu