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

水印使语言模型具有放射性

Watermarking Makes Language Models Radioactive

Meta FAIR;École polytechnique(巴黎综合理工学院);Inria Rennes(法国国家信息与自动化研究所雷恩分部)

Tom Sander, Pierre Fernandez, Alain Durmus, Matthijs Douze, Teddy Furon

AI总结:

本文研究带水印 LLM 生成文本的“放射性”,提出可证明置信度的方法检测微调模型中残留水印信号,并揭示其与水印鲁棒性、数据占比和微调过程的关系。

摘要:

我们研究了大型语言模型(LLM)生成文本的放射性,即是否有可能检测到此类合成输入曾被用于训练后续的 LLM。当前方法(如成员推理或主动知识产权保护)要么仅在疑似文本已知的场景下有效,要么无法提供可靠的统计保证。我们发现,与之相反,如果合成数据由带水印的 LLM 输出,就可以可靠地判定某个语言模型是否曾在该合成数据上训练。我们专为放射性设计的新方法,能够以可证明的置信度检测经过微调的 LLM 中水印信号的微弱残留。我们将放射性污染水平与以下属性关联起来:水印鲁棒性、其在训练集中的占比,以及微调过程。例如,如果可疑模型是开放权重的,我们证明即使仅有低至 5% 的训练文本带有水印,也能以高置信度(p 值 < 10^-5)检测到模型曾在带水印的指令上训练。

英文摘要:

We investigate the radioactivity of text generated by large language models (LLM), i.e. whether it is possible to detect that such synthetic input was used to train a subsequent LLM. Current methods like membership inference or active IP protection either work only in settings where the suspected text is known or do not provide reliable statistical guarantees. We discover that, on the contrary, it is possible to reliably determine if a language model was trained on synthetic data if that data is output by a watermarked LLM. Our new methods, specialized for radioactivity, detects with a provable confidence weak residuals of the watermark signal in the fine-tuned LLM. We link the radioactivity contamination level to the following properties: the watermark robustness, its proportion in the training set, and the fine-tuning process. For instance, if the suspect model is open-weight, we demonstrate that training on watermarked instructions can be detected with high confidence ($p$-value $< 10^{-5}$) even when as little as $5\%$ of training text is watermarked.

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

↑