Development of an Improved Mayfly Algorithm Based Convolutional Neural Network for Pulmonary Diseases Recognition System

Authors

  • J. O. Adegboye Department of Computer Science, School of Pure and Applied Sciences, Federal Polytechnic, Ilaro, Ogun State Nigeria
  • W. O. Ismaila Department of Computer Science, Faculty of Computing and Informatics, Ladoke Akintola University of Technology, Ogbomoso, Oyo State, Nigeria.
  • A. S. Falohun Department of Computer Engineering, Faculty of Engineering and Technology, Ladoke Akintola University of Technology, Ogbomoso, Oyo State, Nigeria.
  • J. O. Ogunyode Department of Computer Engineering, Faculty of Engineering and Technology, Ladoke Akintola University of Technology, Ogbomoso, Oyo State, Nigeria.
  • O. O. Awodoye Department of Computer Engineering, Faculty of Engineering and Technology, Ladoke Akintola University of Technology, Ogbomoso, Oyo State, Nigeria.
  • O. A. Gbadamosi Department of Computer Science, Olusegun Agagu University of Science and Technology, Okitipupa, Ondo State Nigeria

Keywords:

Convolutional Neural Network, Hyperparameters, Mayfly Algorithm, Pulmonary Diseases, Roulette Chaotic Mayfly Algorithm

Abstract

Pulmonary diseases impact the respiratory system. Convolutional Neural Network (CNN) is used for detection and recognition of pulmonary diseases; however, it suffers from hyperparameter selection and overfitting problems. Existing optimization techniques such as the Mayfly Algorithm (MA) also require initial parameter tuning and exhibit slow convergence behaviour. This research developed a Roulette Chaotic Mayfly Algorithm (RCMA) based on CNN (RCMA-CNN) for pulmonary diseases recognition. X-ray images including normal and pulmonary diseases cases were obtained from Kaggle and pre-processed for the desired image quality. The RCMA was formulated using Roulette wheel selection to model attraction deterministically and Chaotic Sinusoidal Map Function to balance exploration and exploitation in the MA. RCMA was applied to optimize CNN hyperparameters including number of layers and batch size at the convolutional layer. This was implemented in MATLAB (R2020a) and compared with MA-CNN and CNN in terms of false positive rate, sensitivity, specificity, accuracy and recognition time. At optimal threshold of 0.75, RCMA-CNN gave false positive rate of 1.43%, sensitivity of 98.06%, specificity of 98.57%, and accuracy of 98.32%. RCMA-CNN recorded a recognition time of 76.81 seconds, which was better than that of MA-CNN and CNN. The RCMA CNN model significantly outperformed both MA-CNN and standard CNN.

Downloads

Published

2025-12-26