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

AI生成文本能否被可靠检测?

Can AI-Generated Text be Reliably Detected?

University of Maryland(马里兰大学);Harvard University(哈佛大学)

Vinu Sankar Sadasivan, Aounon Kumar, Sriram Balasubramanian, Wenxiao Wang, Soheil Feizi

AI总结:

该研究通过递归释义攻击等测试多种AI文本检测器的鲁棒性,发现现有检测系统存在漏洞,还揭示了带水印LLM的欺骗攻击风险,并构建了关联检测性能与文本分布差异的理论框架。

摘要:

大语言模型(LLM)在各类应用中表现出色。然而,这类模型可能被滥用于剽窃、生成假新闻及发送垃圾信息等活动,引发了人们对其负责任使用的担忧。因此,可靠检测AI生成文本已成为关键研究领域。AI文本检测器在其特定设置下已被证明是有效的。在本文中,我们在存在攻击者的场景下对这些AI文本检测器的鲁棒性进行了压力测试。我们提出了递归释义攻击,用于对多种检测方案进行压力测试,包括使用水印的检测方法、基于神经网络的检测器、零样本分类器以及基于检索的检测器。我们在每段约300个token长度的段落上开展的实验,揭示了这些检测器对我们攻击的不同敏感度。研究结果表明,尽管我们的递归释义方法能显著降低检测率,但在多数情况下仅会轻微降低文本质量,凸显了当前检测系统在面对攻击者时存在的潜在漏洞。此外,我们研究了带水印的LLM易受欺骗攻击的情况,这类攻击旨在将人类撰写的文本错误分类为AI生成文本。我们证明,攻击者无需获得检测方法的白盒访问权限,就能推断出隐藏的AI文本特征,这可能给LLM开发者带来声誉风险。最后,我们提供了一个理论框架,将最优检测器的AUROC(受试者工作特征曲线下面积)与人类文本和AI文本分布之间的总变分距离关联起来。该分析为理解语言模型持续发展背景下可靠检测面临的根本性挑战提供了洞见。我们的代码已公开发布于https://github.com/vinusankars/Reliability-of-AI-text-detectors。

英文摘要:

Large Language Models (LLMs) perform impressively well in various applications. However, the potential for misuse of these models in activities such as plagiarism, generating fake news, and spamming has raised concern about their responsible use. Consequently, the reliable detection of AI-generated text has become a critical area of research. AI text detectors have shown to be effective under their specific settings. In this paper, we stress-test the robustness of these AI text detectors in the presence of an attacker. We introduce recursive paraphrasing attack to stress test a wide range of detection schemes, including the ones using the watermarking as well as neural network-based detectors, zero shot classifiers, and retrieval-based detectors. Our experiments conducted on passages, each approximately 300 tokens long, reveal the varying sensitivities of these detectors to our attacks. Our findings indicate that while our recursive paraphrasing method can significantly reduce detection rates, it only slightly degrades text quality in many cases, highlighting potential vulnerabilities in current detection systems in the presence of an attacker. Additionally, we investigate the susceptibility of watermarked LLMs to spoofing attacks aimed at misclassifying human-written text as AI-generated. We demonstrate that an attacker can infer hidden AI text signatures without white-box access to the detection method, potentially leading to reputational risks for LLM developers. Finally, we provide a theoretical framework connecting the AUROC of the best possible detector to the Total Variation distance between human and AI text distributions. This analysis offers insights into the fundamental challenges of reliable detection as language models continue to advance. Our code is publicly available at https://github.com/vinusankars/Reliability-of-AI-text-detectors.

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

↑