Debiasing Word Embeddings with Nonlinear Geometry

Lu Cheng, Nayoung Kim, Huan Liu

Abstract

Debiasing word embeddings has been largely limited to individual and independent social categories. However, real-world corpora typically present multiple social categories that possibly correlate or intersect with each other. For instance, “hair weaves” is stereotypically associated with African American females, but neither African American nor females alone. Therefore, this work studies biases associated with multiple social categories: joint biases induced by the union of different categories and intersectional biases that do not overlap with the biases of the constituent categories. We first empirically observe that individual biases intersect non-trivially (i.e., over a one-dimensional subspace). Drawing from the intersectional theory in social science and the linguistic theory, we then construct an intersectional subspace to debias for multiple social categories using the nonlinear geometry of individual biases. Empirical evaluations corroborate the efficacy of our approach.

Introduction: The Challenge of Intersectional Bias

Word embeddings like Word2Vec or GloVe are foundational to modern NLP but often inherit human prejudices from their training data. Traditional debiasing methods typically treat social categories—such as gender, race, and religion—as independent "silos." However, social science emphasizes that bias is often intersectional.

The authors identify two complex scenarios that existing methods struggle to address:

  1. Joint Biases: Influences arising from the union of multiple categories (e.g., a generalized prejudice against multiple marginalized groups).
  2. Intersectional Biases: Stereotypes unique to the crossing of identities, such as "hair weaves" being associated specifically with African American females rather than "females" or "African Americans" in general.

Existing methods often require human-curated "defining sets" for every specific intersectional group, which are difficult to scale and often unavailable for niche demographic combinations.

The JoSEC Method

The proposed method, JoSEC (Joint and Intersectional Debiasing), leverages the Intersectional Hypothesis: the idea that intersectional bias resides in the non-trivial intersection of individual bias subspaces. Empirically, the authors found that subspaces for Gender, Race, and Religion overlap significantly along a one-dimensional vector.

Visualization of the intersectional subspace as the non-trivial intersection of individual bias planes.

Algorithm Overview

  1. Identify Individual Subspaces: Use Principal Component Analysis (PCA) on small, human-coded sets for individual categories (e.g., {man, woman} for gender).
  2. Find the Intersectional Vector: JoSEC identifies a direction vector $\hat{u}$ that is geometrically "closest" to all individual subspaces. This is solved by taking the first principal component of the concatenated principal components of all individual bias subspaces.
  3. Debias: Once this intersectional subspace is identified, the standard "Neutralize" and "Equalize" steps are applied to remove the bias components from the word embeddings.

This approach is highly data-efficient because it can identify intersectional subspaces using only the basic defining sets for individual categories without needing specific intersectional word lists.

Experimental Evaluation

The authors evaluated JoSEC using the L2-Reddit corpus (56M sentences) and static Word2Vec embeddings. Evaluation sets included standard vocabularies for individual biases and a specialized, human-validated dataset for intersectional groups (e.g., Mexican American males).

Key Results

JoSEC demonstrated superior performance in both joint and intersectional debiasing tasks. Notably, it achieved a Mean Average Cosine (MAC) score of 0.941 for intersectional debiasing, outperforming both the biased baseline and "Hard_Insec," which had the advantage of using human-coded intersectional word lists.

Comparison of Mean Average Cosine (MAC) scores across different debiasing methods, showing JoSEC's superior performance.

Furthermore, the debiasing process preserved semantic utility, with negligible impacts on downstream tasks like NER and POS tagging. This suggests the method removes bias "noise" without destroying the semantic "signal."

Conclusion and Future Work

JoSEC successfully mitigates complex social biases by exploiting the nonlinear geometry of bias subspaces. However, the authors noted a gap between intrinsic embedding debiasing and extrinsic application performance (e.g., in toxicity classifiers), suggesting that future work should address the entire model pipeline. Additionally, extending this geometric approach to contextualized models like BERT remains a key area for future research.

Summary updated

BibTeX
@inproceedings{cheng2022debiasing,
  author = {Lu Cheng and Nayoung Kim and Huan Liu},
  title = {{Debiasing Word Embeddings with Nonlinear Geometry}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2022},
  url = {https://openreview.net/forum?id=fiImthtISu},
}
Figure