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

RAFT:欺骗文本检测器的现实攻击

RAFT: Realistic Attacks to Fool Text Detectors

Columbia University(哥伦比亚大学);Rutgers University(罗格斯大学)

James Wang, Ran Li, Junfeng Yang, Chengzhi Mao

AI总结:

针对现有大语言模型检测器鲁棒性存疑的问题,提出无语法错误的黑盒攻击方法RAFT,其攻击成功率最高达99%且生成文本难与人类文本区分,还可用于训练鲁棒检测器,凸显研发更可靠检测机制的紧迫性。

摘要:

大语言模型(LLM)在各类任务中展现出了出色的流畅性。然而,其传播虚假信息等不道德应用已引发日益严重的担忧。尽管近期研究提出了多种LLM检测方法,但这些方法的鲁棒性和可靠性仍不明确。本文提出RAFT:一种针对现有LLM检测器的无语法错误黑盒攻击方法。与以往针对语言模型的攻击不同,我们的方法在保留原始文本质量的同时,利用了词级别LLM嵌入的可迁移性。我们借助辅助嵌入,贪婪选择候选词对目标检测器进行扰动。实验表明,该攻击在多个领域内有效攻破了研究中所有检测器,成功率最高达99%,且在源模型间具备可迁移性。人工评估显示,攻击后的文本真实自然,与原始人类撰写的文本无法区分。我们还证明,RAFT生成的样本可用于训练具备对抗鲁棒性的检测器。本研究表明当前LLM检测器不具备对抗鲁棒性,凸显了研发更具弹性检测机制的迫切性。

英文摘要:

Large language models (LLMs) have exhibited remarkable fluency across various tasks. However, their unethical applications, such as disseminating disinformation, have become a growing concern. Although recent works have proposed a number of LLM detection methods, their robustness and reliability remain unclear. In this paper, we present RAFT: a grammar error-free black-box attack against existing LLM detectors. In contrast to previous attacks for language models, our method exploits the transferability of LLM embeddings at the word-level while preserving the original text quality. We leverage an auxiliary embedding to greedily select candidate words to perturb against the target detector. Experiments reveal that our attack effectively compromises all detectors in the study across various domains by up to 99%, and are transferable across source models. Manual human evaluation studies show our attacks are realistic and indistinguishable from original human-written text. We also show that examples generated by RAFT can be used to train adversarially robust detectors. Our work shows that current LLM detectors are not adversarially robust, underscoring the urgent need for more resilient detection mechanisms.

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

↑