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

可证明鲁棒的AI生成文本水印

Provable Robust Watermarking for AI-Generated Text

UC Santa Barbara(加州大学圣巴巴拉分校)

Xuandong Zhao, Prabhanjan Ananth, Lei Li, Yu-Xiang Wang

AI总结:

本文提出Unigram-Watermark,一种可证明鲁棒且高质量的LLM文本水印方法,通过简化固定分组策略实现,在保证生成质量的同时,对编辑和改写具有鲁棒性,实验验证了其优越检测性能。

摘要:

我们研究了大型语言模型(LLM)生成文本的水印问题——这是解决LLM使用安全挑战最有前景的方法之一。本文提出了一个严格的理论框架,用于量化LLM水印的有效性和鲁棒性。我们提出了一种鲁棒且高质量的水印方法Unigram-Watermark,通过简化固定分组策略扩展了现有方法。我们证明了我们的水印方法具有有保证的生成质量、水印检测的正确性,并且对文本编辑和改写具有鲁棒性。在三个不同的LLM和两个数据集上的实验验证了Unigram-Watermark在困惑度方面实现了优越的检测准确性和相当的生成质量,从而促进了LLM的负责任使用。代码可在https://github.com/XuandongZhao/Unigram-Watermark获取。

英文摘要:

We study the problem of watermarking large language models (LLMs) generated text -- one of the most promising approaches for addressing the safety challenges of LLM usage. In this paper, we propose a rigorous theoretical framework to quantify the effectiveness and robustness of LLM watermarks. We propose a robust and high-quality watermark method, Unigram-Watermark, by extending an existing approach with a simplified fixed grouping strategy. We prove that our watermark method enjoys guaranteed generation quality, correctness in watermark detection, and is robust against text editing and paraphrasing. Experiments on three varying LLMs and two datasets verify that our Unigram-Watermark achieves superior detection accuracy and comparable generation quality in perplexity, thus promoting the responsible use of LLMs. Code is available at https://github.com/XuandongZhao/Unigram-Watermark.

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

↑