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

一种具有韧性和可访问性的分布保持水印,用于大型语言模型

A Resilient and Accessible Distribution-Preserving Watermark for Large Language Models

University of Maryland College Park(马里兰大学学院公园分校);University of Waterloo(滑铁卢大学)

Yihan Wu, Zhengmian Hu, Junfeng Guo, Hongyang Zhang, Heng Huang

AI总结:

本研究提出DiPmark,一种分布保持、可访问且鲁棒的水印方法,通过随机选择令牌并重新加权分布,在不损害生成质量的前提下实现有效的机器内容识别。

摘要:

水印技术通过在语言模型生成的内容中嵌入隐蔽信息,为识别机器生成内容提供了一种有前景的方法。该领域的一个挑战在于水印处理后保持原始生成内容的分布。我们的研究扩展并改进了现有的水印框架,强调分布保持(DiP)水印的重要性。与当前策略相反,我们提出的DiPmark在水印处理过程中同时保持原始令牌分布(分布保持),无需访问语言模型API和提示即可检测(可访问性),并且对令牌的中等程度修改具有可证明的鲁棒性(韧性)。DiPmark通过在生成单词之前随机选择一组令牌,然后通过分布保持的重新加权函数修改令牌分布,以在采样过程中提高这些被选中令牌的概率。对各种语言模型和任务的大量实证评估表明,我们的方法具有分布保持性、可访问性和韧性,使其成为需要完美质量保持的水印任务的有效解决方案。

英文摘要:

Watermarking techniques offer a promising way to identify machine-generated content via embedding covert information into the contents generated from language models. A challenge in the domain lies in preserving the distribution of original generated content after watermarking. Our research extends and improves upon existing watermarking framework, placing emphasis on the importance of a \textbf{Di}stribution-\textbf{P}reserving (DiP) watermark. Contrary to the current strategies, our proposed DiPmark simultaneously preserves the original token distribution during watermarking (distribution-preserving), is detectable without access to the language model API and prompts (accessible), and is provably robust to moderate changes of tokens (resilient). DiPmark operates by selecting a random set of tokens prior to the generation of a word, then modifying the token distribution through a distribution-preserving reweight function to enhance the probability of these selected tokens during the sampling process. Extensive empirical evaluation on various language models and tasks demonstrates our approach's distribution-preserving property, accessibility, and resilience, making it a effective solution for watermarking tasks that demand impeccable quality preservation.

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

↑