arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2103.00453cs.CL
收藏

自诊断和自去偏:一种减少NLP中基于语料库的偏置的方法

Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP

Center for Information and Language Processing (CIS), LMU Munich(慕尼黑大学信息与语言处理中心);Institute of Social and Cultural Anthropology, LMU Munich(慕尼黑大学社会与文化人类学研究所)

Timo Schick, Sahana Udupa, Hinrich Schütze

摘要:

当对来自互联网的大量未经过滤的爬行进行训练时,语言模型会拾取并复制数据中可以找到的各种不受欢迎的偏见:它们经常生成种族主义,性别歧视,暴力或其他有毒语言。由于大型模型需要数百万个训练样本来实现良好的性能,因此很难完全防止它们暴露于此类内容。在本文中,我们首先展示了一个令人惊讶的发现:预训练的语言模型在相当大的程度上识别出它们产生的不良偏见和内容的毒性。我们把这种能力称为自我诊断。基于这一发现,我们提出了一个解码算法,只给出一个文本描述的不希望的行为,降低了概率的语言模型产生问题的文本。我们把这种方法称为自我去偏。自去偏不依赖于手动策划的单词列表,也不需要任何训练数据或对模型参数的更改。虽然我们绝不能消除语言模型生成有偏见的文本的问题,但我们相信我们的方法是朝着这个方向迈出的重要一步。

英文摘要:

When trained on large, unfiltered crawls from the internet, language models pick up and reproduce all kinds of undesirable biases that can be found in the data: they often generate racist, sexist, violent or otherwise toxic language. As large models require millions of training examples to achieve good performance, it is difficult to completely prevent them from being exposed to such content. In this paper, we first demonstrate a surprising finding: pretrained language models recognize, to a considerable degree, their undesirable biases and the toxicity of the content they produce. We refer to this capability as self-diagnosis. Based on this finding, we then propose a decoding algorithm that, given only a textual description of the undesired behavior, reduces the probability of a language model producing problematic text. We refer to this approach as self-debiasing. Self-debiasing does not rely on manually curated word lists, nor does it require any training data or changes to the model's parameters. While we by no means eliminate the issue of language models generating biased text, we believe our approach to be an important step in this direction.

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

↑