arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.02693cs.CRcs.AIcs.LG
收藏

发现针对语言模型水印的伪造攻击

Discovering Spoofing Attempts on Language Model Watermarks

ETH Zurich(苏黎世联邦理工学院)

Thibaud Gloaguen, Nikola Jovanović, Robin Staab, Martin Vechev

AI总结:

本文首次提出可靠的统计方法,通过检测伪造文本中遗留的痕迹来区分伪造与真正的水印文本,证明现有伪造攻击效力有限,并提供了缓解方案。

摘要:

大语言模型(LLM)水印作为一种有前景的方式,用于归属LLM生成文本的所有权。水印可信度面临的一个威胁来自伪造攻击,即未经授权的第三方伪造水印,从而能够将任意文本错误地归属到特定LLM。尽管最近的研究表明,最先进的方案实际上容易受到伪造攻击,但之前没有工作专注于事后方法来发现伪造尝试。在这项工作中,我们首次提出了一种可靠的统计方法来区分伪造文本与真正加水印的文本,表明当前的伪造攻击比之前认为的效力更低。特别是,我们展示了无论其底层方法如何,所有当前基于学习的伪造方法都会在伪造文本中一致地留下可观察的痕迹,这些痕迹指示了水印伪造。我们基于这些发现提出了严格的统计测试,能够可靠地揭示此类痕迹的存在,从而证明水印已被伪造。我们的实验评估显示,在所有基于学习的伪造方法中,测试具有较高的检验功效,提供了对其根本局限性的见解,并提出了缓解这一威胁的方法。我们在https://github.com/eth-sri/watermark-spoofing-detection 上提供了所有代码。

英文摘要:

LLM watermarks stand out as a promising way to attribute ownership of LLM-generated text. One threat to watermark credibility comes from spoofing attacks, where an unauthorized third party forges the watermark, enabling it to falsely attribute arbitrary texts to a particular LLM. Despite recent work demonstrating that state-of-the-art schemes are, in fact, vulnerable to spoofing, no prior work has focused on post-hoc methods to discover spoofing attempts. In this work, we for the first time propose a reliable statistical method to distinguish spoofed from genuinely watermarked text, suggesting that current spoofing attacks are less effective than previously thought. In particular, we show that regardless of their underlying approach, all current learning-based spoofing methods consistently leave observable artifacts in spoofed texts, indicative of watermark forgery. We build upon these findings to propose rigorous statistical tests that reliably reveal the presence of such artifacts and thus demonstrate that a watermark has been spoofed. Our experimental evaluation shows high test power across all learning-based spoofing methods, providing insights into their fundamental limitations and suggesting a way to mitigate this threat. We make all our code available at https://github.com/eth-sri/watermark-spoofing-detection .

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

↑