Dip Kumar Saha, Sadman Rafi, M F Mridha, Sultan Alfarhood, Mejdl Safran, Md Mohsin Kabir, Nilanjan Dey
{"title":"Mpox-XDE: an ensemble model utilizing deep CNN and explainable AI for monkeypox detection and classification.","authors":"Dip Kumar Saha, Sadman Rafi, M F Mridha, Sultan Alfarhood, Mejdl Safran, Md Mohsin Kabir, Nilanjan Dey","doi":"10.1186/s12879-025-10811-y","DOIUrl":null,"url":null,"abstract":"<p><p>The daily surge in cases in many nations has made the growing number of human monkeypox (Mpox) cases an important global concern. Therefore, it is imperative to identify Mpox early to prevent its spread. The majority of studies on Mpox identification have utilized deep learning (DL) models. However, research on developing a reliable method for accurately detecting Mpox in its early stages is still lacking. This study proposes an ensemble model composed of three improved DL models to more accurately classify Mpox in its early phases. We used the widely recognized Mpox Skin Images Dataset (MSID), which includes 770 images. The enhanced Swin Transformer (SwinViT), the proposed ensemble model Mpox-XDE, and three modified DL models-Xception, DenseNet201, and EfficientNetB7-were used. To generate the ensemble model, the three DL models were combined via a Softmax layer, a dense layer, a flattened layer, and a 65% dropout. Four neurons in the final layer classify the dataset into four categories: chickenpox, measles, normal, and Mpox. Lastly, a global average pooling layer is implemented to classify the actual class. The Mpox-XDE model performed exceptionally well, achieving testing accuracy, precision, recall, and F1-score of 98.70%, 98.90%, 98.80%, and 98.80%, respectively. Finally, the popular explainable artificial intelligence (XAI) technique, Gradient-weighted Class Activation Mapping (Grad-CAM), was applied to the convolutional layer of the Mpox-XDE model to generate overlaid areas that effectively highlight each illness class in the dataset. This proposed methodology will aid professionals in diagnosing Mpox early in a patient's condition.</p>","PeriodicalId":8981,"journal":{"name":"BMC Infectious Diseases","volume":"25 1","pages":"403"},"PeriodicalIF":3.4000,"publicationDate":"2025-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11934716/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Infectious Diseases","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12879-025-10811-y","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"INFECTIOUS DISEASES","Score":null,"Total":0}
引用次数: 0
Abstract
The daily surge in cases in many nations has made the growing number of human monkeypox (Mpox) cases an important global concern. Therefore, it is imperative to identify Mpox early to prevent its spread. The majority of studies on Mpox identification have utilized deep learning (DL) models. However, research on developing a reliable method for accurately detecting Mpox in its early stages is still lacking. This study proposes an ensemble model composed of three improved DL models to more accurately classify Mpox in its early phases. We used the widely recognized Mpox Skin Images Dataset (MSID), which includes 770 images. The enhanced Swin Transformer (SwinViT), the proposed ensemble model Mpox-XDE, and three modified DL models-Xception, DenseNet201, and EfficientNetB7-were used. To generate the ensemble model, the three DL models were combined via a Softmax layer, a dense layer, a flattened layer, and a 65% dropout. Four neurons in the final layer classify the dataset into four categories: chickenpox, measles, normal, and Mpox. Lastly, a global average pooling layer is implemented to classify the actual class. The Mpox-XDE model performed exceptionally well, achieving testing accuracy, precision, recall, and F1-score of 98.70%, 98.90%, 98.80%, and 98.80%, respectively. Finally, the popular explainable artificial intelligence (XAI) technique, Gradient-weighted Class Activation Mapping (Grad-CAM), was applied to the convolutional layer of the Mpox-XDE model to generate overlaid areas that effectively highlight each illness class in the dataset. This proposed methodology will aid professionals in diagnosing Mpox early in a patient's condition.
期刊介绍:
BMC Infectious Diseases is an open access, peer-reviewed journal that considers articles on all aspects of the prevention, diagnosis and management of infectious and sexually transmitted diseases in humans, as well as related molecular genetics, pathophysiology, and epidemiology.