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

机器生成文本的无监督分布式检测

Unsupervised and Distributional Detection of Machine-Generated Text

Naver Labs Europe

Matthias Gallé, Jos Rozen, Germán Kruszewski, Hady Elsahar

摘要:

自然语言生成模型的强大功能激发了人们对自动检测文本是人类还是机器创作的方法的兴趣。到目前为止,这个问题已经以标准的监督方式构建,包括在注释数据上训练分类器,以预测一个给定新文档的来源。在本文中,我们以一种无监督和分布式的方式来解决这个问题:我们假设我们可以访问大量未注释的文档,其中很大一部分是机器生成的。我们提出了一种方法来检测那些机器生成的文档,利用重复的高阶n-gram,我们显示过度出现在机器生成的文本相比,人类的。该弱信号是自训练设置的起点,其中伪标记的文档用于训练分类器的集合。我们的实验表明,利用该信号可以让我们准确地对可疑文档进行排名。对于top-k采样策略,在5000处的精度超过90%,对于我们使用的最大模型(GPT 2-large)的核采样,精度超过80%。随着模型大小的增加,下降很小,这可能表明该结果适用于其他当前和未来的大语言模型。

英文摘要:

The power of natural language generation models has provoked a flurry of interest in automatic methods to detect if a piece of text is human or machine-authored. The problem so far has been framed in a standard supervised way and consists in training a classifier on annotated data to predict the origin of one given new document. In this paper, we frame the problem in an unsupervised and distributional way: we assume that we have access to a large collection of unannotated documents, a big fraction of which is machine-generated. We propose a method to detect those machine-generated documents leveraging repeated higher-order n-grams, which we show over-appear in machine-generated text as compared to human ones. That weak signal is the starting point of a self-training setting where pseudo-labelled documents are used to train an ensemble of classifiers. Our experiments show that leveraging that signal allows us to rank suspicious documents accurately. Precision at 5000 is over 90% for top-k sampling strategies, and over 80% for nucleus sampling for the largest model we used (GPT2-large). The drop with increased size of model is small, which could indicate that the results hold for other current and future large language models.

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

↑