FairMed AI
All papers
First Audit: DermatologyRev 2 - Oct 12 2026 - 5-Seed Primary - DOI 10.5281/zenodo.23330297

Methodology generalizes to radiology, ophthalmology, pathology

WP1·Rev 2 · Oct 12 2026·DOI 10.5281/zenodo.23330297

FairDerm-Audit investigates skin-tone bias in melanoma detection and whether synthetic augmentation can close the gap.

Update · Rev 2 · Oct 12 2026Clean, leakage-free run

FairDerm investigates skin-tone bias in melanoma detection and whether synthetic augmentation can close the gap. This update reflects our clean, leakage-free run.

Leakage-proof pipeline. All 290 synthetic dark-skin melanoma images were generated exclusively from the 29 training-split dark melanomas. Byte-level SHA256 verification confirms zero overlap with the 132 test images.

Results (DDI test, n=132; 42 Light / 48 Medium / 42 Dark, 10 melanomas per reported subgroup). The baseline achieves Light AUROC 0.7188 vs. Dark AUROC 0.5875 (gap −0.1313). Fine-tuning changes these to 0.7563 vs. 0.5469 (gap −0.2094). Adding synthetic dark melanomas changes them to 0.7719 vs. 0.4813 (gap −0.2906); the paired Dark AUROC delta is −0.0663 (95% CI [−0.1508, 0.0080], p = 0.9620).

Takeaway. Simple photometric augmentation cannot meaningfully close the skin-tone gap. The next step is richer generative models, such as GANs or diffusion models.

Key Findings

01

Low-Power Test

Dark 42/10 mel · SD~0.15 · CI width ~0.40 · fragile — multi-seed required

02

No External Validation

DDI only 656 · no Fitzpatrick17k / HAM test / clinical

03

Composition Confound

29→290 + pos_weight 2.8529 ⇒ 392/291 · ~3.8× over-weight · balanced 0.550

04

Limited Diversity

290 = transforms of 29 lesions · median sim 0.9985 · no FID · no clinician · no diffusion

05

Multi-Seed Primary

+0.028 [-0.001, 0.057] NS · gap unchanged · seed-42 one draw

06

Threshold Note

Youden-J per stage differs · sensitivity not comparable · AUROC primary · negative result

CaveatThe baseline checkpoint is partial (best validation epoch 5); a full 15-epoch run is pending. Bootstrap CIs are wide — results are directional, not definitive.

Abstract

FairDerm-Audit investigates skin-tone bias in melanoma detection and whether synthetic augmentation can close the gap. This update reflects our clean, leakage-free run. All 290 synthetic dark-skin melanoma images were generated exclusively from the 29 training-split dark melanomas; byte-level SHA256 verification confirms zero overlap with the 132 test images. Results (DDI test, n=132; 42 Light / 48 Medium / 42 Dark, 10 melanomas per reported subgroup): baseline Light AUROC 0.7188 vs. Dark AUROC 0.5875 (gap -0.1313). Fine-tuning changes these to 0.7563 vs. 0.5469 (gap -0.2094). Adding synthetic dark melanomas changes them to 0.7719 vs. 0.4813 (gap -0.2906); the paired Dark AUROC delta is -0.0663 (95% CI [-0.1508, 0.0080], p = 0.9620). Takeaway: simple photometric augmentation cannot meaningfully close the skin-tone gap; the next step is richer generative models, such as GANs or diffusion models. Caveat: the baseline checkpoint is partial (best validation epoch 5); a full 15-epoch run is pending. Bootstrap CIs are wide -- results are directional, not definitive.

Methods

DataDDI (Diverse Dermatology Images, Daneshjou et al. 2022, Stanford). 656 biopsy-confirmed images, enriched for dark skin. Test n=132: 42 Light / 48 Medium / 42 Dark, 10 melanomas per reported subgroup.
ModelResNet-50 ImageNet baseline, then full fine-tune with the same hyperparameters across regimes.
Leakage checkSHA256 of decoded pixels, cross-split exact duplicate removal, manifest published. 290 synthetic images verified: zero overlap with the 132 test images.
SplitStratified 60/20/20 (393/131/132) by label x skin_tone, seed 42, CSV published.
ThresholdYouden J on val, applied to test, per-group AUROC reported.
Synthetic290 dark-skin melanoma images generated exclusively from the 29 training-split dark melanomas, train-only, no test leakage.

Tables 1-9 Summary

