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

偏误开箱即用:流行生成语言模型中交叉职业偏误的实证分析

Bias Out-of-the-Box: An Empirical Analysis of Intersectional Occupational Biases in Popular Generative Language Models

University of Oxford(牛津大学)

Hannah Kirk, Yennie Jun, Haider Iqbal, Elias Benussi, Filippo Volpin, Frederic A. Dreyer, Aleksandar Shtedritski, Yuki M. Asano

摘要:

在过去的几年里,在大规模数据上训练的自然语言模型的能力大大提高了。HuggingFace等开源库使这些模型易于获得和访问。虽然以前的研究已经确定了偏见的大语言模型,本文认为偏见包含在最流行的版本,这些模型时,适用于“开箱即用”的下游任务。我们专注于生成语言模型,因为它们非常适合提取从训练数据继承的偏差。具体来说,我们对GPT-2进行了深入分析,这是HuggingFace上下载量最大的文本生成模型,每月下载量超过50万次。我们通过将性别与宗教、性取向、种族、政治派别和大陆名称来源交叉,评估与不同受保护类别的职业协会相关的偏见。使用基于模板的数据汇集管道,我们收集了GPT-2完成的396 K句子,并发现:(i)机器预测的工作对女性来说没有那么多样化,而且比男性更刻板,特别是交叉点;(ii)交叉点相互作用与职业协会高度相关,我们通过拟合262个逻辑模型来量化。(iii)对于大多数职业,GPT-2反映了美国劳工局数据中发现的性别和种族分布的倾斜,甚至在其预测偏离实际劳动力市场观察的情况下,将社会倾斜的分布拉向性别平等。这就提出了一个规范性的问题,即语言模型应该学习什么--它们是否应该反映或纠正现有的不平等。

英文摘要:

The capabilities of natural language models trained on large-scale data have increased immensely over the past few years. Open source libraries such as HuggingFace have made these models easily available and accessible. While prior research has identified biases in large language models, this paper considers biases contained in the most popular versions of these models when applied `out-of-the-box' for downstream tasks. We focus on generative language models as they are well-suited for extracting biases inherited from training data. Specifically, we conduct an in-depth analysis of GPT-2, which is the most downloaded text generation model on HuggingFace, with over half a million downloads per month. We assess biases related to occupational associations for different protected categories by intersecting gender with religion, sexuality, ethnicity, political affiliation, and continental name origin. Using a template-based data collection pipeline, we collect 396K sentence completions made by GPT-2 and find: (i) The machine-predicted jobs are less diverse and more stereotypical for women than for men, especially for intersections; (ii) Intersectional interactions are highly relevant for occupational associations, which we quantify by fitting 262 logistic models; (iii) For most occupations, GPT-2 reflects the skewed gender and ethnicity distribution found in US Labor Bureau data, and even pulls the societally-skewed distribution towards gender parity in cases where its predictions deviate from real labor market observations. This raises the normative question of what language models should learn - whether they should reflect or correct for existing inequalities.

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

↑