atlas

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

A Resilient and Accessible Distribution-Preserving Watermark for Large Language Models

ICML 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.

Proposes DiPmark, a permutation-based DiP-reweight watermark for LLMs that provably preserves the token distribution, is detectable without the LM or prompt, and is provably robust to text modifications with a guaranteed FPR.

Problem

Existing LLM watermarks either distort the sampling distribution, lack robustness to edits, need thousands of resampling steps or LM API/prompt access at detection, and use z-test statistics with imprecise false-positive guarantees.

Approach

Reweight token probabilities over a random permutation (cipher) by mixing two probability-interval reweights (alpha and 1-alpha) so the expected watermarked distribution equals the original; detection uses an exact binomial-based green token ratio with a KL-based concentration bound and a certified radius under arbitrary edits.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply DiPmark (α=0.45) instead of no watermarkMBart · WMT'14 En-Ro testBLEU: 21.8±0.3 -> 21.9±0.3No clear effect
Apply Soft watermark (δ=2.0) instead of no watermarkMBart · WMT'14 En-Ro testBLEU: 21.8±0.3 -> 19.4±0.3Hurt
Apply DiPmark (α=0.45) instead of no watermarkBART-large · CNN-DM testPerplexity: 5.021±0.018 -> 5.024±0.018No clear effect
Apply Soft watermark (δ=2.0) instead of no watermarkBART-large · CNN-DM testPerplexity: 5.021±0.018 -> 6.241±0.023Hurt
Use DiPmark (α=0.45) instead of Soft watermarkLLaMA-2 text generation · 1,000 sequencesdetection time: 92s -> 90sNo clear effect
Use DiPmark (α=0.45) rather than Soft watermarkLLaMA-2 text generation · random modification ε=0.2AUC: 0.9521 -> 0.9515No clear effect
Use DiPmark (α=0.45) rather than Soft watermarkLLaMA-2 text generation · paraphrasing ε=0.3AUC: 0.8157 -> 0.8216Helped
Increase α from 0.45 to 0.5 (ablation)DiPmark on LLaMA-2 · text generation, z=1.517/√nTPR: 0.9794 -> 0.9827No clear effect
Increase α from 0.45 to 0.5 (ablation)DiPmark on LLaMA-2 · text generation, z=1.073/√nTPR: 1.0000 -> 1.0000No clear effect
Increase α from 0.3 to 0.35 (ablation)DiPmark on MBart · WMT'14 En-Ro testBLEU: 22.0±0.3 -> 22.1±0.3No clear effect
Increase α from 0.45 to 0.5 (ablation)DiPmark on MBart · WMT'14 En-Ro testBLEU: 21.9±0.3 -> 21.8±0.3No clear effect
Increase α from 0.3 to 0.35 (ablation)DiPmark on BART-large · CNN-DM testPerplexity: 5.014±0.018 -> 4.998±0.018No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: WMT'14 En-Ro CNN-DM

Benchmarks: WMT'14 En-Ro CNN-DM

Metrics: BERTScore BLEU ROUGE perplexity AUC FPR FNR TPR TNR detection time

Baselines: Soft watermark (delta=1.0, 1.5, 2.0) ITS delta-watermark z-test detector

Builds on: Kirchenbauer et al. red-green list watermark (Soft watermark) Kuditipudi et al. inverse-sampling watermark (ITS) delta-reweight unbiased watermark SHA-256 hashing

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