Word embeddings are the mathematical foundation of modern Natural Language Processing (NLP). However, because these models are trained on human-generated text, they frequently inherit societal biases. A common example is the word "programmer" being mathematically closer to "man" than "woman," despite the term being gender-neutral. This paper introduces GN-GloVe, a novel training procedure that addresses these biases by isolating gender information into specific dimensions during the initial training phase.
The Problem with Post-Processing
Previous attempts to mitigate bias typically relied on post-processing: taking a pre-trained, biased model and attempting to "debias" it by projecting words onto a neutral subspace. The authors identify two major flaws with this approach:
- Error Propagation: These methods depend on separate classifiers to identify neutral words. Any classification error persists in the final embeddings.
- Information Loss: Post-processing often deletes gender information entirely. However, gender is semantically necessary for certain words (e.g., "mother") and specific domains like medicine.
Methodology: Isolation, Not Deletion
GN-GloVe modifies the standard GloVe (Global Vectors for Word Representation) objective function. Instead of a single vector, the model conceptualizes each word vector $w$ as a concatenation of two parts: $w = [w^{(a)}; w^{(g)}]$.
- $w^{(g)}$ (Gendered component): A small number of dimensions reserved specifically to store gender information.
- $w^{(a)}$ (Neutral component): The remaining dimensions, which are forced to be independent of gender.
To achieve this separation, the authors employ a multi-part loss function that includes a Proximity Loss for general semantic meaning, a Distance Loss to separate gender-definition words (like king vs. queen) in the $w^{(g)}$ dimension, and a Neutralization Loss to ensure neutral words are orthogonal to the gender direction in the $w^{(a)}$ component.
Key Results and Evaluation
The researchers evaluated GN-GloVe using the SemBias dataset, designed to identify gender analogies, and WinoBias, which tests coreference resolution for gender stereotypes.
Performance Highlights:
- Gender Analogy: GN-GloVe achieved 97.7% accuracy on SemBias in identifying correct gender-definition pairs (e.g., waiter-waitress), significantly outperforming both standard GloVe and the post-processed "Hard-GloVe."
- Bias Reduction: In coreference resolution tests, GN-GloVe significantly reduced the performance gap between "pro-stereotype" and "anti-stereotype" scenarios, suggesting the model relies less on harmful social biases.
- Preserving Utility: Crucially, the model maintained or slightly improved performance on standard word similarity benchmarks (e.g., scoring 66.2 on MTurk-287 compared to GloVe's 64.8), proving that fairness does not have to come at the cost of intelligence.
Conclusion and Future Work
GN-GloVe demonstrates that by incorporating debiasing constraints directly into the training objective, models can learn neutrality naturally through co-occurrence. This avoids the pipeline errors of post-processing while preserving the utility of gender information where it is semantically relevant. Future research aims to generalize this framework to non-binary gender identities and other protected attributes such as race and age.
Summary updated