UPDF AI

The Unequal Opportunities of Large Language Models: Examining Demographic Biases in Job Recommendations by ChatGPT and LLaMA

A. Salinas,Parth Vipul Shah,2 Authors,Fred Morstatter

2023 · DOI: 10.1145/3617694.3623257
Conference on Equity and Access in Algorithms, Mechanisms, and Optimization · 82 Citations

TLDR

This work proposes a simple method for analyzing and comparing demographic bias in LLMs, through the lens of job recommendations, and demonstrates the effectiveness of this method by measuring intersectional biases within ChatGPT and LLaMA, two cutting-edge LLMs.

Abstract

Warning: This paper discusses and contains content that is offensive or upsetting. Large Language Models (LLMs) have seen widespread deployment in various real-world applications. Understanding these biases is crucial to comprehend the potential downstream consequences when using LLMs to make decisions, particularly for historically disadvantaged groups. In this work, we propose a simple method for analyzing and comparing demographic bias in LLMs, through the lens of job recommendations. We demonstrate the effectiveness of our method by measuring intersectional biases within ChatGPT and LLaMA, two cutting-edge LLMs. Our experiments primarily focus on uncovering gender identity and nationality bias; however, our method can be extended to examine biases associated with any intersection of demographic identities. We identify distinct biases in both models toward various demographic identities, such as both models consistently suggesting low-paying jobs for Mexican workers or preferring to recommend secretarial roles to women. Our study highlights the importance of measuring the bias of LLMs in downstream applications to understand the potential for harm and inequitable outcomes. Our code is available at https://github.com/Abel2Code/Unequal-Opportunities-of-LLMs.