atlas

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

STAMP Your Content: Proving Dataset Membership via Watermarked Rephrasings

ICML 2025 · Large language models › Language, safety and interpretability · approach: Text watermarking

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.

Proposes STAMP, which releases one KGW-watermarked LLM rephrasing of a dataset publicly, keeps several differently keyed rephrasings private, and runs a paired t-test on perplexity differences to prove pretraining membership.

Problem

Content creators and benchmark curators need a reliable third-party way to prove that their dataset was included in LLM pretraining data, without relying on unseen validation sets or machine-unreadable perturbations.

Approach

Use LLM watermarks (KGW) on rephrasings of the same document with distinct hash keys so that public and private versions are generated by the same process; a paired t-test on perplexity differences then tests whether the model prefers the publicly released version, avoiding the bias toward LLM-generated text that confounds human-vs-rephrase comparisons.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use STAMP’s paired test on watermarked public and private rephrasesPythia 1B contaminated with benchmark examples · TriviaQA, Arc-C, MMLU, GSM8Kp-value: TriviaQA: 1.6e-3 -> 1.2e-4; Arc-C: 0.33 -> 2.8e-4; MMLU: 0.19 -> 7.0e-4; GSM8K: 0.21 -> 6.6e-6Helped
add paired tests (ablation)STAMP · TriviaQA, Arc-C, MMLU, GSM8Kp-value: TriviaQA: 0.14 -> 1.2e-4; Arc-C: 0.07 -> 2.8e-4; MMLU: 0.08 -> 7.0e-4; GSM8K: 0.02 -> 6.6e-6Helped
add watermarking to generated rephrases (ablation)STAMP · TriviaQA, Arc-C, MMLU, GSM8Kp-value: TriviaQA: 0.02 -> 1.2e-4; Arc-C: 5.1e-3 -> 2.8e-4; MMLU: 0.02 -> 7.0e-4; GSM8K: 1.4e-3 -> 6.6e-6Helped
use STAMP instead of LLM DI with a different validation setPythia 1B contaminated with benchmark examples · TriviaQA, Arc-C, MMLU, GSM8Kp-value: TriviaQA: 0.02 -> 1.2e-4; Arc-C: 0.53 -> 2.8e-4; MMLU: 0.03 -> 7.0e-4; GSM8K: 0.71 -> 6.6e-6Helped
use STAMP instead of radioactivity-based detectionPythia 1B contaminated with benchmark examples · Arc-C and MMLUp-value: Arc-C: 0.61 -> 0; MMLU: 0.13 -> 0Helped
increase the number of private keys up to 5 (ablation)STAMP · Benchmark contaminationp-valueHelped
increase private key count beyond 5 (ablation)STAMP · Benchmark contaminationp-valueNo clear effect
increase benchmark size to 600 examples (ablation)STAMP · Benchmark contaminationp-value: 600; ≈ 10^-3Helped
increase the proportion of contaminated examples (ablation)STAMP · Partially contaminated benchmarksp-value: 40%; 10^{-3}Helped
increase pretraining corpus size (ablation)STAMP · Benchmark contaminationp-value: 4 billion; 6 billionHurt
watermark and rephrase benchmark questions instead of using original or Unicode-substituted versionsLLM benchmark evaluation · ARC-C, MMLU, TriviaQA, GSM8Kbenchmark performance: STAMP scores: ARC-C 26.3, MMLU 28.8, TriviaQA 11.4, GSM8K 2.2Mixed
watermark and rephrase benchmark questionsSTAMP watermarked rephrases · TriviaQA, Arc-C, MMLU, GSM8KP-SP: 0.91, 0.83, 0.86, 0.90Helped

Surprising findings

Limitations

Experimental setup

Datasets: TriviaQA ARC-C MMLU GSM8K OpenWebText EMNLP 2024 abstracts AI Snake Oil newsletter posts

Benchmarks: TriviaQA ARC-C MMLU GSM8K

Metrics: p-value AUROC P-SP semantic similarity accuracy on original vs watermarked benchmarks GPT-4 quality ratings human author study

Baselines: PaCoST LLM DI PPL Zlib Min-K% Min-K%++ DC-PDD Unicode substitution watermark Radioactivity

Builds on: KGW watermark PaCoST LLM DI Waterfall

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