TL;DR
This paper introduces a novel approach to building machine learning classifiers that are not only fair according to standard metrics but also robust to changes in the underlying data distribution. They achieve this by formulating a min-max optimization problem that minimizes worst-case loss across a range of perturbed distributions, leading to more reliable fairness guarantees in real-world scenarios.
What Problem Does This Paper Address?
Machine learning models are increasingly used for high-stakes decisions, making fairness a critical concern. While significant progress has been made in designing "fair" classifiers, most existing methods evaluate fairness only on the specific training data distribution. This is problematic because real-world data distributions can shift due to various factors like sampling biases, missing data, or noisy attributes. A classifier that appears fair on the training set might exhibit significant unfairness when deployed on slightly different data. This paper addresses this gap by focusing on robust fairness, aiming to ensure classifiers remain fair even when the training data distribution is perturbed.
Methods
The core of the paper's contribution lies in its novel formulation and algorithmic approach to achieve distributionally robust fairness.
- Min-Max Objective: They define a min-max objective function. The goal is to find a classifier ($h$) that minimizes its worst-case training loss across a defined class of perturbed distributions (indexed by weights $w$), while simultaneously ensuring fairness across this entire class of distributions. This is a departure from standard approaches that optimize for a single training distribution.
- Distributionally Robust Optimization (DRO): The problem is framed within the context of DRO, where the objective is to minimize the maximum possible loss over a set of plausible distributions.
- Iterative Algorithm: They develop an iterative algorithm based on online learning. This algorithm can be viewed as a two-player game: a "learner" (the classifier designer) and an "adversary" (who probes for weaknesses by selecting the most unfair distribution). The learner tries to find a fair classifier, while the adversary tries to find a distribution that exposes unfairness. The algorithm iteratively updates both the classifier and the adversary's strategy to converge to a robustly fair solution.
- Approximate Fair Classifier (ApxFair): A key component is the
ApxFairfunction, which provides an $\alpha$-approximate fair classifier for a given weight distribution. This function is crucial for the meta-algorithm. - Discretization and Lagrangian Multipliers: To handle the continuous nature of distribution perturbations, they discretize the space of possible weight distributions. They then use Lagrangian multipliers to incorporate fairness constraints into the optimization problem, transforming it into a two-player zero-sum game.
Datasets
The authors evaluated their approach on four standard benchmark datasets commonly used in fairness research:
- Adult: Predicts income level, with gender as the protected attribute.
- Communities and Crime: Predicts violent crime rates, with majority white population as the protected attribute.
- Law School: Predicts bar exam passage, with race (white or not white) as the protected attribute.
- COMPAS: Predicts recidivism, with race (white or black) as the protected attribute.
They used preprocessed versions of these datasets, often found in accompanying GitHub repositories of related work, and conducted experiments using 80%-20% train-test splits, further splitting the training set for validation.
Key Insights and Ideas
- Fairness is Not Static: The most significant insight is that fairness is not a property of a classifier on a single dataset, but rather a property that must hold across a range of plausible data distributions. Existing fairness metrics are often brittle to distribution shifts.
- Adversarial Robustness for Fairness: The paper elegantly frames the problem as a game between a classifier designer and an adversary trying to find unfairness. This adversarial perspective is key to achieving robustness.
- Trade-off Between Robustness and Accuracy: A crucial finding is the inherent trade-off between achieving high robustness to distribution shifts and maintaining high accuracy on the original, unperturbed training data. More robust classifiers might sacrifice some accuracy on the "ideal" distribution.
- The Importance of Distributional Shifts: The COMPAS dataset example vividly illustrates how a classifier can appear fair on an unweighted distribution but exhibit significant unfairness on a slightly reweighted version, highlighting the practical relevance of their work.
Key Results
- Improved Robustness: Experiments show that their proposed classifier is significantly more robust to weighted perturbations of the training distribution compared to state-of-the-art fair classifiers (pre-processing, in-processing, and post-processing methods). This robustness is demonstrated by a slower increase in fairness violation as the perturbation magnitude ($\epsilon$) increases.
- Competitive Performance: The robust classifier achieves competitive performance in terms of both accuracy and fairness violation on the original (unweighted) test sets, although with a slight drop in accuracy compared to non-robust methods.
- Trade-off Confirmation: The experiments quantitatively confirm the trade-off between robustness and test accuracy, showing that increased robustness comes at the cost of a small decrease in accuracy on the original distribution.
Limitations and Future Work
- Class of Perturbations: The current work focuses on weighted perturbations. The authors suggest future work could explore robustness against broader classes of distributions, such as those defined by bounded f-divergence or Wasserstein distance.
- Statistical Fairness Notions: The paper primarily uses demographic parity (DP) and equalized odds (EO). Extending the analysis to other statistical fairness notions is a natural next step.
- Computational Complexity: While the algorithm is designed to be implementable, the discretization step for weights can lead to an exponential number of weights in the worst case. The paper suggests that their implementation is efficient in practice due to the structure of the adversary's best response.
- Potential Misuse: The authors acknowledge a potential negative outcome: the techniques could be used to label classifiers as "fair" without a deep understanding of the fairness criteria or the underlying data, potentially leading to adverse effects for individuals subject to these decisions.
Summary updated