Challenges in Measuring Bias via Open-Ended Language Generation

Afra Feyza Akyürek, Muhammed Yusuf Kocyigit, Sejin Paik, Derry Wijaya
5/23/2022
cs.CLcs.CY
position

Official code: feyzaakyurek/bias-textgen (4 stars, Python, MIT, last commit 2022-04-03).

Abstract

Researchers have devised numerous ways to quantify social biases vested in pretrained language models. As some language models are capable of generating coherent completions given a set of textual prompts, several prompting datasets have been proposed to measure biases between social groups -- posing language generation as a way of identifying biases.

Show full abstract

In this opinion paper, we analyze how specific choices of prompt sets, metrics, automatic tools and sampling strategies affect bias results. We find out that the practice of measuring biases through text completion is prone to yielding contradicting results under different experiment settings. We additionally provide recommendations for reporting biases in open-ended language generation for a more complete outlook of biases exhibited by a given language model. Code to reproduce the results is released under https://github.com/feyzaakyurek/bias-textgen.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "Challenges in Measuring Bias in Open-Ended Language Generation" presented as oral at the 4th Workshop on Gender Bias in NLP at NAACL 2022.

40Python, ShellMar 7, 20224 years agoMIT
biasgender-biaslanguage-generationnatural-language-processingracial-bias

Similar Papers

Cite this paper

@article{akyrek2022challenges,
  title  = {Challenges in Measuring Bias via Open-Ended Language Generation},
  author = {Afra Feyza Akyürek and Muhammed Yusuf Kocyigit and Sejin Paik and Derry Wijaya},
  year   = {2022},
  eprint = {2205.11601},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.11601}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.11601.svg)](https://codeofpaper.com/paper/2205.11601)

Discussion