TL;DR
This paper introduces a novel framework for auditing the fairness of AI skin cancer classifiers using controllable, generative diffusion models. By synthesizing a fully balanced, demographically diverse dataset of skin lesion images, the authors demonstrate that synthetic data can accurately replicate the real-world bias trends of clinical models, offering a scalable and privacy-preserving alternative for fairness verification.
What Problem Does This Paper Address?
AI-assisted diagnostic systems show immense potential for early melanoma screening, but they are highly susceptible to demographic biases. Most public skin lesion datasets are severely imbalanced, heavily favoring specific age groups, sexes, or lighter skin types.
This data scarcity makes it incredibly difficult to audit models for fairness. Real-world benchmark datasets often contain "empty cells"—entirely missing intersectional demographic combinations (such as young individuals with specific darker skin types). Without a balanced way to test these models across all populations, deployment in clinical settings risks exacerbating health disparities.
Methods
The authors address this gap by training a state-of-the-art generative model using the LightningDiT framework (a latent diffusion transformer). To ensure high semantic fidelity, they align the underlying variational autoencoder (VAE) with pretrained vision foundation models.
The core innovation lies in their Balanced Test Data Generation protocol:
- Controllable Prompting: The generator is fed text prompts constructed from specific combinations of personal identifiable information (PII): sex (2 categories), age group (8 categories), Fitzpatrick skin type (6 categories), and disease state (melanoma).
- Full-Factorial Sampling: This yields 96 unique demographic configurations. The authors generate 850 images per configuration to create a completely balanced dataset of 81,600 synthetic images.
- Fairness Auditing: They evaluate three peer-reviewed, pretrained melanoma classifiers (DeepGuide, MelaNet, and SkinLesionDensenet) by measuring True Positive Rate (TPR) disparity ($\Delta_{TPR}$) across the subgroups.
Datasets
- ISIC Archive (2016–2024): Used to train the generative model, providing roughly 500,000 latent-image pairs paired with demographic metadata.
- MILK10K / MILK4K: A real-image dataset used as the baseline benchmark to validate whether the synthetic data successfully mirrors real-world classifier behavior.
- Synthetic Balanced Cohort: The newly generated dataset consisting of 81,600 attribute-controlled melanoma images.
Key Insights and Ideas
- Bias Trends are Preserved: The most significant finding is that synthetic data successfully replicates the relative performance drops and biases observed in real-world data. If a model performs poorly on women in real life, it shows a similar performance drop on the synthetic cohort.
- The Nuance of Skin Tone Synthesis: Interestingly, prompting the model for higher Fitzpatrick skin types (darker skin tones) does not simply result in linearly darker pixels. The generative model correctly captures real-world clinical variations—such as lighting, camera settings, and lesion contrast—proving that raw pixel intensity is an unreliable proxy for skin type.
- Unlocking Intersectional Auditing: By filling the demographic gaps that exist in real-world datasets, prompt-driven synthesis allows researchers to conduct fine-grained, intersectional fairness audits without confounding distribution imbalances.
Key Results
- Gender Bias Replication: Across both real and synthetic testing, DeepGuide and MelaNet achieved higher accuracy for male subjects, while SkinLesionDensenet consistently performed better for female subjects.
- Quantifying Disparity: When evaluated on the synthetic cohort, MelaNet achieved the lowest sex disparity ($\Delta_{TPR} = 0.0115$) and skin type disparity ($\Delta_{TPR} = 0.1322$). However, SkinLesionDensenet proved to be the fairest model regarding age, yielding a remarkably low $\Delta_{TPR}$ of 0.0682.
- Statistical Convergence: As the volume of synthetic test images scaled up, the cumulative TPR closely tracked the performance curves of real images, confirming that synthetic cohorts provide a stable and statistically robust evaluation environment.
Limitations and Future Work
- Age Dimension Mismatch: While sex and skin type trends aligned tightly between real and synthetic data, the age-related performance curves did not fully converge. This suggests the generator struggles to perfectly capture the high intra-group visual variability associated with aging skin.
- Positive-Only Evaluation: The current framework evaluates only positive melanoma cases. The authors plan to expand the generator to synthesize multiple diagnostic categories (e.g., benign nevi) to allow for multi-class classification auditing, false positive/negative analysis, and equalized odds metrics.
- Automated Quality Control: To prevent low-diversity or unrealistic generations from skewing fairness results, future work will explore integrating Vision-Language Models (VLMs) as automated quality assurance judges before model evaluation.
Summary updated