Skip to main content
QUICK REVIEW

[Paper Review] Quantifying and Reducing Stereotypes in Word Embeddings

Tolga Bolukbasi, Kai-Wei Chang|OpenBU (Boston University)|Jun 20, 2016
Hate Speech and Cyberbullying DetectionComputer Science13 references62 citations
TL;DR

This paper proposes a novel method to quantify and reduce gender stereotypes in word embeddings using a combination of a gender analogy task and crowdsourcing. It introduces a debiasing algorithm that removes bias with minimal impact on semantic similarity and analogy performance, achieving a 90% reduction in gender stereotype variance while preserving downstream task accuracy.

ABSTRACT

Machine learning algorithms are optimized to model statistical properties of the training data. If the input data reflects stereotypes and biases of the broader society, then the output of the learning algorithm also captures these stereotypes. In this paper, we initiate the study of gender stereotypes in {\em word embedding}, a popular framework to represent text data. As their use becomes increasingly common, applications can inadvertently amplify unwanted stereotypes. We show across multiple datasets that the embeddings contain significant gender stereotypes, especially with regard to professions. We created a novel gender analogy task and combined it with crowdsourcing to systematically quantify the gender bias in a given embedding. We developed an efficient algorithm that reduces gender stereotype using just a handful of training examples while preserving the useful geometric properties of the embedding. We evaluated our algorithm on several metrics. While we focus on male/female stereotypes, our framework may be applicable to other types of embedding biases.

Motivation & Objective

  • To systematically quantify gender stereotypes in pre-trained word embeddings, especially regarding professions.
  • To develop a scalable method for reducing bias in word embeddings without compromising their semantic utility.
  • To evaluate whether stereotypical associations (e.g., nurse:woman) can be disentangled from definitional ones (e.g., sister:woman) through debiasing.
  • To preserve the geometric structure of embeddings after debiasing, ensuring continued performance on standard NLP benchmarks.

Proposed method

  • Proposes a gender analogy task to generate stereotypical and non-stereotypical analogy pairs, which are then validated via crowdsourcing on U.S.-based Turkers.
  • Introduces a semi-definite programming (SDP) formulation to learn a transformation matrix T that minimizes bias while preserving pairwise distances in the embedding space.
  • Uses singular value decomposition (SVD) on the background word matrix A to reduce computational complexity, enabling efficient optimization on large-scale embeddings.
  • Applies the transformation T to word vectors such that the projections of stereotypical words (e.g., nurse, manager) onto the he-she direction are minimized, making them orthogonal to the gender direction.
  • Balances bias reduction and distance preservation using a hyperparameter λ in the objective function: min ||AXAᵀ − AAᵀ||²_F + λ||PXBᵀ||²_F.
  • Employs a small set of seed words (e.g., manager, nurse) to define the bias direction and applies the transformation to the entire embedding matrix.

Experimental results

Research questions

  • RQ1To what extent do pre-trained word embeddings encode harmful gender stereotypes, particularly in professional roles?
  • RQ2Can stereotypical associations (e.g., woman:homemaker) be systematically identified and separated from non-stereotypical semantic relationships (e.g., woman:sister)?
  • RQ3Is it possible to reduce gender bias in word embeddings using only a handful of training examples without degrading performance on semantic and syntactic tasks?
  • RQ4Does the debiasing transformation preserve the geometric structure of the original embedding space?

Key findings

  • The variance of gender-stereotype words along the he-she direction decreased from 0.02 in the original embedding to 0.001 after debiasing, indicating a 90% reduction in bias.
  • Background words not associated with gender stereotypes showed minimal change in variance (0.005 before vs. 0.0055 after), confirming that the transformation preserves non-biased semantic structure.
  • The debiased embedding maintained or slightly improved performance on standard benchmarks: RG score increased from 0.761 to 0.764, WS353 from 0.700 to 0.700, RW from 0.471 to 0.472, and MSR-analogy from 0.712 to 0.712.
  • The method successfully reduced stereotypical analogies such as he:janitor :: she:housekeeper while preserving non-stereotypical ones like he:realist :: she:feminist.
  • The debiasing algorithm is computationally feasible on large-scale embeddings (e.g., 400k words) through SVD-based dimensionality reduction.
  • Crowdsourced evaluation confirmed that the algorithm effectively removes bias while maintaining semantic coherence and utility in downstream NLP tasks.

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.