Mark My Words: Analyzing and Evaluating Language Model Watermarks
Julien Piet, Chawin Sitawarin, Vivian Fang, Norman Mu, David Wagner
TL;DR
This work tackles the practicality of watermarking LLM outputs by proposing MarkMyWords, a unified benchmark for symmetric-key watermarks applied to text generation. It defines three core metrics—quality, watermark size, and tamper resistance—across three main NL tasks and eight validation tasks, enabling fair comparisons of diverse watermark designs. Empirical results show that distribution-shift watermarks with text-dependent randomness achieve strong detection efficiency (often under 100 tokens) while preserving NL quality, though code-generation remains challenging and indistinguishability is not strictly necessary in many settings. The authors provide open-source tooling to standardize evaluation and guide future watermark design toward deployable, robust, and efficient solutions.
Abstract
The capabilities of large language models have grown significantly in recent years and so too have concerns about their misuse. It is important to be able to distinguish machine-generated text from human-authored content. Prior works have proposed numerous schemes to watermark text, which would benefit from a systematic evaluation framework. This work focuses on LLM output watermarking techniques - as opposed to image or model watermarks - and proposes Mark My Words, a comprehensive benchmark for them under different natural language tasks. We focus on three main metrics: quality, size (i.e., the number of tokens needed to detect a watermark), and tamper resistance (i.e., the ability to detect a watermark after perturbing marked text). Current watermarking techniques are nearly practical enough for real-world use: Kirchenbauer et al. [33]'s scheme can watermark models like Llama 2 7B-chat or Mistral-7B-Instruct with no perceivable loss in quality on natural language tasks, the watermark can be detected with fewer than 100 tokens, and their scheme offers good tamper resistance to simple perturbations. However, they struggle to efficiently watermark code generations. We publicly release our benchmark (https://github.com/wagner-group/MarkMyWords).
