用小模型骗大模型生成人味文本,让检测器失效
Humanizing the Machine: Proxy Attacks to Mislead LLM Detectors
- 用强化学习微调的小模型在解码时干扰大模型输出
- 多数据集测试中检测器平均误判率提升70.4%,最高达90.3%
- 保持生成质量的同时大幅绕过主流检测系统,适合安全与对抗研究
大型语言模型(LLM)的兴起推动了文本生成技术的发展,其输出已高度接近人类写作。尽管学术与产业界开发了检测器以防范滥用,但这些系统可靠性仍受质疑。为此,本文提出一种代理攻击策略,在解码阶段利用强化学习微调的人类化小型语言模型(SLM)对源模型进行攻击,使其生成与人类文本难以区分的内容。我们在多个数据集上对 Llama2-13B、Llama3-70B 与 Mixtral-8*7B 等开源模型进行了白盒与黑盒评估。结果表明,该策略可有效欺骗主流检测器,平均 AUROC 下降 70.4%,单个数据集最高下降 90.3%。跨学科场景下相对下降最高达 90.9%,跨语言场景下降达 91.3%。值得注意的是,攻击后模型生成质量未显著降低,即使在有限资源预算下仍能保持原模型水平。
原文摘要 · Abstract (English)
The advent of large language models (LLMs) has revolutionized the field of text generation, producing outputs that closely mimic human-like writing. Although academic and industrial institutions have developed detectors to prevent the malicious usage of LLM-generated texts, other research has doubt about the robustness of these systems. To stress test these detectors, we introduce a proxy-attack strategy that effortlessly compromises LLMs, causing them to produce outputs that align with human-written text and mislead detection systems. Our method attacks the source model by leveraging a reinforcement learning (RL) fine-tuned humanized small language model (SLM) in the decoding phase. Through an in-depth analysis, we demonstrate that our attack strategy is capable of generating responses that are indistinguishable to detectors, preventing them from differentiating between machine-generated and human-written text. We conduct systematic evaluations on extensive datasets using proxy-attacked open-source models, including Llama2-13B, Llama3-70B, and Mixtral-8*7B in both white- and black-box settings. Our findings show that the proxy-attack strategy effectively deceives the leading detectors, resulting in an average AUROC drop of 70.4% across multiple datasets, with a maximum drop of 90.3% on a single dataset. Furthermore, in cross-discipline scenarios, our strategy also bypasses these detectors, leading to a significant relative decrease of up to 90.9%, while in cross-language scenario, the drop reaches 91.3%. Despite our proxy-attack strategy successfully bypassing the detectors with such significant relative drops, we find that the generation quality of the attacked models remains preserved, even within a modest utility budget, when compared to the text produced by the original, unattacked source model.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。