Stereotype and Skew: Quantifying Gender Bias in Pre-trained and Fine-tuned Language Models

Daniel de Vassimon Manela, David Errington, Thomas Fisher, Boris van Breugel, Pasquale Minervini
1/24/2021
cs.CLcs.AIcs.LG

Official code: 12kleingordon34/NLP_masters_project (10 stars, Jupyter Notebook, last commit 2020-11-02).

Abstract

This paper proposes two intuitive metrics, skew and stereotype, that quantify and analyse the gender bias present in contextual language models when tackling the WinoBias pronoun resolution task. We find evidence that gender stereotype correlates approximately negatively with gender skew in out-of-the-box models, suggesting that there is a trade-off between these two forms of bias.

Show full abstract

We investigate two methods to mitigate bias. The first approach is an online method which is effective at removing skew at the expense of stereotype. The second, inspired by previous work on ELMo, involves the fine-tuning of BERT using an augmented gender-balanced dataset. We show that this reduces both skew and stereotype relative to its unaugmented fine-tuned counterpart. However, we find that existing gender bias benchmarks do not fully probe professional bias as pronoun resolution may be obfuscated by cross-correlations from other manifestations of gender prejudice. Our code is available online, at https://github.com/12kleingordon34/NLP_masters_project.

View on arXivView PDF

Code Implementations(1)

Code base used for NLP project 2020.

102Jupyter Notebook, PythonMar 26, 20206 years ago

Similar Papers

Cite this paper

@article{manela2021stereotype,
  title  = {Stereotype and Skew: Quantifying Gender Bias in Pre-trained and Fine-tuned Language Models},
  author = {Daniel de Vassimon Manela and David Errington and Thomas Fisher and Boris van Breugel and Pasquale Minervini},
  year   = {2021},
  eprint = {2101.09688},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.09688}
}

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/2101.09688.svg)](https://codeofpaper.com/paper/2101.09688)

Discussion