arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.16367cs.CR
收藏

EditMark:基于模型编辑的大语言模型水印方法

EditMark: Watermarking Large Language Models based on Model Editing

School of Cyber Science and Security, University of Science and Technology of China(中国科学技术大学网络空间安全学院);University of Siena(锡耶纳大学)

Shuai Li, Kejiang Chen, Jun Jiang, Jie Zhang, Qiyi Yao, Kai Zeng, Weiming Zhang, Nenghai Yu

AI总结:

针对现有 LLM 水印训练成本高、损害性能且隐蔽性不足的问题,提出 EditMark,利用改进的模型编辑在 20 秒内无损嵌入 32 位水印,提取成功率达 100%。

摘要:

大语言模型(LLM)已展现出卓越能力,但其训练需要大量数据和计算资源,因此成为宝贵的数字资产。因此,有必要对 LLM 加水印,以保护其版权并追踪未经授权的使用或转售。现有的 LLM 水印方法主要依赖使用带水印数据集训练 LLM,这会带来繁重的训练成本,并对 LLM 的性能产生负面影响。此外,其带水印文本缺乏逻辑性或自然性,从而降低了水印的隐蔽性。为解决这些问题,我们提出 EditMark,这是首个利用模型编辑为 LLM 嵌入免训练、隐蔽且性能无损水印的水印方法。我们观察到某些问题具有多个正确答案。因此,我们为每个答案分配唯一水印,并通过模型编辑技术更新 LLM 的权重,以生成相应的问题和答案。此外,我们改进模型编辑技术,使其符合水印嵌入要求。具体而言,我们引入自适应多轮稳定编辑策略,并结合噪声矩阵注入,以提升水印嵌入的有效性和鲁棒性。大量实验表明,EditMark 可在 20 秒内将 32 位水印嵌入 LLM(微调:6875 秒),水印提取成功率为 100%,证明了其有效性和效率。外部实验进一步表明,EditMark 具有保真度、隐蔽性,以及对常见攻击的一定程度鲁棒性。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable capabilities, but their training requires extensive data and computational resources, rendering them valuable digital assets. Therefore, it is essential to watermark LLMs to protect their copyright and trace unauthorized use or resale. Existing methods for watermarking LLMs primarily rely on training LLMs with a watermarked dataset, which entails burdensome training costs and negatively impacts the LLM's performance. In addition, their watermarked texts are not logical or natural, thereby reducing the stealthiness of the watermark. To address these issues, we propose EditMark, the first watermarking method that leverages model editing to embed a training-free, stealthy, and performance-lossless watermark for LLMs. We observe that some questions have multiple correct answers. Therefore, we assign each answer a unique watermark and update the weights of LLMs to generate corresponding questions and answers through the model editing technique. In addition, we refine the model editing technique to align with the requirements of watermark embedding. Specifically, we introduce an adaptive multi-round stable editing strategy, coupled with the injection of a noise matrix, to improve both the effectiveness and robustness of the watermark embedding. Extensive experiments indicate that EditMark can embed 32-bit watermarks into LLMs within 20 seconds (Fine-tuning: 6875 seconds) with a watermark extraction success rate of 100%, which demonstrates its effectiveness and efficiency. External experiments further demonstrate that EditMark has fidelity, stealthiness, and a certain degree of robustness against common attacks.

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

↑