对生成式模型进行水印处理是指在模型输出中植入一种统计信号(水印),以便日后能够验证该输出是由给定模型生成的。强水印方案满足这样一个属性:计算能力受限的攻击者无法在不导致显著质量下降的情况下擦除水印。在本文中,我们研究了强水印方案的可能性与不可能性。我们证明,在定义明确且自然的假设下,强水印是无法实现的。即使在私有检测算法设置中,即水印插入和检测算法共享一个攻击者未知的密钥时,这一结论依然成立。为了证明这一结果,我们引入了一种通用的高效水印攻击方法;攻击者无需知道方案的私钥,甚至无需知道使用的是哪种方案。我们的攻击基于两个假设:(1)攻击者可以访问一个“质量预言机”,能够评估候选输出是否是对提示词的高质量响应;(2)攻击者可以访问一个“扰动预言机”,该预言机能够以不可忽略的概率修改输出且保持质量,并在高质量输出上引发高效混合的随机游走。我们论证了,这两种假设在实践中都可以被计算能力弱于水印模型本身的攻击者所满足,且攻击者对该模型仅有黑盒访问权限。此外,随着模型在能力和模态上的增长,我们的假设随着时间的推移可能只会更容易被满足。我们通过将攻击实例化,攻击了大型语言模型的三个现有水印方案:Kirchenbauer et al. (2023)、Kuditipudi et al. (2023) 和 Zhao et al. (2023),从而证明了我们攻击的可行性。同一种攻击成功移除了所有三种方案植入的水印,且仅引起轻微的质量下降。
英文摘要:
Watermarking generative models consists of planting a statistical signal (watermark) in a model's output so that it can be later verified that the output was generated by the given model. A strong watermarking scheme satisfies the property that a computationally bounded attacker cannot erase the watermark without causing significant quality degradation. In this paper, we study the (im)possibility of strong watermarking schemes. We prove that, under well-specified and natural assumptions, strong watermarking is impossible to achieve. This holds even in the private detection algorithm setting, where the watermark insertion and detection algorithms share a secret key, unknown to the attacker. To prove this result, we introduce a generic efficient watermark attack; the attacker is not required to know the private key of the scheme or even which scheme is used. Our attack is based on two assumptions: (1) The attacker has access to a "quality oracle" that can evaluate whether a candidate output is a high-quality response to a prompt, and (2) The attacker has access to a "perturbation oracle" which can modify an output with a nontrivial probability of maintaining quality, and which induces an efficiently mixing random walk on high-quality outputs. We argue that both assumptions can be satisfied in practice by an attacker with weaker computational capabilities than the watermarked model itself, to which the attacker has only black-box access. Furthermore, our assumptions will likely only be easier to satisfy over time as models grow in capabilities and modalities. We demonstrate the feasibility of our attack by instantiating it to attack three existing watermarking schemes for large language models: Kirchenbauer et al. (2023), Kuditipudi et al. (2023), and Zhao et al. (2023). The same attack successfully removes the watermarks planted by all three schemes, with only minor quality degradation.
Mark Your LLM: Detecting the Misuse of Open-Source Large Language Models via Watermarking
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Tsinghua University(清华大学);The Hong Kong University of Science and Technology(香港科技大学)
Revealing Weaknesses in Text Watermarking Through Self-Information Rewrite Attacks
University of British Columbia(不列颠哥伦比亚大学);Vector Institute for AI(向量人工智能研究所);University of Cambridge(剑桥大学);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席);NSERC CRC Chair(NSERC加拿大研究主席)
A Survey of Text Watermarking in the Era of Large Language Models
Tsinghua University(清华大学);The Chinese University of Hong Kong(香港中文大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Beijing University of Posts and Telecommunications(北京邮电大学);University of Illinois Chicago(芝加哥大学伊利诺伊分校)
State Key Laboratory of Mathematical Sciences, Academy of Mathematics and Systems Science, Chinese Academy of Sciences(数学科学国家重点实验室,数学与系统科学研究院,中国科学院);University of Chinese Academy of Sciences(中国科学院大学);Institute of AI for Industries, Nanjing, China(产业人工智能研究院,南京,中国)
The Impact of Audio Watermarking on Audio Anti-Spoofing Countermeasures
Suzhou Municipal Key Laboratory of Multimodal Intelligent Systems(多模态智能系统苏州市级重点实验室);Digital Innovation Research Center(数字创新研究中心);Duke Kunshan University(杜克昆山大学);OfSpectrum, Inc.(OfSpectrum公司)
Towards Robust Content Watermarking Against Removal and Forgery Attacks
Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);University of Chinese Academy of Sciences(中国科学院大学);University of Waterloo(滑铁卢大学)
本文提出Instance-Specific watermarking with Two-Sided detection方法,通过动态控制水印注入时间和模式提升鲁棒性,有效对抗移除和伪造攻击。