FairPrism: Evaluating Fairness-Related Harms in Text Generation

Eve Fleisig, Aubrie Amstutz, Chad Atalla, Su Lin Blodgett, Hal Daumé Iii, Alexandra Olteanu, Emily Sheng, Dan Vann, Hanna M. Wallach

Introduction

As Large Language Models (LLMs) become ubiquitous, the risk of generating harmful content increases. Current evaluation tools often rely on broad "toxicity" labels derived from human-authored text, which fail to capture the unique ways AI systems fail. FairPrism addresses this gap with a large-scale dataset of 5,000 AI-generated examples and 15,000 granular human annotations. It moves beyond binary labels to identify context-dependent harms, stereotyping, and AI-specific issues like false attribution.

A New Framework for Harm Evaluation

Existing datasets focus on "hate speech" found in social media scrapes. However, AI harm is often more subtle: a model might "agree" with a sexist prompt or falsely attribute a hateful quote to a real-world figure. FairPrism acts as a "prism," breaking down "harm" into constituent parts to better diagnose model failures.

Comparison of FairPrism with existing toxicity and bias datasets.

The researchers focused on two interaction modes: replies (chatbots) and continuations (creative writing). They utilized prompts from ToxiGen and Social Bias Frames (SBIC) to trigger responses from models like InstructGPT and GPT-3. Unlike previous work, FairPrism separates subtypes of harm, contextualizes responses, and identifies specific target groups.

Key Insights: Stereotyping vs. Demeaning Content

A central finding is that "toxicity" is an over-saturated label. By distinguishing between stereotyping (generalizations) and demeaning content (direct insults), the authors show that models often fail in one area while appearing "clean" in the other. Furthermore, context is critical; a response acceptable in fiction might be harmful in a professional email. FairPrism includes "appropriateness" ratings to capture this sensitivity.

Results and Targeted Demographics

Analysis of model performance reveals significant disparities in how different groups are treated. When probing models like GPT-2, certain demographics were disproportionately targeted by harmful generations.

Prevalence of demographic groups targeted in the FairPrism dataset.

As shown in the data, women are the most frequently targeted demographic group, followed by gay and transgender individuals. Additionally, the study identified "AI-specific" harms such as false attribution, where models hallucinate harmful views and attribute them to real-world figures without evidence.

Conclusion and Future Directions

FairPrism demonstrates that standard toxicity classifiers are often inadequate, particularly for identifying stereotyping, where accuracy can drop as low as 22%. While the dataset currently focuses on English and U.S./Canadian cultural norms, it provides a robust "recipe" for more granular fairness measurement. Future work is needed to expand this framework to other languages, cultures, and a broader range of demographic characteristics.

Summary updated

BibTeX
@inproceedings{fleisig2023fairprism,
  author = {Eve Fleisig and Aubrie Amstutz and Chad Atalla and Su Lin Blodgett and Hal Daumé III and Alexandra Olteanu and Emily Sheng and Dan Vann and Hanna M. Wallach},
  title = {{FairPrism: Evaluating Fairness-Related Harms in Text Generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.343},
}
Figure