Introduction
Artificial Intelligence (AI) has the potential to revolutionize medical diagnostics, yet its deployment is often hindered by a "fairness gap." Clinical datasets are frequently skewed toward majority populations, leading to models that perform significantly worse on underrepresented groups. In ophthalmology, this disparity is particularly critical; anatomical features such as the cup-to-disc ratio vary naturally across racial and socioeconomic demographics. If a model is trained predominantly on one group, it risks misdiagnosing others, turning a technological advancement into a source of healthcare inequity.
The Challenge of Synthetic Fairness
Previous attempts to mitigate demographic bias have utilized synthetic data to balance training sets. However, these methods often struggle with two primary issues:
- Precision: Ensuring that synthetic images perfectly align with intended diagnostic labels (masks) is difficult. If the image and the mask are misaligned, the model learns incorrect features.
- Diversity: Standard generative methods often produce "more of the same" rather than the wide range of anatomical variations necessary to represent diverse populations accurately.
The FairDiff Framework
To address these challenges, the authors introduce FairDiff, a novel two-stage "Point-Image Diffusion" pipeline designed to generate high-quality, diverse, and label-consistent synthetic medical data. The framework shifts the focus from modifying loss functions to fixing the underlying data distribution.
1. Point-Mask Generation
Rather than generating 2D masks directly—which often results in blurry or anatomically incorrect boundaries—FairDiff converts 2D mask edges into 3D point clouds. In this representation, the x and y coordinates denote spatial position, while the z-axis identifies the anatomical category (e.g., Optic Cup vs. Optic Disc). A 3D diffusion model is then trained to generate new, diverse, and anatomically plausible point cloud boundaries. This 3D approach captures geometric nuances that pixel-based GANs often miss.
2. Mask-Image Generation
The generated point clouds are converted back into 2D masks, which serve as a "control signal" for a ControlNet-based diffusion model. This model synthesizes highly realistic Scanning Laser Ophthalmoscopy (SLO) fundus images that are perfectly aligned with the generated masks, ensuring high diagnostic fidelity.
3. Equal-Scale Data Augmentation
To rectify dataset imbalances, FairDiff employs an "Equal Scale" approach. Minority groups are augmented with synthetic data until every demographic group (Race, Gender, etc.) is represented at the same scale within the training set. This ensures the segmentation model learns features across all populations equitably without sacrificing overall accuracy.
Experimental Setup and Results
The study utilized the Harvard-FairSeg dataset, a large-scale benchmark containing 10,000 SLO fundus images with pixel-wise annotations and six sensitive attributes: age, gender, race, ethnicity, language preference, and marital status.
Superior Synthesis Quality
FairDiff outperformed several state-of-the-art synthesis methods, including Stable Diffusion 1.5, OASIS, and SPADE. It achieved a Fréchet Inception Distance (FID) of 60.51, indicating superior image realism, and the highest Coverage (COV) score, demonstrating exceptional diversity in the generated samples.
Improved Fairness Metrics
The framework was evaluated using Equity-Scaled Segmentation Performance (ESSP). When applied to the "Race" attribute using a TransUNet model, FairDiff achieved an ES-Dice score of 0.8397, surpassing previous fairness-focused models like GroupDRO and FairSeg. These improvements were consistent across multiple sensitive attributes, including Gender and Ethnicity, proving the robustness of the data-driven approach.
Conclusion and Future Work
FairDiff demonstrates that balancing data distributions through high-quality synthesis is a powerful path toward fairness in medical AI. While the current work focuses on SLO fundus images, the logic of point-image diffusion holds promise for other modalities like MRI or CT. Future research will address the computational overhead of diffusion models and further bridge the gap between synthetic and real-world data to ensure even more robust clinical applications.
Summary updated