atlas

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

Watermark Stealing in Large Language Models

ICML 2024 · Large language models › Language, safety and interpretability · approach: Text watermarking · 6 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.

Shows that querying a watermarked LLM's API lets an attacker automatically steal approximate watermark rules, enabling cheap spoofing and greatly boosted scrubbing of KGW-family schemes, including KGW2-SelfHash.

Problem

LLM text watermarks were considered fit for deployment and robust to adversaries, but their vulnerability to attackers who reverse-engineer the secret watermarking rules via API queries (spoofing and scrubbing) was poorly understood, especially for the state-of-the-art KGW2-SelfHash scheme.

Approach

Introduces watermark stealing: an automated algorithm that estimates per-context green-token scores from watermarked API responses versus an auxiliary model's base distribution, then uses these scores to steer generation for spoofing (promote green tokens) and scrubbing (demote them), with partial-context heuristics to handle sparsity.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use stolen watermark scores to guide Dipper paraphrasingKGW2-SelfHash scrubbing · Dolly CWFNR* @1e-3: 0.02 -> 0.90Helped
Use stolen watermark scores to guide Dipper paraphrasingKGW2-SelfHash scrubbing · Reddit WritingPromptsFNR* @1e-3: 0.00 -> 0.79Helped
Use stolen watermark scores to guide Pegasus paraphrasingKGW2-SelfHash scrubbing · Dolly CWFNR* @1e-3: 0.15 -> 0.84Helped
Use stolen watermark scores to guide Dipper paraphrasingKGW2-Sum scrubbing · Dolly CWFNR* @1e-3: 0.79 -> 0.98Helped
Use stolen watermark scores to guide Dipper paraphrasingKGW-Soft scrubbing · Dolly CWFNR* @1e-3: 0.26 -> 0.85Helped
Remove partial-context scores from the watermark-stealing attacker (ablation)KGW2-SelfHash spoofing · Dolly CW, Llama2-7B owner, n=30,000 queriesFPR* @1e-6: around 80% to below 50%Hurt
Use Mistral-7B to spoof KGW2-SelfHashKGW2-SelfHash · Dolly CW, Llama-7B ownerFPR* @1e-3: 0.81Helped
Use KGW2-Sum instead of KGW2-SelfHashwatermark spoofing · Dolly CW, Llama-7B ownerFPR* @1e-3: 0.81 -> 0.54Hurt

Surprising findings

Limitations

Experimental setup

Datasets: C4 RealNewsLike Dolly-CW HarmfulQ AdvBench MMW BookReports MMW FakeNews Reddit WritingPrompts

Benchmarks: Dolly-CW HarmfulQ+AdvBench MMW BookReports MMW FakeNews Reddit WritingPrompts

Metrics: FPR*@1e-3 (spoofing success) FNR*@1e-3 (scrubbing success) median p-value perplexity GPT-4 quality score P-SP score

Baselines: DIPPER Pegasus paraphraser ChatGPT paraphrasing Recursive DIPPER Unigram KGW-Soft KGW-Hard KGW2-Sum

Builds on: KGW watermark SelfHash DIPPER paraphraser

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