Litcius/Paper detail

MarIA and BETO are sexist: evaluating gender bias in large language models for Spanish

Ismael Garrido-Muñoz, Fernando Martínez-Santiago, Arturo Montejo‐Ráez

2023Language Resources and Evaluation13 citationsDOIOpen Access PDF

Abstract

Abstract The study of bias in language models is a growing area of work, however, both research and resources are focused on English. In this paper, we make a first approach focusing on gender bias in some freely available Spanish language models trained using popular deep neural networks, like BERT or RoBERTa. Some of these models are known for achieving state-of-the-art results on downstream tasks. These promising results have promoted such models’ integration in many real-world applications and production environments, which could be detrimental to people affected for those systems. This work proposes an evaluation framework to identify gender bias in masked language models, with explainability in mind to ease the interpretation of the evaluation results. We have evaluated 20 different models for Spanish, including some of the most popular pretrained ones in the research community. Our findings state that varying levels of gender bias are present across these models.This approach compares the adjectives proposed by the model for a set of templates. We classify the given adjectives into understandable categories and compute two new metrics from model predictions, one based on the internal state (probability) and the other one on the external state (rank). Those metrics are used to reveal biased models according to the given categories and quantify the degree of bias of the models under study.

Topics & Concepts

Computer scienceSet (abstract data type)Gender biasRank (graph theory)Interpretation (philosophy)Language modelArtificial intelligenceState (computer science)Natural language processingArtificial neural networkMachine learningPsychologySocial psychologyMathematicsAlgorithmProgramming languageCombinatoricsTopic ModelingNatural Language Processing TechniquesText Readability and Simplification
MarIA and BETO are sexist: evaluating gender bias in large language models for Spanish | Litcius