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
5/12/2025
cs.LGcs.AIcs.CR

Official code: hharcolezi/anonymity-impact-fairness (3 stars, MIT, last commit 2025-05-23).

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.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the ECAI 2025 paper "Fair Play for Individuals, Foul Play for Groups? Auditing Anonymization's Impact on ML Fairness"

30PythonNov 21, 20241 years agoMIT

Similar Papers

Cite this paper

@article{arcolezi2025fair,
  title  = {Fair Play for Individuals, Foul Play for Groups? Auditing Anonymization's Impact on ML Fairness},
  author = {Héber H. Arcolezi and Mina Alishahi and Adda-Akram Bendoukha and Nesrine Kaaniche},
  year   = {2025},
  eprint = {2505.07985},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.07985v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.07985.svg)](https://codeofpaper.com/paper/2505.07985)

Discussion