Achieving Fairness Without Harm via Selective Demographic Experts

Xuwei Tan, Yi Wang, Thai-Hoang Pham, Ping Zhang, Xueru Zhang

TL;DR

This paper introduces FairSDE, a novel approach to achieve fairness in machine learning models without sacrificing predictive performance for any demographic group. By learning distinct representations for different groups and selectively applying personalized "expert" models, FairSDE demonstrates significant improvements in fairness across medical and facial image datasets, outperforming existing methods that often trade accuracy for fairness.

What Problem Does This Paper Address?

Ensuring fairness in machine learning (ML) models is crucial, especially in high-stakes domains like healthcare. Many existing bias mitigation techniques create a trade-off: they improve fairness for some groups but often degrade performance for others, which is ethically unacceptable in critical applications like medical diagnosis. This paper tackles the challenge of achieving "fairness without harm," meaning models should be both fair across demographic groups and maintain high predictive accuracy for all groups, relative to a standard, unconstrained model. The authors highlight that existing methods often fail to achieve this ideal, particularly on complex, high-dimensional data like medical images.

Methods

The core of FairSDE lies in two main components:

  1. Decoupled Representations for Experts: The approach learns group-specific representations. Instead of a single representation for all data, FairSDE aims to create distinct latent spaces for different demographic groups. This is achieved through a multi-level optimization process that:
  2. Enforces Group-wise Dependence: A discriminator is used to ensure that the learned representations are somewhat dependent on the sensitive attribute, allowing for group-specific patterns to be captured.
  3. Learns Virtual Centers: For each class and sensitive group, "virtual centers" are learned to represent the mean of the representation distribution. These centers help align samples from the same group and class, promoting intra-group similarity.
  4. Maximizes Diversity and Minimizes Variance: The method encourages diversity by penalizing similarity to centers of other groups/classes and minimizes variance by aligning representations within groups, leading to more compact and separable group representations.
  5. Experts Dynamic Selection (No-Harm Selection): After learning group-specific representations and classifiers (the "demographic experts"), a selection mechanism is employed. This mechanism dynamically chooses between using a group-specific expert model or a general, unconstrained "pooled" model (trained on all data) for each individual. The selection is guided by two fairness criteria:
  6. Max-Min Fairness: This strategy aims to maximize the performance of the worst-performing group by selecting the better model (expert or pooled) for each group.
  7. Overall Accuracy Parity: This strategy uses integer programming to find a combination of expert and pooled models that minimizes the performance gap across all groups while ensuring no group's performance is worse than the baseline pooled model.

Datasets

The authors evaluated FairSDE on a combination of real-world medical and facial image datasets:

  • Medical Datasets:
    • Ham10000 (skin disease classification)
    • MIMIC-CXR (chest X-ray interpretation)
    • Harvard-GF (glaucoma detection)
  • Facial Image Datasets:
    • CelebA
    • UTKFace

These datasets were chosen because they often contain sensitive attributes (like age, gender, race) that are relevant for fairness considerations and are frequently collected in medical contexts.

Key Insights and Ideas

  • Fairness Without Harm is Achievable, Even on Complex Data: The paper demonstrates that it's possible to improve fairness without sacrificing performance for any group, even on high-dimensional image data where features are not easily separable by sensitive attributes.
  • Decoupled Representations are Crucial: Simply decoupling classifiers isn't enough. The key insight is that learning distinct representations for each group is essential for capturing unique patterns and enabling truly fair and accurate predictions.
  • Demographic Experts Offer a Practical Advantage: Leveraging demographic information to create specialized models (experts) aligns with real-world medical practice and allows for more nuanced predictions.
  • Dynamic Selection is Key to "No Harm": The post-hoc selection mechanism is vital for ensuring that the "no harm" constraint is met, allowing the system to fall back on a robust pooled model when an expert might underperform.
  • Existing Methods Often Fail the "No Harm" Test: The results show that many state-of-the-art fairness methods, while reducing fairness gaps, often do so at the expense of overall accuracy or the performance of specific groups.

Key Results

  • Consistent Fairness Without Harm: FairSDE is reported as the only method that consistently achieves fairness without harm across all tested medical and facial datasets.
  • Outperforms ERM: FairSDE consistently achieves better or equal performance (AUC for medical, ACC for facial) for all groups compared to the unconstrained ERM baseline.
  • Improved Worst-Group Performance: The max-min fairness strategy significantly improves the performance of the worst-performing group. For example, on Harvard-GF, the max-min fairness strategy resulted in an average AUC of 81.2, compared to 80.54 for the ERM baseline.
  • Reduced Fairness Gaps: The integer programming strategy effectively reduces the performance gap between groups. On Harvard-GF, it achieved a gap of 1.81, with no group underperforming relative to ERM.
  • Visual Evidence of Separation: t-SNE visualizations on UTKFace show that FairSDE creates clearly separated representations for different classes and sensitive groups, unlike ERM or other methods that produce more entangled representations.

Limitations and Future Work

  • Assumption of Identical Validation/Test Distributions: The no-harm selection strategy relies on the assumption that validation and test sets have similar distributions. Significant distribution shifts could impact the effectiveness of the selection mechanism.
  • Scalability of Integer Programming: While effective, the integer programming approach for overall accuracy parity might become computationally expensive with a very large number of sensitive attributes.
  • Future Work: The authors suggest exploring more sophisticated selection strategies and investigating the impact of distribution shifts. They also implicitly point towards the need for fairness methods that are robust to such shifts.

Summary updated

BibTeX
@inproceedings{tan2026achieving,
  author = {Xuwei Tan and Yi Wang and Thai-Hoang Pham and Ping Zhang and Xueru Zhang},
  title = {{Achieving Fairness Without Harm via Selective Demographic Experts}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i46.41282},
}
Figure