arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.00672cs.CYcs.AIcs.CLcs.LG
收藏

语境化语言模型中的低频名称表现出的偏差和过拟合

Low Frequency Names Exhibit Bias and Overfitting in Contextualizing Language Models

University of Washington(华盛顿大学)

Robert Wolfe, Aylin Caliskan

摘要:

我们使用了一个基于主要性别和种族群体标签的美国名字数据集,以研究训练语料库频率对标记化、语境化、与初始表示的相似性以及BERT、GPT-2、T5和XLNet中的偏差的影响。我们发现,主要是女性和非白人的名字在这四个语言模型的训练语料库中的频率较低。我们发现,不常见的名字在不同的上下文中更具有自相似性,频率和自相似性之间的斯皮尔曼r低至-0.763。不常见的名称与初始表示的相似性也较低,频率和线性中心核比对(CKA)与初始表示的相似性之间的斯皮尔曼r高达0.702。此外,我们发现斯皮尔曼的r之间的种族偏见和名称的频率在BERT的0.492,表明频率较低的少数群体的名字更与不愉快。不常见的名称的表示进行更多的处理,但更多的自我相似,这表明模型依赖于不常见的和少数民族的名称,这是过拟合到一个较低的观察到的情况下,较少的上下文知情的表示。

英文摘要:

We use a dataset of U.S. first names with labels based on predominant gender and racial group to examine the effect of training corpus frequency on tokenization, contextualization, similarity to initial representation, and bias in BERT, GPT-2, T5, and XLNet. We show that predominantly female and non-white names are less frequent in the training corpora of these four language models. We find that infrequent names are more self-similar across contexts, with Spearman's r between frequency and self-similarity as low as -.763. Infrequent names are also less similar to initial representation, with Spearman's r between frequency and linear centered kernel alignment (CKA) similarity to initial representation as high as .702. Moreover, we find Spearman's r between racial bias and name frequency in BERT of .492, indicating that lower-frequency minority group names are more associated with unpleasantness. Representations of infrequent names undergo more processing, but are more self-similar, indicating that models rely on less context-informed representations of uncommon and minority names which are overfit to a lower number of observed contexts.

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

↑