Abstract
While gender bias in English word embeddings is well-documented, standard debiasing techniques often fail in "gendered" languages like Spanish or French where grammatical agreement is mandatory. This paper introduces a method to decouple linguistic grammatical gender from social semantic bias. By providing new metrics and mitigation strategies, the authors demonstrate significant bias reduction in both monolingual and bilingual embeddings without sacrificing model utility.
Introduction
In English, most nouns are gender-neutral (e.g., "doctor"). Bias is typically measured by the proximity of a neutral word's vector to a "male" or "female" subspace. However, in languages with grammatical gender, every noun is assigned a gender. For example, in Spanish, "nurse" is either enfermero (masculine) or enfermera (feminine).
Existing debiasing methods often conflate linguistic requirements with social stereotypes. The core issue is asymmetry: if the masculine abogado (lawyer) is mathematically closer to the general concept of "lawyer" than the feminine abogada, the embedding encodes a social hierarchy. This research aims to quantify and rectify this discrepancy while respecting the structural rules of the language.
Methodology: Decoupling Gender Directions
The researchers propose isolating bias by defining two distinct gender directions:
- Semantic Gender ($d_{PCA}$): Captured via Principal Component Analysis on pairs like man/woman, representing social/biological meaning.
- Grammatical Gender ($d_g$): Captured using Linear Discriminant Analysis (LDA) on thousands of nouns without biological gender (e.g., "water" vs. "spoon").
To prevent conflation, the grammatical component is projected out from the semantic one, creating a "pure" semantic gender direction ($d_s$).
New Metrics: MWEAT
The authors adapt the Word Embedding Association Test (WEAT) into MWEAT. Instead of checking if a single neutral word is biased, MWEAT evaluates whether the masculine and feminine forms of the same occupation (e.g., doctor/doctora) are symmetric relative to gender-neutral attributes.
Mitigation Strategies
Three primary strategies were tested to isolate and shift biased vectors:
- Shift: Adjusting word pairs along the semantic gender direction to be equidistant from a neutral anchor point.
- De-Align: For bilingual models, debiasing English embeddings before aligning the gendered language to them to prevent the "export" of bias.
- Hybrid: Combining these methods for optimal results.
Results and Discussion
The proposed methods achieved substantial bias reduction. In monolingual Spanish tests, the Hybrid_Ori method reduced the MWEAT-Diff from 3.6918 to 0.3090. Notably, the p-value increased from 0.0000 to 0.7330, indicating that the remaining bias became statistically insignificant.
Crucially, these interventions did not degrade model performance. Word similarity task correlations remained stable (e.g., 0.7392 vs 0.7358 for Spanish). In bilingual contexts, the methods closed the gap in Mean Reciprocal Rank (MRR) for word pair translations, ensuring that feminine terms are as easily translated as their masculine counterparts.
Conclusion
This work demonstrates that grammatical gender is a "nuisance" variable that must be isolated rather than eliminated. By enforcing a "symmetry principle"—where masculine and feminine forms are treated with mathematical equality relative to neutral concepts—it is possible to mitigate social bias while preserving the linguistic integrity of gendered languages. While the focus remains on binary gender, future work should extend these techniques to non-binary identities and languages with more than two grammatical genders.
Summary updated