Skip to main content
QUICK REVIEW

[Paper Review] FairSeg: A Large-Scale Medical Image Segmentation Dataset for Fairness Learning Using Segment Anything Model with Fair Error-Bound Scaling

Yu‐Shi Tian, Min Shi|arXiv (Cornell University)|Nov 3, 2023
Climate Change and Health ImpactsEnvironmental Science5 citations
TL;DR

This paper introduces Harvard-FairSeg, the first large-scale medical image segmentation dataset for fairness learning, comprising 10,000 fundus images with optic disc and cup annotations. It proposes a fair error-bound scaling (FEBS) loss that reweights training loss using upper error bounds per identity group, improving fairness in segmentation models using Segment Anything Model (SAM) and TransUNet backbones, with FEBS achieving state-of-the-art equity-scaled Dice scores across race, ethnicity, gender, and language groups.

ABSTRACT

Fairness in artificial intelligence models has gained significantly more attention in recent years, especially in the area of medicine, as fairness in medical models is critical to people's well-being and lives. High-quality medical fairness datasets are needed to promote fairness learning research. Existing medical fairness datasets are all for classification tasks, and no fairness datasets are available for medical segmentation, while medical segmentation is an equally important clinical task as classifications, which can provide detailed spatial information on organ abnormalities ready to be assessed by clinicians. In this paper, we propose the first fairness dataset for medical segmentation named Harvard-FairSeg with 10,000 subject samples. In addition, we propose a fair error-bound scaling approach to reweight the loss function with the upper error-bound in each identity group, using the segment anything model (SAM). We anticipate that the segmentation performance equity can be improved by explicitly tackling the hard cases with high training errors in each identity group. To facilitate fair comparisons, we utilize a novel equity-scaled segmentation performance metric to compare segmentation metrics in the context of fairness, such as the equity-scaled Dice coefficient. Through comprehensive experiments, we demonstrate that our fair error-bound scaling approach either has superior or comparable fairness performance to the state-of-the-art fairness learning models. The dataset and code are publicly accessible via https://ophai.hms.harvard.edu/datasets/harvard-fairseg10k.

Motivation & Objective

  • To address the lack of large-scale, publicly available medical segmentation datasets explicitly designed for fairness evaluation and debiasing.
  • To develop a novel fairness-aware loss function, fair error-bound scaling (FEBS), that targets hard cases in underperforming demographic groups during training.
  • To introduce a new equity-scaled evaluation metric, such as equity-scaled Dice coefficient, to fairly compare segmentation performance across sensitive attributes.
  • To benchmark fairness performance across diverse demographic groups—race, ethnicity, gender, and language—on medical segmentation tasks.
  • To demonstrate that FEBS improves fairness without sacrificing overall performance, especially for underrepresented groups like Black and Hispanic individuals.

Proposed method

  • The Harvard-FairSeg dataset contains 10,000 SLO fundus images with pixel-wise annotations for optic disc and cup, curated to include diverse demographic attributes including race, ethnicity, gender, and language.
  • The proposed fair error-bound scaling (FEBS) loss dynamically reweights the cross-entropy loss based on the upper error-bound of each identity group, prioritizing hard-to-learn samples in underperforming groups.
  • FEBS uses a γ-weighted scaling factor (set to 1.0 in experiments) to balance the contribution of each group’s maximum training error to the overall loss function.
  • The method is applied with two segmentation backbones: SAMed (fine-tuned SAM) and TransUNet, enabling comparison across architectures.
  • A new equity-scaled metric, such as ES-Dice, is introduced to evaluate fairness by measuring performance equity across demographic groups, not just average performance.
  • Experiments use standard training protocols: 130 epochs for SAMed, 300 for TransUNet, with batch size 42, and learning rates tuned per model.

Experimental results

Research questions

  • RQ1Can a large-scale, diverse medical segmentation dataset be constructed to support fairness research in medical AI?
  • RQ2Does the proposed fair error-bound scaling (FEBS) loss improve fairness in segmentation models without degrading overall performance?
  • RQ3How does FEBS compare to existing fairness baselines (e.g., GroupDRO, ADV) in terms of equity-scaled metrics across sensitive attributes?
  • RQ4To what extent does FEBS reduce performance disparities between demographic groups such as Black, Hispanic, Asian, and White individuals in optic disc and cup segmentation?
  • RQ5Can equity-scaled metrics like ES-Dice provide a more meaningful evaluation of fairness than standard metrics in medical segmentation?

Key findings

  • FEBS achieved the highest equity-scaled Dice (ES-Dice) of 0.8550 and equity-scaled IoU (ES-IoU) of 0.7667 on the Cup segmentation task with SAMed when ethnicity was the sensitive attribute, outperforming GroupDRO and ADV.
  • On the Rim segmentation task, FEBS with SAMed achieved the best ES-Dice (0.7529) and ES-IoU (0.6451) among all methods when evaluated on race, surpassing even ADV and GroupDRO.
  • For ethnicity, the performance gap between Hispanic and Non-Hispanic groups was significantly reduced by FEBS, with ES-Dice improvements of up to 0.012 over baseline models.
  • FEBS-based models consistently outperformed baseline and other fairness methods in terms of ES-Dice and ES-IoU across all sensitive attributes, including gender and language.
  • TransUNet-based models with FEBS achieved better equity-scaled metrics than their counterparts with ADV and GroupDRO, indicating FEBS’s effectiveness even with non-SAM backbones.
  • The language group showed the second-largest performance disparity after ethnicity, but FEBS-based TransUNet models achieved the best fairness scores (ES-Dice: 0.7515, ES-IoU: 0.6754) on the Cup, demonstrating robustness across linguistic diversity.

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.