arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.02440cs.CRcs.AI

针对大语言模型水印的自适应攻击优化

Optimizing Adaptive Attacks against Watermarks for Language Models

Abdulrahman Diaa, Toluwani Aremu, Nils Lukas

AI总结:

该研究针对现有大语言模型水印鲁棒性仅测试非自适应攻击的不足,将水印鲁棒性形式化为目标函数,用基于偏好的优化调优自适应攻击,实验证明该攻击可规避所有调研水印、能泛化到未知水印且成本效益高,凸显了测试水印抗自适应攻击鲁棒性的必要性。

摘要:

大语言模型(LLM)可能被滥用以大规模传播不良内容。内容水印技术通过在内容中隐藏信息来遏制滥用行为,人们可使用秘密水印密钥检测出带水印的内容。鲁棒性是一项核心安全属性,指若要规避水印检测,需要让内容质量出现(显著)下降。目前已有多种LLM水印方法被提出,但它们的鲁棒性仅在非自适应攻击者的场景下测试,这类攻击者不了解水印方法的相关知识,只能找到次优攻击方案。我们将水印鲁棒性形式化为一个目标函数,并采用基于偏好的优化方法,针对特定水印方法调整自适应攻击策略。我们的评估表明:(1)自适应攻击可规避所有受调研水印方案的检测;(2)针对任意水印训练的攻击都能成功规避未见过的水印;(3)基于优化的攻击具备成本效益。我们的研究结果凸显了针对自适应调整的攻击测试水印鲁棒性的必要性,我们已在https://github.com/nilslukas/ada-wm-evasion 发布了自适应优化的释义工具。

英文摘要:

Large Language Models (LLMs) can be misused to spread unwanted content at scale. Content watermarking deters misuse by hiding messages in content, enabling its detection using a secret watermarking key. Robustness is a core security property, stating that evading detection requires (significant) degradation of the content's quality. Many LLM watermarking methods have been proposed, but robustness is tested only against non-adaptive attackers who lack knowledge of the watermarking method and can find only suboptimal attacks. We formulate watermark robustness as an objective function and use preference-based optimization to tune adaptive attacks against the specific watermarking method. Our evaluation shows that (i) adaptive attacks evade detection against all surveyed watermarks, (ii) training against any watermark succeeds in evading unseen watermarks, and (iii) optimization-based attacks are cost-effective. Our findings underscore the need to test robustness against adaptively tuned attacks. We release our adaptively optimized paraphrasers at https://github.com/nilslukas/ada-wm-evasion.

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

↑