arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.17259cs.CRcs.AI
收藏

通过水印检测基准污染

Detecting Benchmark Contamination Through Watermarking

Meta FAIR

Tom Sander, Pierre Fernandez, Saeed Mahloujifar, Alain Durmus, Chuan Guo

AI总结:

本文提出在基准发布前用带水印的LLM改写题目,通过统计检验检测模型训练中残留的水印痕迹,从而识别基准污染,并在多个基准上验证了方法有效性。

摘要:

基准污染对大型语言模型(LLMs)评估的可靠性构成重大挑战,因为很难断定一个模型是否在测试集上进行过训练。我们提出一种解决方案,在基准发布之前对其进行水印处理。该嵌入方法使用一个经过水印处理的LLM重新表述原始问题,且不改变基准的效用。在评估过程中,我们可以使用一个有理论依据的统计检验来检测“放射性”,即文本水印在模型训练期间留下的痕迹。我们通过在10B token上从头预训练1B参数模型并控制基准污染来测试我们的方法,并在ARC-Easy、ARC-Challenge和MMLU上验证其检测污染的有效性。结果表明,水印处理后基准效用相似,并且当模型被污染到足以提升性能时,能够成功检测到污染,例如在ARC-Easy上性能提升+5%时p值为10^{-3}。

英文摘要:

Benchmark contamination poses a significant challenge to the reliability of Large Language Models (LLMs) evaluations, as it is difficult to assert whether a model has been trained on a test set. We introduce a solution to this problem by watermarking benchmarks before their release. The embedding involves reformulating the original questions with a watermarked LLM, in a way that does not alter the benchmark utility. During evaluation, we can detect ``radioactivity'', \ie traces that the text watermarks leave in the model during training, using a theoretically grounded statistical test. We test our method by pre-training 1B models from scratch on 10B tokens with controlled benchmark contamination, and validate its effectiveness in detecting contamination on ARC-Easy, ARC-Challenge, and MMLU. Results show similar benchmark utility post-watermarking and successful contamination detection when models are contaminated enough to enhance performance, \eg $p$-val $=10^{-3}$ for +5$\%$ on ARC-Easy.

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

↑