How Robust is your Fair Model? Exploring the Robustness of Diverse Fairness Strategies

Edward Small, Wei Shao, Zeliang Zhang, Peihan Liu, Jeffrey Chan, Kacper Sokol, Flora D. Salim · DOI

Abstract

While fairness-enhancing techniques in machine learning are designed to mitigate bias, their performance under real-world conditions—where data is often noisy or imperfect—remains poorly understood. This paper introduces a quantitative framework using the Robustness Ratio ($R_k$) to evaluate how common fairness strategies handle data noise. Our findings reveal that while post-processing methods achieve high fairness on clean data, they are "acutely sensitive" to noise, whereas in-processing methods offer significantly greater stability.

Introduction

Algorithmic fairness is a critical requirement for machine learning models deployed in high-stakes environments such as finance, hiring, and the legal system. To meet this requirement, researchers have developed various strategies categorized into pre-processing, in-processing, and post-processing techniques. However, these methods typically assume the availability of high-quality, accurately labeled training data. In practice, data noise is ubiquitous. This study investigates the "robustness" of these fairness strategies—specifically, whether a model's fairness guarantees hold up when the underlying data is perturbed.

Methodology: Measuring Robustness

The authors propose the Robustness Ratio ($R_k$) as a standardized metric to compare the fairness of a model on noisy data (at noise level $k$) to its fairness on clean data. A ratio near 1.0 indicates high robustness, while a ratio significantly higher than 1.0 indicates that the model becomes much less fair as noise increases.

The study evaluated four representative strategies:

  • Baseline: A standard model without fairness constraints.
  • Pre-processing (Correlation Remover): Filtering protected attribute influence from the data before training.
  • In-processing (Exponentiated Gradient): Incorporating fairness constraints directly into the model's loss function during training.
  • Post-processing (Threshold Optimization): Adjusting group-specific decision thresholds after the model is trained.

These strategies were tested across five benchmark datasets: Adult Income, COMPAS, Bank Marketing, German Credit, and Law School (LSAC). Noise was injected using Laplace distributions for continuous features and Bernoulli distributions for discrete features.

Key Findings

The "Glass Cannon" of Post-Processing

Post-processing (Threshold Optimization) proved to be the most volatile strategy. While it often achieves the best fairness scores on clean data, it lacks stability. Because it relies on fine-tuning thresholds based on specific data distributions, even minor noise can cause the model to deviate significantly from its fairness targets. In the Adult Income dataset, the robustness ratio for this method spiked to nearly 100 at low noise levels, indicating a severe breakdown of fairness constraints.

The Resilience of In-Processing

In-processing methods, specifically Exponentiated Gradient, demonstrated superior robustness. These models tended to follow the theoretical expectation that as noise increases, the statistical signal of discrimination should diminish. Consequently, their robustness ratios often remained below 1.0, meaning they became "fairer" (or at least no less fair) as the data became noisier, effectively ignoring the noise to maintain equitable outcomes.

Theoretical Convergence

The authors proved that for threshold optimization, the maximum unfairness in a noisy environment is bounded by the difference between the thresholds and the probabilities assigned to protected groups. This explains why small changes in data distribution can lead to large swings in fairness for post-processing methods, whereas in-processing methods remain anchored to the training objective.

Conclusion and Future Work

This research establishes that fairness is not a static property but one that is deeply influenced by data quality. For real-world deployments where data noise is expected, in-processing methods offer a more reliable path to equitable outcomes than post-processing techniques. Future research is needed to explore the Accuracy-Fairness-Robustness Trilemma and to extend these robustness tests to multi-class classification, regression, and adversarial noise scenarios.

Summary updated

BibTeX
@misc{small2022how,
  author = {Edward Small and Wei Shao and Zeliang Zhang and Peihan Liu and Jeffrey Chan and Kacper Sokol and Flora D. Salim},
  title = {{How Robust is your Fair Model? Exploring the Robustness of Diverse Fairness Strategies}},
  year = {2022},
  eprint = {2207.04581},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.04581},
}
Figure