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

用于大型 Transformer 水印的函数不变量

Functional Invariants to Watermark Large Transformers

FAIR, Meta(Meta FAIR);Centre Inria de l'Université de Rennes(雷恩大学Inria中心)

Pierre Fernandez, Guillaume Couairon, Teddy Furon, Matthijs Douze

AI总结:

本文提出利用 Transformer 的函数不变量(如维度置换和缩放操作)生成功能等价副本,以几乎零计算成本实现白盒水印,并验证其对微调、量化和剪枝的鲁棒性。

摘要:

基于 Transformer 的模型快速增长,引发了对其完整性和所有权保障的担忧。水印技术通过在模型中嵌入唯一标识符来解决这一问题,同时保持模型性能。然而,现有方法大多需要优化权重以印入水印信号,由于计算成本高昂,不适合大规模应用。本文探索了几乎无需计算成本的水印方法,适用于非盲白盒场景(假设可同时访问原始网络和带水印网络)。通过利用模型的不变性,例如维度置换或缩放/反缩放等操作,生成功能等价的副本。这使得在不改变模型输出的情况下为模型添加水印,并保持隐蔽性。实验证明了该方法的有效性及其对多种模型变换(微调、量化、剪枝)的鲁棒性,使其成为保护大型模型完整性的实用解决方案。

英文摘要:

The rapid growth of transformer-based models increases the concerns about their integrity and ownership insurance. Watermarking addresses this issue by embedding a unique identifier into the model, while preserving its performance. However, most existing approaches require to optimize the weights to imprint the watermark signal, which is not suitable at scale due to the computational cost. This paper explores watermarks with virtually no computational cost, applicable to a non-blind white-box setting (assuming access to both the original and watermarked networks). They generate functionally equivalent copies by leveraging the models' invariance, via operations like dimension permutations or scaling/unscaling. This enables to watermark models without any change in their outputs and remains stealthy. Experiments demonstrate the effectiveness of the approach and its robustness against various model transformations (fine-tuning, quantization, pruning), making it a practical solution to protect the integrity of large models.

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

↑