Generalizable, imbalance-aware skin-lesion classification under a strict leak-free, cross-dataset protocol

Automated skin-lesion classification models frequently achieve near-expert diagnostic accuracy on in-distribution benchmarks, yet their clinical translation remains severely obstructed by extreme class imbalance and cross-center domain shift. While contemporary research increasingly gravitates toward intricate architectural, generative, or relational designs, we present a systematic evaluation demonstrating that principled data-level and loss-level regularization on modern convolutional and vision transformer backbones can achieve state-of-the-art out-of-distribution generalization. In response to pervasive data contamination concerns in dermatology AI, we establish a certified leak-free protocol employing dual-pass deduplication (perceptual hashing and self-supervised deep visual features), eliminating all exact and near-duplicate overlaps across cohorts. Our evaluation spans four independent clinical datasets: HAM10000 (development), ISIC-2019 (cross-dataset transfer), Derm7pt (exploratory model selection), and an untouched, sequestered PH2 cohort ($$N=190$$) evaluated strictly under a pre-registered blind protocol. Through a comprehensive campaign of 255 trained models across 17 distinct configurations (5-fold cross-validation $$\times $$ 3 seeds), we decouple minority-class rebalancing from domain-invariant representation learning via $$2\times 2$$ factorial experiments and equal-volume data scaling controls. We demonstrate that while multi-source data pooling drives adaptation to observed acquisition domains, data-space convex regularization (MixUp) provides the primary engine for transfer to completely unseen clinical centers. On the untouched PH2 blind validation cohort, our calibrated ConvNeXt-Tiny with MixUp achieves an AUROC of 0.920, an AUPRC of 0.788, and a Balanced Accuracy of 89.2%, substantially outperforming the unregularized baseline (AUROC 0.471). Furthermore, under a clinical screening threshold calibrated for high sensitivity ($$\ge 90\%$$), our model detects 97.5% of melanomas (missing only 1 of 40 cases), verified through cluster-aware patient bootstrap and weight-randomization explainability sanity checks.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-11-26
DOI
https://doi.org/10.1038/s41598-026-81479-w
Primary Topic
Cutaneous Melanoma Detection and Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Generalizable, imbalance-aware skin-lesion classification under a strict leak-free, cross-dataset protocol

Yonis Gulzar, Mohannad Alkanan, Musrrat Ali, Hafed Zarzour et al.
1 links
Scientific Reports
Cutaneous Melanoma Detection and Management
article

Generalizable, imbalance-aware skin-lesion classification under a strict leak-free, cross-dataset protocol

Yonis Gulzar, Mohannad Alkanan, Musrrat Ali, Hafed Zarzour, Ammar Ladjailia, Aida Bouzid
article en

Abstract

Automated skin-lesion classification models frequently achieve near-expert diagnostic accuracy on in-distribution benchmarks, yet their clinical translation remains severely obstructed by extreme class imbalance and cross-center domain shift. While contemporary research increasingly gravitates toward intricate architectural, generative, or relational designs, we present a systematic evaluation demonstrating that principled data-level and loss-level regularization on modern convolutional and vision transformer backbones can achieve state-of-the-art out-of-distribution generalization. In response to pervasive data contamination concerns in dermatology AI, we establish a certified leak-free protocol employing dual-pass deduplication (perceptual hashing and self-supervised deep visual features), eliminating all exact and near-duplicate overlaps across cohorts. Our evaluation spans four independent clinical datasets: HAM10000 (development), ISIC-2019 (cross-dataset transfer), Derm7pt (exploratory model selection), and an untouched, sequestered PH2 cohort ($$N=190$$) evaluated strictly under a pre-registered blind protocol. Through a comprehensive campaign of 255 trained models across 17 distinct configurations (5-fold cross-validation $$\times $$ 3 seeds), we decouple minority-class rebalancing from domain-invariant representation learning via $$2\times 2$$ factorial experiments and equal-volume data scaling controls. We demonstrate that while multi-source data pooling drives adaptation to observed acquisition domains, data-space convex regularization (MixUp) provides the primary engine for transfer to completely unseen clinical centers. On the untouched PH2 blind validation cohort, our calibrated ConvNeXt-Tiny with MixUp achieves an AUROC of 0.920, an AUPRC of 0.788, and a Balanced Accuracy of 89.2%, substantially outperforming the unregularized baseline (AUROC 0.471). Furthermore, under a clinical screening threshold calibrated for high sensitivity ($$\ge 90\%$$), our model detects 97.5% of melanomas (missing only 1 of 40 cases), verified through cluster-aware patient bootstrap and weight-randomization explainability sanity checks.

Scientific Reports
Mohamed-Cherif Messaadia University (DZ), King Faisal University (SA)
Cutaneous Melanoma Detection and Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon