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

Double-I Watermark:保护LLM微调的模型版权

Double-I Watermark: Protecting Model Copyright for LLM Fine-tuning

University of Science and Technology of China(中国科学技术大学);Alibaba Group(阿里巴巴集团)

Shen Li, Liuyi Yao, Jinyang Gao, Lan Zhang, Yaliang Li

AI总结:

针对LLM微调中的模型版权保护问题,提出Double-I watermark方法,通过在指令和输入中引入两种后门数据范式注入水印,有效保护定制模型版权且具备无害性与鲁棒性。

摘要:

为了支持各种应用,业务所有者一种普遍且高效的方法是利用其有价值的数据集,通过LLM所有者或云服务器提供的API来微调预训练的LLM。然而,这一过程存在巨大的模型滥用风险,可能给业务所有者带来严重的经济损失。因此,在LLM微调过程中保护这些定制模型的版权已成为一项紧迫的实际需求,但现有的解决方案有限,难以提供此类保护。为了解决这一紧迫问题,我们提出了一种名为“Double-I watermark”的新型水印方法。具体而言,基于指令微调数据,引入了两种后门数据范式,其触发器分别位于指令和输入中。通过利用LLM的学习能力将定制后门样本纳入数据集,该方法在微调期间有效地将特定水印信息注入定制模型中,这使得在商业场景中易于注入和验证水印。我们在各种微调方法下评估了所提出的“Double-I watermark”,通过定量和定性分析证明了其无害性、鲁棒性、唯一性、隐蔽性和有效性。

英文摘要:

To support various applications, a prevalent and efficient approach for business owners is leveraging their valuable datasets to fine-tune a pre-trained LLM through the API provided by LLM owners or cloud servers. However, this process carries a substantial risk of model misuse, potentially resulting in severe economic consequences for business owners. Thus, safeguarding the copyright of these customized models during LLM fine-tuning has become an urgent practical requirement, but there are limited existing solutions to provide such protection. To tackle this pressing issue, we propose a novel watermarking approach named ``Double-I watermark''. Specifically, based on the instruct-tuning data, two types of backdoor data paradigms are introduced with trigger in the instruction and the input, respectively. By leveraging LLM's learning capability to incorporate customized backdoor samples into the dataset, the proposed approach effectively injects specific watermarking information into the customized model during fine-tuning, which makes it easy to inject and verify watermarks in commercial scenarios. We evaluate the proposed "Double-I watermark" under various fine-tuning methods, demonstrating its harmlessness, robustness, uniqueness, imperceptibility, and validity through both quantitative and qualitative analyses.

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

↑