Disclosure and Mitigation of Gender Bias in LLMs

Xiangjue Dong, Yibo Wang, Philip S. Yu, James Caverlee
2/17/2024
cs.CL

No official code found. Best implementation: dongxiangjue/Debias-LLMs (3 stars, Apache-2.0, last commit 2024-02-17).

Abstract

Large Language Models (LLMs) can generate biased responses. Yet previous direct probing techniques contain either gender mentions or predefined gender stereotypes, which are challenging to comprehensively collect. Hence, we propose an indirect probing framework based on conditional generation. This approach aims to induce LLMs to disclose their gender bias even without explicit gender or stereotype mentions. We explore three distinct strategies to disclose explicit and implicit gender bias in LLMs. Our experiments demonstrate that all tested LLMs exhibit explicit and/or implicit gender bias, even when gender stereotypes are not present in the inputs. In addition, an increased model size or model alignment amplifies bias in most cases. Furthermore, we investigate three methods to mitigate bias in LLMs via Hyperparameter Tuning, Instruction Guiding, and Debias Tuning. Remarkably, these methods prove effective even in the absence of explicit genders or stereotypes.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
30Shell, PythonFeb 17, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{dong2024disclosure,
  title  = {Disclosure and Mitigation of Gender Bias in LLMs},
  author = {Xiangjue Dong and Yibo Wang and Philip S. Yu and James Caverlee},
  year   = {2024},
  eprint = {2402.11190},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.11190v1}
}

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

Discussion