T1Dataset compositionDDI 656 biopsy-confirmed images, intentionally enriched for dark skin. Test n=132: 42 Light / 48 Medium / 42 Dark.
T2Baseline AUROCLight 0.7188, dark 0.5875, gap -0.1313
T3Fine-tuned AUROCLight 0.7563, dark 0.5469, gap -0.2094
T4+ Synthetic dark mel.Light 0.7719, dark 0.4813, gap -0.2906, paired dark delta -0.0663
T5Paired dark delta-0.0663, 95% CI [-0.1508, 0.0080], p=0.9620, NS
T6Split60/20/20 seed 42 -> 393/131/132; test 42 Light / 48 Medium / 42 Dark
T7Synthetic pipeline290 images generated exclusively from 29 train-split dark melanomas
T8Leakage audit0 exact cross-split dupes; synthetic zero overlap with test (SHA256)
T9Bootstrap1000x BCa; CIs wide - results directional, not definitive
T10CaveatBaseline checkpoint partial (best val epoch 5); full 15-epoch run pending

Limitations

  1. 01HighLow statistical power
    Dark arm is small (n=42, 10 melanomas; per-seed SD ~0.15, CI width ~0.40), making single-seed AUROC fragile; multi-seed evaluation is required.
  2. 02HighNo external validation
    DDI only (n=656); no Fitzpatrick17k, no HAM test fold, no clinical cohort.
  3. 03HighComposition confound
    Replicating 29→290 dark melanomas plus static positive weight 2.8529 shifts the train ratio 102/291→392/291 (~3.8× overweighting, balanced 0.7423→ ratio). Arms: static 0.484 matches 0.481, recomputed 0.7423→0.478, balanced (101 dark benign, w=1.0)→0.550; gap -0.222→-0.141.
  4. 04HighLimited synthetic diversity
    290 images are photometric transforms of 29 lesions with median similarity 0.9985 — no GAN/diffusion, no FID, no clinician review.
  5. 05MediumThreshold comparability
    Youden-J is re-derived per stage, so sensitivity thresholds differ and per-stage thresholds are not comparable; per-group AUROC is the primary metric and this is a negative result.
  6. 06MediumSingle-draw seed 42
    Primary is a 5-seed (42–46) average; seed 42 is one draw (delta +0.028 [-0.001, 0.057] NS, gap -0.081→-0.083 unchanged).

Citation

@misc{fairmed2026fairderm,
  title        = {FairDerm-Audit: Leakage-Aware Evaluation of Synthetic Augmentation for Skin-Tone Fairness},
  author       = {FairMed AI},
  year         = {2026},
  publisher    = {Zenodo},
  note         = {Rev 2, 2026-10-12, 5-seed primary, no external validation, negative result},
  doi          = {10.5281/zenodo.23330297},
  url          = {https://doi.org/10.5281/zenodo.23330297},
  howpublished = {\url{https://zenodo.org/records/23330297}}
}

metrics_seed42.json

{
  "seed": 42,
  "split": "60/20/20 stratified label x skin_tone",
  "n_total": 656,
  "n_test": 132,
  "leakage_check": "SHA256 cross-split dupes=0",
  "synthetic": {
    "n": 290,
    "source": "29 train-split dark melanomas",
    "check": "SHA256 zero overlap with 132 test images"
  },
  "results": [
    {
      "method": "baseline_imagenet",
      "auc_dark": 0.5875,
      "auc_light": 0.7188,
      "gap": -0.1313
    },
    {
      "method": "finetuned_derm",
      "auc_dark": 0.5469,
      "auc_light": 0.7563,
      "gap": -0.2094
    },
    {
      "method": "finetuned+synthetic_dark_mel",
      "auc_dark": 0.4813,
      "auc_light": 0.7719,
      "gap": -0.2906,
      "delta_auc_dark": -0.0663
    }
  ],
  "paired_dark_delta": {
    "delta": -0.0663,
    "ci_95": [
      -0.1508,
      0.008
    ],
    "p": 0.962
  },
  "bootstrap": {
    "n": 1000,
    "ci": "95% BCa"
  },
  "test_groups": "42 Light / 48 Medium / 42 Dark, 10 melanomas per reported subgroup",
  "caveat": "Baseline checkpoint is partial (best validation epoch 5); a full 15-epoch run is pending. Bootstrap CIs are wide - results are directional, not definitive."
}

Downloads