Abstract
Word embeddings often inherit societal biases from training data, leading to unfair outcomes in downstream NLP tasks. We present GN-GloVe, a novel training framework that isolates gender information into a dedicated subspace. By separating gendered attributes from neutral ones during the training process, GN-GloVe significantly reduces stereotypical associations without compromising linguistic performance.
Introduction
Modern Natural Language Processing (NLP) relies heavily on word embeddings—vector representations that capture semantic relationships. However, these models frequently reflect human prejudices present in massive text corpora. For instance, standard embeddings often associate "doctor" more strongly with "male" and "nurse" with "female." Such biases can propagate into real-world applications, such as automated resume screening or search engine ranking.
While previous methods like "Hard-GloVe" attempted to debias embeddings post-training, they often suffered from error propagation and the unintended loss of useful gender information. GN-GloVe addresses these issues by integrating debiasing directly into the training objective.
Methodology: Vector Splitting and Isolation
The core innovation of GN-GloVe is a vector-splitting strategy. Instead of treating a word vector as a monolithic entity, the model splits each vector $w$ into two distinct components: $w = [w^{(a)}; w^{(g)}]$.
- Gendered Subspace ($w^{(g)}$): A small set of dimensions reserved exclusively for gender information.
- Neutral Subspace ($w^{(a)}$): The remaining dimensions, intended to be free of gender influence.
To achieve this separation, the authors employ a multi-part loss function that combines standard co-occurrence learning with distance-based constraints. The model forces male-defined words (e.g., "king") and female-defined words (e.g., "queen") to opposite ends of the $w^{(g)}$ subspace, while ensuring neutral words (e.g., "doctor") have minimal projection onto this gendered axis.
Experimental Results
The model was trained on a 2017 English Wikipedia dump and evaluated across several benchmarks for both bias and general utility.
Bias Evaluation
On the SemBias dataset, which tests gender relational analogies, GN-GloVe demonstrated superior performance in identifying gender-definition pairs while minimizing stereotypical associations.
In coreference resolution tasks (WinoBias), GN-GloVe reduced the performance gap between pro-stereotypical and anti-stereotypical sentences. By utilizing only the $w^{(a)}$ portion of the embedding, the model effectively "blinded" itself to gender stereotypes during inference.
Performance Preservation
Crucially, debiasing did not degrade the model's general linguistic capabilities. GN-GloVe maintained or slightly improved scores on standard word similarity benchmarks (e.g., WS353, MTurk-287) and analogy tasks (Google/MSR), proving that fairness and accuracy are not mutually exclusive. For example, GN-GloVe scored 66.2 on MTurk-287 compared to standard GloVe's 64.8.
Conclusion and Future Work
GN-GloVe represents a shift from "scrubbing" bias to "isolating" it. By treating gender as a protected attribute within a specific subspace, researchers can choose when to utilize or ignore gender information based on the task's requirements. Future work aims to expand this framework beyond binary gender definitions and apply similar techniques to mitigate other forms of societal bias, such as race or religion.
Summary updated