arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.08920cs.LGcs.AIcs.CR
收藏

令人尴尬简单的文本水印

Embarrassingly Simple Text Watermarks

Kyoto University(京都大学);Okinawa Institute of Science and Technology(冲绳科学技术大学院大学);NTT Communication Science Laboratories(NTT通信科学实验室)

Ryoma Sato, Yuki Takezawa, Han Bao, Kenta Niwa, Makoto Yamada

AI总结:

本文提出Easymark,一种简单高效的文本水印方法,无需访问LLM,仅需几行代码,在保持文本质量的同时实现高可靠检测,并证明完美水印的不可能性,实验显示其优于现有方法。

摘要:

我们提出了Easymark,一个家族性的令人尴尬简单却有效的水印。随着大型语言模型(LLM)的出现,文本水印变得越来越重要。LLM可以生成与人类撰写的文本无法区分的文本。这对文本的可信度构成了严重问题。Easymark是解决这一问题的简单而有效的方案。Easymark可以在完全不改变文本含义的情况下注入水印,同时验证者可以高可信度地检测出文本是否由采用Easymark的系统生成。Easymark极其易于实现,仅需几行代码。Easymark不需要访问LLM,因此当LLM提供商不提供带水印的LLM时,可以在用户端实现。尽管其简单性,它在检测准确性和BLEU分数上均优于最先进的文本水印方法。我们还证明了完美水印的不可能性定理,这本身就具有价值。该定理表明,无论水印多么复杂,恶意用户都可以将其从文本中移除,这促使我们使用像Easymark这样的简单水印。我们使用LLM生成的文本进行了实验,并确认Easymark可以可靠地被检测,且BLEU和困惑度没有任何下降,并在质量和可靠性方面均优于最先进的水印。

英文摘要:

We propose Easymark, a family of embarrassingly simple yet effective watermarks. Text watermarking is becoming increasingly important with the advent of Large Language Models (LLM). LLMs can generate texts that cannot be distinguished from human-written texts. This is a serious problem for the credibility of the text. Easymark is a simple yet effective solution to this problem. Easymark can inject a watermark without changing the meaning of the text at all while a validator can detect if a text was generated from a system that adopted Easymark or not with high credibility. Easymark is extremely easy to implement so that it only requires a few lines of code. Easymark does not require access to LLMs, so it can be implemented on the user-side when the LLM providers do not offer watermarked LLMs. In spite of its simplicity, it achieves higher detection accuracy and BLEU scores than the state-of-the-art text watermarking methods. We also prove the impossibility theorem of perfect watermarking, which is valuable in its own right. This theorem shows that no matter how sophisticated a watermark is, a malicious user could remove it from the text, which motivate us to use a simple watermark such as Easymark. We carry out experiments with LLM-generated texts and confirm that Easymark can be detected reliably without any degradation of BLEU and perplexity, and outperform state-of-the-art watermarks in terms of both quality and reliability.

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

↑