Does Differential Privacy Impact Bias in Pretrained NLP Models?

Md. Khairul Islam, Andrew Wang, Tianhao Wang, Yangfeng Ji, Judy Fox +1 more
10/24/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: khairulislam/DP-on-NLP-Bias (0 stars, MIT, last commit 2024-10-24).

Abstract

Differential privacy (DP) is applied when fine-tuning pre-trained large language models (LLMs) to limit leakage of training examples. While most DP research has focused on improving a model's privacy-utility tradeoff, some find that DP can be unfair to or biased against underrepresented groups. In this work, we show the impact of DP on bias in LLMs through empirical analysis. Differentially private training can increase the model bias against protected groups w.r.t AUC-based bias metrics. DP makes it more difficult for the model to differentiate between the positive and negative examples from the protected groups and other groups in the rest of the population. Our results also show that the impact of DP on bias is not only affected by the privacy protection level but also the underlying distribution of the dataset.

View on arXivView PDF

Code Implementations(1)

MIT

Bias evaluation of Differentially Private NLP models

00Shell, PythonApr 14, 20221 years agoMIT
bertbiasdifferential-privacyfairnessnlp

Similar Papers

Cite this paper

@article{islam2024does,
  title  = {Does Differential Privacy Impact Bias in Pretrained NLP Models?},
  author = {Md. Khairul Islam and Andrew Wang and Tianhao Wang and Yangfeng Ji and Judy Fox and Jieyu Zhao},
  year   = {2024},
  eprint = {2410.18749},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.18749v1}
}

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/2410.18749.svg)](https://codeofpaper.com/paper/2410.18749)

Discussion