arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.07138cs.CLcs.AI
收藏

WaterBench:面向大语言模型水印的整体评估

WaterBench: Towards Holistic Evaluation of Watermarks for Large Language Models

Tsinghua University(清华大学);Beihang University(北京航空航天大学)

Shangqing Tu, Yuliang Sun, Yushi Bai, Jifan Yu, Lei Hou, Juanzi Li

AI总结:

本文提出首个LLM水印综合基准WaterBench,通过统一水印强度、多样化任务和GPT4-Judge自动评估,系统评估了4种水印方法在2个LLM上的生成与检测性能,揭示了现有方法在保持生成质量方面的不足。

摘要:

为了缓解大语言模型(LLMs)可能被滥用的问题,近期研究提出了水印算法,通过限制生成过程以留下不可见痕迹用于水印检测。由于该任务具有两阶段特性,大多数研究分别评估生成和检测,从而给无偏、全面且可适用的评估带来了挑战。本文提出了WaterBench,这是首个面向LLM水印的综合基准,其中我们设计了三个关键因素:(1)在基准测试流程方面,为确保公平比较,我们首先调整每种水印方法的超参数以达到相同的水印强度,然后联合评估其生成和检测性能。(2)在任务选择方面,我们使输入和输出长度多样化,形成五类分类体系,覆盖9个任务。(3)在评估指标方面,我们采用GPT4-Judge自动评估加水印后指令遵循能力的下降程度。我们在2个LLM上、在2种水印强度下评估了4种开源水印方法,并观察到当前方法在维持生成质量方面普遍存在的困难。代码和数据可在 https://github.com/THU-KEG/WaterBench 获取。

英文摘要:

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. The code and data are available at https://github.com/THU-KEG/WaterBench.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