Introduction
Word embeddings like GloVe and Word2Vec are foundational to modern Natural Language Processing (NLP), yet they frequently inherit societal biases from their training corpora. A well-known example is the stereotypical analogy: "man is to computer programmer as woman is to homemaker." Traditional debiasing methods often rely on post-processing, which can be subjective and superficial, sometimes merely "hiding" bias rather than eliminating it.
DD-GloVe addresses this by using dictionary definitions as "neutral anchors" during the training process. By leveraging the concise and objective nature of dictionaries, the model learns to distinguish between words that are gendered by definition (e.g., "king") and those that are gendered by societal stereotype (e.g., "doctor").
Methodology
The DD-GloVe algorithm integrates debiasing into the core training objective through four dictionary-guided loss functions:
- Orthogonal Loss ($J_{ortho}$): Filters out information not present in dictionary definitions, reducing noise and bias.
- Projection Loss ($J_{proj}$): Ensures a word's projection onto a bias axis (like gender) matches its neutral definition.
- Definition Loss ($J_{def}$): Encourages a word vector to align with the average of the vectors in its definition.
- Bias-aware GloVe Loss ($J_{G-bias}$): Adjusts co-occurrence weights to balance skewed associations (e.g., "nurse" appearing more with "she").
A key innovation is the automated seed word discovery, which expands a single pair (e.g., he/she) into a comprehensive set of attribute-specific words (like heroine, waitress, uncle) using dictionary lookups to define the bias direction more accurately.
Experimental Setup
The model was trained on a Wikipedia dump and utilized the Oxford online dictionary for over 92,000 definitions. Evaluation was conducted using:
- WEAT (Word Embedding Association Test): To measure associations between target and attribute words.
- WinoBias: To assess coreference resolution fairness in sentences.
- Semantic Benchmarks: Including Google Word Analogy and concept categorization tasks to ensure semantic integrity.
Results and Analysis
DD-GloVe achieves state-of-the-art debiasing. On the WEAT "Gender-2" test (Math vs. Arts), it reduced the effect size from 1.07 (GloVe) to 0.083. It also successfully mitigated racial bias using only "black" and "white" as initial seeds, proving the algorithm's flexibility.
Crucially, there is no "semantic tax." DD-GloVe maintained a word analogy accuracy of 70.66%, slightly outperforming standard GloVe (70.48%). This suggests that dictionary definitions act as a beneficial regularizer, enhancing the model's grasp of actual word meanings while stripping away harmful stereotypes.
Conclusion
By training from scratch with dictionary guidance, DD-GloVe prevents biased associations from taking root in the vector space. While currently focused on static embeddings, future work could extend these principles to contextual models like BERT. The reliance on dictionary quality remains a factor, but they provide a significantly more neutral baseline than general web text.
Summary updated