arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.03162cs.CRcs.CLcs.LG
收藏

通过不可见水印保护语言生成模型

Protecting Language Generation Models via Invisible Watermarking

UC Santa Barbara(加州大学圣巴巴拉分校)

Xuandong Zhao, Yu-Xiang Wang, Lei Li

AI总结:

针对语言生成模型易遭蒸馏提取攻击的问题,提出通过在解码概率向量注入秘密信号的GINSEW不可见水印方法,可高效识别侵权模型且对生成质量影响小,检测mAP较现有方法提升19-29点。

摘要:

语言生成模型已成为众多应用中功能日益强大的支撑工具。许多这类模型提供免费或平价的API访问权限,这使得它们可能容易遭受通过蒸馏实现的模型提取攻击。为保护知识产权(IP)并确保这些模型的合理使用,学界已提出词汇水印、同义词替换等多种技术。然而,这类方法可被“同义词随机化”等明确的对抗手段破解。为解决这一问题,我们提出GINSEW,这是一种保护文本生成模型免遭蒸馏窃取的新型方法。我们方法的核心思路是在每个目标token解码步骤的概率向量中注入秘密信号,随后我们可通过探测可疑模型来检测该秘密信息,以判断其是否由受保护模型蒸馏而来。实验结果表明,GINSEW能有效识别知识产权侵权实例,且对受保护API的生成质量影响极小。在抵御水印移除攻击的可疑模型检测任务中,我们的方法相比现有方法的平均精度均值(mAP)绝对提升了19至29个点。

英文摘要:

Language generation models have been an increasingly powerful enabler for many applications. Many such models offer free or affordable API access, which makes them potentially vulnerable to model extraction attacks through distillation. To protect intellectual property (IP) and ensure fair use of these models, various techniques such as lexical watermarking and synonym replacement have been proposed. However, these methods can be nullified by obvious countermeasures such as "synonym randomization". To address this issue, we propose GINSEW, a novel method to protect text generation models from being stolen through distillation. The key idea of our method is to inject secret signals into the probability vector of the decoding steps for each target token. We can then detect the secret message by probing a suspect model to tell if it is distilled from the protected one. Experimental results show that GINSEW can effectively identify instances of IP infringement with minimal impact on the generation quality of protected APIs. Our method demonstrates an absolute improvement of 19 to 29 points on mean average precision (mAP) in detecting suspects compared to previous methods against watermark removal attacks.

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

↑