New AI Model Sets Benchmark in Skin Cancer Detection with 99.8% Accuracy

A powerful new AI model, SkinEHDLF, is setting a new standard in skin cancer detection—achieving near-perfect accuracy by combining the strengths of multiple deep learning architectures.

Learn about different types of skin cancer through vector illustrations
Study: SkinEHDLF a hybrid deep learning approach for accurate skin cancer classification in complex systems. Image Credit: GraphicsRF.com/Shutterstock.com

A recent article in Nature details the development of SkinEHDLF, an advanced deep learning (DL) model designed for automated skin cancer classification. This hybrid system brings together ConvNeXt, EfficientNetV2, and Swin Transformer models using an adaptive attention-based feature fusion mechanism.

Trained on a massive dataset of 401,059 skin lesion images from the International Skin Imaging Collaboration (ISIC) 2024 dataset, SkinEHDLF hits 99.8 % AUROC in binary classification and 98.6 % accuracy across multiple classes. These numbers aren’t just impressive—they outpace current top performers like ResNet-50 and ViT-B16, delivering 7.9 % higher accuracy and 28 % fewer false positives. It’s a compelling step forward for AI in dermatology, especially when it comes to scalable, accurate diagnostics.

Why Skin Cancer Diagnosis Needs a Boost

Skin cancer, particularly melanoma, remains a serious health threat worldwide due to how quickly it can spread. Diagnosing it usually involves visual inspections followed by biopsies—methods that can be slow, subjective, and hard to scale in resource-limited settings.

Deep learning models have offered a promising assist here, but even the best-known ones like CNNs and ViTs come with trade-offs. CNNs often struggle to understand broader image context, while ViTs demand huge amounts of data and tend to underperform on underrepresented skin types. False positives and false negatives are still common, and generalization across demographics remains a challenge.

That’s where SkinEHDLF makes a difference. By combining multiple architectures—each with a specific strength—and layering in an attention mechanism that intelligently prioritizes features, the model improves performance across the board. It handles class imbalance, reduces misclassifications, and builds in enough scalability for real-world clinical settings.

A Look at the Dataset and What Makes it Special

The backbone of SkinEHDLF’s success is the ISIC 2024 dataset. It’s one of the largest and most diverse collections available for skin lesion analysis, packed with over 401,000 high-res images captured using 3D total body photography. This imaging technique captures more detail and realism than traditional dermoscopy, making the dataset more clinically relevant.

What’s notable is the range: the dataset spans all six Fitzpatrick skin types and includes melanoma, basal cell carcinoma, squamous cell carcinoma, and benign nevi. It’s balanced between malignant and benign cases, with all samples confirmed via histopathology or expert clinical assessment.

Low-quality or non-diagnostic images were removed up front, and preprocessing steps like histogram equalization and data augmentation (rotation, flipping, scaling) were used to enhance the model’s ability to generalize. Demographic details like age, gender, and ethnicity were also considered, which helps address the bias issues many DL models struggle with.

Under the Hood: Hybrid Architecture and Training Approach

So how does SkinEHDLF actually work? It brings together three major components:

  • ConvNeXt for efficient, hierarchical local feature extraction using depth-wise separable convolutions.
  • EfficientNetV2 for computational scalability, employing MBConv blocks that keep things fast and light.
  • Swin Transformer for global attention and contextual awareness, thanks to its shifted-window self-attention design.

The real magic happens in the feature fusion layer. Outputs from all three networks are combined and sent through a dense layer for pattern recognition. Final classification happens through either a sigmoid function (for binary tasks) or SoftMax (for multi-class scenarios). The team also applied weighted loss functions and targeted data augmentation to counter class imbalance—a common hurdle in medical imaging.

Performance was evaluated using a full suite of metrics: accuracy, precision, recall, F1-score, AUROC, and the Matthews correlation coefficient (MCC). This gives a well-rounded view of how well the model performs in real diagnostic settings.

Testing, Tools, and Training Setup

To benchmark SkinEHDLF, the researchers compared it against ResNet-50, EfficientNet-B3, and ViT using the same ISIC 2024 dataset. The experiments ran on a robust setup: Intel Core i7 processors, NVIDIA GPUs, and 32 GB of RAM. Multi-GPU acceleration helped cut down training time significantly from three days to about 1.5 days.

