推理时去污染:复用已泄露的基准用于大语言模型评估
Inference-Time Decontamination: Reusing Leaked Benchmarks for Large Language Model Evaluation
AI总结:
针对大语言模型训练中基准数据泄露导致评估失真、新基准构建成本高的问题,提出推理时去污染方法ITD,在不改变难度的前提下检测重写泄露样本,有效降低性能虚高,提供更真实的模型评估结果。
摘要:
大语言模型(LLM)的训练过程通常存在不同程度的测试数据污染。尽管当前大语言模型在各类基准上的表现越来越好,但它们在实际应用中的性能并不总能与基准结果匹配。基准泄露会导致无法准确评估大语言模型的真实性能。然而,构建新基准成本高、耗费人力,且仍存在泄露风险。因此,本文提出问题:我们能否复用这些已泄露的基准来进行大语言模型评估?我们提出了推理时去污染(Inference-Time Decontamination,ITD)方法来解决该问题,该方法在不改变样本难度的前提下检测并重写泄露样本。ITD能够缓解因记忆泄露基准导致的性能虚高。我们的概念验证实验表明,ITD在GSM8K上将虚高的准确率降低了22.9%,在MMLU上降低了19.0%。在MMLU基准上,使用推理时去污染可使Phi3和Mistral的结果分别下降6.7%和3.6%。我们希望ITD能够为大语言模型提供更真实的评估结果。
英文摘要:
The training process of large language models (LLMs) often involves varying degrees of test data contamination. Although current LLMs are achieving increasingly better performance on various benchmarks, their performance in practical applications does not always match their benchmark results. Leakage of benchmarks can prevent the accurate assessment of LLMs' true performance. However, constructing new benchmarks is costly, labor-intensive and still carries the risk of leakage. Therefore, in this paper, we ask the question, Can we reuse these leaked benchmarks for LLM evaluation? We propose Inference-Time Decontamination (ITD) to address this issue by detecting and rewriting leaked samples without altering their difficulties. ITD can mitigate performance inflation caused by memorizing leaked benchmarks. Our proof-of-concept experiments demonstrate that ITD reduces inflated accuracy by 22.9% on GSM8K and 19.0% on MMLU. On MMLU, using Inference-time Decontamination can lead to a decrease in the results of Phi3 and Mistral by 6.7% and 3.6% respectively. We hope that ITD can provide more truthful evaluation results for large language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。