TL;DR
Standard group-fairness metrics swing wildly under minor data perturbations and distribution shifts, rendering conventional fairness audits unreliable. This paper introduces $\varepsilon$-Wasserstein Distributional Fairness ($\varepsilon$-WDF), a distributionally robust framework that certifies worst-case fairness over an optimal transport ball around the empirical data, and provides an efficient estimator (DRUNE) with finite-sample guarantees.
What Problem Does This Paper Address?
Auditing algorithmic equity using metrics like Demographic Parity or Equalized Odds is standard practice. However, these metrics are notoriously fragile: a slight shift in data collection, an alternative train-test split, or mild covariate drift in deployment can cause measured disparities to fluctuate dramatically. An empirical audit claiming a model is "fair" on a test sample offers zero guarantees once deployment conditions diverge from training data.
While Distributionally Robust Optimization (DRO) handles worst-case performance under distribution shifts, extending DRO to fairness auditing is non-trivial. Group-fairness criteria rely on discontinuous indicator functions (e.g., whether a predicted label matches a true label conditioned on a sensitive attribute), breaking standard DRO techniques that depend on smooth or Lipschitz-continuous losses. Furthermore, practitioners only possess finite sample data, raising the challenge of how to certify true population fairness from empirical observations.
Methods
-
Unified Fairness Representation: The authors express standard group-fairness metrics via a generic conditional expectation disparity functional: $$\mathcal{F}(\mathbb{P}, \theta) := \mathbb{E}_{\mathbb{P}}[h_\theta(X)\phi(U, \mathbb{E}_{\mathbb{P}}[U])]$$ where $U$ encodes membership across protected groups and labels.
-
Realism-Preserving Ambiguity Sets: Perturbations are measured via the Wasserstein distance ($W_q$). Crucially, the ground transport metric assigns infinite cost to altering the sensitive attribute $A$ or ground-truth label $Y$, restricting perturbations strictly to feature shifts $X$ while preserving the marginal distribution $\mathbb{P}_{A,Y}$.
- Tractable Dual Reformulation: By leveraging Kantorovich duality, evaluating the worst-case fairness deviation over an infinite-dimensional Wasserstein ball collapses into a continuous knapsack problem over $N$ sample points.
- The DRUNE Estimator (Distributionally Robust Unfairness Estimator):
- Stage 1 (Distance to Boundary): Computes the minimal distance from each sample point to the classifier's decision boundary ($\mathcal{L}_\theta = \{x : g_\theta(x) = 0\}$) using a Newton-KKT solver or a PDE-based Fast Sweeping method.
- Stage 2 (Greedy Knapsack): Solves the continuous knapsack problem in $O(N \log N)$ time by greedily selecting points closest to the decision boundary to flip.
- Finite-Sample Certification: Using uniform concentration bounds, the authors prove that inflating the empirical Wasserstein radius by $\delta_N = \delta + \alpha / \sqrt{N}$ guarantees the empirical worst-case disparity upper-bounds true population disparity with high probability ($1 - \sigma$).
Datasets
The authors evaluate empirical fragility and certification on eight benchmark datasets:
- Adult Census (Income prediction by gender)
- ACS Income (Income prediction by sex)
- Bank Marketing (Deposit subscription by age)
- HELOC (Credit risk performance by age)
- CelebA (Facial attribute prediction by sex)
- Heritage Health (Hospitalization prediction by sex)
- Law School Admissions (Bar exam passage by race)
- MEPS (Healthcare expenditure by sex)
No new datasets were introduced.
Key Insights and Ideas
- Knapsack Duality for Indicator Metrics: Because binary classification indicators only change values when an observation crosses the decision boundary, the worst-case distributional adversary merely shifts the probability mass of points closest to the boundary. This structure transforms an intractable infinite-dimensional optimization into a simple fractional knapsack problem.
- The Impact of Margins on Fairness Stability:
- When data exhibits a positive margin ($s > 0$) away from the boundary, worst-case unfairness scales favorably as $\mathcal{O}(\delta^q)$.
- When the margin vanishes ($s = 0$), infinitesimal Wasserstein shifts immediately transport mass across the boundary, accelerating fairness degradation to $\mathcal{O}(\delta^{\frac{q}{q+1}})$.
- Minority Vulnerability: Theoretical bounds show that worst-case fairness regularizers are inversely proportional to minority group prevalence ($\min(\mathbb{P}(S_0), \mathbb{P}(S_1))$), proving quantitatively why rare demographic sub-populations are significantly more vulnerable to distribution shifts.
Key Results
- Severe Empirical Fragility: Across 10,000 trials subsampling 1,000 instances, conventional fairness metrics (Demographic Parity, Equal Opportunity, Equalized Odds) showed massive variance across six model types (Logistic Regression, Linear/Kernel SVM, MLP, AdaBoost, Gradient Boosting). For instance, on HELOC and Heritage Health, measured fairness disparities ranged anywhere between near $0.0$ and over $0.6$ depending purely on the sample draw.
- Empirical vs. Certified Fairness: In experiments on HELOC (10,000 SVM models, $\delta = 0.01, q = 2$), empirical test fairness frequently underestimated true unfairness on the broader population. In contrast, DRUNE's worst-case fairness estimates consistently provided a valid conservative upper bound over the true population disparity.
Limitations and Future Work
- Classification Scope: The theoretical derivations and distance solvers are currently formulated for deterministic binary classifiers on continuous feature spaces with discrete sensitive groups; extension to multi-class or multi-label setups remains open.
- Computational Cost in High Dimensions: Finding exact point-to-boundary projections via Newton-KKT requires $\mathcal{O}(d^3)$ per-point algebraic operations. While the authors provide closed-form first-order surrogate bounds to alleviate this, high-dimensional scaling remains challenging.
- Convergence Rates: The finite-sample radius inflation scales as $\mathcal{O}(N^{-1/4})$. The authors note that deriving tighter sample-complexity rates under structural boundary assumptions is an important direction for future research.
Summary updated