Skip to main content
QUICK REVIEW

[Paper Review] MEDFAIR: Benchmarking Fairness for Medical Imaging

Yongshuo Zong, Yongxin Yang|arXiv (Cornell University)|Oct 4, 2022
Artificial Intelligence in Healthcare and EducationMedicine15 citations
TL;DR

MEDFAIR introduces a comprehensive benchmark framework to evaluate fairness in medical imaging AI, standardizing 11 algorithms, 10 datasets, and 3 model selection criteria across in-distribution and out-of-distribution settings. It reveals that model selection strategy significantly impacts fairness outcomes, and state-of-the-art debiasing methods do not consistently outperform empirical risk minimization (ERM), challenging assumptions about algorithmic superiority in fairness.

ABSTRACT

A multitude of work has shown that machine learning-based medical diagnosis systems can be biased against certain subgroups of people. This has motivated a growing number of bias mitigation algorithms that aim to address fairness issues in machine learning. However, it is difficult to compare their effectiveness in medical imaging for two reasons. First, there is little consensus on the criteria to assess fairness. Second, existing bias mitigation algorithms are developed under different settings, e.g., datasets, model selection strategies, backbones, and fairness metrics, making a direct comparison and evaluation based on existing results impossible. In this work, we introduce MEDFAIR, a framework to benchmark the fairness of machine learning models for medical imaging. MEDFAIR covers eleven algorithms from various categories, nine datasets from different imaging modalities, and three model selection criteria. Through extensive experiments, we find that the under-studied issue of model selection criterion can have a significant impact on fairness outcomes; while in contrast, state-of-the-art bias mitigation algorithms do not significantly improve fairness outcomes over empirical risk minimization (ERM) in both in-distribution and out-of-distribution settings. We evaluate fairness from various perspectives and make recommendations for different medical application scenarios that require different ethical principles. Our framework provides a reproducible and easy-to-use entry point for the development and evaluation of future bias mitigation algorithms in deep learning. Code is available at https://github.com/ys-zong/MEDFAIR.

Motivation & Objective

  • Address the lack of standardized evaluation for fairness in medical imaging AI due to inconsistent metrics, datasets, and experimental designs.
  • Identify and quantify the impact of model selection criteria—such as early stopping and hyperparameter tuning—on fairness outcomes.
  • Evaluate the effectiveness of 11 fairness algorithms across diverse medical imaging datasets and sensitive attributes (race, sex, age, intersectional groups).
  • Assess fairness under both in-distribution and out-of-distribution settings to reflect real-world deployment challenges.
  • Provide actionable recommendations for fairness in medical AI based on ethical principles and application-specific needs.

Proposed method

  • Design a unified benchmark framework (MEDFAIR) that standardizes evaluation across 11 fairness algorithms, 10 medical imaging datasets, and 3 model selection strategies.
  • Apply multiple fairness metrics: group fairness (e.g., accuracy gap), individual fairness, and counterfactual fairness, across sensitive attributes including race, sex, and age.
  • Implement three model selection criteria: early stopping based on validation loss, accuracy on the validation set, and a fairness-aware criterion to isolate its impact.
  • Conduct experiments in both in-distribution (same domain) and out-of-distribution (domain shift) settings to test robustness.
  • Use diverse imaging modalities including X-ray, CT, MRI, and dermatoscopy to ensure broad applicability.
  • Standardize data preprocessing, model backbones (e.g., ResNet), and training protocols to enable fair comparison across algorithms.

Experimental results

Research questions

  • RQ1How does the choice of model selection strategy (e.g., early stopping, hyperparameter tuning) affect fairness outcomes in medical imaging models?
  • RQ2Do state-of-the-art fairness algorithms consistently improve fairness over empirical risk minimization (ERM) across diverse datasets and sensitive attributes?
  • RQ3How does fairness performance vary between in-distribution and out-of-distribution settings in real-world medical imaging deployment?
  • RQ4Which fairness definitions (e.g., group, individual, counterfactual) yield the most robust and ethically aligned outcomes in clinical applications?
  • RQ5What are the performance and fairness trade-offs of different fairness algorithms across intersectional subgroups (e.g., older non-White females) in large-scale datasets like MIMIC-CXR?

Key findings

  • The model selection strategy has a significant and often underestimated impact on fairness outcomes, with different criteria leading to divergent fairness results even with the same algorithm.
  • SWAD, a domain generalization method, consistently ranks as the top-performing algorithm across datasets and fairness metrics, suggesting robustness to diverse confounders.
  • In the MIMIC-CXR dataset, the fairness gap for intersectional subgroups (e.g., older non-White females) reaches up to 18.92% under ERM, highlighting severe disparities.
  • Despite extensive efforts, no state-of-the-art fairness algorithm significantly outperforms ERM in fairness metrics—especially in out-of-distribution settings—undermining claims of consistent superiority.
  • The performance gap for age-related subgroups (e.g., 80+ years) reaches 5.32% (ERM) and 6.99% (Subgroup-R), indicating that age bias is particularly challenging to mitigate.
  • The study finds that fairness improvements often come at the cost of overall model utility, raising ethical concerns about beneficence and non-maleficence in clinical deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.