"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 · DOI

TL;DR

This paper investigates how Large Language Models (LLMs) exhibit name-based bias in employment recommendations, simulating hiring decisions and salary offers. The study reveals that LLMs often favor candidates with White-sounding names and can offer different salaries even for identically qualified candidates, highlighting the need for careful deployment and bias mitigation.

What Problem Does This Paper Address?

Social science has long documented how names can trigger discrimination in real-world hiring processes, leading to fewer callbacks or less favorable reviews for individuals with names indicative of certain racial or ethnic backgrounds. With the rise of LLMs in various applications, it's crucial to understand if these models, trained on vast amounts of text data, inherit and potentially amplify these societal biases. This paper specifically tackles the question of whether LLMs, when tasked with making employment-related decisions like hiring and salary recommendations, exhibit similar name-based biases, and how these biases compare to real-world labor market trends.

Methods

The researchers employed a systematic approach to probe LLMs for name-based bias. They used two primary methods:

  1. Hiring Recommendations: LLMs (GPT-3.5-Turbo and Llama 3-70B-Instruct) were prompted to select the "best candidate" for 40 different occupations from a list of four names. These names were carefully curated to represent various racial and gender groups. Experiments were conducted in both "gender-stratified" (selecting from same-gender pools) and "gender-neutral" (selecting from mixed-gender pools) settings.
  2. Salary Recommendations: LLMs were asked to recommend an annual salary for candidates. This was done in two scenarios:
  3. Without Biographies: Only the candidate's name and occupation were provided.
  4. With Biographies: The candidate's name was presented alongside a carefully anonymized and gender-neutralized biography to see if additional information could mitigate name-based bias.

Statistical tests, including Chi-square tests and ANOVA, were used to analyze the LLMs' choices and salary recommendations, comparing them against expected distributions and real-world labor data.

Datasets

  • Name Curation: The study utilized two datasets for name curation:
  • Rosenman et al. (2023): A compilation of over 136,000 first names from U.S. voter registration files, including imputed probabilities of association with 5 racial/ethnic groups.
  • Tzioumis (2018): A dataset of 4,250 first names from U.S. mortgage information, also providing racial/ethnic probabilities.
  • Gender was inferred using U.S. Social Security Agency data.
  • Occupation Data:
    • BiasinBios dataset (De-Arteaga et al., 2019): Provided 28 occupations with associated biographies.
  • U.S. Bureau of Labor Statistics (2023): Used for selecting an additional 12 occupations to reach a total of 40, ensuring a balance of male- and female-dominated jobs.
  • Real-world Labor Data:
    • U.S. Bureau of Labor Statistics (2023): Used for comparing hiring distributions.
  • American Community Survey (ACS) (2022): Used for comparing median earnings and gender pay gaps.

Key Insights and Ideas

  • The "Lin" Effect: The title itself hints at a common stereotype. The study found that LLMs, like humans, can be influenced by names, leading to biased outcomes in employment contexts.
  • White Female Preference: Surprisingly, the study found a preference for White female-sounding names in hiring recommendations across many occupations, which is a nuanced finding that deviates from some prior research focusing solely on White male preference.
  • Salary Discrepancies: Even when candidates had identical qualifications (as indicated by biographies), LLMs recommended different salaries, with gaps up to 5% for intersectional groups. This suggests that names can influence perceived value.
  • Biases Mirror, But Don't Perfectly Match, Reality: While LLMs' biases showed some alignment with real-world U.S. labor market trends, there were also significant discrepancies, particularly in intersectional analyses. This indicates LLMs might be over- or under-emphasizing certain biases compared to human labor markets.
  • Llama 3 vs. GPT-3.5: Llama 3 generally showed less pronounced bias than GPT-3.5, though both models exhibited significant name-based preferences.

Key Results

  • Hiring Preferences: White-aligned names were preferred by GPT-3.5 and Llama 3 in 50% to 95% of occupations. White female names were particularly favored.
  • Salary Gaps:
    • Without biographies, salary recommendations for female names could differ by up to 1.8% from male counterparts, and up to 5% for intersectional groups.
  • With biographies, the salary gaps narrowed but still existed, with female names often receiving lower offers.
  • Real-world Alignment: LLM hiring projections showed a correlation with U.S. labor statistics, but with notable deviations, especially in intersectional analyses. For example, LLMs favored female names in a significantly higher percentage of occupations than observed in U.S. labor data.
  • Intersectional Bias: The study highlighted significant disparities for non-White female names, particularly those of Hispanic background, underscoring the need for intersectional analysis.

Limitations and Future Work

  • Limited LLM Scope: The study only tested two prominent LLMs (GPT-3.5-Turbo and Llama 3-70B-Instruct). Future work could investigate a wider range of models, including open-source alternatives.
  • Name Diversity: The curated name pool, while extensive, may not fully capture the diversity of names in the U.S. or globally. Last names and multi-racial backgrounds were not explicitly analyzed.
  • Racial/Ethnic Categories: The analysis was limited to four racial/ethnic groups. Future research could include other groups and explore multi-racial identities.
  • Temporal and Geographical Constraints: The LLMs' knowledge cutoffs and the U.S.-centric nature of the data mean that findings might not generalize to other regions or time periods.
  • Use Case Specificity: The study focused on specific employment recommendation tasks. LLMs have diverse applications, and bias can manifest differently across them.

The authors suggest exploring name-blind recruitment, bias-aware finetuning, and prompt engineering as potential mitigation strategies. They also emphasize the importance of careful model selection and calibration for specific use cases to reduce bias.

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