Representation Learning with Statistical Independence to Mitigate Bias

Ehsan Adeli-Mosabbeb, Qingyu Zhao, Adolf Pfefferbaum, Edith V. Sullivan, Li Fei-Fei, Juan Carlos Niebles, Kilian M. PohlWACV 2021 · DOI

TL;DR

This paper introduces BR-Net, a novel adversarial learning framework designed to mitigate bias in machine learning models. BR-Net learns representations that are both highly predictive of the desired task and statistically independent of protected variables (like age or race), even when these variables are continuous. This approach leads to more robust and fairer models across various applications.

What Problem Does This Paper Address?

Machine learning models, especially deep learning ones, are increasingly used in critical domains like healthcare and facial recognition. However, these models often inherit biases present in the training data or the task itself. This bias can manifest as spurious correlations between protected attributes (e.g., race, gender, age) and the target outcome, leading to unfair or inaccurate predictions. For instance, a medical model might learn to associate aging with a disease, rather than the actual disease markers, because age is correlated with the disease in the training data. While existing methods have tackled bias, they often struggle with continuous protected variables or face a trade-off between fairness and accuracy. This paper aims to bridge this gap by developing a method that can handle various types of biases, including continuous ones, while maintaining high predictive performance.

Methods

The core of the proposed solution is the Bias-Resilient Neural Network (BR-Net), which builds upon the principles of domain-adversarial training. BR-Net employs a two-pronged adversarial approach:

  1. Task Prediction: A standard classification network (C) learns to predict the target label (e.g., disease diagnosis, gender) from extracted features.
  2. Bias Mitigation: A separate "Bias Prediction" (BP) network attempts to predict the protected variable(s) from the same extracted features.

The novelty lies in the adversarial loss function used for bias mitigation. Instead of simply maximizing the BP network's prediction error (which can be ill-posed for continuous variables), BR-Net uses a loss function based on the squared Pearson correlation coefficient between the predicted protected variable and the true protected variable. This encourages the feature extractor (FE) to produce representations that have minimal linear correlation with the protected variable.

The authors theoretically demonstrate that minimizing this squared Pearson correlation, under certain assumptions, leads to mean independence between the learned features and the protected variables. Mean independence is a stronger form of statistical independence than mere zero correlation, implying that the expected value of the protected variable is not influenced by the features. This adversarial game is framed as a min-max optimization problem, where the FE tries to minimize the classification loss while simultaneously "fooling" the BP network by minimizing the correlation loss.

Datasets

The paper evaluates BR-Net on three types of datasets:

  1. Synthetic Dataset: A custom dataset generated to simulate both dataset bias (where a protected variable is indirectly related to the group label) and task bias.
  2. Medical Images (HIV Diagnosis): T1-weighted MRI scans from HIV patients and healthy controls. This dataset exhibits task bias because HIV is known to accelerate brain aging, making age a confounding factor in diagnosis.
  3. Gender Classification (GS-PPB Dataset): The Gender Shades Pilot Parliaments Benchmark (GS-PPB) dataset, which contains facial images with varying skin shades. This dataset exhibits dataset bias as models trained on it can be influenced by skin color (shade) rather than just gender.

Key Insights and Ideas

  • Continuous Bias Handling: The use of squared Pearson correlation as an adversarial loss is a significant advancement, enabling the mitigation of bias from continuous protected variables, which is a limitation of many prior methods.
  • Mean Independence Guarantee: The theoretical proof linking zero correlation to mean independence provides a strong foundation for the method's effectiveness in achieving statistical fairness.
  • Task Bias vs. Dataset Bias: The paper effectively demonstrates BR-Net's ability to handle both types of biases, showing how the adversarial training can be adapted (e.g., by training within specific classes for task bias).
  • No Accuracy Sacrifice: Contrary to some expectations in fair ML, BR-Net not only achieves unbiased representations but also often matches or surpasses the predictive accuracy of baseline methods.

Key Results

  • Synthetic Data: BR-Net successfully removed the statistical association with the protected variable (measured by distance correlation, dcor²) while achieving high accuracy, outperforming other methods that showed a clear correlation between learned features and the bias.
  • HIV Diagnosis (MRI): BR-Net achieved the highest balanced accuracy (bAcc) and F1-score among the tested methods. Crucially, it learned features with significantly lower statistical dependency (dcor² and MI) on age compared to baselines, and produced balanced true positive and true negative rates, avoiding the bias towards predicting the majority class.
  • Gender Prediction (GS-PPB): BR-Net consistently achieved high accuracy across all skin shade categories, demonstrating its robustness to dataset bias. Its learned features were less biased than those from other methods, as confirmed by t-SNE visualizations. For example, with the VGG16 backbone, BR-Net achieved the highest accuracy (96.3%) and the lowest bias (dcor² of 0.12, MI of 0.13, EO% of 2.02).

Limitations and Future Work

  • Computational Cost: Adversarial training can be computationally intensive, though the paper doesn't explicitly detail the training times.
  • Hyperparameter Tuning: The trade-off between classification accuracy and bias mitigation is controlled by a hyperparameter ($\lambda$), which requires careful tuning.
  • Generalizability of Mean Independence: While theoretically proven, the practical implications and robustness of mean independence in complex, high-dimensional real-world scenarios might warrant further investigation.
  • Future Work: The authors suggest extending their conditional modeling approach to other medical applications and exploring its application to more complex bias scenarios. The paper also hints at the potential for BR-Net to be a strong baseline for future research in fair representation learning.

Summary updated

BibTeX
@inproceedings{adelimosabbeb2021representation,
  author = {Ehsan Adeli-Mosabbeb and Qingyu Zhao and Adolf Pfefferbaum and Edith V. Sullivan and Li Fei-Fei and Juan Carlos Niebles and Kilian M. Pohl},
  title = {{Representation Learning with Statistical Independence to Mitigate Bias}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  doi = {10.1109/wacv48630.2021.00256},
}
Figure