The Woman Worked as a Babysitter: On Biases in Language Generation
Written for the Research library (claude-opus-5-5) from the paper text. Original — aclanthology.org/D19-1339.pdf
Summary
Sheng et al. study how open-domain language generators portray different social groups. They found that off-the-shelf sentiment tools often miss socially loaded content: a sentence saying someone worked as a pimp is scored as neutral. So they propose regard as the bias metric. Regard is the social perception a sentence creates of a demographic. To measure it, they wrote 10 prefix templates in two bias contexts, respect and occupation. Each template was filled with one of six groups: man/woman, Black/White and gay/straight. They sampled GPT-2 continuations, and three annotators labeled 360 of them for both sentiment and regard. This left 302 usable examples, which they used to train a BERT-based regard classifier. They then scored 500 generations per group from GPT-2 and LM 1B. Both models treat groups unequally, and regard shows larger gaps in negative scores than sentiment does. This means sentiment-only audits can understate bias, which matters for every downstream system built on these models.
Key points
- Models and tools: the models audited were GPT-2 (small) and Google's LM 1B, trained on the One Billion Word Benchmark. VADER was the main sentiment analyzer, and TextBlob was a baseline.
- Annotation agreement: on the positive/neutral/negative classes, Fleiss' kappa was 0.60 for sentiment and 0.67 for regard. Spearman's correlation between annotators was 0.76 and 0.80. The dataset was split 212/60/30 for train/dev/test.
- Sentiment vs. regard: VADER predictions match regard labels poorly in the occupation context (Spearman 0.54) but better in the respect context (0.69). The two human-annotated labels agree at 0.95 for respect but only 0.70 for occupation.
- Classifier results: the BERT regard classifier reached about 0.8 accuracy. That is more than 20% above LSTM models and above a sentiment analyzer reused as a regard classifier.
- Bias findings: with GPT-2, respect prompts led to more negative regard for Black, man and gay groups. Occupation prompts led to more negative regard for Black, woman and gay groups ("prostitute" came up often). LM 1B looked less biased overall. The annotations are public at github.com/ewsheng/nlg-bias.
Cited by
- Knowledge Graph Based Synthetic Corpus Generation for Knowledge-Enhanced Language Model Pre-training
- Investigating Cultural Alignment of Large Language Models
- Language (Technology) is Power: A Critical Survey of ``Bias'' in NLP
- On the Opportunities and Risks of Foundation Models
- Toxicity in chatgpt: Analyzing persona-assigned language models
- Queens are Powerful too: Mitigating Gender Bias in Dialogue Generation
- Towards Measuring the Representation of Subjective Global Opinions in Language Models
- Bias and Fairness in Large Language Models: A Survey
- RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
- Evaluating Large Language Models: A Comprehensive Survey
- ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detection
- The Importance of Modeling Social Factors of Language: Theory and Practice
- Towards Understanding and Mitigating Social Biases in Language Models
- DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Experts
- WANLI: Worker and AI Collaboration for Natural Language Inference Dataset Creation
- The Flan Collection: Designing Data and Methods for Effective Instruction Tuning
- Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
- StereoSet: Measuring stereotypical bias in pretrained language models
- BBQ: A hand-built bias benchmark for question answering
- The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale
- Discovering Language Model Behaviors with Model-Written Evaluations
- Red Teaming Language Models with Language Models
- How many data points is a prompt worth?
- Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP
- Societal Biases in Language Generation: Progress and Challenges
- Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Model
- Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models
- Galactica: A Large Language Model for Science
- LaMDA: Language Models for Dialog Applications
- Aya Model: An Instruction Finetuned Open-Access Multilingual Language Model
- Measuring and Reducing Gendered Correlations in Pre-trained Models
Cite
@inproceedings{sheng2019woman,
title = {{The Woman Worked as a Babysitter: On Biases in Language Generation}},
author = {Sheng, Emily and Chang, Kai-Wei and Natarajan, Premkumar and Peng, Nanyun},
booktitle = {Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)},
year = {2019},
doi = {10.18653/v1/d19-1339},
eprint = {1909.01326},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/d19-1339}
}References
- Tolga Bolukbasi, Kai-Wei Chang, James Y Zou, Venkatesh Saligrama, and Adam T Kalai. 2016. Man is to computer programmer as woman is to homemaker? debiasing word embeddings. In Advances in Neural Information Processing Systems, pages 4349–4357. find our card
- Peter Henderson, Koustuv Sinha, Nicolas Angelard-Gontier, Nan Rosemary Ke, Genevieve Fried, Ryan Lowe, and Joelle Pineau. 2018. Ethical challenges in data-driven dialogue systems. In Proceedings of the 2018 AAAI/ACM Conference on AI, Ethics, and Society, pages 123–129. ACM. find
- Clayton J Hutto and Eric Gilbert. 2014. Vader: A parsimonious rule-based model for sentiment analysis of social media text. In Eighth international AAAI conference on weblogs and social media. find
- Rafal Jozefowicz, Oriol Vinyals, Mike Schuster, Noam Shazeer, and Yonghui Wu. 2016. Exploring the limits of language modeling. arXiv preprint arXiv:1602.02410. end-to-end dialogue systems using generative hierarchical neural network models. In Thirtieth AAAI Conference on Artificial Intelligence. find
- Lili Yao, Nanyun Peng, Ralph Weischedel, Kevin Knight, Dongyan Zhao, and Rui Yan. 2019. Plan-and-write: Towards better automatic storytelling. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 7378–7385. find
- Jieyu Zhao, Tianlu Wang, Mark Yatskar, Vicente Ordonez, and Kai-Wei Chang. 2018. Gender bias in coreference resolution: Evaluation and debiasing methods. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies,… find our card
- Pei Zhou, Weijia Shi, Jieyu Zhao, Kuan-Hao Huang, Muhao Chen, Ryan Cotterell, and Kai-Wei Chang. 2019. Examining gender bias in languages with grammatical gender. In Proceedings of the Conference on Empirical Methods in Natural Language Processing. find
- Svetlana Kiritchenko and Saif M Mohammad. 2018. Examining Gender and Race Bias in Two Hundred Sentiment Analysis Systems. In 7th Joint Conference on Lexical and Computational Semantics (SEM‘18). find our card
- Philipp Koehn. 2009. Statistical machine translation. Cambridge University Press. find
- Kaiji Lu, Piotr Mardziel, Fangjing Wu, Preetam Aman-charla, and Anupam Datta. 2018. Gender bias in neural natural language processing. arXiv preprint arXiv:1807.11714. find our card
- Saif Mohammad. 2016. A practical guide to sentiment annotation: Challenges and solutions. In Proceedings of the 7th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, pages 174–179. find
- Marcelo OR Prates, Pedro H Avelar, and Luı́s C Lamb. 2018. Assessing gender bias in machine translation: a case study with google translate. Neural Computing and Applications, pages 1–19. find
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners. OpenAI Blog, 1(8). find
- Rachel Rudinger, Jason Naradowsky, Brian Leonard, and Benjamin Van Durme. 2018. Gender bias in coreference resolution. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pages 8–1… find our card
- Iulian V Serban, Alessandro Sordoni, Yoshua Bengio, Aaron Courville, and Joelle Pineau. 2016. Building find