arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.13677cs.CLcs.CY
收藏

利用大语言模型衡量性别化语言语料库中的性别表征偏差

Leveraging Large Language Models to Measure Gender Representation Bias in Gendered Language Corpora

ELLIS Alicante, Spain(西班牙阿利坎特ELLIS研究所);University of Alicante, Spain(西班牙阿利坎特大学)

Erik Derner, Sara Sansalvador de la Fuente, Yoan Gutiérrez, Paloma Moreda, Nuria Oliver

AI总结:

针对性别化语言语料中性别表征偏差研究不足的问题,提出基于大语言模型的人物指代词汇识别分类方法,检测出多语料的男性主导失衡,且发现小规模反向性别偏向训练可缓解该偏差对模型输出的影响。

摘要:

大语言模型(LLM)通常会继承并放大其训练数据中嵌入的社会偏见,性别偏见是一种突出的社会偏见。在这一领域,既往研究主要聚焦英语语境下的性别刻板印象偏差(即特定角色或特质与某一性别的关联),且多围绕模型嵌入或生成输出中的性别偏见展开评估。相比之下,训练语料中的性别表征偏差——即不同性别个体被提及的频次不均——受到的关注较少。然而,训练数据中的此类失衡是偏见的上游来源,会在整个模型生命周期中传播并加剧。为填补这一空白,我们提出了一种基于LLM的新方法,用于检测并量化性别化语言的LLM训练数据中的性别表征偏差,这类语言的语法性别使得为英语开发的方法适用性受限。借助LLM的上下文理解能力,我们的方法可自动识别并分类性别化语言语料中指代人物的词汇。将该方法应用于4个西班牙语-英语基准数据集和5个巴伦西亚语语料库后,我们的方法揭示出显著的男性主导失衡现象。研究表明,训练数据中的此类偏见会影响模型输出,但令人意外的是,通过在偏向相反性别的小规模数据集上进行训练即可缓解这一问题。我们的研究结果凸显了多语种自然语言处理(NLP)中开展语料层面性别偏见分析的必要性,我们已将代码和数据公开。

英文摘要:

Large language models (LLMs) often inherit and amplify social biases embedded in their training data. A prominent social bias is gender bias. In this regard, prior work has mainly focused on gender stereotyping bias - the association of specific roles or traits with a particular gender - in English and on evaluating gender bias in model embeddings or generated outputs. In contrast, gender representation bias - the unequal frequency of references to individuals of different genders - in the training corpora has received less attention. Yet such imbalances in the training data constitute an upstream source of bias that can propagate and intensify throughout the entire model lifecycle. To fill this gap, we propose a novel LLM-based method to detect and quantify gender representation bias in LLM training data in gendered languages, where grammatical gender challenges the applicability of methods developed for English. By leveraging the LLMs' contextual understanding, our approach automatically identifies and classifies person-referencing words in gendered language corpora. Applied to four Spanish-English benchmarks and five Valencian corpora, our method reveals substantial male-dominant imbalances. We show that such biases in training data affect model outputs, but can surprisingly be mitigated leveraging small-scale training on datasets that are biased towards the opposite gender. Our findings highlight the need for corpus-level gender bias analysis in multilingual NLP. We make our code and data publicly available.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