NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Role of Protected Class Word Lists in Bias Identification of Contextualized Word Representations

João Sedoc, Lyle Ungar2019

Abstract: Systemic bias in word embeddings has been widely reported and studied, and efforts made to debias them; however, new contextualized embeddings such as ELMo and BERT are only now being similarly studied. Standard debiasing methods require large, heterogeneous lists of target words to identify the "bias subspace". We show that using new contextualized word embeddings in conceptor debiasing allows us to more accurately debias word embeddings by breaking target word lists into more homogeneous subsets and then combining ("Or'ing") the debiasing conceptors of the different subsets.

Introduction

As Artificial Intelligence systems increasingly rely on Large Language Models, the underlying word representations (embeddings) often inherit and amplify societal biases. Traditional debiasing techniques, developed for static embeddings like Word2Vec, typically rely on identifying a "bias subspace" using a list of target words—such as gendered pronouns or names. However, as we transition to contextualized embeddings like BERT and ELMo, the complexity of these high-dimensional spaces reveals a significant flaw in standard word-list approaches: heterogeneity.

The Problem: Heterogeneity in Word Lists

Most researchers assume that adding more "gendered" words to a target list makes a debiasing tool more robust. This paper demonstrates the opposite. When target lists are heterogeneous—mixing different parts of speech (pronouns vs. nouns), age groups (boy vs. man), or naming conventions (John vs. Mary)—mathematical tools like Principal Component Analysis (PCA) often fail to isolate the intended bias.

Instead of identifying "gender" as the primary source of variance, the model may instead focus on the grammatical or categorical differences between the words in the list. For example, if a list contains both common nouns (man, woman) and proper names (John, Mary), the primary axis of variance often becomes the distinction between names and nouns, rather than the gendered relationship between them.

PCA of names (John, Mary) and nouns (man, woman) in BERT (a) and ELMo (b). The horizontal axis (PC1) clearly separates names from common nouns, muddling the gender bias subspace.

Methodology: Contextualized Data and Conceptor "OR-ing"

The authors propose a two-fold solution leveraging the unique properties of contextualized embeddings:

  1. Contextualized Data Multiplication: Unlike static models, BERT and ELMo provide a unique vector for every instance of a word in context. This allows researchers to generate hundreds of samples for even a single pair of words (e.g., he/she), enabling robust statistical analysis on very small, homogeneous lists.
  2. Conceptor Debiasing: Rather than "hard debiasing" which aggressively removes dimensions, the authors use Conceptors—a "soft" debiasing method that shrinks biased directions.
  3. The Logical OR Operation: The key innovation is breaking a large, messy word list into small, consistent subsets (e.g., one for pronouns, one for names). A conceptor is created for each subset, and these are then combined using a mathematical OR operation. This ensures that the debiasing process respects the unique variance of each group without allowing one category to drown out another.

Key Results and Evaluation

The study evaluates the effectiveness of this approach using career and family word associations. The results indicate that while a simple union of word lists fails to clean the bias, the OR-ed Conceptor approach successfully clusters these words in a way that removes the gendered association.

PCA visualization of word embeddings after applying the OR-ed Conceptor approach. The high degree of overlap between classes indicates that the linear gender bias has been successfully neutralized.

By treating different types of words as equally important through Boolean logic, the authors prevent "frequency bias" or categorical variance from ruining the debiasing process. This allows for meaningful bias directions to be calculated using as few as two words, a feat previously impossible with static embeddings.

Conclusion and Future Work

This research highlights that how we combine word lists is just as important as the words we choose. While the OR-ed approach provides a more surgical way to remove bias, the authors acknowledge that bias is "slippery" and may still hide in higher-order dimensions. Future work will focus on extending this logic to intersectional biases, such as the combination of race and gender, and refining the selection process for target word lists using linear regression to filter out ambiguous terms.

Summary updated

BibTeX
@misc{sedoc2019role,
  author = {João Sedoc and Lyle Ungar},
  title = {{The Role of Protected Class Word Lists in Bias Identification of Contextualized Word Representations}},
  year = {2019},
  doi = {10.18653/v1/w19-3808},
}
Figure