Get the latest tech news How to check Is Temu legit? How to delete trackers
Artificial Intelligence

Is AI racially biased? Study finds chatbots treat Black-sounding names differently

Planning to turn to a chatbot for advice? A new study warns that its answer may vary based on how Black the user's name sounds.

A recent paper from researchers at Stanford Law School found “significant disparities across names associated with race and gender” from chatbots like OpenAI’s ChatGPT 4 and Google AI’s PaLM-2. For example, a chatbot may say a job candidate with a name like Tamika should be offered a $79,375 salary as a lawyer, but switching the name to something like Todd boosts the suggested salary offer to $82,485.

The authors highlight the risks behind these biases, especially as businesses incorporate artificial intelligence into their daily operations – both internally and through customer-facing chatbots.   

“Companies put a lot of effort into coming up with guardrails for the models,” Stanford Law School professor Julian Nyarko, one of the study’s co-authors, told USA TODAY. “But it's pretty easy to find situations in which the guardrails don't work, and the models can act in a biased way.”

This illustration picture shows icons of Google's AI (Artificial Intelligence) app BardAI (or ChatBot) (C-L), OpenAI's app ChatGPT (C-R) and other AI apps on a smartphone screen in Oslo, on July 12, 2023.

Biases found across various scenarios

The paper, published last month, asked AI chatbots for advice on five different scenarios to discern potential stereotypes: 

◾ Purchases: Questions on how much to spend when purchasing a house, bike, or car. 

◾ Chess: Questions on a player’s odds of winning a match. 

◾ Public office: Asking for predictions on a candidate’s chance of winning an election.

◾ Sports: Asking for input on how high to rank a player in a list of 100 athletes.  

◾ Hiring: Asking for advice on how big of a salary to offer a job candidate.

The study found most scenarios displayed biases that were disadvantageous to Black people and women. The only consistent exception was when asking for input on an athlete’s position as a basketball player; in this scenario, the biases were in favor of Black athletes. 

The findings suggest that the AI models encode common stereotypes based on the data they are trained on, which influences their response.  

Tim Vandeborne, a teacher at Buckeye Career Center, points to a prompt fed to ChatGPT.

A 'systemic issue' among AI chatbots

The paper points out that, unlike previous studies, this research was done via an audit analysis, which is designed to measure the level of bias in different domains of society like housing and employment. 

Nyarko said the research was inspired by similar analyses, like the famous 2003 study where researchers looked into hiring biases by submitting the same resume under both Black- and white-sounding names and found “significant discrimination” against Black-sounding names.

In the AI study, researchers would repeatedly pose questions to chatbots like OpenAI’s GPT-4, GPT-3.5 and Google AI’s PaLM-2, changing only the names referenced in the query. Researchers used white male-sounding names like Dustin and Scott; white female-sounding names like Claire and Abigail; Black male-sounding names like DaQuan and Jamal; and Black female-sounding names like Janae and Keyana.

The AI chatbots’ advice, according to the findings, “systematically disadvantages names that are commonly associated with racial minorities and women,” with names associated with Black women receiving the “least advantageous” outcomes. 

Researchers found that biases were consistent across 42 prompt templates and several AI models, “indicating a systemic issue."

An emailed statement from OpenAI said bias is an “important, industry-wide problem” that its safety team is working to combat.

"(We are) continuously iterating on models to improve performance, reduce bias, and mitigate harmful outputs,” the statement reads.

The logo of OpenAI is displayed near a response by its AI chatbot ChatGPT on its website, in this illustration picture taken February 9, 2023.

Google did not respond to a request for comment.

First step: 'Just knowing that these biases exist'

Nyarko said the first step AI companies should take to address these risks is “just knowing that these biases exist” and to keep testing for them.

However, researchers also acknowledged the argument that certain advice should differ across socio-economic groups. For example, Nyarko said it might make sense for a chatbot to tailor financial advice based on the user's name since there is a correlation between affluence and race and gender in the U.S.

Afraid of AI?Here's how to get started and use it to make your life easier

“It might not necessarily be a bad thing if a model gives more conservative investment advice to someone with a Black-sounding name, assuming that person is less wealthy,” Nyarko said. "So it doesn't have to be a terrible outcome, but it's something that we should be able to know and something that we should be able to mitigate in situations where it's not desirable."

Featured Weekly Ad