Debiasing classifiers: is reality at variance with expectation?

Ashrya Agrawal, Florian Pfisterer, Bernd Bischl, Jiahao Chen, Srijan Sood, Sameena Shah, Francois Buet-Golfouse, Bilal A. Mateen, Sebastian J. VollmerarXiv 2020

TL;DR

This paper reveals that common debiasing methods for AI classifiers often fail to generalize to new data, sometimes even worsening fairness. The authors attribute this to a bias-variance trade-off, showing that imposing fairness constraints increases variance, especially with imbalanced data. They propose partial debiasing as a promising approach to achieve better out-of-sample fairness.

What Problem Does This Paper Address?

As AI systems are increasingly used in high-stakes decision-making (e.g., credit, healthcare, criminal justice), ensuring fairness and mitigating bias is crucial. While many methods exist to "debias" classifiers, their effectiveness in real-world, out-of-sample scenarios is not well understood. This paper investigates whether these debiasing techniques truly improve fairness on unseen data or if they merely overfit to the training set, potentially leading to worse outcomes in practice. The core challenge is to rigorously evaluate debiasing methods and understand why they might fail to generalize.

Methods

The authors conduct an empirical study using three representative debiasing methods:

  • Reweighing (RW): A pre-processing technique that adjusts data point weights.
  • Equalized Odds (EOd): A post-processing technique that adjusts predictions to satisfy specific fairness criteria.
  • Nonlinear Programs (NLinProg - NLP): A generalized post-processing method capable of handling multiple fairness and performance metrics simultaneously.

They also introduce generalized reweighing and NLinProg to apply existing debiasing concepts to a broader range of fairness metrics. A key methodological contribution is the emphasis on extensive cross-validation (100 train-test splits from 10-fold CV) to accurately estimate out-of-sample generalization error, which they argue is essential for evaluating debiasing methods. They also develop a theoretical framework based on bias-variance decomposition to explain their empirical findings.

Datasets

The paper uses a variety of publicly available datasets for their empirical evaluation, including:

  • Adult income
  • German credit
  • Portuguese bank marketing
  • COMPAS
  • Loan Defaults
  • Student Performance
  • Communities and crime
  • Framingham Heart Study
  • Medical Expenditure

These datasets represent diverse domains and protected classes (e.g., sex, race, marital status). The authors also use a synthetic data generation process to specifically control for protected class imbalance.

Key Insights and Ideas

  • Debiasing methods often fail to generalize: The most striking finding is that debiasing techniques frequently do not improve fairness on out-of-sample data and can even make it worse.
  • Bias-variance trade-off is key: The authors theoretically and empirically demonstrate that imposing fairness constraints introduces a bias-variance trade-off. To achieve fairness, models must increase their variance, making them more sensitive to the specific training data and less reliable on unseen data.
  • Class imbalance exacerbates variance: The estimation variance of debiased classifiers is significantly higher when the protected class is imbalanced (i.e., one class is much rarer than the other).
  • Partial debiasing is promising: The paper introduces and advocates for "partial debiasing," where the debiasing strength is not pushed to its maximum. This approach can lead to better out-of-sample fairness and lower variance compared to full debiasing.

Key Results

  • Empirical results across nine datasets and three debiasing methods show that debiased classifiers often exhibit large variance in fairness metrics on out-of-sample data, with many points falling below the original classifier's fairness level.
  • The theoretical analysis (Theorem 1) quantifies the bias-variance decomposition of the empirical risk, showing that variance increases with the imposition of fairness constraints and is inversely proportional to the base rates of protected classes.
  • Experiments with synthetic data confirm that the standard deviation of fairness metrics increases dramatically with protected class imbalance, supporting the theoretical predictions.
  • In Section 6, partial debiasing experiments show that it can yield better out-of-sample fairness than full debiasing, particularly in achieving a low-variance debiased classifier. For example, in one experiment, partial debiasing resulted in better fairness for 12 out of 27 combinations of experiment and debiaser.

Limitations and Future Work

  • Assumptions: The study makes simplifying assumptions, such as fully known protected class membership, the ability to identify all relevant fairness metrics upfront, and a single point in time for remediation. Real-world scenarios often involve unobserved protected classes and evolving fairness concerns.
  • Hyperparameter Tuning: The experiments used default hyperparameter values for classifiers to ensure comparability. The authors acknowledge that hyperparameter tuning could potentially improve generalizability, but it was not investigated in this work.
  • Practical Implementation of Partial Debiasing: While partial debiasing shows promise, finding the optimal trade-off parameter (λ) for minimizing variance in practice is challenging and suggested as a future research direction.
  • Causal Inference: The authors suggest that identifying underlying causal connections between protected classes and features might be a more promising direction for bias mitigation than purely statistical debiasing methods.
  • Fairwashing Risk: The paper cautions against "fairwashing," where debiasing is assumed to guarantee fairness without rigorous out-of-sample validation. They emphasize the need for careful testing to verify that desired fairness properties hold in practice.

Summary updated

BibTeX
@misc{agrawal2020debiasing,
  author = {Ashrya Agrawal and Florian Pfisterer and Bernd Bischl and Jiahao Chen and Srijan Sood and Sameena Shah and Francois Buet-Golfouse and Bilal A. Mateen and Sebastian J. Vollmer},
  title = {{Debiasing classifiers: is reality at variance with expectation?}},
  year = {2020},
  eprint = {2011.02407},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.02407},
}
Figure