Mitigating the Influence of Domain Shift in Skin Lesion Classification: A Benchmark Study of Unsupervised Domain Adaptation Methods on Dermoscopic Images

Sireesha Chamarthi, Katharina Fogelberg, Roman C. Maron, Titus J. Brinker, Julia Niebling

Abstract

Deep learning models for skin cancer detection often suffer from performance degradation when deployed in new clinical environments due to domain shift. Unsupervised Domain Adaptation (UDA) provides a framework to adapt models using unlabeled target data. This study benchmarks eight state-of-the-art UDA methods across 11 dermoscopic datasets, representing technical and biological shifts. Our findings indicate that while UDA consistently improves diagnostic performance, its effectiveness is significantly influenced by dataset size and class imbalance, with adversarial-based methods showing superior robustness.

Introduction

Deep learning has demonstrated "superhuman" accuracy in skin cancer detection within controlled experimental settings. However, real-world deployment often introduces domain shift—discrepancies in image characteristics caused by different camera hardware, lighting conditions, or biological variations in patient populations (e.g., age or anatomical site). These shifts can lead to significant drops in diagnostic reliability.

In clinical dermatology, obtaining labeled data for every new environment is impractical due to the cost and invasiveness of biopsies. Unsupervised Domain Adaptation (UDA) addresses this by allowing models to adapt to a new "target" domain using only unlabeled images. While UDA is well-established in general computer vision, its efficacy in the context of highly imbalanced medical dermoscopy has remained largely unexplored until this benchmark study.

Methodology

The researchers evaluated eight UDA algorithms categorized into three primary strategies:

  • Moment Matching: (DAN, JAN) These methods align the statistical distributions (mean and covariance) of features between source and target domains.
  • Adversarial Training: (DANN, ADDA) These utilize a discriminator network to ensure learned features are domain-invariant.
  • Advanced Extensions: (BSP, MCC, CDAN, AFN) These include hybrid approaches and specific penalization techniques to improve feature transferability.

The benchmark utilized 11 datasets derived from HAM10000, BCN20k, and MSK archives. The source domain was a subset of HAM10000, while target domains represented technical shifts (different acquisition systems) and biological shifts (specific age groups and anatomical sites like palms/soles).

Performance Analysis of UDA Methods

The study found that UDA methods consistently improved the Area Under the Precision-Recall Curve (AUPRC) compared to a non-adapted ResNet50 baseline. Adversarial-based methods, particularly ADDA and BSP, emerged as the top performers. These methods were more effective at extracting robust features that generalize across visual "style" changes.

AUPRC change across various UDA methods.

As shown in the aggregate results above, while most methods provide a positive median improvement, the variance in performance across different datasets is substantial. The paper emphasizes using AUPRC over the more common AUROC, as AUPRC provides a more accurate reflection of model performance in medical tasks with rare positive cases like melanoma.

The Impact of Class Imbalance and Dataset Characteristics

A critical finding of this study is the sensitivity of UDA to class imbalance. In dermoscopy, benign "nevi" (moles) typically outnumber malignant "melanomas." The researchers observed that UDA performance becomes increasingly volatile when the target dataset is small or heavily skewed.

Relationship between UDA performance (AUPRC change) and target dataset melanoma ratio.

Datasets with a higher ratio of melanoma (more balanced) tended to yield more consistent and significant performance gains across all UDA methods. Conversely, biological shifts—such as adapting to lesions in younger patients (the "BA" dataset)—proved more challenging, likely because melanoma appearance in children differs significantly from the adult-heavy source data.

Conclusion

This benchmark demonstrates that UDA is a viable strategy for mitigating domain shift in skin lesion classification without requiring additional biopsies. Adversarial methods like ADDA and BSP are currently the most reliable choices. However, the high sensitivity to class imbalance suggests that future research should focus on developing UDA techniques specifically designed for long-tailed medical distributions. Expanding this work to multi-class classification and exploring newer architectures like Vision Transformers are promising directions for building more robust clinical diagnostic tools.

Summary updated

BibTeX
@misc{chamarthi2023mitigating,
  author = {Sireesha Chamarthi and Katharina Fogelberg and Roman C. Maron and Titus J. Brinker and Julia Niebling},
  title = {{Mitigating the Influence of Domain Shift in Skin Lesion Classification: A Benchmark Study of Unsupervised Domain Adaptation Methods on Dermoscopic Images}},
  year = {2023},
  eprint = {2310.03432},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.03432},
}
Figure