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

提示词对AI生成文本零样本检测的影响

The Impact of Prompts on Zero-Shot Detection of AI-Generated Text

Kyushu University(九州大学)

Kaito Taguchi, Yujie Gu, Kouichi Sakurai

AI总结:

本文通过引入评估框架实证分析提示词对零样本AI文本检测的影响,发现利用提示词的白盒检测相比无提示词的黑盒检测在所有测试检测器上AUC至少提高0.1。

摘要:

近年来,大型语言模型(LLMs)的发展取得了显著进展。尽管其实际应用现已广泛普及,但其被滥用的可能性——例如生成假新闻和实施抄袭——已引发重大关切。为解决这一问题,研究者开发了检测器,用于评估给定文本是人类生成还是AI生成。其中,零样本检测器作为有效方法脱颖而出,它们不需要额外的训练数据,且通常基于似然。在基于聊天的应用中,用户通常输入提示词并利用AI生成的文本。然而,零样本检测器通常孤立地分析这些文本,忽略了原始提示词的影响。可以设想,这种方法可能导致文本生成阶段与检测阶段之间的似然评估出现差异。迄今为止,关于提示词的存在与否如何影响零样本检测器检测准确性的问题,仍存在一个未经证实的空白。在本文中,我们引入一个评估框架,以实证分析提示词对AI生成文本检测准确性的影响。我们使用白盒检测(利用提示词)和黑盒检测(在没有提示词信息的情况下运行)评估各种零样本检测器。我们的实验揭示了提示词对检测准确性的显著影响。值得注意的是,与没有提示词的黑盒检测相比,使用提示词的白盒方法在所有测试的零样本检测器上AUC至少提高了0.1。代码可在以下地址获取:https://github.com/kaito25atugich/Detector。

英文摘要:

In recent years, there have been significant advancements in the development of Large Language Models (LLMs). While their practical applications are now widespread, their potential for misuse, such as generating fake news and committing plagiarism, has posed significant concerns. To address this issue, detectors have been developed to evaluate whether a given text is human-generated or AI-generated. Among others, zero-shot detectors stand out as effective approaches that do not require additional training data and are often likelihood-based. In chat-based applications, users commonly input prompts and utilize the AI-generated texts. However, zero-shot detectors typically analyze these texts in isolation, neglecting the impact of the original prompts. It is conceivable that this approach may lead to a discrepancy in likelihood assessments between the text generation phase and the detection phase. So far, there remains an unverified gap concerning how the presence or absence of prompts impacts detection accuracy for zero-shot detectors. In this paper, we introduce an evaluative framework to empirically analyze the impact of prompts on the detection accuracy of AI-generated text. We assess various zero-shot detectors using both white-box detection, which leverages the prompt, and black-box detection, which operates without prompt information. Our experiments reveal the significant influence of prompts on detection accuracy. Remarkably, compared with black-box detection without prompts, the white-box methods using prompts demonstrate an increase in AUC of at least $0.1$ across all zero-shot detectors tested. Code is available: \url{https://github.com/kaito25atugich/Detector}.

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

↑