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

将你的优势转化为水印:通过知识注入为大型语言模型添加水印

Turning Your Strength into Watermark: Watermarking Large Language Model via Knowledge Injection

Shuai Li, Kejiang Chen, Kunsheng Tang, Jie Zhang, Weiming Zhang, Nenghai Yu, Kai Zeng

AI总结:

针对LLM知识产权保护问题,提出基于知识注入的水印方法,将知识作为载体嵌入并提取水印,提取成功率近100%,具备高保真度、隐蔽性与鲁棒性。

摘要:

大型语言模型(LLMs)展现出了卓越的性能,使其成为具有巨大商业潜力的宝贵数字资产。遗憾的是,LLM及其API容易遭受知识产权盗窃。水印是版权验证的经典解决方案。然而,最近新兴的LLM水印方法大多侧重于识别AI生成的文本,而非为LLM本身添加水印。仅有少数尝试基于权重量化和后门水印,但鲁棒性或隐蔽性不足,限制了其在实际中的适用性。为解决这一问题,我们提出了一种基于知识注入的LLM新颖水印方法,并创新性地将知识作为水印载体。具体而言,在水印嵌入阶段,我们首先将水印嵌入所选知识中以获得带水印的知识,随后将其注入到受保护的LLM中。在水印提取阶段,我们设计与带水印知识相关的问题,用于查询可疑的LLM并从其响应中提取水印。实验表明,水印提取成功率接近100%,并证明了我们提出的方法的有效性、保真度、隐蔽性和鲁棒性。

英文摘要:

Large language models (LLMs) have demonstrated outstanding performance, making them valuable digital assets with significant commercial potential. Unfortunately, the LLM and its API are susceptible to intellectual property theft. Watermarking is a classic solution for copyright verification. However, most recent emerging LLM watermarking methods focus on identifying AI-generated texts rather than watermarking LLM itself. Only a few attempts are based on weight quantification and backdoor watermarking, which are not robust or covert enough, limiting their applicability in practice. To address this issue, we propose a novel watermarking method for LLMs based on knowledge injection and innovatively use knowledge as the watermark carrier. Specifically, in the watermark embedding stage, we first embed the watermarks into the selected knowledge to obtain the watermarked knowledge, subsequently injected into the to-be-protected LLM. In the watermark extraction stage, questions related to the watermarked knowledge are designed, for querying the suspect LLM and extracting the watermarks from its response. The experiments show that the watermark extraction success rate is close to 100% and demonstrate the effectiveness, fidelity, stealthiness, and robustness of our proposed method.

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

↑