arXiv:2508.15848cs.CRcs.CL2025-08

让大模型主动伪装文本,绕过AI生成内容检测。

Self-Disguise Attack: Induce the LLM to disguise itself for AIGT detection evasion

  • 大模型自动生成伪装特征,指导自己写出更像人写的文本。
  • 通过检索外部例子优化上下文,降低被检测概率且保持文本质量。
  • 适合研究检测漏洞或提升模型安全性的研究人员使用。

AI生成文本(AIGT)检测规避旨在降低AIGT被检测的概率,有助于发现检测器的弱点,并提升其在实际应用中的有效性和可靠性。尽管现有规避方法表现良好,但存在计算成本高和文本质量下降的问题。为此,我们提出自伪装攻击(Self-Disguise Attack, SDA),一种新方法,使大语言模型(LLM)能主动伪装输出,降低被分类器识别的可能性。SDA包含两个核心组件:对抗特征提取器和基于检索的上下文示例优化器。前者生成伪装特征,使LLM理解如何生成更类人的文本;后者从外部知识库中检索最相关示例作为上下文提示,进一步增强LLM的自我伪装能力,并缓解伪装过程对生成文本多样性的负面影响。SDA直接使用含伪装特征和优化上下文示例的提示引导LLM生成抗检测文本,从而减少资源消耗。实验结果表明,SDA在三种不同LLM生成的文本上,有效降低了多种AIGT检测器的平均检测准确率,同时维持了AIGT的质量。

原文摘要 · Abstract (English)

AI-generated text (AIGT) detection evasion aims to reduce the detection probability of AIGT, helping to identify weaknesses in detectors and enhance their effectiveness and reliability in practical applications. Although existing evasion methods perform well, they suffer from high computational costs and text quality degradation. To address these challenges, we propose Self-Disguise Attack (SDA), a novel approach that enables Large Language Models (LLM) to actively disguise its output, reducing the likelihood of detection by classifiers. The SDA comprises two main components: the adversarial feature extractor and the retrieval-based context examples optimizer. The former generates disguise features that enable LLMs to understand how to produce more human-like text. The latter retrieves the most relevant examples from an external knowledge base as in-context examples, further enhancing the self-disguise ability of LLMs and mitigating the impact of the disguise process on the diversity of the generated text. The SDA directly employs prompts containing disguise features and optimized context examples to guide the LLM in generating detection-resistant text, thereby reducing resource consumption. Experimental results demonstrate that the SDA effectively reduces the average detection accuracy of various AIGT detectors across texts generated by three different LLMs, while maintaining the quality of AIGT.

大模型文本伪装检测规避LLM安全

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。