atlas

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

An Unforgeable Publicly Verifiable Watermark for Large Language Models

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

Proposes UPV, a publicly verifiable LLM watermark where a neural watermark generator (sharing token embeddings) is paired with a separate LSTM detector that takes only text, so detection does not expose the generation key.

Problem

Existing LLM watermark detectors need the secret generation key, so public detection exposes the key and lets third parties forge watermarks.

Approach

Replace the shared secret key with two neural networks: a watermark generator that labels candidate tokens from a local window, and an LSTM detector trained on generator-labeled random token-ID sequences; the two share frozen token embeddings so the detector learns quickly, and the detector works on whole texts without per-token labels.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the UPV network-based detector instead of key-based z-score detectionWatermarked text detection · C4 and DBpedia Class, Top-K sampling and Beam Search across GPT-2, OPT 1.3B, and LLaMA 7BF1: GPT-2: 99.7 -> 99.3 (C4, Top-K); 99.9 -> 99.0 (DBpedia, Top-K); 99.8 -> 99.6 (C4, Beam); 99.9 -> 99.6 (DBpedia, Beam). OMixed
Add shared generator/detector embedding layers without fine-tuning (ablation)UPV detector · C4 and DBpedia Class, Top-K sampling; GPT-2, OPT 1.3B, and LLaMA 7BF1: GPT-2 C4: 0.5 -> 99.3; DBpedia: 47.5 -> 99.0. OPT 1.3B C4: 0.0 -> 97.5; DBpedia: 1.3 -> 98.0. LLaMA 7B C4: 31.4 -> 98.2;Helped
Fine-tune the shared embedding layers during detector training (ablation)UPV detector · C4 and DBpedia Class, Top-K sampling; GPT-2 and OPT 1.3BF1: GPT-2 C4: 99.3 -> 90.9; DBpedia: 99.0 -> 92.5. OPT 1.3B C4: 97.5 -> 87.3; DBpedia: 98.0 -> 84.8Hurt
Fine-tune the shared embedding layers during detector training (ablation)UPV detector · C4 and DBpedia Class, Top-K sampling; LLaMA 7BF1: C4: 98.2 -> 87.8; DBpedia: 97.5 -> 79.6Hurt

Surprising findings

Limitations

Experimental setup

Datasets: C4 DBpedia Class WMT14

Benchmarks: C4 DBpedia Class WMT14

Metrics: F1 FPR FNR perplexity BLEU

Baselines: Key-based z-score watermark detection

Builds on: KGW green-red list watermark z-score test LSTM

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