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

通过高熵直通层实现任务无关的语言模型水印

Task-Agnostic Language Model Watermarking via High Entropy Passthrough Layers

Huawei Technologies Canada Co. Ltd.(华为技术加拿大有限公司)

Vaden Masrani, Mohammad Akbari, David Ming Xuan Yue, Ahmad Rezaei, Yong Zhang

AI总结:

提出通过高熵直通层实现任务无关的模型水印,该方法自监督训练,提取准确率高、误报率低,且对微调、剪枝和层移除攻击鲁棒。

摘要:

在大语言模型预训练成本高昂的时代,确保模型所有者的知识产权以及保证所述模型的负责任部署变得越来越重要。为此,我们提出了通过直通层实现模型水印的方法,这些直通层被添加到现有的预训练网络中,并使用自监督损失进行训练,使得模型在收到唯一私钥提示时产生高熵输出,而在其他情况下则正常运作。与现有的模型水印方法不同,我们的方法完全任务无关,可应用于分类和序列到序列任务,无需对下游微调数据集进行高级访问。我们在广泛的下游任务上评估了所提出的直通层,并通过实验表明,我们的水印方法在大多数情况下实现了近乎完美的水印提取准确率和低误报率,且不损害原始模型的性能。此外,我们证明了我们的方法对下游微调、微剪枝和层移除攻击具有鲁棒性,并且训练所需时间仅为原始模型训练时间的一小部分。代码可在论文中获取。

英文摘要:

In the era of costly pre-training of large language models, ensuring the intellectual property rights of model owners, and insuring that said models are responsibly deployed, is becoming increasingly important. To this end, we propose model watermarking via passthrough layers, which are added to existing pre-trained networks and trained using a self-supervised loss such that the model produces high-entropy output when prompted with a unique private key, and acts normally otherwise. Unlike existing model watermarking methods, our method is fully task-agnostic, and can be applied to both classification and sequence-to-sequence tasks without requiring advanced access to downstream fine-tuning datasets. We evaluate the proposed passthrough layers on a wide range of downstream tasks, and show experimentally our watermarking method achieves a near-perfect watermark extraction accuracy and false-positive rate in most cases without damaging original model performance. Additionally, we show our method is robust to both downstream fine-tuning, fine-pruning, and layer removal attacks, and can be trained in a fraction of the time required to train the original model. Code is available in the paper.

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

↑