A subscription to JoVE is required to view this content. Sign in or start your free trial.

Method Article

Innovative Hybrid CNN-Transformer Deep Learning Models For The Automated Diagnosis Of Monkeypox From Medical Images

187 views

⸱

DOI:

10.3791/70533

⸱

May 29th, 2026

 ,  ,  ,  ,  , 

In This Article

Summary

The use of a curated collection of 2,280 skin-lesion images produced a standardized binary deep-learning workflow to classify the presence of mpox in each image. A custom and InceptionV3, ResNetV2, ResNet50, DenseNet121, and a hybrid CNN-transformer model were compared in the context of a common preprocessing and training pipeline.

Abstract

The visual appearance of monkey pox skin lesions remains poorly established due to their similarity to other vesicular and pustular skin diseases. This paper tested the hypothesis that a hybrid deep-learning model, integrated with convolutional and transformer-based feature encoders, can automatically classify mpox images within a unified experimental pipeline. To ensure consistency across models and reports, the main analysis was conducted as a binary task: mpox vs other conditions with the same or similar presentation. These benchmark data consisted of 2,280 images: 1,020 mpox and 1,260 non-mpox lesion images. The images were downsampled to a standard input size of 150 × 150 pixels, and the values were in the range [0, 1]. During training, the images were augmented with rotation, translation, shear, zoom, and horizontal flipping. A custom Sequential CNN, InceptionV3, ResNetV2, ResNet50, DenseNet121, and a proposed hybrid CNN-transformer architecture were compared. Every baseline model was trained for 15 epochs using the Adam optimizer and binary cross-entropy loss. Training and validation accuracy, loss, precision, recall, F1-score, and area under the receiver operating characteristic curve were measured to assess performance, where possible. The best reported internal validation accuracy was observed with the Sequential CNN, and the hybrid model achieved a precision of 98.50, a recall of 98.50, and an F1-score of 98.58, yielding a balanced discriminative profile. InceptionV3 shows signs of overfitting, and ResNetV2 did not provide sufficient validation data to support a robust generalization test. On the whole, the hybrid model can be viewed as a viable and balanced strategy and not necessarily better than all baselines.

Introduction

Automated and fast detection of mpox in medical cases is clinically significant since the disease can be similar to a variety of other vesicular or pustular eruptions at the initial visual evaluation. Clinicians in practice do not pay much attention to the morphology of lesions alone, but they combine pattern, distribution, history, exposure risk, epidemiological context, and laboratory confirmation1. Nonetheless, computational tools use images and can also perform a helpful triage procedure in environments where skilled dermatological review is constrained or delayed. It is especially applicable when it comes to outbreak tracking, teledermatol....

Access restricted. Please log in or start a trial to view this content.

Protocol

NOTE: Use the curated binary mpox image dataset described in the manuscript for the main experiment. The dataset contains 2,280 skin-lesion images, including 1,020 mpox images and 1,260 images labeled as Other. Use secondary image analysis only; do not perform direct patient recruitment, clinical intervention, animal experimentation, or generation of new biological specimens as part of this workflow.

1. Obtain and curate the dataset

  1. Define a binary labeling scheme with two classes: mpox and Other.
  2. Assign visually similar non-mpox lesions to the Other class.
  3. Screen all images for readability, ....

Access restricted. Please log in or start a trial to view this content.

Results

Comparison beyond headline accuracy

These results show that comparisons of models in medical image analysis should not only focus on headline accuracy, but also on the behavior of the architectures with regard to a number of metrics and different experimental settings. Throughout the experiments, the models were not similarly behaving: the simple Sequential CNN was extremely high-performing on the internal validation split, InceptionV3 overfitted, ResNetV2 was not sufficiently.......

Access restricted. Please log in or start a trial to view this content.

Discussion

The key result of the study is that binary classification of mpox versus visually similar lesions, named automated classification, is possible with the curated dataset that was used in this study, but such a success largely relies on the interpretation of evidence27. Separating the experiments appropriately, the manuscript presents evidence that both conventional and proposed hybrid architectures can be used to perform strong performance28. It is thus inappropriate to view .......

Access restricted. Please log in or start a trial to view this content.

Disclosures

The authors declare that they have no known competing financial or non-financial interests that could have influenced the work reported in this manuscript.

Acknowledgements

The authors gratefully acknowledge the financial support received from Vel Tech Rangarajan Dr. Sagunthala R&D Institute of Science and Technology, under the Research Development Fund (RDF), Grant No. VTU/RDF/FY2026-27/009. This support was instrumental in facilitating the successful execution of this research work.

....

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
DatasetCurated mpox image dataset; 2,280 images for the main binary benchmark (1,020 mpox and 1,260 Other)Primary training and internal validation source
Task definitionBinary classification for the core study; supplementary multiclass and augmented summaries retained separatelyEnsures consistent interpretation of reported metrics
Programming environmentPython-based notebook workflowData handling, model training, and plotting
Deep-learning frameworkTensorFlow / Keras implementation reported in the submitted codeModel development and optimization
Image utilitiesImageDataGenerator with rescaling and augmentation; plotting libraries for training curvesPreprocessing, augmentation, and visual reporting
Baseline architecturesSequential CNN, InceptionV3, ResNetV2, ResNet50, DenseNet121Comparative benchmarking
Proposed architectureHybrid CNN-transformer classifierPrimary methodological contribution
Training settingsInput size 150 x 150; batch size 32; Adam optimizer; binary cross-entropy; 15 epochs reported for supplied baseline codeReproducibility of the core workflow
Compute environmentGPU-enabled computational system; hardware details generalized in the narrativeModel acceleration during training

Reprints and Permissions

Explore More Articles

Monkeypox DiagnosisHybrid Deep LearningMedical Image ClassificationSkin Lesion ImagesBinary ClassificationImage AugmentationModel Validation