On Measuring Social Biases in Sentence Encoders

Chandler May, Alex Wang, Shikha Bordia, Samuel R. Bowman, Rachel Rudinger
3/25/2019
cs.CLcs.CY

Official code: W4ngatang/sent-bias (58 stars, Python, last commit 2021-05-23).

Abstract

The Word Embedding Association Test shows that GloVe and word2vec word embeddings exhibit human-like implicit biases based on gender, race, and other social constructs (Caliskan et al., 2017). Meanwhile, research on learning reusable text representations has begun to explore sentence-level texts, with some sentence encoders seeing enthusiastic adoption.

Show full abstract

Accordingly, we extend the Word Embedding Association Test to measure bias in sentence encoders. We then test several sentence encoders, including state-of-the-art methods such as ELMo and BERT, for the social biases studied in prior work and two important biases that are difficult or impossible to test at the word level. We observe mixed results including suspicious patterns of sensitivity that suggest the test's assumptions may not hold in general. We conclude by proposing directions for future work on measuring bias in sentence encoders.

View on arXivView PDF

Code Implementations(1)

Code and test data for "On Measuring Bias in Sentence Encoders", to appear at NAACL 2019.

5821Python, ShellOct 26, 20185 years agoNOASSERTION

Similar Papers

Cite this paper

@article{may2019measuring,
  title  = {On Measuring Social Biases in Sentence Encoders},
  author = {Chandler May and Alex Wang and Shikha Bordia and Samuel R. Bowman and Rachel Rudinger},
  year   = {2019},
  eprint = {1903.10561},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.10561}
}

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

Discussion