English

Measuring Bias in Contextualized Word Representations

Computation and Language 2019-06-19 v1

Abstract

Contextual word embeddings such as BERT have achieved state of the art performance in numerous NLP tasks. Since they are optimized to capture the statistical properties of training data, they tend to pick up on and amplify social stereotypes present in the data as well. In this study, we (1)~propose a template-based method to quantify bias in BERT; (2)~show that this method obtains more consistent results in capturing social biases than the traditional cosine based method; and (3)~conduct a case study, evaluating gender bias in a downstream task of Gender Pronoun Resolution. Although our case study focuses on gender bias, the proposed technique is generalizable to unveiling other biases, including in multiclass settings, such as racial and religious biases.

Keywords

Cite

@article{arxiv.1906.07337,
  title  = {Measuring Bias in Contextualized Word Representations},
  author = {Keita Kurita and Nidhi Vyas and Ayush Pareek and Alan W Black and Yulia Tsvetkov},
  journal= {arXiv preprint arXiv:1906.07337},
  year   = {2019}
}

Comments

1st ACL Workshop on Gender Bias for Natural Language Processing 2019

R2 v1 2026-06-23T09:56:25.375Z