Abstract
Differential Privacy (DP) is widely regarded as the gold standard for training machine learning models without compromising individual privacy. However, this research highlights a critical "hidden cost": the exacerbation of unfairness when training on imbalanced datasets. By analyzing Differentially Private Stochastic Gradient Descent (DP-SGD), the authors demonstrate that the noise and gradient clipping required for privacy disproportionately reduce the accuracy of minority subgroups. This phenomenon persists even with loose privacy guarantees and moderate data imbalances, suggesting a fundamental tension between privacy, utility, and fairness in current deep learning frameworks.
Introduction
As machine learning models are increasingly deployed in sensitive domains, the need for privacy-preserving techniques like Differential Privacy (DP) has grown. DP provides a mathematical framework to ensure that the inclusion or exclusion of a single individual's data does not significantly alter the model's output. While effective at protecting individual privacy, recent research suggests a "no free lunch" scenario where the noise added to achieve these guarantees leads to a significant drop in overall model utility.
This paper specifically investigates the intersection of privacy, utility, and fairness. The core concern is that DP might cause "the poor to become poorer"—meaning minority groups, who already suffer from lower accuracy due to data scarcity, see their performance drop even further compared to majority groups when privacy constraints are introduced. The authors explore how varying levels of data imbalance interact with DP-SGD to create these disparities.
Methodology
The researchers employed DP-SGD, the standard algorithm for private deep learning, which modifies the training process in two key ways:
- Gradient Clipping: The influence of any single training example is limited by "clipping" its gradient to a maximum norm ($S$).
- Noise Addition: Random Gaussian noise is added to the aggregated gradients before updating model weights.
Privacy was tracked using a Moments Accountant to determine the privacy budget ($\epsilon$), where a smaller $\epsilon$ indicates a stricter privacy guarantee. The study utilized a ResNet18 architecture pre-trained on ImageNet and evaluated it on a binary classification task ("Smiling" vs. "Not Smiling") using a subset of the CelebA dataset. To test the impact of imbalance, the researchers manipulated gender ratios, ranging from a 70% female / 30% male split to an extreme 99.9% female / 0.1% male split.
Fairness was measured using two primary metrics:
- Demographic Parity ($\Delta_{DemP}$): The difference in positive prediction rates across groups.
- Equality of Opportunity ($\Delta_{EO}$): The difference in true positive rates across groups.
Key Insights and Results
The Widening Accuracy Gap
The most striking finding is how rapidly the accuracy disparity grows as data becomes more imbalanced under DP constraints. In a relatively balanced 70/30 split, low privacy ($\epsilon = 16.2$) caused a 5.1% disparity in accuracy between genders. However, as the imbalance reached 99.9/0.1, that disparity skyrocketed to 52%.
The Gradient Clipping Trap
The authors hypothesize that minority group samples often appear as "outliers" to the model during training. Because DP-SGD clips gradients to bound individual influence, the gradients from these minority samples are more likely to be suppressed. This prevents the model from learning effectively from the minority group, causing the accuracy gap to widen over time. This is not just a problem for high-privacy settings; even with very loose privacy guarantees ($\epsilon = 16.2$), significant disparities emerged, suggesting that fairness issues are inherent to the clipping and noising process itself.
The "Fairly Bad" Paradox
Interestingly, the researchers observed that the strictest privacy settings (lowest $\epsilon$) sometimes showed lower disparity than medium settings. This does not imply the model became fairer in a beneficial way; rather, the noise was so high that it destroyed utility for all groups, making the model "equally bad" across the board. This highlights the danger of relying solely on disparity metrics without considering absolute utility.
Conclusion and Future Work
This study characterizes a fundamental challenge in private machine learning: the disproportionate impact of DP on minority subgroups in imbalanced data. The results show that fairness degradation is a pervasive issue that occurs even with moderate privacy and imbalance levels.
While this work focuses on computer vision, the authors acknowledge the need to explore these effects in other domains like Natural Language Processing (NLP). Future research will focus on mitigation strategies, such as semi-supervised learning or recourse strategies, to reduce bias without compromising the rigorous privacy guarantees provided by Differential Privacy.
Summary updated