arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2209.08773cs.CR
收藏

CATER:通过条件水印保护文本生成API的知识产权

CATER: Intellectual Property Protection on Text Generation APIs via Conditional Watermarks

Xuanli He, Qiongkai Xu, Yi Zeng, Lingjuan Lyu, Fangzhao Wu, Jiwei Li, Ruoxi Jia

摘要:

以前的工作已经验证了文本生成API可以通过模仿攻击被盗,导致IP违规。为了保护文本生成API的IP,最近的工作引入了水印算法,并利用零假设检验作为模仿模型的事后所有权验证。然而,我们发现,它是可能的,通过候选水印字的频率的足够的统计来检测这些水印。为了解决这个问题,在本文中,我们提出了一个新的条件wATER标记框架(CATER)的保护IP的文本生成API。提出了一种最优化的方法来确定水印规则,该规则可以最大限度地减少整体词分布的失真,同时最大限度地增加条件词选择的变化。从理论上讲,我们证明了即使是最精明的攻击者(他们知道CATER是如何工作的)也不可能根据统计检查从大量潜在的单词对中揭示所使用的水印。根据经验,我们观察到高阶条件导致可疑(未使用)水印的指数增长,使我们制作的水印更加隐蔽。此外,\cater能够有效识别架构失配和跨域模仿攻击下的IP侵权行为,对受害API的生成质量影响甚微。我们将我们的工作视为悄悄保护文本生成API的IP的里程碑。

英文摘要:

Previous works have validated that text generation APIs can be stolen through imitation attacks, causing IP violations. In order to protect the IP of text generation APIs, a recent work has introduced a watermarking algorithm and utilized the null-hypothesis test as a post-hoc ownership verification on the imitation models. However, we find that it is possible to detect those watermarks via sufficient statistics of the frequencies of candidate watermarking words. To address this drawback, in this paper, we propose a novel Conditional wATERmarking framework (CATER) for protecting the IP of text generation APIs. An optimization method is proposed to decide the watermarking rules that can minimize the distortion of overall word distributions while maximizing the change of conditional word selections. Theoretically, we prove that it is infeasible for even the savviest attacker (they know how CATER works) to reveal the used watermarks from a large pool of potential word pairs based on statistical inspection. Empirically, we observe that high-order conditions lead to an exponential growth of suspicious (unused) watermarks, making our crafted watermarks more stealthy. In addition, \cater can effectively identify the IP infringement under architectural mismatch and cross-domain imitation attacks, with negligible impairments on the generation quality of victim APIs. We envision our work as a milestone for stealthily protecting the IP of text generation APIs.

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

↑