Towards A Holistic View of Bias in Machine Learning: Bridging Algorithmic Fairness and Imbalanced Learning

Damien Dablain, Bartosz Krawczyk, Nitesh V. Chawla · DOI

TL;DR

This paper argues that algorithmic fairness and imbalanced learning are two sides of the same coin, both stemming from under-represented data. They introduce "Fair Oversampling" (FOS), a novel pre-processing technique that addresses both class and protected group imbalance simultaneously, leading to improved accuracy and fairness.

What Problem Does This Paper Address?

Machine learning models are increasingly used for critical decisions in areas like criminal justice, credit, and hiring. However, these models can exhibit bias, leading to unfair outcomes for certain groups. This bias often arises from imbalanced datasets, where either the classes (e.g., approved vs. denied credit) or protected attributes (e.g., gender, race) are unevenly represented. Existing fairness approaches sometimes overlook this class imbalance, and imbalanced learning techniques often don't explicitly consider protected groups. This paper aims to bridge this gap by showing that addressing both types of imbalance is crucial for achieving truly fair and accurate ML systems.

Methods

The core contribution is the Fair Oversampling (FOS) algorithm. FOS is a pre-processing technique that modifies the training data before it's fed into a machine learning model. It builds upon the SMOTE (Synthetic Minority Oversampling Technique) idea but with key modifications:

  • Addresses both class and protected group imbalance: FOS identifies minority classes and minority protected groups (e.g., females who are denied credit).
  • Strategic Oversampling: It oversamples minority instances not just to balance classes, but also to balance the representation within protected groups. This involves identifying the most under-represented subgroup and generating synthetic samples to match the majority group's representation.
  • Blurs distinctions: A key aspect of FOS is that when generating synthetic samples for a minority protected group, it can draw nearest neighbors from the entire minority class, not just the specific subgroup. This helps to blur distinctions between privileged and unprivileged members within the minority class, further reducing bias.

The paper also introduces a new metric called Fair Utility, which combines balanced accuracy (to account for class imbalance) with fairness metrics.

Datasets

The authors evaluated their approach on three publicly available datasets commonly used in fairness research:

  • German Credit: Predicts creditworthiness.
  • Adult Census Income: Predicts whether an individual earns over or under $50K.
  • Compas Two-Year Recidivism: Predicts the likelihood of a defendant re-offending.

These datasets were chosen because they exhibit both class and protected attribute (gender) imbalance.

Key Insights and Ideas

  • Fairness and Imbalanced Learning are Intertwined: The paper strongly posits that bias in ML is often a consequence of under-representation, whether it's in classes or protected groups. Treating them as separate problems is an oversimplification.
  • Oversampling Can Enhance Fairness: Traditional oversampling techniques, when adapted, can be powerful tools for improving algorithmic fairness, not just class balance.
  • Holistic Approach is Necessary: To achieve truly fair and robust ML, one must consider both data-level imbalances (class and group) and algorithmic biases.
  • FOS Bridges the Gap: The proposed FOS algorithm effectively demonstrates that a pre-processing step can simultaneously improve class balance and protected group equity, leading to better overall model performance.

Key Results

  • Improved Fairness Metrics: FOS consistently outperformed baseline methods and other fairness pre-processing algorithms (Reweighing, Disparate Impact Remover) on metrics like Average Odds Difference (AOD), Absolute Average Odds Difference (AAO), True Negative Rate Difference (TNRD), and Equal Opportunity Difference (EOD) across the tested datasets.
  • Enhanced Accuracy: FOS also showed improvements in Balanced Accuracy, indicating better performance on minority classes.
  • Robustness to Imbalance: FOS demonstrated resilience to increasing levels of class and protected group imbalance, maintaining better performance than other methods.
  • Fair Utility Improvement: The proposed Fair Utility metric showed significant improvements with FOS, indicating a better balance between accuracy and fairness.
  • Feature Importance Shifts: For some datasets, FOS induced changes in feature importance, suggesting it can influence how classifiers learn and potentially lead to more fairness-aware feature selection.

Limitations and Future Work

  • Focus on Group Fairness: The paper primarily focuses on group fairness, acknowledging that individual fairness is more complex to achieve and requires different metrics.
  • Need for Unified Nomenclature: The authors highlight the lack of a standardized vocabulary across fairness and imbalanced learning fields, hindering collaboration.
  • Reproducible Framework: They call for more standardized experimental frameworks, benchmarks, and statistical analysis in fairness research.
  • Exploration of Other Imbalance Techniques: The paper suggests exploring other imbalanced learning techniques (e.g., cost-sensitive learning, skew-insensitive mechanisms) for fairness applications.
  • Continual and Streaming Environments: The current work focuses on static datasets, and future research could explore fairness and imbalance in dynamic, streaming data scenarios.
  • Explainable AI (XAI) for Fairness: The authors suggest that XAI can play a crucial role in understanding and mitigating bias, especially in imbalanced learning contexts.
  • Adversarial Attacks: Investigating how fairness-aware algorithms can be made robust to adversarial attacks is identified as an important future direction.

Summary updated

BibTeX
@inproceedings{dablain2024towards,
  author = {Damien Dablain and Bartosz Krawczyk and Nitesh V. Chawla},
  title = {{Towards A Holistic View of Bias in Machine Learning: Bridging Algorithmic Fairness and Imbalanced Learning}},
  booktitle = {Discover},
  year = {2024},
  doi = {10.1007/s44248-024-00007-1},
}
Figure