← Lab /AI/ML

Embedding-space watermarks enable providers to audit document reuse in third-party RAG

Providers can reliably detect when their copyrighted documents are reused by a non-cooperative RAG service using semantic watermarks

AI/ML arXiv 3 Sep 2026 Method Prototype evidence

Published as “Rent-a-RAG: Embedding-Space Watermarks for Auditing Third-Party RAG”

Why it matters

Providers can audit third-party RAG services for unauthorized reuse of their corpora without needing cooperation from the operator, enabling enforceable licensing and revenue attribution.

Summary

DirBucket detects document reuse in third-party RAG with strong statistical power, finding every target provider within 23 audited answers and producing zero non-target activations. The watermark survives paraphrasing, style variation, and adversarial laundering, and utility loss is negligible. Evidence comes from a synthetic multi-provider benchmark and a real-domain benchmark, but detection can fail when answers are heavily compressed or only a small fraction of the corpus is watermarked.

What they found 2

  1. All target audits are detected within 23 audited answers.

    “all target audits are detected within 23 audited answers.”

  2. Non-target providers never accumulate enough evidence to trigger a detection.

    “while the decision-eligible max non-target pooled Z stays at 0: non-target providers never gain enough support.”

Caveats 5

  • Detection drops under extreme answer compression: Compression 25% yields a median Z of 4.92 and only 24/30 detections.
  • When only ~30% of sentences are watermarked, targets are detected in 19 of 30 audits.
  • DirBucket is not a universal watermark for all RAG content. First, it assumes that the provider can proactively modify the source corpus before deployment and that meaning-preserving paraphrase is permissible. This makes the method unsuitable for immutable or wording-sensitive documents, such as contracts, statutes, regulatory text, legal filings, safety-critical instructions, quotations, or records where the exact wording itself carries normative or evidentiary force.
  • It does not directly address tables, figures, images, audio, video, or other multimodal knowledge-base content, and it is not designed for artifacts like source code, where paraphrastic rewriting may alter behavior even if topical meaning appears preserved.
  • We remove the need to trust the RAG operator’s self-reports, but still assume an authorized auditor that securely holds provider audit keys, accesses their corpora, and executes the audit honestly.

What’s new here 4

  • Provider-side embedding-space watermark that survives paraphrastic generation.
  • Black-box auditing using directional evidence and BH/FDR statistical testing without operator cooperation.
  • Support for multi-provider mixing where answers combine content from several sources.
  • Demonstrated transfer to real-world clinical, cyber-threat-intelligence, and legal corpora.