RAG-WM: An Efficient Black-Box Watermarking Approach for Retrieval-Augmented Generation of Large Language Models
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
Other references · 18
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 911
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2023Active Retrieval Augmented Generationcited by 506
- 2023Detecting Language Model Attacks with Perplexitycited by 411
- 2023Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defensecited by 401
- 2018Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by Backdooringcited by 334
- 2020Entangled Watermarks as a Defense against Model Extractioncited by 144
- 2022Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answeringcited by 126
- 2024Revolutionizing Finance with LLMs: An Overview of Applications and Insightscited by 88
6 more
- 2023Watermarking Text Generated by Black-Box Language Modelscited by 68
- 2024BiomedRAG: A Retrieval Augmented Large Language Model for Biomedicinecited by 30
- 2023DeepTextMark: A Deep Learning-Driven Text Watermarking Approach for Identifying Large Language Model Generated Textcited by 19
- 2024Revisiting the Robustness of Watermarking to Paraphrasing Attackscited by 19
- 2024Ward: Provable RAG Dataset Inference via LLM Watermarkscited by 15
- 2018A Comprehensive Survey of Watermarking Relational Databases Researchcited by 4
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2025Silent Leaks: Implicit Knowledge Extraction Attack on RAG Systems through Benign Queriescited by 19
- 2026Confundo: Learning to Generate Robust Poison for Practical RAG Systemscited by 5
- 2025Distributed Retrieval-Augmented Generationcited by 2
- 2026Making Theft Useless: Adulteration-Based Protection of Proprietary Knowledge Graphs in GraphRAG Systemscited by 2
- 2026Agent-Assisted Side-Channel Attacks on Non-Prefix KV Cache in RAGcited by 2
- 2025Safeguarding Multimodal Knowledge Copyright in the RAG-as-a-Service Environmentcited by 1
- 2026Agent-Assisted Side-Channel Attacks on Non-Prefix KV Cache in RAG20 Jun 2026
- 2026Confundo: Learning to Generate Robust Poison for Practical RAG Systems6 Feb 2026
- 2026Making Theft Useless: Adulteration-Based Protection of Proprietary Knowledge Graphs in GraphRAG Systems1 Jan 2026
- 2025Safeguarding Multimodal Knowledge Copyright in the RAG-as-a-Service Environment10 Jun 2025
- 2025Silent Leaks: Implicit Knowledge Extraction Attack on RAG Systems through Benign Queries21 May 2025
- 2025Distributed Retrieval-Augmented Generation1 May 2025
Similar, not cited
Close in wording, no citation either way
- 2025Who Stole Your Data? A Method for Detecting Unauthorized RAG Theft
- 2025Dataset Protection via Watermarked Canaries in Retrieval-Augmented LLMs
- 2024Pirates of the RAG: Adaptively Attacking LLMs to Leak Knowledge Bases
- 2025Towards Copyright Protection for Knowledge Bases of Retrieval-augmented Language Models via Reasoning
- 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)
- 2025RAG Security and Privacy: Formalizing the Threat Model and Attack Surface
- 2026SentinelRAG: Synthetic Sentinel Knowledge for RAG Database Copyright Protection
- 2025Token-Level Precise Attack on RAG: Searching for the Best Alternatives to Mislead Generation