[Paper Review] Improving dermatology classifiers across populations using images generated by large diffusion models
This study demonstrates that augmenting dermatology training data with photorealistic synthetic images generated by DALL·E 2 improves classification performance across diverse skin types, especially for underrepresented groups (Fitzpatrick skin types V-VI), with a 30.5% performance gain in the lightest skin type group when trained on darker skin data. The approach uses text-to-image diffusion models to generate targeted, high-fidelity images of skin conditions for data augmentation.
Dermatological classification algorithms developed without sufficiently diverse training data may generalize poorly across populations. While intentional data collection and annotation offer the best means for improving representation, new computational approaches for generating training data may also aid in mitigating the effects of sampling bias. In this paper, we show that DALL$\cdot$E 2, a large-scale text-to-image diffusion model, can produce photorealistic images of skin disease across skin types. Using the Fitzpatrick 17k dataset as a benchmark, we demonstrate that augmenting training data with DALL$\cdot$E 2-generated synthetic images improves classification of skin disease overall and especially for underrepresented groups.
Motivation & Objective
- To address the poor generalization of dermatological AI models across diverse skin types due to underrepresentation in training data.
- To evaluate whether synthetic data from large diffusion models like DALL·E 2 can improve model robustness and fairness across Fitzpatrick skin types.
- To investigate the impact of synthetic image augmentation on model performance, particularly for underrepresented skin tones (FST V-VI).
- To assess potential negative effects of synthetic data on non-augmented disease classes.
- To explore the feasibility of using diffusion models as a scalable, privacy-preserving method for data augmentation in dermatology AI.
Proposed method
- Selected seven common skin conditions from the Fitzpatrick 17k dataset with sufficient representation across Fitzpatrick skin types (I–VI).
- Used DALL·E 2’s inpainting function to isolate disease pathology from seed images of light (FST I–II) and dark (FST V–VI) skin types.
- Generated four synthetic images per seed image using text prompts such as "An image of [condition] on [skin type] skin".
- Trained image classifiers on three data splits: (1) Fitzpatrick 17k only, (2) + seed images, (3) + seed + synthetic images.
- Evaluated model performance via cross-validation with train/test splits across skin type boundaries (e.g., train on FST V–VI, test on I–II).
- Conducted dose-response analysis by incrementally adding 2, 8, 16, and 32 synthetic images to assess performance trends.
Experimental results
Research questions
- RQ1Can synthetic images generated by DALL·E 2 improve dermatological classifier performance across diverse skin types?
- RQ2Does synthetic data augmentation yield greater performance gains for underrepresented skin types (FST V–VI) compared to light skin types (FST I–II)?
- RQ3Is there a dose-response relationship between the number of synthetic images added and model accuracy?
- RQ4Do synthetic images from one skin condition negatively affect classification performance on non-augmented conditions?
- RQ5Can synthetic data mitigate performance gaps when training data lacks representation for certain skin types?
Key findings
- Adding DALL·E 2-generated synthetic images improved overall classification accuracy, with a 30.5% performance gain in the FST I–II group when models were trained on FST V–VI data.
- The performance difference between models trained on real data only versus real + synthetic data was 7.2% for FST III–IV, but 30.5% for FST I–II, indicating stronger gains for underrepresented groups.
- A clear dose-response effect was observed: classification accuracy increased with the number of synthetic images added, peaking at 32 images per condition.
- Models trained on FST V–VI data showed improved generalization to FST I–II when synthetic images were included, demonstrating cross-group transferability.
- Some negative spillover effects were observed: classification accuracy for non-augmented conditions like basal cell carcinoma dropped by up to 35.7% when synthetic images from squamous cell carcinoma were added.
- The approach demonstrated feasibility of using diffusion models to generate high-fidelity, skin-type-specific dermatologic images for data augmentation without requiring new real-world data collection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.