Abstract
To mitigate the potential misuse of large language models (LLMs), recent research has developed watermarking algorithms, which restrict the generation process to leave an invisible trace for watermark detection. Due to the two-stage nature of the task, most studies evaluate the generation and detection separately, thereby presenting a challenge in unbiased, thorough, and applicable evaluations. In this paper, we introduce WaterBench, the first comprehensive benchmark for LLM watermarks, in which we design three crucial factors: (1) For benchmarking procedure, to ensure an apples-to-apples comparison, we first adjust each watermarking method’s hyper-parameter to reach the same watermarking strength, then jointly evaluate their generation and detection performance. (2) For task selection, we diversify the input and output length to form a five-category taxonomy, covering 9 tasks. (3) For evaluation metric, we adopt the GPT4-Judge for automatically evaluating the decline of instruction-following abilities after watermarking. We evaluate 4 open-source watermarks on 2 LLMs under 2 watermarking strengths and observe the common struggles for current methods on maintaining the generation quality.
Introduction
As Large Language Models (LLMs) become ubiquitous, the risk of misuse—such as generating fake news or automated spam—grows. Watermarking, which involves embedding invisible statistical traces in generated text, is a primary defense. However, evaluating these watermarks is currently inconsistent. Most studies evaluate detection accuracy and generation quality separately, failing to account for "watermarking strength." Without an "apples-to-apples" comparison, it is difficult to determine which watermarking strategies are truly superior. WaterBench addresses this by unifying watermarking strength across methods to provide a holistic and fair evaluation.
Methods and Datasets
WaterBench standardizes evaluation through three key pillars:
- Unified Benchmarking Procedure: Before testing, a hyper-parameter grid search is performed for every watermarking method to ensure they reach a target "watermarking strength" (e.g., a specific True Positive Rate). Only once the models are equally "strong" is the impact on text quality evaluated.
- Diverse Task Taxonomy: Watermarking performance varies based on text length. WaterBench covers 9 tasks across 5 categories, ranging from short-form factual probing (e.g., KoLA, Copen) to long-form summarization (e.g., MultiNews) and open-ended instruction following (AlpacaFarm).
- GPT4-Judge for Quality: Traditional metrics like Perplexity often fail to capture instruction-following nuances. WaterBench utilizes GPT-4 as an automated judge to compare watermarked versus unwatermarked outputs, providing a human-aligned view of quality degradation.
Key Insights and Results
The Detection-Quality Trade-off
The evaluation reveals a brutal trade-off: when watermarks are tuned to a high detection rate (0.95 TPR), instruction-following ability can plummet by over 90%. For example, on Llama2-7B, the "Hard" watermark caused a 64.1% overall drop in generation quality. Instruction following was the most sensitive area; under 0.95 strength, all tested watermarks caused models to fail almost entirely on the AlpacaFarm benchmark.
Task-Specific Performance
Short-form text is the "hard mode" of watermarking. Detection is significantly worse for short-answer tasks because there are fewer tokens to hide the statistical bias required for a robust signal. Conversely, the "V2 Watermark" (Kirchenbauer et al.) consistently outperformed others in maintaining generation metrics while keeping detection stable.
Metric Validation
The authors validated the GPT4-Judge approach with human annotators, finding a Cohen’s kappa coefficient of >0.6, indicating substantial agreement and justifying the use of automated LLM-based evaluation for quality assessment.
Conclusion
WaterBench demonstrates that while current methods are effective at detection, they significantly compromise the intelligence and utility of LLMs. The benchmark provides a necessary framework for future research to balance safety with model performance. Future work may explore more nuanced hyper-parameter compositions and a wider variety of generation metrics to further refine this "cat-and-mouse" game of AI safety.
Summary updated