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

LoRAGuard:一种针对 LoRA 的有效黑盒水印方法

LoRAGuard: An Effective Black-box Watermarking Approach for LoRAs

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Metropolitan College, Boston University(波士顿大学都会学院);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所)

Peizhuo Lv, Yiran Xiahou, Congyi Li, Mengjie Sun, Shengzhi Zhang, Kai Chen, Yingjun Zhang

AI总结:

本文提出 LoRAGuard,一种针对 LoRA 的黑盒水印方法,通过 Yin-Yang 水印技术和基于影子模型的训练方法,有效检测未经授权的 LoRA 滥用,在语言和扩散模型上实现接近 100% 的水印验证成功率。

摘要:

LoRA(Low-Rank Adaptation)在大模型的参数高效微调中取得了显著成功。训练好的 LoRA 矩阵可以通过加法或取负操作与基础模型集成,以提升下游任务的性能。然而,未经授权使用 LoRA 生成有害内容凸显了追踪其使用情况的有效机制的必要性。一种自然的解决方案是将水印嵌入 LoRA 以检测未经授权的滥用。然而,现有方法在多个 LoRA 组合或应用取负操作时会遇到困难,因为这些操作会显著降低水印性能。在本文中,我们引入了 LoRAGuard,这是一种新颖的黑盒水印技术,用于检测未经授权的 LoRA 滥用。为了同时支持加法和取负操作,我们提出了 Yin-Yang 水印技术,其中 Yin 水印在取负操作期间进行验证,Yang 水印在加法操作期间进行验证。此外,我们提出了一种基于影子模型的水印训练方法,显著提高了涉及多个集成 LoRA 场景下的有效性。在语言模型和扩散模型上的大量实验表明,LoRAGuard 实现了接近 100% 的水印验证成功率,并展现出强大的有效性。

英文摘要:

LoRA (Low-Rank Adaptation) has achieved remarkable success in the parameter-efficient fine-tuning of large models. The trained LoRA matrix can be integrated with the base model through addition or negation operation to improve performance on downstream tasks. However, the unauthorized use of LoRAs to generate harmful content highlights the need for effective mechanisms to trace their usage. A natural solution is to embed watermarks into LoRAs to detect unauthorized misuse. However, existing methods struggle when multiple LoRAs are combined or negation operation is applied, as these can significantly degrade watermark performance. In this paper, we introduce LoRAGuard, a novel black-box watermarking technique for detecting unauthorized misuse of LoRAs. To support both addition and negation operations, we propose the Yin-Yang watermark technique, where the Yin watermark is verified during negation operation and the Yang watermark during addition operation. Additionally, we propose a shadow-model-based watermark training approach that significantly improves effectiveness in scenarios involving multiple integrated LoRAs. Extensive experiments on both language and diffusion models show that LoRAGuard achieves nearly 100% watermark verification success and demonstrates strong effectiveness.

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

↑