The data was split 70/20/10 for training, validation, and testing. Grid search and K-fold cross-validation were used to fine-tune hyperparameters. Both TensorFlow and PyTorch frameworks were employed for flexible and efficient training, making the model easier to adapt for clinical integration down the line.

Results That Speak for Themselves

SkinEHDLF delivered some of the best performance numbers we’ve seen in this space. For melanoma detection alone, it achieved 98.4 % accuracy, 98.7 % precision, and 98.1 % recall. It showed similarly strong results for basal cell carcinoma (97.9 % accuracy) and squamous cell carcinoma (97.5 % accuracy). In binary classification (malignant vs. benign), the model hit 98.76 % accuracy and 99.8 % AUROC, outperforming existing models by a significant margin.

Cross-dataset validation showed that these results weren’t a fluke. Accuracy stayed above 96 % even when tested on external datasets. The model also held up across different anatomical sites and age groups. Ablation studies revealed that removing any one of the three core components—ConvNeXt, EfficientNetV2, or Swin Transformer—reduced accuracy by 3–4 %, confirming the importance of their integration.

That said, the researchers do acknowledge the need for further clinical testing—especially to see how the model handles rare lesion types and varied imaging environments.

Final Thoughts

With its hybrid architecture, high accuracy, and robust performance across datasets and demographics, SkinEHDLF represents a serious step forward in AI-assisted dermatology. Achieving 98.76 % accuracy and slashing false positives by 28 %, it’s not just a lab experiment; it’s a clinically relevant tool that could help make early skin cancer diagnosis more accessible and reliable.

Of course, there’s still room to grow. Future research will need to improve interpretability, test the model under noisier real-world conditions, and expand its reach with even more diverse training data. But SkinEHDLF offers a compelling example of how carefully designed deep learning models can meet the high standards of clinical medicine.

Journal Reference

Lilhore, U. K., Sharma, Y. K., Simaiya, S., Alroobaea, R., Baqasah, A. M., Alsafyani, M., & Alhazmi, A. (2025). SkinEHDLF a hybrid deep learning approach for accurate skin cancer classification in complex systems. Scientific Reports, 15(1). DOI:10.1038/s41598-025-98205-7. https://www.nature.com/articles/s41598-025-98205-7

Disclaimer: The views expressed here are those of the author expressed in their private capacity and do not necessarily represent the views of AZoM.com Limited T/A AZoNetwork the owner and operator of this website. This disclaimer forms part of the Terms and conditions of use of this website.

Citations

Please use one of the following formats to cite this article in your essay, paper or report:

  • APA

    Nandi, Soham. (2025, May 09). New AI Model Sets Benchmark in Skin Cancer Detection with 99.8% Accuracy. AZoRobotics. Retrieved on May 09, 2025 from https://www.azorobotics.com/News.aspx?newsID=15937.

  • MLA

    Nandi, Soham. "New AI Model Sets Benchmark in Skin Cancer Detection with 99.8% Accuracy". AZoRobotics. 09 May 2025. <https://www.azorobotics.com/News.aspx?newsID=15937>.

  • Chicago

    Nandi, Soham. "New AI Model Sets Benchmark in Skin Cancer Detection with 99.8% Accuracy". AZoRobotics. https://www.azorobotics.com/News.aspx?newsID=15937. (accessed May 09, 2025).

  • Harvard

    Nandi, Soham. 2025. New AI Model Sets Benchmark in Skin Cancer Detection with 99.8% Accuracy. AZoRobotics, viewed 09 May 2025, https://www.azorobotics.com/News.aspx?newsID=15937.

Tell Us What You Think

Do you have a review, update or anything you would like to add to this news story?

Leave your feedback
Your comment type
Submit

While we only use edited and approved content for Azthena answers, it may on occasions provide incorrect responses. Please confirm any data provided with the related suppliers or authors. We do not provide medical advice, if you search for medical information you must always consult a medical professional before acting on any information provided.

Your questions, but not your email details will be shared with OpenAI and retained for 30 days in accordance with their privacy principles.

Please do not ask questions that use sensitive or confidential information.

Read the full Terms & Conditions.