Abstract
Due to privacy and security concerns, recent advancements in group fairness advocate for model training regardless of demographic information. However, most methods still require prior knowledge of demographics. In this study, we explore the potential for achieving fairness without compromising its utility when no prior demographics are provided to the training set, namely harmless Rawlsian fairness. We ascertain that such a fairness requirement with no prior demographic information essential promotes training losses to exhibit a Dirac delta distribution. To this end, we propose a simple but effective method named VFair to minimize the variance of training losses inside the optimal set of empirical losses. This problem is then optimized by a tailored dynamic update approach that operates in both loss and gradient dimensions, directing the model towards relatively fairer solutions while preserving its intact utility. Our experimental findings indicate that regression tasks, which are relatively unexplored from literature, can achieve significant fairness improvement through VFair regardless of any prior, whereas classification tasks usually do not because of their quantized utility measurements.
Introduction
In the field of Machine Learning fairness, researchers often strive for Rawlsian fairness, which prioritizes the performance of the most disadvantaged groups. Traditionally, achieving this requires explicit knowledge of demographic labels (e.g., race, gender) during the training phase. However, increasing privacy regulations and security concerns often make this sensitive data unavailable.
Existing "blind" fairness methods frequently fall into two traps: they either rely on inaccurate proxy attributes or significantly degrade the model's overall utility (accuracy) to achieve fairness. This paper introduces VFair, a novel training method designed for Harmless Rawlsian Fairness—improving fairness for unknown groups without demographic priors and without sacrificing overall model performance.
The VFair Methodology
The core intuition behind VFair is the Dirac delta distribution. Theoretically, if every data point in a training set incurs the exact same loss, any group formed from that data will share the same average utility, effectively eliminating disparity. VFair treats fairness as a variance-reduction problem, aiming to push the loss distribution toward this Dirac delta state.
VFair operates through several key mechanisms:
- Dual Objectives: It minimizes the variance of training losses (fairness) while constrained by the mean loss (utility).
- Scalability: By using an Exponential Moving Average (EMA) to track global loss statistics, the method remains efficient for mini-batch stochastic gradient descent.
- Dynamic Gradient Updates: Instead of a static weighted loss, VFair employs a tailored gradient update scheme. It dynamically calculates a coefficient to balance the utility gradient ($\nabla \hat{\mu}$) and the fairness gradient ($\nabla \hat{\sigma}$).
Conflict Resolution in Gradients
A critical feature of VFair is its ability to handle gradient conflicts. If the fairness update threatens to increase the overall error, the algorithm automatically adjusts the update direction to prioritize utility. This ensures that the pursuit of fairness does not "harm" the model's primary performance goals.
Key Insights: Regression vs. Classification
The researchers discovered a significant difference in how fairness manifests across task types:
- The Regression Advantage: "Harmless" fairness is notably easier to achieve in regression. Because losses are continuous, even small improvements in the loss distribution translate directly into improved fairness metrics.
- The "Quantization" Hurdle: In classification, utility is measured by discrete metrics like accuracy. A model may improve its internal loss distribution (becoming "fairer" in its confidence), but these changes often do not cross the threshold to change the final "right or wrong" prediction, making prior-free fairness harder to detect in these tasks.
Experimental Results
VFair was evaluated across six benchmarks, including UCI Adult, Law School, and COMPAS. Key findings include:
- Significant Gains in Regression: On the Law School dataset, VFair improved prediction error variance by 1.23 points and reduced utility disparity by 0.92 points compared to standard Empirical Risk Minimization (ERM), with virtually no change in Mean Squared Error (MSE).
- Superiority over Baselines: VFair consistently outperformed other demographic-blind methods like Adversarially Reweighted Learning (ARL) and Distributionally Robust Optimization (DRO) in maintaining high utility.
- Stability: When test sets were randomly partitioned into groups, VFair remained the most stable and fair model, proving its effectiveness even when the "worst-off group" is not predefined.
Conclusion and Future Work
While VFair provides a robust path toward harmless fairness, it does come with approximately twice the computational overhead of standard ERM due to the dual gradient calculations. Furthermore, while it improves the loss distribution in classification, translating those gains into discrete accuracy improvements remains a challenge. Future work will explore VFair's performance in non-IID data scenarios and distribution shifts.
Summary updated