FairMed AI

FairMed AI

Leakage-aware, stratified evaluation of medical imaging AI. Starting with dermatology.


Medical imaging AI models degrade across subgroups. Most evaluations hide this by conflating algorithmic bias with dataset leakage. We audit openly: every image SHA256-hashed, every split published [60/20/20 seed 42], every metric reported with subgroup breakdowns. Starting with dermatology [skin-tone], expanding to radiology, ophthalmology, pathology.

DDI (656, 393/131/132, test 42 Light/10 mel, 48 Medium/8 mel, 42 Dark/10 mel) low power Dark n=10 SD~0.15 fragile. EfficientNet-B0 HAM10000 7,818 mel/nv. 290 synthetics train-only from 29 dark mel x10 photometric median sim 0.9985 no GAN/diffusion no FID no clinician. Confound 29->290 static pos_weight 2.8529 changes ratio 102/291->392/291 balanced 0.7423 ~3.8x over-weight. Arms static 0.484 matches 0.481, recomputed 0.7423->0.478, balanced 101 dark benign + w1.0->0.550 gap -0.222->-0.141. Primary 5-seed (42-46): Dark 0.575±0.145->0.604±0.152 delta +0.028 [-0.001,0.057] NS gap -0.081->-0.083 unchanged. Seed-42 ref: baseline 0.6622 Light 0.7188 Dark 0.5875 gap -0.1313 -> fine-tuned 0.6336 Light 0.7563 Dark 0.5469 gap -0.2094 -> synthetic 0.6395 Light 0.7719 Dark 0.4813 gap -0.2906 delta -0.0663 [-0.1508,0.0080] p=0.962 NS. Thresholds different Youden-J not comparable AUROC primary. No external validation DDI only. Negative result.

FairDerm Updateclean, 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 are directional, not definitive: the baseline checkpoint is partial (best validation epoch 5); a full 15-epoch run is pending.

Full update →
Read the paper →GitHub zenodo.23330297

Roadmap

DermatologyFirst Audit — LIVE
RadiologyNext
OphthalmologyPlanned
PathologyPlanned