atlas

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

On the Reliability of Watermarks for Large Language Models

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

Re-examines watermark reliability for LLM text under human rewriting, GPT-3.5 and Dipper paraphrasing, and copy-paste insertion, proposing improved hashing (SelfHash) and a windowed detector (WinMax) and comparing against DetectGPT, RADAR and retrieval.

Problem

Whether LLM watermarks remain detectable in realistic settings where generated text is paraphrased by humans or LLMs or mixed into larger human-written documents.

Approach

Generalizes the Kirchenbauer et al. green-list watermark with improved context hashing (SelfHash with Min-based seeding, h=4) and a windowed z-test (WinMax) for detecting short watermarked spans inside long documents, and evaluates detection as a function of token count under attacks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
paraphrase watermarked text with GPT-3.5 or DipperWatermark detection on LLaMA-7B text · Machine paraphrasing, T=200 and T=600ROC-AUC: 0.05-0.15 points AUCHurt
observe more tokens after GPT or Dipper paraphrasingWatermark detection · Machine paraphrasingROC-AUC: > 0.9Helped
insert watermarked spans into a larger human-written documentWatermark detection · Copy-Paste, 25% watermarked textAUC: below 0.7 for 200 tokens; below 0.85 for 600 tokensHurt
insert watermarked text into a 600-token human-written passageWatermark detection · Copy-Paste, 150 watermarked tokensAUC: above 0.95Helped
have human writers paraphrase with the goal of removing the watermarkWatermark detection · Human paraphrasestokens required for detection at 1e-5 false positive rate: about 800Hurt
use WinMax instead of global z-score detectionWatermark detector · Copy-Paste attacksdetection performance at low FPRHelped
increase context width and use Skip or Min hashing rather than Additive hashing (ablation)Watermark hashing scheme · GPT paraphrasing attackROC-AUCHelped
use Min hashing rather than Additive or Skip hashing (ablation)Watermark hashing scheme · Watermarked text generationtext diversityHurt
increase watermark strength with Additive-LeftHash at context width 1 (ablation)Watermark generation · Open-ended text generationtext diversityHurt
increase watermark strength with Skip-LeftHash at context width 4 (ablation)Watermark generation · Open-ended text generationtext diversityHelped
apply LeftHash watermark (ablation)Llama2-7B-chat · TriviaQAanswer includes target: 0.523 -> 0.517No clear effect
apply SelfHash watermark (ablation)Llama2-7B-chat · TriviaQAanswer includes target: 0.523 -> 0.524No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: C4 ELI5 (LFQA) TriviaQA

Benchmarks: C4 open-ended generation ELI5 LFQA human paraphrase study TriviaQA

Metrics: ROC-AUC AUC @ T TPR at low FPR z-score P-SP log diversity

Baselines: DetectGPT RADAR Retrieval (BM25) LeftHash watermark

Builds on: Kirchenbauer et al. LLM watermark DetectGPT RADAR DIPPER

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