arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.14479cs.CL
收藏

DetectGPT-SC:通过掩码预测的自洽性改进大型语言模型生成文本的检测

DetectGPT-SC: Improving Detection of Text Generated by Large Language Models through Self-Consistency with Masked Predictions

Macao Polytechnic University(澳门理工大学);Iowa State University(爱荷华州立大学);HKUST (GZ)(香港科技大学(广州))

Rongsheng Wang, Qi Li, Sihong Xie

AI总结:

针对AI生成文本的检测问题,提出基于掩码预测自洽性的DetectGPT-SC方法,利用零样本和简单提示进行掩码与自洽性预测,在多种任务上超越了现有最先进检测器。

摘要:

诸如ChatGPT等通用大型语言模型(LLMs)取得了显著成功,但也引发了人们对AI生成文本被滥用的担忧。因此,一个重要问题是如何检测文本是由ChatGPT还是人类生成的。现有检测器建立在人类生成文本与AI生成文本之间存在分布差距的假设之上。这些差距通常通过统计信息或分类器来识别。与以往研究方法不同,我们发现诸如ChatGPT等大型语言模型在文本生成和续写方面表现出强烈的自洽性。自洽性利用了这样的直觉:当文本的某些部分被掩码时,大型语言模型仍能使用相同的逻辑推理对AI生成的文本进行推理,这与人类生成的文本不同。基于这一观察,我们随后提出了一种基于掩码预测自洽性的AI生成文本检测新方法,以确定文本是否由LLMs生成。我们将此方法称为DetectGPT-SC。我们进行了一系列实验来评估DetectGPT-SC的性能。在这些实验中,我们采用了各种掩码方案、零样本和简单提示来完成掩码文本和自洽性预测。结果表明,DetectGPT-SC在不同任务上均优于当前最先进的方法。

英文摘要:

General large language models (LLMs) such as ChatGPT have shown remarkable success, but it has also raised concerns among people about the misuse of AI-generated texts. Therefore, an important question is how to detect whether the texts are generated by ChatGPT or by humans. Existing detectors are built on the assumption that there is a distribution gap between human-generated and AI-generated texts. These gaps are typically identified using statistical information or classifiers. In contrast to prior research methods, we find that large language models such as ChatGPT exhibit strong self-consistency in text generation and continuation. Self-consistency capitalizes on the intuition that AI-generated texts can still be reasoned with by large language models using the same logical reasoning when portions of the texts are masked, which differs from human-generated texts. Using this observation, we subsequently proposed a new method for AI-generated texts detection based on self-consistency with masked predictions to determine whether a text is generated by LLMs. This method, which we call DetectGPT-SC. We conducted a series of experiments to evaluate the performance of DetectGPT-SC. In these experiments, we employed various mask scheme, zero-shot, and simple prompt for completing masked texts and self-consistency predictions. The results indicate that DetectGPT-SC outperforms the current state-of-the-art across different tasks.

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

↑