arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.16281cs.CL
收藏

ConStat:基于性能的大语言模型污染检测

ConStat: Performance-Based Contamination Detection in Large Language Models

ETH Zurich(苏黎世联邦理工学院)

Jasper Dekoninck, Mark Niklas Müller, Martin Vechev

AI总结:

针对大语言模型基准测试中的数据污染问题,提出基于性能虚高且不泛化的新定义,开发统计方法ConStat,通过比较主基准与参考基准性能可靠检测并量化污染,实证发现多个流行模型存在高污染。

摘要:

公共基准测试在大语言模型评估中扮演着至关重要的角色。然而,数据污染可能导致性能虚高,使其在模型比较中变得不可靠。因此,检测污染并评估其对测量性能的影响至关重要。不幸的是,现有的检测方法容易被规避,且无法量化污染。为克服这些局限,我们提出了一种新的污染定义,即人为虚高且不泛化的基准性能,而非训练数据中包含基准样本。这一视角使我们能够检测任何性能虚高的模型,即性能不泛化到改写样本、来自同一分布的合成样本或同一任务的不同基准。基于此洞察,我们开发了ConStat,一种统计方法,通过比较主基准和参考基准相对于一组参考模型的性能,可靠地检测并量化污染。我们在多种模型架构、基准和污染场景的广泛评估中展示了ConStat的有效性,并发现多个流行模型(包括Mistral、Llama、Yi以及Open LLM排行榜前三名模型)存在高水平的污染。

英文摘要:

Public benchmarks play an essential role in the evaluation of large language models. However, data contamination can lead to inflated performance, rendering them unreliable for model comparison. It is therefore crucial to detect contamination and estimate its impact on measured performance. Unfortunately, existing detection methods can be easily evaded and fail to quantify contamination. To overcome these limitations, we propose a novel definition of contamination as artificially inflated and non-generalizing benchmark performance instead of the inclusion of benchmark samples in the training data. This perspective enables us to detect any model with inflated performance, i.e., performance that does not generalize to rephrased samples, synthetic samples from the same distribution, or different benchmarks for the same task. Based on this insight, we develop ConStat, a statistical method that reliably detects and quantifies contamination by comparing performance between a primary and reference benchmark relative to a set of reference models. We demonstrate the effectiveness of ConStat in an extensive evaluation of diverse model architectures, benchmarks, and contamination scenarios and find high levels of contamination in multiple popular models including Mistral, Llama, Yi, and the top-3 Open LLM Leaderboard models.

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

↑