{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,18]],"date-time":"2026-03-18T13:30:22Z","timestamp":1773840622400,"version":"3.50.1"},"reference-count":47,"publisher":"MDPI AG","issue":"2","license":[{"start":{"date-parts":[[2025,1,24]],"date-time":"2025-01-24T00:00:00Z","timestamp":1737676800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["J. Imaging"],"abstract":"<jats:p>The classification of brain tumors using MRI scans is critical for accurate diagnosis and effective treatment planning, though it poses significant challenges due to the complex and varied characteristics of tumors, including irregular shapes, diverse sizes, and subtle textural differences. Traditional convolutional neural network (CNN) models, whether handcrafted or pretrained, frequently fall short in capturing these intricate details comprehensively. To address this complexity, an automated approach employing Particle Swarm Optimization (PSO) has been applied to create a CNN architecture specifically adapted for MRI-based brain tumor classification. PSO systematically searches for an optimal configuration of architectural parameters\u2014such as the types and numbers of layers, filter quantities and sizes, and neuron numbers in fully connected layers\u2014with the objective of enhancing classification accuracy. This performance-driven method avoids the inefficiencies of manual design and iterative trial and error. Experimental results indicate that the PSO-optimized CNN achieves a classification accuracy of 99.19%, demonstrating significant potential for improving diagnostic precision in complex medical imaging applications and underscoring the value of automated architecture search in advancing critical healthcare technology.<\/jats:p>","DOI":"10.3390\/jimaging11020031","type":"journal-article","created":{"date-parts":[[2025,1,24]],"date-time":"2025-01-24T03:26:31Z","timestamp":1737689191000},"page":"31","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":10,"title":["Design of an Optimal Convolutional Neural Network Architecture for MRI Brain Tumor Classification by Exploiting Particle Swarm Optimization"],"prefix":"10.3390","volume":"11","author":[{"given":"Sofia","family":"El Amoury","sequence":"first","affiliation":[{"name":"Laboratory RI, Faculty of Sciences of Kenitra, Ibn Tofail University, Kenitra 14000, Morocco"}]},{"ORCID":"https:\/\/orcid.org\/0009-0001-1745-969X","authenticated-orcid":false,"given":"Youssef","family":"Smili","sequence":"additional","affiliation":[{"name":"ENIC, Faculty of Science and Technology of Settat, Hassan First University, Settat 26000, Morocco"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5647-303X","authenticated-orcid":false,"given":"Youssef","family":"Fakhri","sequence":"additional","affiliation":[{"name":"Laboratory RI, Faculty of Sciences of Kenitra, Ibn Tofail University, Kenitra 14000, Morocco"}]}],"member":"1968","published-online":{"date-parts":[[2025,1,24]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"436","DOI":"10.1038\/nature14539","article-title":"Deep learning","volume":"521","author":"LeCun","year":"2015","journal-title":"Nature"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Pathak, K., Pavthawala, M., Patel, N., Malek, D., Shah, V., and Vaidya, B. (2019, January 12\u201314). Classification of Brain Tumor Using Convolutional Neural Network. Proceedings of the 2019 3rd International conference on Electronics, Communication and Aerospace Technology (ICECA), Coimbatore, India.","DOI":"10.1109\/ICECA.2019.8821931"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"60","DOI":"10.1016\/j.media.2017.07.005","article-title":"A survey on deep learning in medical image analysis","volume":"42","author":"Litjens","year":"2017","journal-title":"Med. Image Anal."},{"key":"ref_4","first-page":"7","article-title":"Image Segmentation and Object Detection for Automobile using OpenCV and CNN","volume":"12","author":"Adaji","year":"2024","journal-title":"J. Netw. Inf. Secur."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"236","DOI":"10.1007\/s13198-022-01844-6","article-title":"Automation of surveillance systems using deep learning and facial recognition","volume":"14","author":"Singh","year":"2023","journal-title":"Int. J. Syst. Assur. Eng. Manag."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Gao, J., Bambrah, C., Parihar, N., Kshirsagar, S., Mallarapu, S., Yu, H., Wu, J., and Yang, Y. (2024). Analysis of Various Machine Learning Algorithms for Using Drone Images in Livestock Farms. Agriculture, 14.","DOI":"10.3390\/agriculture14040522"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"4390413","DOI":"10.1155\/2022\/4390413","article-title":"AdvU-Net: Generating Adversarial Example Based on Medical Image and Targeting U-Net Model","volume":"2022","author":"Kwon","year":"2022","journal-title":"J. Sens."},{"key":"ref_8","first-page":"4410","article-title":"Brain Tumor MRI Medical Images Classification Model Based on CNN (BTMIC-CNN)","volume":"17","author":"Alshaikhli","year":"2022","journal-title":"J. Eng. Sci. Technol."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"397","DOI":"10.1093\/neuros\/nyx103","article-title":"Current clinical brain tumor imaging","volume":"81","author":"Mabray","year":"2017","journal-title":"Neurosurgery"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Bauer, S., Wiest, R., Nolte, L.P., and Reyes, M. (2013). A survey of MRI-based medical image analysis for brain tumor studies. Phys. Med. Biol., 58.","DOI":"10.1088\/0031-9155\/58\/13\/R97"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"14369","DOI":"10.1109\/ACCESS.2021.3052489","article-title":"Particle swarm optimization for automatically evolving convolutional neural networks for image classification","volume":"9","author":"Lawrence","year":"2021","journal-title":"IEEE Access"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Eiben, A.E., and Smith, J.E. (2015). Introduction to Evolutionary Computing, Springer.","DOI":"10.1007\/978-3-662-44874-8"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"82","DOI":"10.1016\/j.ins.2013.02.041","article-title":"A survey on optimization metaheuristics","volume":"237","author":"Lepagnot","year":"2013","journal-title":"Inf. Sci."},{"key":"ref_14","first-page":"36","article-title":"Genetic algorithms in search, optimization, and machine learning","volume":"1989","author":"Golberg","year":"1989","journal-title":"Addion Wesley"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Wang, B., Sun, Y., Xue, B., and Zhang, M. (2018, January 8\u201313). Evolving deep convolutional neural networks by variable-length particle swarm optimization for image classification. Proceedings of the 2018 IEEE Congress on Evolutionary Computation (CEC), Rio de Janeiro, Brazil.","DOI":"10.1109\/CEC.2018.8477735"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"115945","DOI":"10.1016\/j.eswa.2021.115945","article-title":"IntelliSwAS: Optimizing deep neural network architectures using a particle swarm-based approach","volume":"187","author":"Nistor","year":"2022","journal-title":"Expert Syst. Appl."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"120466","DOI":"10.1016\/j.ins.2024.120466","article-title":"An evolutionary neural architecture search method based on performance prediction and weight inheritance","volume":"667","author":"Yuan","year":"2024","journal-title":"Inf. Sci."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"5229","DOI":"10.1007\/s11760-024-03228-8","article-title":"Advanced CNN based on genetic algorithm to automated femoral neck fracture classification","volume":"18","author":"Berrajaa","year":"2024","journal-title":"Signal Image Video Process."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Saifullah, S., and Dre\u017cewski, R. (2024, January 14\u201318). Improved Brain Tumor Segmentation Using Modified U-Net based on Particle Swarm Optimization Image Enhancement. Proceedings of the Genetic and Evolutionary Computation Conference Companion, GECCO \u201924 Companion, New York, NY, USA.","DOI":"10.1145\/3638530.3654339"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Saifullah, S., and Dre\u017cewski, R. (2024). Advanced Medical Image Segmentation Enhancement: A Particle-Swarm-Optimization-Based Histogram Equalization Approach. Appl. Sci., 14.","DOI":"10.20944\/preprints202401.0042.v1"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Saifullah, S., and Dre\u017cewski, R. (2024, January 14\u201318). Automatic brain tumor segmentation using convolutional neural networks: U-net framework with pso-tuned hyperparameters. Proceedings of the International Conference on Parallel Problem Solving from Nature, Hagenberg, Austria.","DOI":"10.1007\/978-3-031-70071-2_21"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"62","DOI":"10.1016\/j.swevo.2019.05.010","article-title":"Particle swarm optimization of deep neural networks architectures for image classification","volume":"49","author":"Junior","year":"2019","journal-title":"Swarm Evol. Comput."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"63","DOI":"10.1016\/j.bbe.2018.10.004","article-title":"Magnetic resonance imaging-based brain tumor grades classification and grading via convolutional neural networks and genetic algorithms","volume":"39","author":"Anaraki","year":"2019","journal-title":"Biocybern. Biomed. Eng."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"122159","DOI":"10.1016\/j.eswa.2023.122159","article-title":"Development of hybrid models based on deep learning and optimized machine learning algorithms for brain tumor Multi-Classification","volume":"238","author":"Celik","year":"2024","journal-title":"Expert Syst. Appl."},{"key":"ref_25","first-page":"576","article-title":"A Robust Hybrid Convolutional Network for Tumor Classification Using Brain MRI Image Datasets","volume":"15","author":"Bansal","year":"2024","journal-title":"Int. J. Adv. Comput. Sci. Appl."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"G\u00f3mez-Guzm\u00e1n, M.A., Jim\u00e9nez-Berista\u00edn, L., Garc\u00eda-Guerrero, E.E., L\u00f3pez-Bonilla, O.R., Tamayo-Perez, U.J., Esqueda-Elizondo, J.J., Palomino-Vizcaino, K., and Inzunza-Gonz\u00e1lez, E. (2023). Classifying Brain Tumors on Magnetic Resonance Imaging by Using Convolutional Neural Networks. Electronics, 12.","DOI":"10.3390\/electronics12040955"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Ait Amou, M., Xia, K., Kamhi, S., and Mouhafid, M. (2022). A Novel MRI Diagnosis Method for Brain Tumor Classification Based on CNN and Bayesian Optimization. Healthcare, 10.","DOI":"10.3390\/healthcare10030494"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Singh, G., Chhabra, A., and Mittal, A. (2024, January 25\u201326). Evaluating Deep Learning Algorithms for MRI-Based Brain Tumor Classification. Proceedings of the 2024 International Conference on Emerging Innovations and Advanced Computing (INNOCOMP), Sonipat, India.","DOI":"10.1109\/INNOCOMP63224.2024.00076"},{"key":"ref_29","unstructured":"LeCun, Y., and Bengio, Y. (1995). Convolutional networks for images, speech, and time series. The Handbook of Brain Theory and Neural Networks, MIT Press."},{"key":"ref_30","unstructured":"Wu, J. (2017). Introduction to Convolutional Neural Networks, National Key Lab for Novel Software Technology, Nanjing University."},{"key":"ref_31","unstructured":"O\u2019Shea, K. (2015). An introduction to convolutional neural networks. arXiv."},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Zafar, A., Aamir, M., Mohd Nawi, N., Arshad, A., Riaz, S., Alruban, A., Dutta, A.K., and Almotairi, S. (2022). A comparison of pooling methods for convolutional neural networks. Appl. Sci., 12.","DOI":"10.3390\/app12178643"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Hao, W., Yizhou, W., Yaqin, L., and Zhili, S. (2020, January 18\u201320). The role of activation function in CNN. Proceedings of the 2020 2nd International Conference on Information Technology and Computer Application (ITCA), Guangzhou, China.","DOI":"10.1109\/ITCA52113.2020.00096"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"187","DOI":"10.1007\/s40745-020-00253-5","article-title":"A comprehensive survey of loss functions in machine learning","volume":"9","author":"Wang","year":"2020","journal-title":"Ann. Data Sci."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"3947","DOI":"10.1007\/s10462-019-09784-7","article-title":"A survey of regularization strategies for deep models","volume":"53","author":"Moradi","year":"2020","journal-title":"Artif. Intell. Rev."},{"key":"ref_36","unstructured":"Goodfellow, I. (2016). Deep Learning, MIT Press."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"1942","DOI":"10.1109\/ICNN.1995.488968","article-title":"Particle swarm optimization","volume":"Volume 4","author":"Eberhart","year":"1995","journal-title":"Proceedings of the IEEE International Conference on Neural Networks"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"1942","DOI":"10.1109\/ICNN.1995.488968","article-title":"Particle swarm optimization","volume":"Volume 4","author":"Kennedy","year":"1995","journal-title":"Proceedings of the ICNN\u201995\u2014International Conference on Neural Networks"},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"387","DOI":"10.1007\/s00500-016-2474-6","article-title":"Particle swarm optimization algorithm: An overview","volume":"22","author":"Wang","year":"2018","journal-title":"Soft Comput."},{"key":"ref_40","unstructured":"PyTorch (2024, December 13). PyTorch Documentation: Default Weights Initialization. Available online: https:\/\/pytorch.org\/docs\/stable\/nn.init.html."},{"key":"ref_41","unstructured":"Nickparvar, M. (2024, December 13). Brain Tumor MRI Dataset. Kaggle. Available online: https:\/\/www.kaggle.com\/datasets\/masoudnickparvar\/brain-tumor-mri-dataset."},{"key":"ref_42","unstructured":"Cheng, J. (2024, December 13). Brain Tumor Dataset. Available online: https:\/\/figshare.com\/articles\/dataset\/brain_tumor_dataset\/1512427\/5."},{"key":"ref_43","unstructured":"Bhuvaji, S., Kadam, A., Bhumkar, P., Dedge, S., and Kanchan, S. (2024, December 13). Brain Tumor Classification (MRI). Kaggle. Available online: https:\/\/www.kaggle.com\/datasets\/sartajbhuvaji\/brain-tumor-classification-mri."},{"key":"ref_44","unstructured":"Hamada, A. (2024, December 13). Br35H :: Brain Tumor Detection. Kaggle. Available online: https:\/\/www.kaggle.com\/datasets\/ahmedhamada0\/brain-tumor-detection."},{"key":"ref_45","unstructured":"Panigrahi, A. (2024, December 13). Brain Tumor Detection MRI. Available online: https:\/\/www.kaggle.com\/datasets\/abhranta\/brain-tumor-detection-mri."},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Ullah, N., Khan, M.S., Khan, J.A., Choi, A., and Anwar, M.S. (2022). A robust end-to-end deep learning-based approach for effective and reliable BTD using MR images. Sensors, 22.","DOI":"10.3390\/s22197575"},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"108238","DOI":"10.1016\/j.compeleceng.2022.108238","article-title":"A deep autoencoder approach for detection of brain tumor images","volume":"102","author":"Nayak","year":"2022","journal-title":"Comput. Electr. Eng."}],"container-title":["Journal of Imaging"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2313-433X\/11\/2\/31\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,8]],"date-time":"2025-10-08T10:35:08Z","timestamp":1759919708000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2313-433X\/11\/2\/31"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,1,24]]},"references-count":47,"journal-issue":{"issue":"2","published-online":{"date-parts":[[2025,2]]}},"alternative-id":["jimaging11020031"],"URL":"https:\/\/doi.org\/10.3390\/jimaging11020031","relation":{},"ISSN":["2313-433X"],"issn-type":[{"value":"2313-433X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,1,24]]}}}