ConStat: Performance-Based Contamination Detection in Large Language Models
Jasper Dekoninck, Mark Niklas Müller, Martin T. Vechev
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Measuring Massive Multitask Language Understanding cites Language Models are Few-Shot Learners
- TruthfulQA: Measuring How Models Mimic Human Falsehoods cites Measuring Massive Multitask Language Understanding
- Benchmarking Large Language Models Under Data Contamination: A Survey from Static to Dynamic Evaluation cites Measuring Massive Multitask Language Understanding
- Benchmarking Large Language Models Under Data Contamination: A Survey from Static to Dynamic Evaluation cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
- Benchmarking Large Language Models Under Data Contamination: A Survey from Static to Dynamic Evaluation cites Language Models are Few-Shot Learners
- MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineering cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
- Extracting Training Data from Large Language Models cites Language Models are Few-Shot Learners
- LiveOIBench: Can Large Language Models Outperform Human Contestants in Informatics Olympiads? cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
- LiveOIBench: Can Large Language Models Outperform Human Contestants in Informatics Olympiads? cites MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineering
Cited by top-tier papers10
- MLE-bench: Evaluating Machine Learning Agents on Machine Learning EngineeringJun Shern Chan, Neil Chowdhury, Oliver Jaffe, James Aung et al.ICLR 2025 · 9 citations
- Detecting Data Contamination from Reinforcement Learning Post-training for Large Language ModelsYongding Tao, Tian Wang, Yihong Dong, Huanyu Liu et al.ICLR 2026 · 5 citations
- Silencer: From Discovery to Mitigation of Self-Bias in LLM-as-Benchmark-GeneratorPeiwen Yuan, Yiwei Li, Shaoxiong Feng, Xinglin Wang et al.NeurIPS 2025 · 4 citations
- LiveOIBench: Can Large Language Models Outperform Human Contestants in Informatics Olympiads?Kaijian Zou, Feiyang Xiong, Yunxiang Zhang, Xinliang Frederick Zhang et al.ICML 2026 · 3 citations
- Benchmarking Large Language Models Under Data Contamination: A Survey from Static to Dynamic EvaluationSimin Chen, Yiming Chen, Zexin Li, Yifan Jiang et al.EMNLP 2025 · 2 citations
Builds on14
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou et al.ICLR 2021 · 7,905 citations
- TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 citations
- Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski et al.USENIX Security 2021 · 2,866 citations
- SWE-bench: Can Language Models Resolve Real-world Github Issues?Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao et al.ICLR 2024 · 2,082 citations
Related papers
- PaCoST: Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language ModelsHuixuan Zhang, Yun Lin, Xiaojun WanEMNLP Findings 2024
- NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each BenchmarkOscar Sainz, Jon Ander Campos, Iker García-Ferrero, Julen Etxaniz et al.EMNLP Findings 2023 · 85 citations
- An Open-Source Data Contamination Report for Large Language ModelsYucheng Li, Yunhao Guo, Frank Guerin, Chenghua LinEMNLP Findings 2024 · 19 citations
- Inference-Time Decontamination: Reusing Leaked Benchmarks for Large Language Model EvaluationQin Zhu, Qinyuan Cheng, Runyu Peng, Xiaonan Li et al.EMNLP Findings 2024 · 3 citations
- Both Text and Images Leaked! A Systematic Analysis of Data Contamination in Multimodal LLMDingjie Song, Sicheng Lai, Mingxuan Wang, Shunian Chen et al.EMNLP Findings 2025 · 1 citation
