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

评估对抗攻击下水印机器生成文本的性能

On Evaluating The Performance of Watermarked Machine-Generated Texts Under Adversarial Attacks

Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Xidian University(西安电子科技大学);Tsinghua University(清华大学)

Zesen Liu, Tianshuo Cong, Xinlei He, Qi Li

AI总结:

本文针对LLM水印方案在对抗攻击下鲁棒性研究空白,系统梳理并分类水印与攻击,通过87个场景评估8种水印和12种攻击,揭示现有技术脆弱性并强调开发更鲁棒方案的必要性。

摘要:

大型语言模型(LLMs)在文本生成和复杂任务等各类应用中表现出色。然而,LLMs的滥用引发了对其生成内容的真实性和伦理影响的担忧,例如深度伪造新闻、学术欺诈和版权侵权。水印技术通过在机器生成文本中嵌入可识别标记,为这些问题提供了有前景的解决方案,可实现内容验证和来源追溯。遗憾的是,当前LLM水印方案在潜在水印移除攻击下的鲁棒性尚未得到全面探索。\n本文为填补这一空白,首先系统梳理了机器生成文本的主流水印方案和移除攻击,并将它们分为文本生成前(pre-text)和文本生成后(post-text)两类,以便进行多样化分析。实验中,我们在87个场景下评估了8种水印(5种pre-text、3种post-text)和12种攻击(2种pre-text、10种post-text)。评估结果表明:(1)KGW和Exponential水印具有较高的文本质量和水印保留率,但仍易受大多数攻击;(2)post-text攻击比pre-text攻击更高效且实用;(3)pre-text水印通常更不易察觉,因为它们不像post-text水印那样会改变文本流畅性;(4)此外,组合攻击方法可显著提高有效性,凸显了对更鲁棒水印解决方案的需求。我们的研究强调了当前技术的脆弱性以及开发更具弹性方案的必要性。

英文摘要:

Large Language Models (LLMs) excel in various applications, including text generation and complex tasks. However, the misuse of LLMs raises concerns about the authenticity and ethical implications of the content they produce, such as deepfake news, academic fraud, and copyright infringement. Watermarking techniques, which embed identifiable markers in machine-generated text, offer a promising solution to these issues by allowing for content verification and origin tracing. Unfortunately, the robustness of current LLM watermarking schemes under potential watermark removal attacks has not been comprehensively explored. In this paper, to fill this gap, we first systematically comb the mainstream watermarking schemes and removal attacks on machine-generated texts, and then we categorize them into pre-text (before text generation) and post-text (after text generation) classes so that we can conduct diversified analyses. In our experiments, we evaluate eight watermarks (five pre-text, three post-text) and twelve attacks (two pre-text, ten post-text) across 87 scenarios. Evaluation results indicate that (1) KGW and Exponential watermarks offer high text quality and watermark retention but remain vulnerable to most attacks; (2) Post-text attacks are found to be more efficient and practical than pre-text attacks; (3) Pre-text watermarks are generally more imperceptible, as they do not alter text fluency, unlike post-text watermarks; (4) Additionally, combined attack methods can significantly increase effectiveness, highlighting the need for more robust watermarking solutions. Our study underscores the vulnerabilities of current techniques and the necessity for developing more resilient schemes.

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

↑