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

用条件似然过滤减轻语言模型的危害

Mitigating harm in language models with conditional-likelihood filtration

Cohere

Helen Ngo, Cooper Raterink, João G. M. Araújo, Ivan Zhang, Carol Chen, Adrien Morisot, Nicholas Frosst

摘要:

在来自开放网络的大规模未经过滤的数据集上训练的语言模型从其训练数据中获得系统性偏见,偏见和有害观点。我们提出了一种以编程方式从网络规模数据集中识别和删除有害文本的方法。使用预训练的语言模型来计算以特定文档为条件的研究者编写的触发短语的对数似然,该对数似然用于从数据集中识别和过滤文档。我们证明,在这个过滤数据集上训练的模型生成有害文本的倾向较低,与未过滤的基线相比,标准语言建模基准的性能略有下降。我们提供了一个部分的解释,这种性能差距的表面仇恨言论和其他不良内容的标准语言建模基准的例子。最后,我们讨论了这种方法的推广,以及如何触发短语,反映特定的值可以被研究人员用来建立语言模型,更紧密地对齐他们的价值观。

英文摘要:

Language models trained on large-scale unfiltered datasets curated from the open web acquire systemic biases, prejudices, and harmful views from their training data. We present a methodology for programmatically identifying and removing harmful text from web-scale datasets. A pretrained language model is used to calculate the log-likelihood of researcher-written trigger phrases conditioned on a specific document, which is used to identify and filter documents from the dataset. We demonstrate that models trained on this filtered dataset exhibit lower propensity to generate harmful text, with a marginal decrease in performance on standard language modeling benchmarks compared to unfiltered baselines. We provide a partial explanation for this performance gap by surfacing examples of hate speech and other undesirable content from standard language modeling benchmarks. Finally, we discuss the generalization of this method and how trigger phrases which reflect specific values can be used by researchers to build language models which are more closely aligned with their values.

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

↑