mlsanityData to 7 Oct 2026

RAG-WM: An Efficient Black-Box Watermarking Approach for Retrieval-Augmented Generation of Large Language Models

arXiv 2501.05249 ↗First posted 9 Jan 2025cs.CR cs.AIcited by 6

On the map: Retrieval-augmented generation → Privacy and security of RAG

also in 1 more
Abstract (arXiv)

In recent years, tremendous success has been witnessed in Retrieval-Augmented Generation (RAG), widely used to enhance Large Language Models (LLMs) in domain-specific, knowledge-intensive, and privacy-sensitive tasks. However, attackers may steal those valuable RAGs and deploy or commercialize them, making it essential to detect Intellectual Property (IP) infringement. Most existing ownership protection solutions, such as watermarks, are designed for relational databases and texts. They cannot be directly applied to RAGs because relational database watermarks require white-box access to detect IP infringement, which is unrealistic for the knowledge base in RAGs. Meanwhile, post-processing by the adversary's deployed LLMs typically destructs text watermark information. To address those problems, we propose a novel black-box "knowledge watermark" approach, named RAG-WM, to detect IP infringement of RAGs. RAG-WM uses a multi-LLM interaction framework, comprising a Watermark Generator, Shadow LLM & RAG, and Watermark Discriminator, to create watermark texts based on watermark entity-relationship tuples and inject them into the target RAG. We evaluate RAG-WM across three domain-specific and two privacy-sensitive tasks on four benchmark LLMs. Experimental results show that RAG-WM effectively detects the stolen RAGs in various deployed LLMs. Furthermore, RAG-WM is robust against paraphrasing, unrelated content removal, knowledge insertion, and knowledge expansion attacks. Lastly, RAG-WM can also evade watermark detection approaches, highlighting its promising application in detecting IP infringement of RAG systems.

Key facts. Cited by 6 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 19 of its 49 references that are in the map. First posted on arXiv 9 Jan 2025.

Builds on

19 of 49 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Is My Data in Your Retrieval Database? Membership Inference Attacks Against Retrieval Augmented Generation30 May

Other references · 18

  1. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  2. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
  3. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
  4. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 911
  5. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
  6. 2023Active Retrieval Augmented Generationcited by 506
  7. 2023Detecting Language Model Attacks with Perplexitycited by 411
  8. 2023Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defensecited by 401
  9. 2018Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by Backdooringcited by 334
  10. 2020Entangled Watermarks as a Defense against Model Extractioncited by 144
  11. 2022Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answeringcited by 126
  12. 2024Revolutionizing Finance with LLMs: An Overview of Applications and Insightscited by 88
6 more
  1. 2023Watermarking Text Generated by Black-Box Language Modelscited by 68
  2. 2024BiomedRAG: A Retrieval Augmented Large Language Model for Biomedicinecited by 30
  3. 2023DeepTextMark: A Deep Learning-Driven Text Watermarking Approach for Identifying Large Language Model Generated Textcited by 19
  4. 2024Revisiting the Robustness of Watermarking to Paraphrasing Attackscited by 19
  5. 2024Ward: Provable RAG Dataset Inference via LLM Watermarkscited by 15
  6. 2018A Comprehensive Survey of Watermarking Relational Databases Researchcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 3.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Who Stole Your Data? A Method for Detecting Unauthorized RAG Theft
  2. 2025Dataset Protection via Watermarked Canaries in Retrieval-Augmented LLMs
  3. 2024Pirates of the RAG: Adaptively Attacking LLMs to Leak Knowledge Bases
  4. 2025Towards Copyright Protection for Knowledge Bases of Retrieval-augmented Language Models via Reasoning
  5. 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)
  6. 2025RAG Security and Privacy: Formalizing the Threat Model and Attack Surface
  7. 2026SentinelRAG: Synthetic Sentinel Knowledge for RAG Database Copyright Protection
  8. 2025Token-Level Precise Attack on RAG: Searching for the Best Alternatives to Mislead Generation