Mpox-XDE: an ensemble model utilizing deep CNN and explainable AI for monkeypox detection and classification

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....

Full description

Saved in:
Bibliographic Details
Main Authors: Dip Kumar Saha, Sadman Rafi, M. F. Mridha, Sultan Alfarhood, Mejdl Safran, Md Mohsin Kabir, Nilanjan Dey
Format: Article
Language:English
Published: BMC 2025-03-01
Series:BMC Infectious Diseases
Subjects:
Online Access:https://doi.org/10.1186/s12879-025-10811-y
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850208518053822464
author Dip Kumar Saha
Sadman Rafi
M. F. Mridha
Sultan Alfarhood
Mejdl Safran
Md Mohsin Kabir
Nilanjan Dey
author_facet Dip Kumar Saha
Sadman Rafi
M. F. Mridha
Sultan Alfarhood
Mejdl Safran
Md Mohsin Kabir
Nilanjan Dey
author_sort Dip Kumar Saha
collection DOAJ
description 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.
format Article
id doaj-art-eabcf26a9ea447e7adb5ac022b997900
institution OA Journals
issn 1471-2334
language English
publishDate 2025-03-01
publisher BMC
record_format Article
series BMC Infectious Diseases
spelling doaj-art-eabcf26a9ea447e7adb5ac022b9979002025-08-20T02:10:13ZengBMCBMC Infectious Diseases1471-23342025-03-0125111910.1186/s12879-025-10811-yMpox-XDE: an ensemble model utilizing deep CNN and explainable AI for monkeypox detection and classificationDip Kumar Saha0Sadman Rafi1M. F. Mridha2Sultan Alfarhood3Mejdl Safran4Md Mohsin Kabir5Nilanjan Dey6Department of CSE, Stamford University BangladeshDepartment of CSE, American International University-BangladeshDepartment of CSE, American International University-BangladeshDepartment of Computer Science, College of Computer and Information Sciences, King Saud UniversityDepartment of Computer Science, College of Computer and Information Sciences, King Saud UniversityDivision of Computer Science and Software Engineering, Mälardalens UniversityDepartment of CSE, Techno International New TownAbstract 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.https://doi.org/10.1186/s12879-025-10811-yMonkeypoxDeep learningMpoxDetectionEnsemble modelXAI
spellingShingle Dip Kumar Saha
Sadman Rafi
M. F. Mridha
Sultan Alfarhood
Mejdl Safran
Md Mohsin Kabir
Nilanjan Dey
Mpox-XDE: an ensemble model utilizing deep CNN and explainable AI for monkeypox detection and classification
BMC Infectious Diseases
Monkeypox
Deep learning
Mpox
Detection
Ensemble model
XAI
title Mpox-XDE: an ensemble model utilizing deep CNN and explainable AI for monkeypox detection and classification
title_full Mpox-XDE: an ensemble model utilizing deep CNN and explainable AI for monkeypox detection and classification
title_fullStr Mpox-XDE: an ensemble model utilizing deep CNN and explainable AI for monkeypox detection and classification
title_full_unstemmed Mpox-XDE: an ensemble model utilizing deep CNN and explainable AI for monkeypox detection and classification
title_short Mpox-XDE: an ensemble model utilizing deep CNN and explainable AI for monkeypox detection and classification
title_sort mpox xde an ensemble model utilizing deep cnn and explainable ai for monkeypox detection and classification
topic Monkeypox
Deep learning
Mpox
Detection
Ensemble model
XAI
url https://doi.org/10.1186/s12879-025-10811-y
work_keys_str_mv AT dipkumarsaha mpoxxdeanensemblemodelutilizingdeepcnnandexplainableaiformonkeypoxdetectionandclassification
AT sadmanrafi mpoxxdeanensemblemodelutilizingdeepcnnandexplainableaiformonkeypoxdetectionandclassification
AT mfmridha mpoxxdeanensemblemodelutilizingdeepcnnandexplainableaiformonkeypoxdetectionandclassification
AT sultanalfarhood mpoxxdeanensemblemodelutilizingdeepcnnandexplainableaiformonkeypoxdetectionandclassification
AT mejdlsafran mpoxxdeanensemblemodelutilizingdeepcnnandexplainableaiformonkeypoxdetectionandclassification
AT mdmohsinkabir mpoxxdeanensemblemodelutilizingdeepcnnandexplainableaiformonkeypoxdetectionandclassification
AT nilanjandey mpoxxdeanensemblemodelutilizingdeepcnnandexplainableaiformonkeypoxdetectionandclassification