UnMASKed: Quantifying Gender Biases in Masked Language Models through Linguistically Informed Job Market Prompts
Iñigo Parra
TL;DR
This work introduces UnMASKed, a linguistically informed framework to quantify gender biases in masked language models via two probing tasks: pronoun completion and linguistic unit prediction. By evaluating six MLMs (monolingual and multilingual) on a small, carefully designed dataset, the study reveals consistent gender stereotypes across models, with multilingual variants generally showing reduced bias. The combination of quantitative metrics (GTC, $\Delta$, $A$) and qualitative token-level analysis demonstrates that multilingual training can attenuate bias, while biases persist in several domains. The findings underscore the importance of diverse linguistic data and targeted bias mitigation strategies for developing fairer NLP systems.
Abstract
Language models (LMs) have become pivotal in the realm of technological advancements. While their capabilities are vast and transformative, they often include societal biases encoded in the human-produced datasets used for their training. This research delves into the inherent biases present in masked language models (MLMs), with a specific focus on gender biases. This study evaluated six prominent models: BERT, RoBERTa, DistilBERT, BERT-multilingual, XLM-RoBERTa, and DistilBERT-multilingual. The methodology employed a novel dataset, bifurcated into two subsets: one containing prompts that encouraged models to generate subject pronouns in English, and the other requiring models to return the probabilities of verbs, adverbs, and adjectives linked to the prompts' gender pronouns. The analysis reveals stereotypical gender alignment of all models, with multilingual variants showing comparatively reduced biases.
