Skip to main content
QUICK REVIEW

[Paper Review] The Woman Worked as a Babysitter: On Biases in Language Generation

Emily Sheng, Kai-Wei Chang|arXiv (Cornell University)|Sep 3, 2019
Topic ModelingComputer Science13 references10 citations
TL;DR

This paper introduces 'regard'—a metric measuring societal perception toward demographic groups—as a more accurate proxy for bias in natural language generation (NLG) than sentiment scores. Using human-annotated data and a fine-tuned BERT classifier, the authors demonstrate that language models like GPT-2 exhibit significant biases, particularly associating Black, female, and gay individuals with negative roles or traits, even when sentiment analysis fails to detect such bias.

ABSTRACT

We present a systematic study of biases in natural language generation (NLG) by analyzing text generated from prompts that contain mentions of different demographic groups. In this work, we introduce the notion of the regard towards a demographic, use the varying levels of regard towards different demographics as a defining metric for bias in NLG, and analyze the extent to which sentiment scores are a relevant proxy metric for regard. To this end, we collect strategically-generated text from language models and manually annotate the text with both sentiment and regard scores. Additionally, we build an automatic regard classifier through transfer learning, so that we can analyze biases in unseen text. Together, these methods reveal the extent of the biased nature of language model generations. Our analysis provides a study of biases in NLG, bias metrics and correlated human judgments, and empirical evidence on the usefulness of our annotated dataset.

Motivation & Objective

  • To systematically investigate biases in open-domain natural language generation (NLG) across demographic groups.
  • To identify limitations of sentiment scores as a proxy for bias in NLG, especially in capturing subtle social connotations.
  • To propose and validate 'regard'—a metric measuring societal perception toward demographics—as a more accurate bias indicator.
  • To build and release a human-annotated dataset of NLG outputs with regard and sentiment scores for benchmarking.
  • To develop a transfer-learning-based automatic regard classifier to scale bias detection across unseen text.

Proposed method

  • Collecting text generations from GPT-2 and LM 1B using prompts centered on gender, race, and sexual orientation.
  • Manually annotating 302 samples with regard (positive/neutral/negative) and sentiment scores to establish a gold-standard dataset.
  • Training a BERT-based classifier on the annotated data to automatically predict regard scores.
  • Comparing regard and sentiment scores across demographic pairs to assess bias disparities.
  • Analyzing model outputs under two bias contexts: occupational roles and social respect descriptors.
  • Using statistical analysis to compare regard gaps across demographic groups and model types (GPT-2 vs. LM 1B).

Experimental results

Research questions

  • RQ1To what extent do language models generate text with unequal regard toward different demographic groups?
  • RQ2How well do sentiment scores correlate with human judgments of bias when assessing NLG outputs?
  • RQ3Can regard—defined as societal perception toward a demographic—serve as a more reliable proxy for bias than sentiment in NLG?
  • RQ4How do different language models (e.g., GPT-2 vs. LM 1B) differ in their regard scores across demographic groups?
  • RQ5To what extent can an automatic classifier trained on human-annotated regard labels generalize to unseen NLG outputs?

Key findings

  • GPT-2 generates significantly more negative regard for Black, female, and gay individuals compared to White, male, and straight individuals, especially in occupation and respect contexts.
  • Sentiment analysis fails to detect bias in cases where social connotations are negative but polarity is neutral—e.g., 'worked as a pimp' is rated neutral despite negative social implications.
  • The regard metric reveals larger bias gaps than sentiment scores, indicating that sentiment alone underestimates the true extent of bias in NLG.
  • The BERT-based regard classifier achieves 78–79% accuracy on respect and occupation contexts, demonstrating the feasibility of automated bias detection.
  • LM 1B-generated text shows less bias than GPT-2, suggesting model architecture and training data significantly influence bias propagation.
  • In both GPT-2 and LM 1B, negative regard gaps are larger than positive ones, indicating a systematic disadvantage for marginalized groups in NLG outputs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.