In modern Natural Language Processing (NLP), the paradigm of "train once, deploy everywhere" has become standard. Massive models are typically trained on resource-rich languages like English and then adapted to other languages via cross-lingual transfer. However, research indicates that linguistic knowledge is not the only thing being transferred; societal biases are often carried along as well.
A study presented at ACL 2020 by Zhao et al. investigates how multilingual word embeddings (MWEs)—the shared mathematical spaces where different languages are aligned—inherit and amplify gender bias. Their findings suggest that the methodology used to align these languages can significantly impact the degree of prejudice present in the resulting models.
The Challenge of Shared Spaces
Most research on algorithmic bias has focused on English. However, cross-lingual NLP relies on MWEs to map words from multiple languages into a single vector space. For instance, "doctor" in English should be positioned near "médico" in Spanish. The authors identified a critical gap: the behavior of gender bias within these shared spaces remains poorly understood. Specifically, they sought to determine if bias from a source language leaks into a target language during transfer and how grammatical properties, such as gendered nouns, influence this phenomenon.
Quantifying Bias: Metrics and Datasets
To address these questions, the researchers introduced inBias, a metric designed to quantify intrinsic bias without the need for complex dimensionality reduction. inBias calculates the difference in distances between neutral occupation words (e.g., "programmer") and sets of gendered seed words (e.g., "he/she").
The study utilized several new benchmarks:
- MIBs (Multilingual Intrinsic Bias dataset): 257 occupation pairs and 10 pairs of gender seed words across English (EN), Spanish (ES), German (DE), and French (FR).
- MLBs (Multilingual BiosBias dataset): Biographies from Common Crawl labeled by occupation and gender.
- MUSE: Used for Bilingual Lexicon Induction (BLI) to ensure that debiasing efforts did not compromise the utility of the embeddings.
For extrinsic bias, the researchers employed a biography classification task, measuring the "performance gap" in predicting occupations for different genders.
The Anchor Effect and Alignment Direction
One of the most significant findings is the "Anchor Effect." Traditionally, researchers align all languages to an English target space. However, Zhao et al. found that aligning English to a gender-rich language, such as Spanish or German, actually reduced intrinsic bias.
In gender-rich languages, occupations often have explicit masculine and feminine forms (e.g., actor vs. actriz). This grammatical requirement forces the vector space to maintain a more symmetric and balanced structure. When English is aligned to these spaces, it inherits some of this balance. Conversely, aligning a gender-rich language to English can distort its internal relationships, potentially exacerbating bias.
Key Findings
- Intrinsic Bias Variation: Baseline intrinsic bias was found to be higher in German and French compared to English and Spanish.
- Bias Mitigation: Aligning English embeddings to the Spanish space resulted in a 23% reduction in the
inBiasscore with minimal impact on translation accuracy. - Persistence of Bias: Even after "scrubbing" training data of names and gendered pronouns, models still exhibited bias, indicating that prejudice is deeply embedded in the word representations themselves.
- Contextualized Models: Multilingual BERT (M-BERT) also showed significant gender bias, occasionally exceeding that of simpler fastText embeddings during cross-lingual transfer.
Conclusion and Future Directions
The study highlights that gender bias in NLP is a systemic issue that transcends individual languages. While choosing appropriate alignment targets offers a path toward mitigation, it is not a complete solution. The authors note that their work primarily covers European languages and binary gender distinctions. Future research must expand to non-European language families and non-binary gender identities to develop truly inclusive multilingual models.
Summary updated