Skip to main content
QUICK REVIEW

[Paper Review] What are the biases in my word embedding?

Nathaniel Swinger, Maria De‐Arteaga|arXiv (Cornell University)|Dec 20, 2018
Hate Speech and Cyberbullying DetectionComputer Science22 references17 citations
TL;DR

This paper introduces an unsupervised algorithm to automatically detect and enumerate biases in word embeddings by identifying geometric patterns—parallel and cluster properties—between names and common words. It reveals widespread offensive associations related to race, gender, religion, and age, even in supposedly debiased embeddings, demonstrating that removing names does not eliminate proxy biases.

ABSTRACT

This paper presents an algorithm for enumerating biases in word embeddings. The algorithm exposes a large number of offensive associations related to sensitive features such as race and gender on publicly available embeddings, including a supposedly "debiased" embedding. These biases are concerning in light of the widespread use of word embeddings. The associations are identified by geometric patterns in word embeddings that run parallel between people's names and common lower-case tokens. The algorithm is highly unsupervised: it does not even require the sensitive features to be pre-specified. This is desirable because: (a) many forms of discrimination--such as racial discrimination--are linked to social constructs that may vary depending on the context, rather than to categories with fixed definitions; and (b) it makes it easier to identify biases against intersectional groups, which depend on combinations of sensitive features. The inputs to our algorithm are a list of target tokens, e.g. names, and a word embedding. It outputs a number of Word Embedding Association Tests (WEATs) that capture various biases present in the data. We illustrate the utility of our approach on publicly available word embeddings and lists of names, and evaluate its output using crowdsourcing. We also show how removing names may not remove potential proxy bias.

Motivation & Objective

  • To develop an unsupervised method for detecting biases in word embeddings without requiring pre-labeled sensitive attributes.
  • To expose harmful, stereotypical associations—especially against marginalized groups—that persist even in embeddings claimed to be debiased.
  • To demonstrate that removing names from training data does not eliminate proxy biases, as semantic associations can still encode discrimination.
  • To provide a scalable, automated tool for researchers and engineers to audit embeddings for fairness before deployment.

Proposed method

  • Leverages the parallel property: vector differences between name pairs (e.g., Mary–John) are nearly parallel to differences between attribute word pairs (e.g., Queen–King), indicating bias.
  • Introduces the cluster property: normalized word vectors for names and words form semantically meaningful clusters by gender, religion, and other social constructs.
  • Uses these geometric patterns to generate statistically significant Word Embedding Association Tests (WEATs) without prior specification of sensitive features.
  • Applies false discovery rate bounding to ensure statistical reliability of detected associations.
  • Employs crowdsourcing to validate that detected biases align with human-recognized stereotypes.
  • Analyzes potential indirect biases via four-tuple comparisons of significant associations to detect proxy relationships.

Experimental results

Research questions

  • RQ1Can we automatically detect a broad range of biases in word embeddings without pre-specifying sensitive attributes?
  • RQ2To what extent do widely used word embeddings, including debiased ones, still encode offensive or stereotypical associations?
  • RQ3How effective is the proposed method in identifying biases that align with human-recognized social stereotypes?
  • RQ4Do proxy biases persist even after removing names from training data, and can they be detected via geometric patterns in embeddings?
  • RQ5Can the algorithm uncover biases against intersectional or underrepresented groups not explicitly defined in advance?

Key findings

  • The algorithm detected numerous offensive associations involving race, gender, religion, and age in publicly available word embeddings, including a supposedly debiased embedding.
  • 99% of significant four-tuples in the Word2Vec embedding, 98% in fastText, and 97% in GloVe indicated potential indirect biases, showing that proxy associations persist after name removal.
  • Crowdsourcing confirmed that the most offensive associations—such as 'n*****', 'jihad', 's******', 'hottie'—were consistently rated as highly offensive (mean rating ≥6.0) when linked to specific name clusters.
  • The algorithm successfully identified clusters corresponding to gender, religion, and ethnicity, including a distinct Asian-American surname cluster when surnames were used instead of first names.
  • Even in the debiased embedding from Bolukbasi et al. (2016), the algorithm uncovered strong, statistically significant biases, indicating that debiasing methods may not fully eliminate bias.
  • The method achieved 50%+ accuracy in 12-way classification tasks, showing that the name-group associations it identifies are interpretable and meaningful to human raters.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.