mlsanityData to 7 Oct 2026

Dataset Protection via Watermarked Canaries in Retrieval-Augmented LLMs

arXiv 2502.10673 ↗First posted 15 Feb 2025cs.CR cs.CLcited by 11

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

  1. 2025Towards Copyright Protection for Knowledge Bases of Retrieval-augmented Language Models via Reasoning10 Feb
  2. 2024CPR: Retrieval Augmented Generation for Copyright Protection27 Mar
  3. 2024Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systems27 Feb

Other references · 28

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  3. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
  4. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
  5. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  6. 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
  7. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
  8. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 402
  9. 2023Robust Distortion-free Watermarks for Language Modelscited by 279
  10. 2023Provable Robust Watermarking for AI-Generated Textcited by 259
  11. 2024QuRating: Selecting High-Quality Data for Training Language Modelscited by 153
  12. 2021Dataset Inference: Ownership Resolution in Machine Learningcited by 115
16 more
  1. 2024LLM Dataset Inference: Did you train on my dataset?cited by 107
  2. 2023A Semantic Invariant Robust Watermark for Large Language Modelscited by 97
  3. 2024MarkLLM: An Open-Source Toolkit for LLM Watermarkingcited by 80
  4. 2024A Statistical Framework of Watermarks for Large Language Models: Pivot, Detection Efficiency and Optimal Rulescited by 53
  5. 2023Domain Watermark: Effective and Harmless Dataset Copyright Protection is Closed at Handcited by 52
  6. 2024WaterMax: breaking the LLM watermark detectability-robustness-quality trade-offcited by 48
  7. 2024Robustifying Safety-Aligned Large Language Models through Clean Data Curationcited by 43
  8. 2024Image Watermarks are Removable Using Controllable Regeneration from Clean Noisecited by 43
  9. 2024GumbelSoft: Diversified Language Model Watermarking via the GumbelMax-trickcited by 31
  10. 2024Robust Detection of Watermarks for Large Language Models Under Human Editscited by 29
  11. 2023TrojText: Test-time Invisible Textual Trojan Insertioncited by 26
  12. 2023Watermarking Text Data on Large Language Models for Dataset Copyrightcited by 24
  13. 2024Can Watermarking Large Language Models Prevent Copyrighted Text Generation and Hide Training Data?cited by 15
  14. 2024Distortion-free Watermarks are not Truly Distortion-free under Watermark Key Collisionscited by 10
  15. 2024WaterSeeker: Pioneering Efficient Detection of Watermarked Segments in Large Documentscited by 9
  16. 2025Distributional Information Embedding: A Framework for Multi-bit Watermarkingcited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 5.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025RAG-WM: An Efficient Black-Box Watermarking Approach for Retrieval-Augmented Generation of Large Language Models
  2. 2025Who Stole Your Data? A Method for Detecting Unauthorized RAG Theft
  3. 2026Towards Secure Retrieval-Augmented Generation: A Comprehensive Review of Threats, Defenses and Benchmarks
  4. 2025Privacy-Aware RAG: Secure and Isolated Knowledge Retrieval
  5. 2024Pirates of the RAG: Adaptively Attacking LLMs to Leak Knowledge Bases
  6. 2025DuFFin: A Dual-Level Fingerprinting Framework for LLMs IP Protection
  7. 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)
  8. 2025External Data Extraction Attacks against Retrieval-Augmented Large Language Models