Generalizable, imbalance-aware skin-lesion classification under a strict leak-free, cross-dataset protocol
Aida Bouzid, Hafed Zarzour, Ammar Ladjailia, Yonis Gulzar, Mohannad Alkanan, Musrrat Ali
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Spotting the Spot: Deep Transformer-Attention Networks for Skin Lesion AnalysisBioengineering · 2026
- An Ensemble Deep Learning Framework for Automated Multi Class Skin Lesion Classification Using ConvNeXt-Tiny, EfficientNetV2-S, and MobileNetV3VFAST Transactions on Software Engineering · 2026
- MaxCAT-Net: Hybrid Transformer-Based Skin Lesion Classification and Lightweight Segmentation with Calibration and Cross-Dataset ValidationbioRxiv · 2026
- Evaluation Boundaries in Multimodal Skin Lesion Classification: Data Leakage, Patient Reuse, and Cross-Release OverlapMathematics · 2026
- Bridging Research and Practice: A Systematic Evaluation of Generalist and Dermatology-Specific Models in Clinical Skin Lesion ClassificationarXiv · 2026
- Trustworthy DINOv2-based skin lesion classification with uncertainty quantification and robust learning from limited medical imagesDiscover Computing · 2026