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

PostMark:一种针对大型语言模型的鲁棒黑盒水印

PostMark: A Robust Blackbox Watermark for Large Language Models

University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);Google(谷歌公司)

Yapei Chang, Kalpesh Krishna, Amir Houmansadr, John Wieting, Mohit Iyyer

AI总结:

本文提出 PostMark,一种无需访问 logits 的模块化事后黑盒水印方法,通过语义嵌入在解码后插入依赖输入的词组,可由第三方实现,且在改写攻击下比现有方法更具鲁棒性。

摘要:

检测 LLM 生成文本的最有效技术依赖于在模型的解码过程中插入可检测的签名——即水印。现有的大多数水印方法需要访问底层 LLM 的 logits,但由于担心模型蒸馏,LLM API 提供商不愿共享这些信息。因此,这些水印必须由每个 LLM 提供商独立实现。本文开发了 PostMark,这是一种模块化的事后水印处理流程,在解码过程完成后,将一组依赖于输入的单词(通过语义嵌入确定)插入到文本中。关键的是,PostMark 不需要访问 logits,这意味着它可以由第三方实现。我们还表明,与现有的水印方法相比,PostMark 对改写攻击具有更强的鲁棒性:我们的实验涵盖了八种基线算法、五个基础 LLM 和三个数据集。最后,我们使用自动和人工评估来评估 PostMark 对文本质量的影响,突出了质量与改写鲁棒性之间的权衡。我们在 https://github.com/lilakk/PostMark 发布了代码、输出和标注。

英文摘要:

The most effective techniques to detect LLM-generated text rely on inserting a detectable signature -- or watermark -- during the model's decoding process. Most existing watermarking methods require access to the underlying LLM's logits, which LLM API providers are loath to share due to fears of model distillation. As such, these watermarks must be implemented independently by each LLM provider. In this paper, we develop PostMark, a modular post-hoc watermarking procedure in which an input-dependent set of words (determined via a semantic embedding) is inserted into the text after the decoding process has completed. Critically, PostMark does not require logit access, which means it can be implemented by a third party. We also show that PostMark is more robust to paraphrasing attacks than existing watermarking methods: our experiments cover eight baseline algorithms, five base LLMs, and three datasets. Finally, we evaluate the impact of PostMark on text quality using both automated and human assessments, highlighting the trade-off between quality and robustness to paraphrasing. We release our code, outputs, and annotations at https://github.com/lilakk/PostMark.

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

↑