FairDiffusion: Enhancing Equity in Latent Diffusion Models via Fair Bayesian Perturbation

Yan Luo, Muhammad Osama Khan, Congcong Wen, Muhammad Muneeb Afzal, Titus Fidelis Wuermeling +4 more
12/29/2024
cs.CVcs.LG

No official code found. Best implementation: Harvard-Ophthalmology-AI-Lab/FairDiffusion (12 stars, Apache-2.0, last commit 2026-04-15).

Abstract

Recent progress in generative AI, especially diffusion models, has demonstrated significant utility in text-to-image synthesis. Particularly in healthcare, these models offer immense potential in generating synthetic datasets and training medical students. However, despite these strong performances, it remains uncertain if the image generation quality is consistent across different demographic subgroups. To address this critical concern, we present the first comprehensive study on the fairness of medical text-to-image diffusion models. Our extensive evaluations of the popular Stable Diffusion model reveal significant disparities across gender, race, and ethnicity. To mitigate these biases, we introduce FairDiffusion, an equity-aware latent diffusion model that enhances fairness in both image generation quality as well as the semantic correlation of clinical features. In addition, we also design and curate FairGenMed, the first dataset for studying the fairness of medical generative models. Complementing this effort, we further evaluate FairDiffusion on two widely-used external medical datasets: HAM10000 (dermatoscopic images) and CheXpert (chest X-rays) to demonstrate FairDiffusion's effectiveness in addressing fairness concerns across diverse medical imaging modalities. Together, FairDiffusion and FairGenMed significantly advance research in fair generative learning, promoting equitable benefits of generative AI in healthcare.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[Science Advances 2025] FairDiffusion: Enhancing Equity in Latent Diffusion Models via Fair Bayesian Perturbation

125Python, MakefileAug 2, 20246 months agoApache-2.0

Similar Papers

Cite this paper

@article{luo2024fairdiffusion,
  title  = {FairDiffusion: Enhancing Equity in Latent Diffusion Models via Fair Bayesian Perturbation},
  author = {Yan Luo and Muhammad Osama Khan and Congcong Wen and Muhammad Muneeb Afzal and Titus Fidelis Wuermeling and Min Shi and Yu Tian and Yi Fang and Mengyu Wang},
  year   = {2024},
  eprint = {2412.20374},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.20374v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.20374.svg)](https://codeofpaper.com/paper/2412.20374)

Discussion