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

DetectLLM:利用对数秩信息进行机器生成文本的零样本检测

DetectLLM: Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text

Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Monash University(莫纳什大学);CSIRO’s Data61(澳大利亚联邦科学与工业研究组织Data61研究所);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学)

Jinyan Su, Terry Yue Zhuo, Di Wang, Preslav Nakov

AI总结:

针对机器生成文本零样本检测的性能提升需求,该研究提出利用对数秩信息的DetectLLM-LRR和DetectLLM-NPR两种方法,在多数据集和模型上实现了AUROC的显著提升,且更具实用性。

摘要:

随着大语言模型(LLMs)的快速发展及其生成的海量文本,人工区分文本是否为机器生成已变得越来越不切实际。鉴于LLMs在社交媒体和教育领域的应用日益广泛,我们亟需开发机器生成文本检测方法,以防范剽窃、虚假信息和宣传等恶意使用行为。已有研究探索了多种无需训练数据的零样本方法,这些方法虽取得了不错的效果,但仍有很大的提升空间。本文提出了两种利用对数秩信息的新型零样本机器生成文本检测方法:一种名为DetectLLM-LRR,具备快速高效的特点;另一种名为DetectLLM-NPR,准确率更高,但因需要引入扰动而速度较慢。我们在3个数据集和7个语言模型上开展的实验表明,所提方法相较于现有最优方法,AUROC绝对值分别提升了3.9和1.75个点。此外,DetectLLM-NPR达到同等性能水平所需的扰动次数少于已有方法,更适合实际应用场景。我们还基于用户对效率与性能这两项指标的偏好,探究了二者之间的权衡关系,并为实际有效使用这两种方法提供了直观思路。我们已在https://github.com/mbzuai-nlp/DetectLLM 发布了两种方法的数据与代码。

英文摘要:

With the rapid progress of large language models (LLMs) and the huge amount of text they generated, it becomes more and more impractical to manually distinguish whether a text is machine-generated. Given the growing use of LLMs in social media and education, it prompts us to develop methods to detect machine-generated text, preventing malicious usage such as plagiarism, misinformation, and propaganda. Previous work has studied several zero-shot methods, which require no training data. These methods achieve good performance, but there is still a lot of room for improvement. In this paper, we introduce two novel zero-shot methods for detecting machine-generated text by leveraging the log rank information. One is called DetectLLM-LRR, which is fast and efficient, and the other is called DetectLLM-NPR, which is more accurate, but slower due to the need for perturbations. Our experiments on three datasets and seven language models show that our proposed methods improve over the state of the art by 3.9 and 1.75 AUROC points absolute. Moreover, DetectLLM-NPR needs fewer perturbations than previous work to achieve the same level of performance, which makes it more practical for real-world use. We also investigate the efficiency--performance trade-off based on users preference on these two measures and we provide intuition for using them in practice effectively. We release the data and the code of both methods in https://github.com/mbzuai-nlp/DetectLLM

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

↑