atlas

Research map / Large language models / Language, safety and interpretability

Ward: Provable RAG Dataset Inference via LLM Watermarks

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Text watermarking · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Formalizes black-box RAG dataset inference (RAG-DI), introduces the FARAD fact-redundant fictional article dataset, and proposes WARD, which watermarks a data owner's documents and aggregates watermark p-values from black-box RAG queries for statistically guaranteed dataset-level detection.

Problem

Detecting unauthorized use of a data owner's document collection in a RAG system's retrieval corpus via black-box queries, with statistical guarantees, under realistic conditions including fact redundancy and no training-data contamination.

Approach

Proactively watermark each document with red-green LLM watermarks, query the RAG system with content-related questions, and combine the resulting responses' green-token counts into a joint p-value; the watermark signal propagates through retrieval into responses, giving provable Type-1 error control without training or adaptation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use watermark-based Ward instead of the strongest baselineRAG dataset inference · FARAD HardaccuracyHelped
Use Facts instead of other baselinesRAG dataset inference · FARAD EasyaccuracyHelped
Add a defense system promptIBM and SIB · FARAD Easyfalse negativesHurt
Increase the number of queried documentsWard · FARAD HardaccuracyHelped
Increase the number of queried documentsSIB · FARAD HardaccuracyMixed
Increase watermark strength δ above 4.5 (ablation)Ward · FARAD Hardquery efficiencyHurt
Use watermark strength δ in [3.5,4.5] (ablation)Ward · FARAD Hardcumulative accuracyHelped
Increase watermark context size from h=2 to h=4 (ablation)Ward · FARAD Hardaccuracy: 100\% -> 80\%Hurt
Increase the number of retrieved documents k (ablation)Ward · FARAD HardaccuracyNo clear effect
Ask multiple questions per document (ablation)Ward · FARAD Hardquery efficiencyMixed
Apply MemFree decoding to prevent n-gram overlap (ablation)Ward · FARAD HardaccuracyNo clear effect
Use an end-to-end RAG system instead of perfect retrieval (ablation)Ward · FARAD Easy and FARAD HardaccuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: RepliQA EnronEmails HealthcareMagic

Benchmarks: FARAD Easy FARAD Hard

Metrics: accuracy p-value true positive rate false positive rate text quality score

Baselines: IBM-style RAG MIA (direct prompting) SIB-style RAG MIA (similarity and perplexity) FACTS

Builds on: red-green watermarks RAG membership inference attacks PositionPRF MemFree decoding RepliQA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy