Fair Play for Individuals, Foul Play for Groups? Auditing Anonymization's Impact on ML Fairness
Héber H. Arcolezi, Mina Alishahi, Adda-Akram Bendoukha, Nesrine Kaaniche
TL;DR
This work addresses how privacy-preserving anonymization techniques, notably $k$-anonymity, $\ell$-diversity, and $t$-closeness, affect ML fairness and utility. It conducts a systematic audit across multiple datasets (Adult, Compas, ACSIncome) and models (including XGBoost) to measure group fairness metrics (MAD, EOD, SPD) and individual fairness metrics (LF, SF, NCF, ALF, ASF), under varying anonymization strengths, suppression levels, target distributions, and data sizes. The study finds that anonymization generally degrades group fairness while improving similarity-based individual fairness; utility declines with stronger anonymization, with non-monotonic effects and dataset/model-dependent variations. Based on these results, it offers practical guidelines for balancing privacy, fairness, and utility in anonymized ML pipelines and identifies directions for theoretical and method development to co-optimize fairness with privacy.
Abstract
Machine learning (ML) algorithms are heavily based on the availability of training data, which, depending on the domain, often includes sensitive information about data providers. This raises critical privacy concerns. Anonymization techniques have emerged as a practical solution to address these issues by generalizing features or suppressing data to make it more difficult to accurately identify individuals. Although recent studies have shown that privacy-enhancing technologies can influence ML predictions across different subgroups, thus affecting fair decision-making, the specific effects of anonymization techniques, such as $k$-anonymity, $\ell$-diversity, and $t$-closeness, on ML fairness remain largely unexplored. In this work, we systematically audit the impact of anonymization techniques on ML fairness, evaluating both individual and group fairness. Our quantitative study reveals that anonymization can degrade group fairness metrics by up to fourfold. Conversely, similarity-based individual fairness metrics tend to improve under stronger anonymization, largely as a result of increased input homogeneity. By analyzing varying levels of anonymization across diverse privacy settings and data distributions, this study provides critical insights into the trade-offs between privacy, fairness, and utility, offering actionable guidelines for responsible AI development. Our code is publicly available at: https://github.com/hharcolezi/anonymity-impact-fairness.
