atlas

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

No Free Lunch in LLM Watermarking: Trade-offs in Watermarking Design Choices

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Text watermarking · 4 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 common LLM watermark design choices (robustness, multiple keys, public detection APIs) enable piggyback spoofing, multi-key watermark removal, and API-based removal/spoofing attacks, and proposes a differential-privacy-style detection defense against spoofing.

Problem

Common design choices in LLM watermarking (robustness to edits, multiple secret keys against stealing, public detection APIs) may make watermarks susceptible to removal and spoofing attacks.

Approach

Identifies that properties meant to improve watermarks (robustness, multi-key defense, public detection) can be exploited: piggyback spoofing via inserting toxic tokens into robust watermarked text, removal by estimating the unwatermarked distribution from multiple keyed queries, and removal/spoofing via detection-API feedback; proposes adding PRF-seeded Gaussian noise to detection scores as a DP-

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Exploit the public detection API to select low-detection-score tokensKGW watermark on LLAMA-2-7B · Detection API watermark removalASR: 1.00Helped
Exploit the public detection API to choose high-detection-score tokensKGW watermark on LLAMA-2-7B · Detection API spoofingASR: 0.98Helped
Use multiple watermark keys instead of a single keyKGW watermark · Watermark stealingASR: 91% -> 13%Hurt
Use more than 7 watermark keysMultiple-key watermark · Watermark stealingASR: 91% -> close to zeroHurt
Use more than 7 watermark keysMultiple-key watermark · Watermark removalASR: higher than 97%Helped
Insert toxic tokens into robustly watermarked textRobust LLM watermarks · Piggyback spoofingmedian inserted toxic-token portion: higher than 20%Helped
Edit fewer than 3 words to make watermarked text inaccurateKGW watermark on LLAMA-2-7B · Piggyback spoofingz-score above threshold 4: 94.17%Helped
Exploit the detection API to select low-confidence tokensKGW watermark on LLAMA-2-7B · Watermark removalmedian z-score: 1.43 vs. threshold 4Hurt
Exploit the detection API for watermark removalKGW watermark on LLAMA-2-7B · Watermark removalPPL: 6.28 -> 6.17No clear effect
Add sentence-specific pseudorandom DP noise with σ=4KGW detection on LLAMA-2-7B · Spoofing defensespoofing ASR: 0%Hurt
Add sentence-specific pseudorandom DP noise with σ=4KGW detection on LLAMA-2-7B · Detection utilitydetection accuracy: 98.2% -> 97.2%Hurt
Increase the number of watermark keysMultiple-key watermark · Watermark removalPPLHelped

Surprising findings

Limitations

Experimental setup

Datasets: OpenGen

Benchmarks: OpenGen

Metrics: z-score p-value perplexity attack success rate accuracy number of queries

Baselines: KGW Unigram Exp watermark stealing attack

Builds on: KGW Unigram Exp watermark differential privacy

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