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

为黑盒语言模型设计的水印

A Watermark for Black-Box Language Models

Google DeepMind(谷歌DeepMind)

Dara Bahri, John Wieting

AI总结:

本文提出了一种无需白盒访问即可检测LLM输出的水印方案,具备无失真和多密钥嵌套特性,并通过实验验证其优越性。

摘要:

水印技术最近 emerged 作为一种有效策略,用于检测大型语言模型(LLMs)的输出。大多数现有方案需要白盒访问模型的下一个token概率分布,这通常不是LLM API下游用户的可用资源。在本工作中,我们提出了一种系统性的水印方案,仅需要能够从LLM中采样序列的能力(即黑盒访问),具有无失真特性,并且可以使用多个秘密密钥进行链接或嵌套。我们提供了性能保证,展示了如何在白盒访问可用时利用该方案,并通过全面的实验展示了其在超越现有白盒方案时的表现。

英文摘要:

Watermarking has recently emerged as an effective strategy for detecting the outputs of large language models (LLMs). Most existing schemes require white-box access to the model's next-token probability distribution, which is typically not accessible to downstream users of an LLM API. In this work, we propose a principled watermarking scheme that requires only the ability to sample sequences from the LLM (i.e. black-box access), boasts a distortion-free property, and can be chained or nested using multiple secret keys. We provide performance guarantees, demonstrate how it can be leveraged when white-box access is available, and show when it can outperform existing white-box schemes via comprehensive experiments.

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

↑