WaterBench: Towards Holistic Evaluation of Watermarks for Large Language Models
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 tasks. (3) For evaluation metric, we adopt the GPT4-Judge for automatically evaluating the decline of instruction-following abilities after watermarking. We evaluate open-source watermarks on LLMs under watermarking strengths and observe the common struggles for current methods on maintaining the generation quality. The code and data are available at https://github.com/THU-KEG/WaterBench.
Keywords
Cite
@article{arxiv.2311.07138,
title = {WaterBench: Towards Holistic Evaluation of Watermarks for Large Language Models},
author = {Shangqing Tu and Yuliang Sun and Yushi Bai and Jifan Yu and Lei Hou and Juanzi Li},
journal= {arXiv preprint arXiv:2311.07138},
year = {2024}
}
Comments
26pages, 7 figures, accepted by ACL 2024