Investigating the Quality of DermaMNIST and Fitzpatrick17k Dermatological Image Datasets
Kumar Abhishek, Aditi Jain, Ghassan Hamarneh
TL;DR
This work addresses critical data quality problems in three large dermatology image datasets by systematically identifying data leakage, duplicates, mislabeled images, and nonstandard partitions. It introduces corrected and extended datasets—DermaMNIST-C, DermaMNIST-E, and Fitzpatrick17k-C—along with standardized holdout partitions to enable fair, reproducible benchmarking. The authors combine automated duplicate detection with manual verification, leverage embedding-based similarity, and map labels to ICD-11/SNOMED-CT to reveal labeling inconsistencies, removing problematic images and clusters. Through redesigned benchmarks and public code, the study highlights how data quality directly affects performance claims and provides a concrete path toward more robust evaluation in dermatology AI. The work emphasizes reproducibility and dataset curation as foundational to trustworthy AI deployment in clinical contexts.
Abstract
The remarkable progress of deep learning in dermatological tasks has brought us closer to achieving diagnostic accuracies comparable to those of human experts. However, while large datasets play a crucial role in the development of reliable deep neural network models, the quality of data therein and their correct usage are of paramount importance. Several factors can impact data quality, such as the presence of duplicates, data leakage across train-test partitions, mislabeled images, and the absence of a well-defined test partition. In this paper, we conduct meticulous analyses of three popular dermatological image datasets: DermaMNIST, its source HAM10000, and Fitzpatrick17k, uncovering these data quality issues, measure the effects of these problems on the benchmark results, and propose corrections to the datasets. Besides ensuring the reproducibility of our analysis, by making our analysis pipeline and the accompanying code publicly available, we aim to encourage similar explorations and to facilitate the identification and addressing of potential data quality issues in other large datasets.
