通过注入虚构知识实现语言模型中的鲁棒数据水印
Robust Data Watermarking in Language Models by Injecting Fictitious Knowledge
AI总结:
针对预处理过滤和 API-only 验证难题,本文提出向训练数据注入虚构实体知识的语言模型数据水印方法,并验证其可记忆性、微调鲁棒性及问答评估可行性。
摘要:
语言模型中的数据水印将可追溯信号(例如特定 token 序列或风格模式)注入受版权保护的文本,使版权持有者能够追踪并验证训练数据所有权。以往的数据水印技术主要关注预训练期间的有效记忆,却忽视了 LLM 生命周期其他阶段出现的挑战,例如数据预处理期间水印被过滤的风险,以及由于只能通过 API 访问而导致的验证困难。为应对这些挑战,我们提出一种新颖的数据水印方法,该方法利用描述虚构实体及其相关属性的生成段落,将看似合理但虚构的知识注入训练数据。我们的水印被设计为通过无缝整合到 LLM 的训练数据中而被其记忆,从而使其在预处理期间更难在词汇层面被检测到。我们证明,我们的水印能够被 LLM 有效记忆,并且提高水印的密度、长度和属性多样性会增强其记忆效果。我们进一步表明,我们的水印在持续预训练和监督微调之后仍然有效。最后,我们表明,即使在只能通过 API 访问的情况下,也可以通过问答来评估我们的数据水印。
英文摘要:
Data watermarking in language models injects traceable signals, such as specific token sequences or stylistic patterns, into copyrighted text, allowing copyright holders to track and verify training data ownership. Previous data watermarking techniques primarily focus on effective memorization during pretraining, while overlooking challenges that arise in other stages of the LLM lifecycle, such as the risk of watermark filtering during data preprocessing and verification difficulties due to API-only access. To address these challenges, we propose a novel data watermarking approach that injects plausible yet fictitious knowledge into training data using generated passages describing a fictitious entity and its associated attributes. Our watermarks are designed to be memorized by the LLM through seamlessly integrating in its training data, making them harder to detect lexically during preprocessing. We demonstrate that our watermarks can be effectively memorized by LLMs, and that increasing our watermarks' density, length, and diversity of attributes strengthens their memorization. We further show that our watermarks remain effective after continual pretraining and supervised finetuning. Finally, we show that our data watermarks can be evaluated even under API-only access via question answering.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。