Abstract
Word embeddings often reflect societal biases found in their training data. While binary gender bias has been extensively studied, multiclass biases related to race and religion present more complex challenges. This paper proposes a multiclass debiasing framework that generalizes existing techniques to categorical social identities. By identifying bias subspaces through Principal Component Analysis (PCA) and applying hard or soft debiasing, the authors demonstrate significant reductions in harmful stereotypes without compromising performance on downstream NLP tasks.
Introduction
The mathematical representations of words, known as word embeddings, are central to modern NLP. However, these models frequently "learn" human prejudices from massive internet datasets. A well-known example is the analogy "Man is to Computer Programmer as Woman is to Homemaker." While methods exist to scrub binary biases (e.g., male/female), social identities like race and religion are multiclass and categorical. This research addresses this gap by providing a mathematical framework to identify and remove bias subspaces involving multiple groups, such as different religious or ethnic identities.
Methodology
The authors extend the "Neutralize and Equalize" approach to a multiclass setting through two main steps:
Identifying the Bias Subspace
Instead of using simple vector differences between pairs, the authors apply Principal Component Analysis (PCA) to "defining sets" of words for multiple classes. For example, by analyzing sets of words representing various religions, PCA identifies the common dimensions capturing "religiousness." This allows for the removal of a $k$-dimensional bias subspace.
Debiasing Techniques
- Hard Debiasing: This involves "Neutralizing" (removing bias components from neutral words like doctor) and "Equalizing" (ensuring neutral words are equidistant from all classes in the bias set).
- Soft Debiasing: A flexible linear transformation that minimizes the projection of embeddings onto the bias subspace while preserving original semantic relationships.
The authors also introduce the Mean Average Cosine Similarity (MAC) metric to quantify bias by measuring the average cosine distance between target words and attribute sets.
Results and Evaluation
The framework was tested using the L2-Reddit corpus and evaluated on CoNLL 2003 tasks (NER and POS tagging).
As illustrated in the figure above, the multiclass debiasing method effectively redistributes words in the embedding space. Quantitatively, the MAC metric showed significant improvements; for racial debiasing, the score moved from 0.892 (biased) to 0.985 (soft debiased), where 1.0 represents a total lack of association.
Importantly, debiasing did not degrade model utility. Performance on NER and POS tagging remained within a fraction of a percentage point of the original biased models, with some tasks even showing slight improvements.
Discussion and Limitations
While effective, the authors note that "cluster bias" may persist—biased words might still group together in dimensions not captured by the linear subspace. Furthermore, the reliance on US-centric Reddit data and English lexicons limits the global generalizability of these specific findings. Future work is needed to address non-linear bias constraints and broader cultural contexts.
Conclusion
This paper provides a robust framework for addressing complex, multiclass biases in word embeddings. By demonstrating that ethical AI constraints can be met without sacrificing technical performance, it paves the way for more inclusive and fair language models.
Summary updated