TY - JOUR
T1 - SARW
T2 - A Secure Semantic Watermarking Framework for Data Ownership and Attribution in RAG Knowledge Bases
AU - Wang, Yihan
AU - Zhang, Zijian
AU - Qin, Zhizhen
AU - Wang, Zhaoqi
AU - Li, Zhen
AU - Zhu, Liehuang
N1 - Publisher Copyright:
© 2004-2012 IEEE.
PY - 2026
Y1 - 2026
N2 - Retrieval-Augmented Generation (RAG) enhances the factual accuracy and temporal relevance of large language model (LLM) outputs by integrating external knowledge sources, driving its widespread adoption in real-world applications. However, this explicit dependence on retrievable knowledge repositories introduces significant risks of intellectual property (IP) leakage and unauthorized reuse, elevating IP protection in RAG systems to a critical concern. While text watermarking techniques have advanced considerably, they often fail in RAG contexts. LLMs frequently rephrase, summarize, or semantically reorganize retrieved content during generation, severely degrading the persistence and detectability of conventional watermarks embedded directly in source documents or outputs. To overcome this limitation, we propose Semantic Atom-based RAG Watermarking (SARW), a distributed watermarking framework purpose-built for RAG ecosystems. SARW decomposes copyright statements into structured semantic graphs and extracts verifiable semantic atoms. These atoms are covertly embedded into knowledge base documents using natural language steganography, with topic-aware matching and retrieval-ranking optimization ensuring alignment with semantically relevant host documents. Extensive experiments demonstrate SARW's efficacy: it achieves most configurations exceed 90% detection accuracy across general and domain-specific question-answering benchmarks while exhibiting resilience against knowledge-base tampering, paraphrasing, and partial retrieval attacks, validating its practicality for secure attribution in RAG knowledge bases through retrieved-context-level verification.
AB - Retrieval-Augmented Generation (RAG) enhances the factual accuracy and temporal relevance of large language model (LLM) outputs by integrating external knowledge sources, driving its widespread adoption in real-world applications. However, this explicit dependence on retrievable knowledge repositories introduces significant risks of intellectual property (IP) leakage and unauthorized reuse, elevating IP protection in RAG systems to a critical concern. While text watermarking techniques have advanced considerably, they often fail in RAG contexts. LLMs frequently rephrase, summarize, or semantically reorganize retrieved content during generation, severely degrading the persistence and detectability of conventional watermarks embedded directly in source documents or outputs. To overcome this limitation, we propose Semantic Atom-based RAG Watermarking (SARW), a distributed watermarking framework purpose-built for RAG ecosystems. SARW decomposes copyright statements into structured semantic graphs and extracts verifiable semantic atoms. These atoms are covertly embedded into knowledge base documents using natural language steganography, with topic-aware matching and retrieval-ranking optimization ensuring alignment with semantically relevant host documents. Extensive experiments demonstrate SARW's efficacy: it achieves most configurations exceed 90% detection accuracy across general and domain-specific question-answering benchmarks while exhibiting resilience against knowledge-base tampering, paraphrasing, and partial retrieval attacks, validating its practicality for secure attribution in RAG knowledge bases through retrieved-context-level verification.
KW - Intellectual property protection
KW - large language models
KW - retrieval-augmented generation
KW - semantic steganography
KW - text watermarking
UR - https://www.scopus.com/pages/publications/105043121366
U2 - 10.1109/TDSC.2026.3705017
DO - 10.1109/TDSC.2026.3705017
M3 - Article
AN - SCOPUS:105043121366
SN - 1545-5971
JO - IEEE Transactions on Dependable and Secure Computing
JF - IEEE Transactions on Dependable and Secure Computing
ER -