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

利用词汇水印保护语言生成API的知识产权

Protecting Intellectual Property of Language Generation APIs with Lexical Watermark

Monash University(蒙纳士大学);The Australian National University(澳大利亚国立大学);Sony AI(索尼人工智能);Microsoft Research Asia(微软亚洲研究院);UC Berkeley(加州大学伯克利分校)

Xuanli He, Qiongkai Xu, Lingjuan Lyu, Fangzhao Wu, Chenguang Wang

摘要:

如今,由于自然语言生成(NLG)的突破,包括机器翻译、文档摘要、图像描述等,NLG模型已封装在云API中,为全球超过5亿人提供服务,每天处理超过1000亿个单词生成。因此,NLG API已经成为许多商业公司必不可少的盈利服务。由于大量的财政和智力投资,服务提供商采取了按使用付费的政策,以促进可持续的市场增长。然而,最近的工作表明,云平台遭受模型窃取攻击造成的经济损失,这些攻击旨在模仿受害者服务的功能和实用性,从而侵犯了云API的知识产权(IP)。这项工作的目标是通过识别利用受害者NLG API的水印响应的攻击者来保护NLG API的IP。然而,大多数现有的水印技术不能直接适用于NLG API的IP保护。为了弥补这一差距,我们首先提出了一种新的水印方法,文本生成API进行词法修改的原始输出。与竞争基线相比,我们的水印方法在p值方面实现了更好的可识别性能,语义损失更少。此外,我们的水印比基线更容易理解和直观。最后,实验结果表明,该方法同样适用于不同领域的查询,并且对于在包含少于10%水印样本的混合语料库上训练的攻击者是有效的。

英文摘要:

Nowadays, due to the breakthrough in natural language generation (NLG), including machine translation, document summarization, image captioning, etc NLG models have been encapsulated in cloud APIs to serve over half a billion people worldwide and process over one hundred billion word generations per day. Thus, NLG APIs have already become essential profitable services in many commercial companies. Due to the substantial financial and intellectual investments, service providers adopt a pay-as-you-use policy to promote sustainable market growth. However, recent works have shown that cloud platforms suffer from financial losses imposed by model extraction attacks, which aim to imitate the functionality and utility of the victim services, thus violating the intellectual property (IP) of cloud APIs. This work targets at protecting IP of NLG APIs by identifying the attackers who have utilized watermarked responses from the victim NLG APIs. However, most existing watermarking techniques are not directly amenable for IP protection of NLG APIs. To bridge this gap, we first present a novel watermarking method for text generation APIs by conducting lexical modification to the original outputs. Compared with the competitive baselines, our watermark approach achieves better identifiable performance in terms of p-value, with fewer semantic losses. In addition, our watermarks are more understandable and intuitive to humans than the baselines. Finally, the empirical studies show our approach is also applicable to queries from different domains, and is effective on the attacker trained on a mixture of the corpus which includes less than 10\% watermarked samples.

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

↑