Dataset Protection via Watermarked Canaries in Retrieval-Augmented LLMs
On the map: Retrieval-augmented generation → Privacy and security of RAG
also in 1 more
Abstract (arXiv)
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, textitCanaryTrace, 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.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 31 of its 55 references that are in the map. First posted on arXiv 15 Feb 2025.
Builds on
31 of 55 references.
Closest ancestors · 3
Same direction, newest first
- 2025Towards Copyright Protection for Knowledge Bases of Retrieval-augmented Language Models via Reasoning10 Feb
- 2024CPR: Retrieval Augmented Generation for Copyright Protection27 Mar
- 2024Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systems27 Feb
Other references · 28
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
- 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 402
- 2023Robust Distortion-free Watermarks for Language Modelscited by 279
- 2023Provable Robust Watermarking for AI-Generated Textcited by 259
- 2024QuRating: Selecting High-Quality Data for Training Language Modelscited by 153
- 2021Dataset Inference: Ownership Resolution in Machine Learningcited by 115
16 more
- 2024LLM Dataset Inference: Did you train on my dataset?cited by 107
- 2023A Semantic Invariant Robust Watermark for Large Language Modelscited by 97
- 2024MarkLLM: An Open-Source Toolkit for LLM Watermarkingcited by 80
- 2024A Statistical Framework of Watermarks for Large Language Models: Pivot, Detection Efficiency and Optimal Rulescited by 53
- 2023Domain Watermark: Effective and Harmless Dataset Copyright Protection is Closed at Handcited by 52
- 2024WaterMax: breaking the LLM watermark detectability-robustness-quality trade-offcited by 48
- 2024Robustifying Safety-Aligned Large Language Models through Clean Data Curationcited by 43
- 2024Image Watermarks are Removable Using Controllable Regeneration from Clean Noisecited by 43
- 2024GumbelSoft: Diversified Language Model Watermarking via the GumbelMax-trickcited by 31
- 2024Robust Detection of Watermarks for Large Language Models Under Human Editscited by 29
- 2023TrojText: Test-time Invisible Textual Trojan Insertioncited by 26
- 2023Watermarking Text Data on Large Language Models for Dataset Copyrightcited by 24
- 2024Can Watermarking Large Language Models Prevent Copyrighted Text Generation and Hide Training Data?cited by 15
- 2024Distortion-free Watermarks are not Truly Distortion-free under Watermark Key Collisionscited by 10
- 2024WaterSeeker: Pioneering Efficient Detection of Watermarked Segments in Large Documentscited by 9
- 2025Distributional Information Embedding: A Framework for Multi-bit Watermarkingcited by 8
Built on by
Citing papers per year: 2025: 6; 2026: 5.
11 papers.
- 2026MemMark: State-Evolution Attribution Watermarking for Agent Long-Term Memory Systemscited by 12
- 2025In-Context Watermarks for Large Language Modelscited by 9
- 2025Position: LLM Watermarking Should Align Stakeholders' Incentives for Practical Adoptioncited by 7
- 2025ImageSentinel: Protecting Visual Datasets from Unauthorized Retrieval-Augmented Image Generationcited by 4
- 2026Making Theft Useless: Adulteration-Based Protection of Proprietary Knowledge Graphs in GraphRAG Systemscited by 2
- 2025Boosting Adversarial Transferability via Commonality-Oriented Gradient Optimizationcited by 1
- 2025Safeguarding Multimodal Knowledge Copyright in the RAG-as-a-Service Environmentcited by 1
- 2025TokenPure: Watermark Removal through Tokenized Appearance and Structural Guidancecited by 1
- 2026Detecting RAG Extraction Attack via Dual-Path Runtime Integrity Gamecited by 0
- 2026Learning to Follow In-Context Watermark Instructions via Self-Distillationcited by 0
- 2026Rent-a-RAG: Embedding-Space Watermarks for Auditing Third-Party RAGcited by 0
- 2026Rent-a-RAG: Embedding-Space Watermarks for Auditing Third-Party RAG3 Sep 2026
- 2026Learning to Follow In-Context Watermark Instructions via Self-Distillation29 Aug 2026
- 2026MemMark: State-Evolution Attribution Watermarking for Agent Long-Term Memory Systems24 May 2026
- 2026Detecting RAG Extraction Attack via Dual-Path Runtime Integrity Game12 Apr 2026
- 2026Making Theft Useless: Adulteration-Based Protection of Proprietary Knowledge Graphs in GraphRAG Systems1 Jan 2026
- 2025TokenPure: Watermark Removal through Tokenized Appearance and Structural Guidance1 Dec 2025
- 2025Position: LLM Watermarking Should Align Stakeholders' Incentives for Practical Adoption21 Oct 2025
- 2025ImageSentinel: Protecting Visual Datasets from Unauthorized Retrieval-Augmented Image Generation14 Oct 2025
- 2025Safeguarding Multimodal Knowledge Copyright in the RAG-as-a-Service Environment10 Jun 2025
- 2025Boosting Adversarial Transferability via Commonality-Oriented Gradient Optimization8 Jun 2025
- 2025In-Context Watermarks for Large Language Models22 May 2025
Similar, not cited
Close in wording, no citation either way
- 2025RAG-WM: An Efficient Black-Box Watermarking Approach for Retrieval-Augmented Generation of Large Language Models
- 2025Who Stole Your Data? A Method for Detecting Unauthorized RAG Theft
- 2026Towards Secure Retrieval-Augmented Generation: A Comprehensive Review of Threats, Defenses and Benchmarks
- 2025Privacy-Aware RAG: Secure and Isolated Knowledge Retrieval
- 2024Pirates of the RAG: Adaptively Attacking LLMs to Leak Knowledge Bases
- 2025DuFFin: A Dual-Level Fingerprinting Framework for LLMs IP Protection
- 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)
- 2025External Data Extraction Attacks against Retrieval-Augmented Large Language Models