atlas

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

Optimizing Watermarks for Large Language Models

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

Formulates the identifiability-vs-text-quality trade-off of green-red LLM watermarks as a multi-objective optimization and derives Pareto-optimal "OPT" watermarks that outperform KGW, DiP and ITS on the test-text trade-off.

Problem

Watermarks for LLM-generated text trade off identifiability (detection power) against degradation of text quality; there is no systematic way to optimize this trade-off within the class of robust, efficient green-red split watermarks.

Approach

Translate the test-text trade-off into a bi-objective problem (maximize expected green-list count, minimize expected log-perplexity shift) over a general class of shift functions; the Pareto-optimal solution shifts probability fully to green tokens whenever the per-token expected damage B is below a threshold beta, and leaves the distribution unchanged otherwise.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use OPT instead of KGW, DiP, or ITSOPT-1.3B watermarking · C4test-text trade-off using expected green-list tokens and expected log-perplexityHelped
Use OPT instead of KGWBART-large watermarking · CNN-DM text summarizationtest-text trade-off using test power and ROUGE-1Hurt
Use OPT instead of KGWMultilingual BART watermarking · WMT 2016 English-to-Romaniantest-text trade-off using test power and ROUGE-1Hurt
Use OPT instead of OPT′OPT watermarking · OPT-350mtest-text trade-off using expected log-perplexityNo clear effect
Use OPT′ instead of OPTOPT watermarking · OPT-350mtest-text trade-off using expected log-perplexity squared plus between-token varHelped
Apply KGW or OPT watermarkingLLM text generation · C4bigram and trigram diversityHurt
Use OPT rather than other watermarksLLM text generation · C4bigram and trigram diversityHurt
Use DiP rather than the original LLMLLM text generation · C4bigram and trigram diversityHurt
Use DiP rather than the original LLMLLM text generation · CNN-DM summarization and WMT 2016 translationidentifiabilityHurt
Use ITS with beam searchLLM text generation · CNN-DM summarization and WMT 2016 translationROUGE-1Hurt
Use OPT′ instead of OPTLLM text generation · OPT-350mexpected log-perplexityNo clear effect
Use stronger watermarksKGW and OPT · C4dependence between green-token eventsHurt

Surprising findings

Limitations

Experimental setup

Datasets: C4 CNN-DM WMT 2016

Benchmarks: C4 news continuation CNN-DM WMT 2016 English-Romanian

Metrics: expected green-list tokens log-perplexity power of the test ROUGE-1 n-gram diversity KL divergence

Baselines: KGW hard watermark DiP ITS

Builds on: KGW watermark distribution-preserving watermark inverse transform sampling watermark

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