Understanding the Origins of Bias in Word Embeddings

Marc-Etienne Brunet, Colleen Alkalay-Houlihan, Ashton Anderson, Richard Zemel
10/8/2018
cs.LGcs.CYstat.ML

Official code: mebrunet/understanding-bias (22 stars, MIT, last commit 2022-12-08).

Abstract

The power of machine learning systems not only promises great technical progress, but risks societal harm. As a recent example, researchers have shown that popular word embedding algorithms exhibit stereotypical biases, such as gender bias. The widespread use of these algorithms in machine learning systems, from automated translation services to curriculum vitae scanners, can amplify stereotypes in important contexts. Although methods have been developed to measure these biases and alter word embeddings to mitigate their biased representations, there is a lack of understanding in how word embedding bias depends on the training data. In this work, we develop a technique for understanding the origins of bias in word embeddings. Given a word embedding trained on a corpus, our method identifies how perturbing the corpus will affect the bias of the resulting embedding. This can be used to trace the origins of word embedding bias back to the original training documents. Using our method, one can investigate trends in the bias of the underlying corpus and identify subsets of documents whose removal would most reduce bias. We demonstrate our techniques on both a New York Times and Wikipedia corpus and find that our influence function-based approximations are very accurate.

View on arXivView PDF

Code Implementations(1)

MIT

Code accompanying the paper "Understanding Bias in Word Embeddings"

2214Julia, ShellAug 27, 20183 years agoMIT

Cite this paper

@article{brunet2018understanding,
  title  = {Understanding the Origins of Bias in Word Embeddings},
  author = {Marc-Etienne Brunet and Colleen Alkalay-Houlihan and Ashton Anderson and Richard Zemel},
  year   = {2018},
  eprint = {1810.03611},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.03611}
}

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

Discussion