Skip to Content
DiagnosticsDiagnostics
  • Article
  • Open Access

21 November 2026

23 Pages

Benchmarking Deep Learning Protocols in Dermoscopic Skin-Cancer Classification: Performance Sensitivity and the Limits of Grad-CAM in Auditing Data Leakage

,
and
1
Department of Dermatology, Taipei City Hospital, Zhongxing Branch, Taipei 103212, Taiwan
2
Center of General Education, University of Taipei, Taipei 100234, Taiwan
3
Department of Cosmetic Applications and Management, Mackay Junior College of Medicine, Nursing, and Management, Taipei 112021, Taiwan
4
Department of Computer Science and Information Engineering, National Quemoy University, Kinmen 892009, Taiwan
Diagnostics2026, 16(23), 3912;https://doi.org/10.3390/diagnostics16233912 
(registering DOI)
This article belongs to the Special Issue Novel Advances in the Diagnosis of Dermatology

Abstract

Background/Objectives: Published HAM10000 results are hard to compare because evaluation choices, notably the data split, are rarely controlled. We establish a leakage-controlled benchmark for malignant-versus-benign dermoscopic classification, quantify how far evaluation choices move performance relative to architecture, and test whether attribution maps can reveal leakage. Methods: Six ImageNet-pretrained convolutional neural networks and their ensembles were trained on HAM10000 (10,015 images) with a lesion-grouped split, three seeds, and validation-selected checkpoints and thresholds. The pipeline was repeated on an image-level split, ConvNeXt-Tiny was tested unchanged on ISIC 2020 (33,126 images), and eleven attribution methods were scored for faithfulness, localization and sensitivity to weight randomization. Results: ConvNeXt-Tiny reached an area under the receiver operating characteristic curve (AUC) of 0.925 ± 0.005 (sensitivity 85.3%, specificity 83.0%), and an eight-model ensemble 0.940 ± 0.001 with a precision-recall AUC of 0.832, above the only published lesion-grouped comparator (0.822), whose AUC it matches within one standard error. The four modern architectures were indistinguishable (all pairwise p ≥ 0.43), whereas an image-level split raised AUC by 0.027 and last-epoch evaluation lowered it by 0.018. On ISIC 2020, where only melanoma is labeled positive, AUC was 0.730 and sensitivity at the transferred threshold fell from 84.6% (76.5% for melanoma) to 42.5%. Attribution methods agreed weakly (mean rank correlation 0.16), faithfulness was unrelated to localization, and none exposed the leakage-trained model; a union of the three most faithful maps improved faithfulness (p = 0.003). Conclusions: Under leakage-controlled evaluation, an eight-model ensemble matches the best published result, but evaluation protocol moves performance more than architecture does and must always be reported. Explanation methods should be chosen by measured faithfulness and reported as a panel.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.