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.
LNE-Blocking: An Efficient Framework for Contamination Mitigation Evaluation on Large Language Models
Zhejiang University(浙江大学);FaceMind Corporation(FaceMind公司);University of Zurich(苏黎世大学);The Chinese University of Hong Kong(香港中文大学);Westlake University(西湖大学)
A Survey on Data Contamination for Large Language Models
College of Software, Jilin University(吉林大学软件学院);School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);Engineering Research Center of Knowledge-Driven Human-Machine Intelligence, MOE, China(知识驱动人机智能工程研究中心,教育部,中国);International Center of Future Science, Jilin University(未来科学国际中心,吉林大学)
Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Models
Key Laboratory of High Confidence Software Technologies (Peking University)(高可信软件技术重点实验室(北京大学));School of Computer Science, Peking University(北京大学计算机学院);Beijing Institute of Control Engineering(北京控制工程研究所);China Academy of Space Technology(中国空间技术研究院)
LogProber: Disentangling confidence from contamination in LLM responses
LNC2, INSERM, Paris, France(LNC2,法国国家医学研究院,巴黎);DEC, ENS, PSL, Paris, France(DEC,巴黎高等师范学院,巴黎);Flowers AI & CogSci Lab Centre Inria de L’Université de Bordeaux(AI与认知科学实验室,Inria-波尔多大学研究中心)