"You Gotta be a Doctor, Lin" : An Investigation of Name-Based Bias of Large Language Models in Employment Recommendations

Huy Nghiem, John Prindle, Jieyu Zhao, Hal Daumé Iii

Introduction

As Large Language Models (LLMs) are increasingly integrated into human resources and recruitment pipelines, there is a growing risk that these systems will automate and scale human prejudices. Social science has long documented "audit studies" where identical resumes receive different callback rates based on whether the name "sounds" White, Black, or Hispanic. This paper investigates whether LLMs like GPT-3.5 and Llama 3 replicate these name-based biases in two specific downstream tasks: hiring selection and salary recommendation.

Methodology

The researchers conducted a massive simulation involving over 750,000 prompts across 40 different occupations. They used a "hiring manager" persona to prompt GPT-3.5-Turbo and Llama 3-70B-Instruct. The experiment was split into two main frameworks:

  1. Hiring Recommendation: Models were asked to choose the "best" candidate from a list of names. This included "Gender-stratified" (comparing races within one gender) and "Gender-neutral" (comparing all 8 race-gender intersections) scenarios.
  2. Salary Recommendation: Models recommended an annual salary for a candidate based on a name and a professional biography. These biographies were meticulously "scrubbed" of gendered pronouns and links using GPT-4o and manual verification to ensure the only demographic signal was the name itself.

The study utilized a pool of 320 first names that strongly signal specific racial (White, Black, Hispanic, Asian) and gender (Male, Female) identities. To analyze the salary data, the authors used Mixed-Effects Linear Models (MixedLM) to account for the random variance introduced by different biography texts.

Intersectional Bias and the Salary Paradox

A key finding of the research is the "White-Female Preference" in hiring. In selection tasks, both models showed a massive preference for White female-sounding names (WF) across almost all occupations. While this might appear progressive, it represents a significant deviation from both equality and real-world labor distributions.

Furthermore, the study uncovered a "Salary Paradox": while White female names were hired most often, they were frequently offered lower salaries than their male counterparts for the same role. This intersectional bias is visualized in the heatmaps below, which show how salary recommendations fluctuate based on both race and gender across different professions.

Intersectional salary gaps by race and gender for GPT-3.5 and Llama 3.

Quantitative Results

The study found that even with identical, gender-neutral biographies, the mere presence of a name triggered significant salary variations. Across 28 occupations, both models consistently recommended lower salaries for certain demographic groups, with discrepancies reaching as high as 5%.

Comparison of percentage salary gaps across 28 occupations for GPT-3.5 and Llama 3.

Key quantitative insights include:

  • Hiring Dominance: Candidates with White-aligned names were preferred in 50% to 95% of the 40 occupations tested.
  • Model Comparison: Llama 3 generally exhibited a higher magnitude of bias than GPT-3.5. For example, Llama 3’s average gender-based salary discrepancy was 1.17%, compared to 0.73% for GPT-3.5.
  • Real-world Mismatch: LLMs only partially mirror U.S. labor trends. While the U.S. labor force is roughly split between male and female occupations, GPT-3.5 and Llama 3 preferred female names in 73-77% of occupations.

Discussion and Limitations

The researchers suggest that "scrubbing" biographies of pronouns is insufficient to prevent bias; the presence of a name alone is enough to trigger skewed internal logic. Interestingly, Black names were often overlooked in hiring but received higher-than-average salary offers when they were selected, possibly due to overcorrection during alignment tuning (RLHF).

The study was limited to first names and four racial/ethnic groups, omitting the additional signals provided by last names and broader demographic identities. Future work should investigate how "name-blind" pipelines might be integrated into LLM-powered HR tools to mitigate these risks and ensure fairer automated recruitment processes.

Summary updated

BibTeX
@inproceedings{nghiem2024you,
  author = {Huy Nghiem and John Prindle and Jieyu Zhao and Hal Daumé III},
  title = {{"You Gotta be a Doctor, Lin" : An Investigation of Name-Based Bias of Large Language Models in Employment Recommendations}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.413},
}
Figure