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

通过检索增强型大语言模型中的水印金丝雀实现数据集保护

Dataset Protection via Watermarked Canaries in Retrieval-Augmented LLMs

University of Florida(佛罗里达大学);University of California, Berkeley(加州大学伯克利分校)

Yepeng Liu, Xuandong Zhao, Dawn Song, Yuheng Bu

AI总结:

本研究提出CanaryTrace方法,通过在IP数据集中插入带水印的金丝雀文档,可高效检测RA-LLMs对数据集的未经授权使用,且不影响RAG系统性能。

摘要:

检索增强生成(Retrieval-Augmented Generation, RAG)已成为用最新知识增强大语言模型(Large Language Models, LLMs)的有效方法,但它可能带来版权侵权风险,因为知识产权(IP)数据集可能被恶意检索增强型大语言模型(Retrieval-Augmented LLMs, RA-LLMs)未经授权地纳入知识库。为保护数据集所有者的权利,需要一种适用于RA-LLMs的有效数据集成员推理算法。本研究提出一种名为CanaryTrace的新方法,用于保护文本数据集的所有权并有效检测RA-LLMs的未经授权使用。该方法完全保留原始数据不变,通过在IP数据集中插入专门设计的金丝雀文档来实现保护;这些金丝雀文档由合成内容创建并嵌入水印,以确保唯一性、一致性和统计可证明性。检测过程中,通过查询金丝雀文档并分析RA-LLMs的响应,寻找嵌入水印的统计证据来识别未经授权使用。实验结果表明,该方法具有高查询效率、强检测性和一致性,对原始数据集的扰动极小,且不会损害RAG系统的性能。

英文摘要:

Retrieval-Augmented Generation (RAG) has become an effective method for enhancing large language models (LLMs) with up-to-date knowledge. However, it may pose a risk of copyright infringement, as IP datasets may be incorporated into the knowledge database by malicious Retrieval-Augmented LLMs (RA-LLMs) without authorization. To protect the rights of the dataset owner, an effective dataset membership inference algorithm for RA-LLMs is needed. In this work, we introduce a novel approach, \textit{CanaryTrace}, to safeguard the ownership of text datasets and effectively detect unauthorized use by RA-LLMs. Our approach preserves the original data completely unchanged while protecting it by inserting specifically designed canary documents into the IP dataset. These canary documents are created with synthetic content and embedded watermarks to ensure uniqueness, consistency, and statistical provability. During the detection process, unauthorized usage is identified by querying the canary documents and analyzing the responses of RA-LLMs for statistical evidence of the embedded watermark. Our experimental results demonstrate high query efficiency, detectability, and consistency, along with minimal perturbation to the original dataset, all without compromising the performance of the RAG system.

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

↑