用虚构知识给模型打水印,防删还能远程验证。
Robust Data Watermarking in Language Models by Injecting Fictitious Knowledge
- 用虚构实体和属性生成文本注入水印,隐蔽性强。
- 水印密度、长度、属性多样性提升后记忆更牢。
- 支持API访问下通过问答验证,适合版权追踪场景。
语言模型中的数据水印技术通过在受版权保护的文本中嵌入可追溯信号(如特定词元序列或风格模式),使版权持有者能够追踪和验证训练数据的所有权。现有方法主要关注预训练阶段的有效记忆,却忽视了其他生命周期阶段的挑战,例如数据预处理阶段的水印过滤风险,以及仅通过API访问时的验证困难。为此,我们提出一种新方法:利用生成的描述虚构实体及其属性的段落,将看似合理但虚构的知识注入训练数据。这些水印通过无缝融入训练数据,使模型自然记忆,从而在预处理阶段更难被词法检测。我们证明,水印能有效被大模型记忆,且增加水印密度、长度及属性多样性可增强记忆效果。此外,水印在持续预训练和监督微调后依然有效。最后,我们展示了即使在仅通过API访问的情况下,也能通过问答任务评估水印有效性。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。