Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

On the Learnability of Watermarks for Language Models

About

Watermarking of language model outputs enables statistical detection of model-generated text, which can mitigate harms and misuses of language models. Existing watermarking strategies operate by altering the decoder of an existing language model. In this paper, we ask whether language models can directly learn to generate watermarked text, which would have significant implications for the real-world deployment of watermarks. First, learned watermarks could be used to build open models that naturally generate watermarked text, enabling watermarking for open models, where users can control the decoding procedure. Second, if watermarking is used to determine the provenance of generated text, an adversary can hurt the reputation of a victim model by spoofing its watermark and generating damaging watermarked text. To investigate the learnability of watermarks, we propose watermark distillation, which trains a student model to behave like a teacher model that uses decoding-based watermarking. We test our approach on three decoding-based watermarking strategies and various hyperparameter settings, finding that models can learn to generate watermarked text with high detectability. We also find limitations to learnability, including the loss of watermarking capabilities under fine-tuning on normal text and high sample complexity when learning low-distortion watermarks.

Chenchen Gu, Xiang Lisa Li, Percy Liang, Tatsunori Hashimoto• 2023

Related benchmarks

TaskDatasetResultRank
Watermark DetectabilityC4 RealNewsLike (Del-0.2) (test)
AUC94.7
28
LLM Watermark SpoofingKGW
SSR60.3
20
Watermark SpoofingKGW Watermarking Scheme
SSR60.3
20
LLM Watermark SpoofingEWD
SSR55.5
20
Watermark SpoofingEWD (test)
SSR55.5
20
LLM Watermark SpoofingSWEET
SSR49.8
20
LLM Watermark SpoofingUnigram
SSR28
20
LLM Watermark SpoofingPF
SSR8.75
20
Watermark SpoofingUnigram Watermarking Scheme
SSR28
20
Watermark SpoofingPF watermarking scheme
SSR8.75
20
Showing 10 of 22 rows

Other info

Follow for update