Towards Copyright Protection for Knowledge Bases of Retrieval-augmented Language Models via Reasoning
On the map: LLM reasoning → Knowledge- and tool-augmented reasoning
also in 2 more
Abstract (arXiv)
Large language models (LLMs) are increasingly integrated into real-world personalized applications through retrieval-augmented generation (RAG) mechanisms to supplement their responses with domain-specific knowledge. However, the valuable and often proprietary nature of the knowledge bases used in RAG introduces the risk of unauthorized usage by adversaries. Existing methods that can be generalized as watermarking techniques to protect these knowledge bases typically involve poisoning or backdoor attacks. However, these methods require altering the LLM's results of verification samples, inevitably making these watermarks susceptible to anomaly detection and even introducing new security risks. To address these challenges, we propose name for `harmless' copyright protection of knowledge bases. Instead of manipulating LLM's final output, name implants distinct yet benign verification behaviors in the space of chain-of-thought (CoT) reasoning, maintaining the correctness of the final answer. Our method has three main stages: (1) Generating CoTs: For each verification question, we generate two `innocent' CoTs, including a target CoT for building watermark behaviors; (2) Optimizing Watermark Phrases and Target CoTs: Inspired by our theoretical analysis, we optimize them to minimize retrieval errors under the black-box and text-only setting of suspicious LLM, ensuring that only watermarked verification queries can retrieve their correspondingly target CoTs contained in the knowledge base; (3) Ownership Verification: We exploit a pairwise Wilcoxon test to verify whether a suspicious LLM is augmented with the protected knowledge base by comparing its responses to watermarked and benign verification queries. Our experiments on diverse benchmarks demonstrate that name effectively protects knowledge bases and its resistance to adaptive attacks.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 14 of its 60 references that are in the map. First posted on arXiv 10 Feb 2025.
Builds on
14 of 60 references.
References · 14
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2019Passage Re-ranking with BERTcited by 629
- 2022MTEB: Massive Text Embedding Benchmarkcited by 623
- 2023Detecting Language Model Attacks with Perplexitycited by 411
- 2023Certifying LLM Safety against Adversarial Promptingcited by 248
- 2023Jina Embeddings 2: 8192-Token General-Purpose Text Embeddings for Long Documentscited by 103
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Surveycited by 70
- 2024TrojanRAG: Retrieval-Augmented Generation Can Be Backdoor Driver in Large Language Modelscited by 63
- 2024Mitigating the Privacy Issues in Retrieval-Augmented Generation (RAG) via Pure Synthetic Datacited by 52
- 2024Feedback-Guided Extraction of Knowledge Base from Retrieval-Augmented LLM Applicationscited by 36
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Modelscited by 22
- 2025Dataset Protection via Watermarked Canaries in Retrieval-Augmented LLMscited by 11
- 2026Echoes within the Reasoning: Stealthy and Effective Watermarking via Chain of Thoughtcited by 2
- 2026Echoes within the Reasoning: Stealthy and Effective Watermarking via Chain of Thought27 May 2026
- 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Models4 Sep 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
- 2025Dataset Protection via Watermarked Canaries in Retrieval-Augmented LLMs15 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2024Pirates of the RAG: Adaptively Attacking LLMs to Leak Knowledge Bases
- 2026Distilling the Thought, Watermarking the Answer: A Principle Semantic Guided Watermark for Large Reasoning Models
- 2026Protecting Language Models Against Unauthorized Distillation through Trace Rewriting
- 2024"Glue pizza and eat rocks" -- Exploiting Vulnerabilities in Retrieval-Augmented Generative Models
- 2025Privacy-Aware RAG: Secure and Isolated Knowledge Retrieval
- 2025RAG-WM: An Efficient Black-Box Watermarking Approach for Retrieval-Augmented Generation of Large Language Models
- 2023WatME: Towards Lossless Watermarking Through Lexical Redundancy
- 2025Who Stole Your Data? A Method for Detecting Unauthorized RAG Theft