techlist.io

Ai Fairness

1 posts

OpenAI2024-10-143 min readCurated summary

Evaluating fairness in ChatGPT

# Evaluating Fairness in ChatGPT OpenAI studied whether ChatGPT's responses change based on the name a user shares, and whether those changes reflect harmful stereotypes. Across millions of real conversations, the team found no meaningful difference in overall response quality tied to gender or racial connotations of names, and only about 0.1% of cases showed name-linked differences that a model judged as harmful stereotypes. The authors present the method as a new benchmark for tracking bias over time, while acknowledging that the study covers only English, binary gender associations, and four racial and ethnic groups. ## Why First-Person Fairness Matters - Prior fairness research mostly examined third-person cases, such as AI screening résumés or scoring credit, where institutions make decisions about others. - This study focuses on first-person fairness, meaning how a chatbot treats the user directly in everyday tasks like drafting emails, writing résumés, or suggesting entertainment. - Names carry cultural, gender, and racial associations, and users often share them, so they serve as a practical signal for detecting bias. - ChatGPT can retain names across conversations unless the user disables the Memory feature. ## Measuring Bias with a Language Model Research Assistant - Researchers used GPT-4o as a "Language Model Research Assistant" (LMRA) to analyze patterns across real ChatGPT transcripts. The LMRA shared only aggregate trends, not the underlying chats, to protect privacy. - The setup compared responses to identical prompts paired with different names, such as John and Amanda, without the LMRA knowing which name belonged to which group. - To validate the LMRA, both it and human raters evaluated the same public chats. The LMRA agreed with humans more than 90% of the time on gender, but agreement was lower for race and ethnicity, so the authors note that further work is needed. ## Findings - Response quality, including accuracy and hallucination rates, stayed consistent across gender and racial groups. - Name-linked differences rated as harmful stereotypes appeared in about 0.1% of cases overall, with some domains on older models reaching roughly 1%. - GPT-3.5 Turbo showed the highest bias among the models tested, while newer models all stayed below 1% across tasks. - Open-ended tasks with long responses were more likely to contain stereotypes. "Write a story" produced the most, for example, with responses to female-sounding names more often featuring female protagonists. - Differences also appeared in tone, language complexity, and level of detail. Some were clear stereotypes, while others might be welcomed by some users and unwelcomed by others. ## Limitations - The study covers only text interactions in English, binary gender associations based on common U.S. names, and four racial and ethnic groups (Black, Asian, Hispanic, and White). - Names are not the only factor that could influence first-person fairness, and not every user shares their name. - Defining a harmful stereotype remains difficult, and the authors acknowledge the need to improve the LMRA's accuracy, particularly for race and ethnicity. ## Conclusion OpenAI has added this evaluation method to its standard suite of model performance tests and plans to use it in future deployment decisions. The authors are also sharing the system messages used in the study so external researchers can replicate and extend the work.