Abstract
Traditional fairness metrics, such as Demographic Parity (DP), often rely on global averages that can mask significant local discrimination. This paper introduces Maximal Cumulative ratio Disparity (MCDP(\epsilon)), a novel metric designed to identify and quantify the "worst-case" local disparity within a model's prediction distribution. To address these disparities during training, the authors propose DiffMCDP, a bi-level optimization framework that minimizes local unfairness. Experimental results across tabular and image datasets demonstrate that DiffMCDP achieves a superior fairness-accuracy trade-off compared to existing state-of-the-art methods.
Introduction
In algorithmic fairness, Demographic Parity (DP) is a widely accepted standard requiring that a model's predictions be independent of sensitive attributes like gender or race. Typically, violations are measured using $\Delta DP$, the difference in average predictions between groups. However, global averages are often deceptive. A model may exhibit a near-zero $\Delta DP$ while still harboring "extreme local disparity"—specific regions of the input space where one group is treated significantly differently than another.
For instance, a loan-approval model might maintain equal approval rates for men and women overall, yet systematically reject women at a specific credit score threshold. While distribution-level metrics like the Area Between CDF Curves (ABCC) attempt to capture more nuance than simple averages, they still tend to smooth out localized spikes in unfairness. This research addresses this gap by proposing a metric to find and mitigate the specific points where unfairness is most acute.
The MCDP Metric
The authors introduce Maximal Cumulative ratio Disparity (MCDP) to capture these local failures.
1. Definition and Robustness
MCDP($\epsilon$) calculates the maximal local disparity between the Cumulative Distribution Functions (CDFs) of two groups. To ensure the metric is robust against noise and sharp, non-representative distribution changes in finite data, the authors incorporate an $\epsilon$-neighborhood. Instead of evaluating a single point, the metric identifies the minimum disparity within a small window ($2\epsilon$) and then finds the maximum of those minima across the entire range of predictions.
2. Theoretical Properties
A key theoretical advantage of MCDP is its invariance to any monotone and invertible transformation of the model’s output scores. This ensures that the metric measures the fundamental sorting and ranking behavior of the classifier rather than being sensitive to raw score scaling.
3. Efficient Estimation
Calculating MCDP exactly on large datasets is computationally intensive ($O(N^2)$). To make the metric practical for real-world applications, the authors developed an Approximate Algorithm ($O(K^2/\epsilon)$). This sampling-based approach maintains high accuracy—with estimation errors typically under 3%—while being over 1,000 times faster than exact calculation.
DiffMCDP: Optimization via Bi-Level Learning
To move beyond measurement and into mitigation, the authors developed DiffMCDP, a differentiable training algorithm.
Because CDFs are inherently step-functions and non-differentiable, the authors use a temperature-scaled sigmoid function to create a smooth approximation. The training then proceeds via bi-level optimization:
- Inner Loop: Identifies the specific prediction value where the local disparity is currently at its maximum.
- Outer Loop: Updates the model weights to specifically reduce the disparity at that identified "worst-case" point.
This targeted approach follows a "rising tide lifts all boats" philosophy; by optimizing for the worst-case local disparity, the model naturally tends to improve global fairness metrics like $\Delta DP$ and ABCC as well.
Experimental Evaluation
The researchers evaluated DiffMCDP against baselines such as FairMixup and AdvDebias using both tabular and image-based datasets:
- Tabular: Adult (income prediction) and Bank (deposit subscription).
- Image: CelebA, specifically targeting "Attractive" (CelebA-A) and "Wavy Hair" (CelebA-W) classifications with gender as the sensitive attribute.
Key Findings
- Pareto Frontier: DiffMCDP consistently outperformed baselines, achieving lower unfairness for the same levels of classification accuracy across all tested datasets.
- Local vs. Global Improvement: On the Bank dataset, DiffMCDP reduced the maximal local disparity (MCDP(0)) by 47.98% compared to DiffDP (an algorithm that only optimizes for average differences). This confirms that optimizing for averages is insufficient for capturing local inequities.
- Scalability: The efficiency of the approximate algorithm makes it a viable tool for monitoring large-scale production models.
Discussion and Future Work
While DiffMCDP represents a significant step forward, it faces certain limitations. The optimization process is sensitive to the temperature hyperparameter ($\tau$); values that are too small lead to poor approximations, while values that are too large cause vanishing gradients. Additionally, the current framework is primarily designed for binary classification and binary sensitive attributes.
Future research directions include extending MCDP to other fairness definitions, such as Equalized Odds, and adapting the metric for multi-group scenarios and continuous sensitive attributes (e.g., age as a continuous variable). The authors also aim to further refine the bi-level optimization loops to improve training speed and stability.
Summary updated