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

探究AI生成文本检测中提示特定捷径的影响

Investigating the Influence of Prompt-Specific Shortcuts in AI Generated Text Detection

Seoul National University(首尔大学);Hanyang University(汉阳大学);Ewha Womans University(梨花女子大学);NAVER Search US(NAVER美国搜索部门);NAVER AI LAB(NAVER AI实验室);NAVER Cloud(NAVER云)

Choonghyun Park, Hyuhng Joon Kim, Junyeob Kim, Youna Kim, Taeuk Kim, Hyunsoo Cho, Hwiyeol Jo, Sang-goo Lee, Kang Min Yoo

AI总结:

该研究针对AI生成文本检测中因提示多样性不足产生的提示特定捷径问题,提出FAILOpt攻击方法验证其影响,并通过该方法增强数据集以提升检测器的跨模型、跨任务和抗攻击鲁棒性。

摘要:

AI生成文本(AIGT)检测器是基于人类撰写文本与大语言模型(LLM)在常见任务下生成的文本开发的。尽管存在多种合理的提示选择,但构建这类数据集时通常仅使用数量有限的提示。提示多样性的缺失会引入提示特定的捷径特征,这些特征存在于用所选提示收集的数据中,但无法泛化到其他提示场景。本文分析了此类捷径对AIGT检测的影响。我们提出基于反馈的对抗性指令列表优化(FAILOpt),这是一种利用提示特定捷径、搜索能够欺骗AIGT检测器的指令的攻击方法。FAILOpt可有效降低目标检测器的检测性能,效果与其他基于对抗性上下文示例的攻击相当。我们还利用该方法通过缓解捷径问题来增强检测器的鲁棒性。基于研究发现,我们进一步用经FAILOpt提示增强的数据集训练分类器。增强后的分类器在不同生成模型、任务和攻击场景下均表现出性能提升。我们的代码将发布于https://github.com/zxcvvxcz/FAILOpt。

英文摘要:

AI Generated Text (AIGT) detectors are developed with texts from humans and LLMs of common tasks. Despite the diversity of plausible prompt choices, these datasets are generally constructed with a limited number of prompts. The lack of prompt variation can introduce prompt-specific shortcut features that exist in data collected with the chosen prompt, but do not generalize to others. In this paper, we analyze the impact of such shortcuts in AIGT detection. We propose Feedback-based Adversarial Instruction List Optimization (FAILOpt), an attack that searches for instructions deceptive to AIGT detectors exploiting prompt-specific shortcuts. FAILOpt effectively drops the detection performance of the target detector, comparable to other attacks based on adversarial in-context examples. We also utilize our method to enhance the robustness of the detector by mitigating the shortcuts. Based on the findings, we further train the classifier with the dataset augmented by FAILOpt prompt. The augmented classifier exhibits improvements across generation models, tasks, and attacks. Our code will be available at https://github.com/zxcvvxcz/FAILOpt.

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

↑