arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.03168cs.CRcs.CL
收藏

用户能否通过精心设计的提示词识别带水印的LLMs?

Can Watermarked LLMs be Identified by Users via Crafted Prompts?

Tsinghua University(清华大学);Beijing University of Posts and Telecommunications(北京邮电大学);The Chinese University of Hongkong(香港中文大学);University of Illinois at Chicago(伊利诺伊大学芝加哥分校);Hongkong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Aiwei Liu, Sheng Guan, Yiming Liu, Leyi Pan, Yifei Zhang, Liancheng Fang, Lijie Wen, Philip S. Yu, Xuming Hu

AI总结:

首个研究带水印LLM不可感知性的工作,提出Water-Probe算法通过精心设计的提示词识别水印,并引入Water-Bag策略通过合并多个水印密钥显著提升水印不可感知性。

摘要:

大型语言模型(LLMs)的文本水印技术在检测LLM输出和防止滥用方面取得了显著进展。当前的水印技术具有高可检测性、对文本质量影响极小以及对文本编辑的鲁棒性。然而,当前研究缺乏对LLM服务中水印技术不可感知性的调查。这至关重要,因为在真实场景中,LLM提供商可能不希望披露水印的存在,因为这会降低用户使用服务的意愿,并使水印更容易受到攻击。本工作是首个调查带水印LLMs不可感知性的研究。我们设计了一种名为Water-Probe的识别算法,通过对LLM输入精心设计的提示词来检测水印。我们的核心动机是,当前的带水印LLMs在相同水印密钥下会暴露出一致的偏差,从而导致在不同水印密钥下的提示词之间产生相似的差异。实验表明,几乎所有主流水印算法都很容易被我们精心设计的提示词识别,而Water-Probe对非水印LLMs表现出极低的假阳性率。最后,我们提出增强带水印LLMs不可感知性的关键在于增加水印密钥选择的随机性。基于此,我们引入了Water-Bag策略,通过合并多个水印密钥显著提高了水印的不可感知性。

英文摘要:

Text watermarking for Large Language Models (LLMs) has made significant progress in detecting LLM outputs and preventing misuse. Current watermarking techniques offer high detectability, minimal impact on text quality, and robustness to text editing. However, current researches lack investigation into the imperceptibility of watermarking techniques in LLM services. This is crucial as LLM providers may not want to disclose the presence of watermarks in real-world scenarios, as it could reduce user willingness to use the service and make watermarks more vulnerable to attacks. This work is the first to investigate the imperceptibility of watermarked LLMs. We design an identification algorithm called Water-Probe that detects watermarks through well-designed prompts to the LLM. Our key motivation is that current watermarked LLMs expose consistent biases under the same watermark key, resulting in similar differences across prompts under different watermark keys. Experiments show that almost all mainstream watermarking algorithms are easily identified with our well-designed prompts, while Water-Probe demonstrates a minimal false positive rate for non-watermarked LLMs. Finally, we propose that the key to enhancing the imperceptibility of watermarked LLMs is to increase the randomness of watermark key selection. Based on this, we introduce the Water-Bag strategy, which significantly improves watermark imperceptibility by merging multiple watermark keys.

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

↑