What's in a Name? Auditing Large Language Models for Race and Gender Bias

Alejandro Salinas, Amit Haim, Julian Nyarko
2/21/2024
cs.CLcs.AIcs.CY

No official code found. Best implementation: AlexSalinas99/audit_llms (2 stars, last commit 2025-05-26).

Abstract

We employ an audit design to investigate biases in state-of-the-art large language models, including GPT-4. In our study, we prompt the models for advice involving a named individual across a variety of scenarios, such as during car purchase negotiations or election outcome predictions. We find that the advice systematically disadvantages names that are commonly associated with racial minorities and women. Names associated with Black women receive the least advantageous outcomes. The biases are consistent across 42 prompt templates and several models, indicating a systemic issue rather than isolated incidents. While providing numerical, decision-relevant anchors in the prompt can successfully counteract the biases, qualitative details have inconsistent effects and may even increase disparities. Our findings underscore the importance of conducting audits at the point of LLM deployment and implementation to mitigate their potential for harm against marginalized communities.

View on arXivView PDF

Code Implementations(1)

Repository for the data, scripts and notebooks used in What's in a Name? Auditing Large Language Models for Race and Gender Bias.

20Python, Jupyter NotebookMay 16, 20241 years ago

Similar Papers

Cite this paper

@article{salinas2024whats,
  title  = {What's in a Name? Auditing Large Language Models for Race and Gender Bias},
  author = {Alejandro Salinas and Amit Haim and Julian Nyarko},
  year   = {2024},
  eprint = {2402.14875},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.14875v3}
}

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

Discussion